Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .text:10436F40 ; =============== S U B R O U T I N E =======================================
- .text:10436F40
- .text:10436F40 ; Attributes: bp-based frame
- .text:10436F40
- .text:10436F40 sub_10436F40 proc near ; CODE XREF: sub_105031B0+CAp
- .text:10436F40 ; sub_1051A3C0+5Ep ...
- .text:10436F40
- .text:10436F40 arg_0 = dword ptr 8
- .text:10436F40 arg_4 = dword ptr 0Ch
- .text:10436F40
- .text:10436F40 55 push ebp
- .text:10436F41 8B EC mov ebp, esp
- .text:10436F43 56 push esi
- .text:10436F44 8B F1 mov esi, ecx
- .text:10436F46 8B 0D 10 71 97 10 mov ecx, dword_10977110
- .text:10436F4C 8B 01 mov eax, [ecx]
- .text:10436F4E FF 90 1C 02 00 00 call dword ptr [eax+21Ch]
- .text:10436F54 83 F8 03 cmp eax, 3
- .text:10436F57 0F 85 13 01 00 00 jnz loc_10437070
- .text:10436F5D 8B 45 0C mov eax, [ebp+arg_4]
- .text:10436F60 83 F8 02 cmp eax, 2
- .text:10436F63 75 4C jnz short loc_10436FB1
- .text:10436F65 8B 96 7C 0C 00 00 mov edx, [esi+0C7Ch]
- .text:10436F6B 83 FA FF cmp edx, 0FFFFFFFFh
- .text:10436F6E 74 1F jz short loc_10436F8F
- .text:10436F70 A1 04 77 8E 10 mov eax, off_108E7704
- .text:10436F75 8B CA mov ecx, edx
- .text:10436F77 81 E1 FF 0F 00 00 and ecx, 0FFFh
- .text:10436F7D C1 EA 0C shr edx, 0Ch
- .text:10436F80 03 C9 add ecx, ecx
- .text:10436F82 39 54 C8 08 cmp [eax+ecx*8+8], edx
- .text:10436F86 75 07 jnz short loc_10436F8F
- .text:10436F88 83 7C C8 04 00 cmp dword ptr [eax+ecx*8+4], 0
- .text:10436F8D 75 12 jnz short loc_10436FA1
- .text:10436F8F
- .text:10436F8F loc_10436F8F: ; CODE XREF: sub_10436F40+2Ej
- .text:10436F8F ; sub_10436F40+46j
- .text:10436F8F A1 10 71 97 10 mov eax, dword_10977110
- .text:10436F94 80 B8 31 04 00 00 00 cmp byte ptr [eax+431h], 0
- .text:10436F9B 0F 84 CF 00 00 00 jz loc_10437070
- .text:10436FA1
- .text:10436FA1 loc_10436FA1: ; CODE XREF: sub_10436F40+4Dj
- .text:10436FA1 8B 45 08 mov eax, [ebp+arg_0]
- .text:10436FA4 8B 8E 7C 0C 00 00 mov ecx, [esi+0C7Ch]
- .text:10436FAA 5E pop esi
- .text:10436FAB 89 08 mov [eax], ecx
- .text:10436FAD 5D pop ebp
- .text:10436FAE C2 08 00 retn 8
- .text:10436FB1 ; ---------------------------------------------------------------------------
- .text:10436FB1
- .text:10436FB1 loc_10436FB1: ; CODE XREF: sub_10436F40+23j
- .text:10436FB1 83 F8 03 cmp eax, 3
- .text:10436FB4 0F 85 B6 00 00 00 jnz loc_10437070
- .text:10436FBA 6A 00 push 0
- .text:10436FBC 8D 8E 80 0C 00 00 lea ecx, [esi+0C80h]
- .text:10436FC2 E8 A9 F8 CA FF call sub_100E6870
- .text:10436FC7 84 C0 test al, al
- .text:10436FC9 0F 84 91 00 00 00 jz loc_10437060
- .text:10436FCF A1 10 71 97 10 mov eax, dword_10977110
- .text:10436FD4 80 B8 31 04 00 00 00 cmp byte ptr [eax+431h], 0
- .text:10436FDB 0F 85 7F 00 00 00 jnz loc_10437060
- .text:10436FE1 6A 00 push 0
- .text:10436FE3 68 78 BC 93 10 push offset off_1093BC78
- .text:10436FE8 68 40 08 93 10 push offset off_10930840
- .text:10436FED 6A 00 push 0
- .text:10436FEF 68 18 B7 78 10 push offset aTeam_train_wat ; "team_train_watcher"
- .text:10436FF4 6A 00 push 0
- .text:10436FF6 B9 28 EC 95 10 mov ecx, offset dword_1095EC28
- .text:10436FFB E8 20 DF DA FF call sub_101E4F20
- .text:10437000 50 push eax
- .text:10437001 E8 40 39 26 00 call sub_1069A946
- .text:10437006 83 C4 14 add esp, 14h
- .text:10437009 85 C0 test eax, eax
- .text:1043700B 74 53 jz short loc_10437060
- .text:1043700D 8D 49 00 lea ecx, [ecx+0]
- .text:10437010
- .text:10437010 loc_10437010: ; CODE XREF: sub_10436F40+102j
- .text:10437010 80 B8 64 03 00 00 00 cmp byte ptr [eax+364h], 0
- .text:10437017 74 3B jz short loc_10437054
- .text:10437019 6A 00 push 0
- .text:1043701B 68 78 BC 93 10 push offset off_1093BC78
- .text:10437020 68 40 08 93 10 push offset off_10930840
- .text:10437025 6A 00 push 0
- .text:10437027 68 18 B7 78 10 push offset aTeam_train_wat ; "team_train_watcher"
- .text:1043702C 50 push eax
- .text:1043702D B9 28 EC 95 10 mov ecx, offset dword_1095EC28
- .text:10437032 E8 E9 DE DA FF call sub_101E4F20
- .text:10437037 50 push eax
- .text:10437038 E8 09 39 26 00 call sub_1069A946
- .text:1043703D 83 C4 14 add esp, 14h
- .text:10437040 85 C0 test eax, eax
- .text:10437042 75 CC jnz short loc_10437010
- .text:10437044 8B 45 08 mov eax, [ebp+arg_0]
- .text:10437047 8B 8E 80 0C 00 00 mov ecx, [esi+0C80h]
- .text:1043704D 5E pop esi
- .text:1043704E 89 08 mov [eax], ecx
- .text:10437050 5D pop ebp
- .text:10437051 C2 08 00 retn 8
- .text:10437054 ; ---------------------------------------------------------------------------
- .text:10437054
- .text:10437054 loc_10437054: ; CODE XREF: sub_10436F40+D7j
- .text:10437054 50 push eax
- .text:10437055 8D 8E 80 0C 00 00 lea ecx, [esi+0C80h]
- .text:1043705B E8 50 99 EE FF call sub_103209B0
- .text:10437060
- .text:10437060 loc_10437060: ; CODE XREF: sub_10436F40+89j
- .text:10437060 ; sub_10436F40+9Bj ...
- .text:10437060 8B 45 08 mov eax, [ebp+arg_0]
- .text:10437063 8B 8E 80 0C 00 00 mov ecx, [esi+0C80h]
- .text:10437069 5E pop esi
- .text:1043706A 89 08 mov [eax], ecx
- .text:1043706C 5D pop ebp
- .text:1043706D C2 08 00 retn 8
- .text:10437070 ; ---------------------------------------------------------------------------
- .text:10437070
- .text:10437070 loc_10437070: ; CODE XREF: sub_10436F40+17j
- .text:10437070 ; sub_10436F40+5Bj ...
- .text:10437070 8B 45 08 mov eax, [ebp+arg_0]
- .text:10437073 5E pop esi
- .text:10437074 C7 00 FF FF FF FF mov dword ptr [eax], 0FFFFFFFFh
- .text:1043707A 5D pop ebp
- .text:1043707B C2 08 00 retn 8
- .text:1043707B sub_10436F40 endp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement