Function at 0x476340
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30c
cmp dword [0x100a5964], 0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [esp + 0x30], ecx
je 0x4763af
push 0x10088e80
push 0x100948c8
push esi
push 0x100948bc
push 0x10094884
lea ecx, [esp + 0x200]
call fcn.004596b0
mov ecx, eax
call fcn.004585e0
mov ecx, eax
call fcn.004585e0
mov ecx, eax
call fcn.00458600
mov ecx, eax
call fcn.004585e0
mov ecx, eax
call fcn.004585e0
lea ecx, [esp + 0x1ec]
call fcn.004584a0
lea ecx, [esp + 0x24]
call fcn.004bd9c0
lea eax, [esp + 0x2c]
push 4
push eax
call fcn.0045e3d0
lea ecx, [esp + 0x18]
push 4
push ecx
call fcn.0045e3d0
lea edx, [esp + 0x2c]
push 4
push edx
call fcn.0045e3d0
lea eax, [esp + 0x38]
push 4
push eax
call fcn.0045e3d0
add esp, 0x20
lea ecx, [esp + 0x7c]
call fcn.004985d0
push 0
push 0
lea ecx, [esp + 0x84]
call fcn.00498c20
push eax
push esi
call dword [0x100a5b50]
test al, al
je 0x47859b
mov edi, dword [ebp + 0xc]
jmp 0x476420
mov esi, dword [esp + 0x30]
mov ebx, dword [ebp + 0x24]
lea ecx, [esp + 0x100]
call fcn.00498210
lea ecx, [esp + 0x14]
push 4
push ecx
call fcn.0045e3d0
add esp, 8
lea ecx, [esp + 0x100]
call fcn.00498200
mov edx, dword [esi + 8]
push edx
lea ecx, [esp + 0xb4]
mov dword [esp + 0x40], eax
call fcn.00498570
lea eax, [esp + 0x2b0]
push eax
lea ecx, [esp + 0x80]
call fcn.00498950
mov edx, dword [eax + 4]
mov eax, dword [eax]
lea ecx, [esp + 0x100]
push ecx
push 0
push 0x40
push edx
push eax
lea ecx, [esp + 0x304]
call fcn.00498670
mov ecx, eax
call fcn.00498c20
push eax
push 0
lea ecx, [esp + 0x314]
call fcn.00498600
mov ecx, eax
call fcn.00498c20
push eax
mov ecx, esi
call fcn.00472960
test eax, eax
je 0x4786a7
lea ecx, [esp + 0x168]
push ecx
lea ecx, [esp + 0x104]
call fcn.004af5c0
mov esi, eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4764f0
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x14], 0
mov eax, dword [esi]
test eax, eax
mov dword [esp + 0x14], eax
je 0x476502
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov eax, dword [esp + 0x168]
test eax, eax
je 0x476520
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x168], 0
mov esi, dword [esp + 0x3c]
push esi
lea ecx, [esp + 0x1c4]
call fcn.00486970
lea eax, [esp + 0x40]
push 4
push eax
call fcn.0045e3d0
add esp, 8
lea ecx, [esp + 0x268]
call fcn.00486ab0
lea ecx, [esp + 0x268]
push ecx
mov ecx, esi
call fcn.004869a0
test eax, eax
je 0x476593
cmp dword [esp + 0x274], 1
je 0x476593
mov eax, dword [esp + 0x40]
test eax, eax
je 0x476579
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0x40], eax
je 0x476640
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
jmp 0x4765f4
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [esp + 0x144]
push edx
call eax
mov esi, eax
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4765c0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x40], 0
mov ecx, dword [esi]
test ecx, ecx
mov dword [esp + 0x40], ecx
je 0x4765d6
mov eax, dword [ecx]
push ecx
mov ecx, dword [eax + 4]
call ecx
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x144]
test eax, eax
je 0x4765f8
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x144], 0
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x476640
lea esp, [esp]
mov edx, dword [ecx]
mov eax, dword [edx + 0x48]
call eax
test eax, eax
jne 0x4786c5
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
lea eax, [esp + 0x194]
push eax
call edx
push eax
lea ecx, [esp + 0x44]
call fcn.00499700
lea ecx, [esp + 0x194]
call fcn.004c4020
mov ecx, dword [esp + 0x40]
test ecx, ecx
jne 0x476600
lea ecx, [esp + 0x40]
call fcn.004c4020
lea ecx, [esp + 0x1c0]
call fcn.00486990
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov edx, dword [eax + 0x48]
call edx
test eax, eax
jne 0x476673
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov edx, dword [eax + 0x50]
call edx
test eax, eax
je 0x4766a9
lea ecx, [esp + 0x100]
call fcn.00498530
lea eax, [esp + 0x190]
push eax
lea ecx, [esp + 0x104]
call fcn.004af5c0
push eax
lea ecx, [esp + 0x18]
call fcn.00499700
lea ecx, [esp + 0x190]
call fcn.004c4020
cmp dword [esp + 0x10], 0
je 0x4766d8
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
mov esi, dword [esp + 0x14]
call eax
mov edx, dword [esi]
mov edx, dword [edx + 0xc]
mov ecx, esi
mov dword [esp + 0x18], eax
call edx
mov ecx, dword [esp + 0x18]
cmp ecx, eax
je 0x47873f
mov esi, dword [ebp + 0x28]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], 0
call fcn.00499700
lea ecx, [esp + 0x18]
call fcn.004c4020
lea ecx, [esp + 0x1c]
call fcn.004694f0
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x30]
call fcn.00499700
lea ecx, [esp + 0xb0]
call fcn.004985a0
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x2c]
call fcn.00469430
lea ecx, [esp + 0xe0]
call fcn.00486ab0
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0xe0]
push eax
call fcn.004869a0
test eax, eax
je 0x476993
mov esi, dword [esp + 0x28]
jmp 0x476760
mov eax, dword [esp + 0xec]
sub eax, 0
jne 0x476b64
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
cmp eax, 1
je 0x477102
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
mov ecx, esi
call eax
test eax, eax
jne 0x47713f
lea ecx, [esp + 0x54]
call fcn.00498820
lea ecx, [esp + 0x5c]
call fcn.00498820
cmp dword [esp + 0xe0], 0
je 0x4767f7
lea ecx, [esp + 0xe4]
push ecx
call fcn.004871b0
add esp, 4
test eax, eax
je 0x477af2
mov edx, dword [esp + 0xe8]
mov eax, dword [esp + 0xe4]
push edx
push eax
lea ecx, [esp + 0x64]
mov dword [esp + 0x180], 0x10
call fcn.004988c0
push eax
lea ecx, [esp + 0x58]
call fcn.00498920
jmp 0x476853
lea ecx, [esp + 0xe4]
push ecx
call fcn.00486b40
add esp, 4
test eax, eax
je 0x4788ec
lea edx, [esp + 0x178]
push edx
lea eax, [esp + 0x60]
push eax
mov eax, dword [esp + 0xf0]
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0xf0]
push edx
push eax
lea ecx, [esp + 0x2cc]
push ecx
mov ecx, dword [esp + 0x54]
call fcn.004867c0
push eax
call fcn.00487230
add esp, 0x14
test eax, eax
je 0x477af2
test dword [esp + 0x178], 0x10
jne 0x4768ac
mov edx, dword [esp + 0x3c]
push edx
lea ecx, [esp + 0x18c]
call fcn.00486970
lea ecx, [esp + 0x210]
call fcn.00486ab0
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x210]
push eax
call fcn.004869a0
test eax, eax
je 0x4768a0
cmp dword [esp + 0x21c], 0
je 0x477498
lea ecx, [esp + 0x188]
call fcn.00486990
mov ecx, dword [esp + 0x3c]
call fcn.00486900
test eax, eax
je 0x47785b
lea ecx, [esp + 0x1f8]
push ecx
lea ecx, [esp + 0x60]
call fcn.00498950
lea edx, [esp + 0x240]
push edx
lea ecx, [esp + 0x58]
call fcn.00498950
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
mov edx, dword [edx + 0x9c]
push 2
lea eax, [esp + 0x1fc]
push eax
lea eax, [esp + 0x248]
push eax
lea eax, [esp + 0xc4]
push eax
call edx
mov eax, dword [esp + 0xb8]
push eax
push esi
lea ecx, [esp + 0x24]
call fcn.00469450
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
mov esi, dword [esp + 0xb8]
test esi, esi
mov dword [esp + 0x28], esi
je 0x476959
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
mov eax, dword [esp + 0xb8]
test eax, eax
je 0x476959
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0xb8], 0
lea ecx, [esp + 0x5c]
call fcn.00498940
lea ecx, [esp + 0x54]
call fcn.00498940
lea ecx, [esp + 0xe0]
call fcn.00486ab0
lea ecx, [esp + 0xe0]
push ecx
mov ecx, dword [esp + 0x40]
call fcn.004869a0
test eax, eax
jne 0x476760
mov esi, dword [ebp + 0x28]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
call edx
cmp eax, 3
push 4
jne 0x4782ab
lea eax, [esp + 0x78]
push eax
call fcn.0045e3d0
add esp, 8
test esi, esi
jne 0x478271
lea ecx, [esp + 0x74]
push ecx
call fcn.00493860
add esp, 4
lea ecx, [esp + 0x98]
push 4
push ecx
call fcn.0045e3d0
mov ecx, dword [esp + 0x7c]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
add esp, 8
lea eax, [esp + 0x98]
push eax
call edx
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
lea eax, [esp + 0x230]
push eax
lea eax, [esp + 0x20c]
push eax
call edx
mov ecx, eax
call fcn.00498950
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 8]
mov eax, dword [esp + 0x74]
mov edx, dword [ecx]
mov edx, dword [edx + 0x94]
push eax
lea eax, [esp + 0x234]
push eax
lea eax, [esp + 0x9c]
push eax
call edx
lea ecx, [esp + 0x208]
call fcn.00498940
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
mov ebx, dword [esp + 0x94]
lea edx, [esp + 0x16c]
push edx
call eax
mov ecx, dword [eax]
push ebx
push ecx
lea ecx, [esp + 0x24]
call fcn.00469450
mov eax, dword [esp + 0x16c]
test eax, eax
je 0x476a89
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x16c], 0
mov ecx, dword [ebp + 0x1c]
mov ebx, dword [esp + 0x98]
mov esi, dword [esp + 0x94]
push ecx
push edi
call fcn.00487160
add esp, 8
push eax
push edi
call fcn.00487190
add esp, 4
push eax
push ebx
lea edx, [esp + 0x168]
push esi
push edx
call fcn.00485a20
mov ebx, dword [eax]
xor esi, esi
add esp, 0x14
cmp ebx, esi
je 0x476ad1
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
push ebx
call ecx
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x476ae1
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
cmp ebx, esi
mov dword [esp + 0x10], ebx
je 0x476af9
mov ecx, dword [ebx]
mov edx, dword [ecx + 4]
push ebx
call edx
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
push ebx
call ecx
mov eax, dword [esp + 0x15c]
cmp eax, esi
je 0x476b13
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x15c], esi
mov eax, dword [esp + 0x94]
cmp eax, esi
je 0x476b2d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x94], esi
mov eax, dword [esp + 0x98]
cmp eax, esi
je 0x476b47
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x98], esi
mov eax, dword [esp + 0x74]
cmp eax, esi
je 0x4784f4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x74], esi
jmp 0x4784f4
sub eax, 1
jne 0x4784f4
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
mov ecx, esi
call eax
test eax, eax
je 0x476e9d
cmp dword [ebp + 0x28], 0
jne 0x476e60
mov ecx, dword [esp + 0xe8]
mov eax, dword [esp + 0xe4]
add eax, 2
lea edx, [esp + 0x38]
add ecx, 0xfffffffe
push 4
push edx
mov dword [esp + 0x104], ecx
mov word [esp + 0x100], ax
mov word [esp + 0x102], ax
call fcn.0045e3d0
mov eax, dword [esi]
mov edx, dword [eax + 0x3c]
add esp, 8
lea ecx, [esp + 0x70]
push ecx
mov ecx, esi
call edx
mov ebx, dword [ebp + 0x18]
lea eax, [ebx - 1]
cmp eax, 4
ja 0x4787b8
jmp dword [eax*4 + 0x10038b58]
cmp dword [0x100a5964], 0
je 0x476e8d
push 0x10094820
lea ecx, [esp + 0x27c]
call fcn.004596b0
mov ecx, eax
call fcn.004585e0
lea ecx, [esp + 0x278]
call fcn.004584a0
push 3
lea ecx, [esp + 0x28]
call fcn.004bd9e0
jmp 0x4784f4
lea eax, [esp + 0x64]
push 4
push eax
call fcn.0045e3d0
mov ebx, dword [ebp + 0x28]
add esp, 8
test ebx, ebx
je 0x476f6f
lea ecx, [esp + 0x88]
push 4
push ecx
call fcn.0045e3d0
mov edx, dword [ebx]
mov ecx, dword [edx]
add esp, 8
lea eax, [esp + 0x88]
push eax
push 0x10094e2c
push ebx
call ecx
test eax, eax
je 0x476f51
xor esi, esi
cmp dword [0x100a5964], esi
je 0x476f0f
push 0x100947b8
lea ecx, [esp + 0x294]
call fcn.004596b0
mov ecx, eax
call fcn.004585e0
lea ecx, [esp + 0x290]
call fcn.004584a0
push 3
lea ecx, [esp + 0x28]
call fcn.004bd9e0
mov eax, dword [esp + 0x88]
cmp eax, esi
je 0x476f34
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x88], esi
mov eax, dword [esp + 0x64]
cmp eax, esi
je 0x4784f4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x64], esi
jmp 0x4784f4
mov eax, dword [esp + 0x88]
test eax, eax
je 0x476f6f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x88], 0
lea eax, [esp + 0x64]
push eax
call fcn.00493860
add esp, 4
test eax, eax
je 0x476fa1
mov eax, dword [esp + 0x64]
test eax, eax
je 0x4784f4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x64], 0
jmp 0x4784f4
lea eax, [esp + 0x84]
push 4
push eax
call fcn.0045e3d0
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
add esp, 8
lea eax, [esp + 0x84]
push eax
call edx
test eax, eax
je 0x476fef
mov eax, dword [esp + 0x84]
xor esi, esi
cmp eax, esi
je 0x476f34
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x84], esi
jmp 0x476f34
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 8]
mov eax, dword [esp + 0x64]
mov edx, dword [ecx]
mov edx, dword [edx + 0x94]
push eax
lea eax, [esp + 0xe8]
push eax
lea eax, [esp + 0x98]
push eax
call edx
mov eax, dword [esp + 0x90]
push eax
push esi
lea ecx, [esp + 0x24]
call fcn.00469450
mov ecx, dword [ebp + 0x1c]
mov esi, dword [esp + 0x84]
mov ebx, dword [esp + 0x90]
push ecx
push edi
call fcn.00487160
add esp, 8
push eax
push edi
call fcn.00487190
add esp, 4
push eax
push esi
lea edx, [esp + 0x144]
push ebx
push edx
call fcn.00485a20
mov esi, dword [eax]
xor ebx, ebx
add esp, 0x14
cmp esi, ebx
je 0x47706f
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x47707f
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
cmp esi, ebx
mov dword [esp + 0x10], esi
je 0x477097
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
call edx
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov eax, dword [esp + 0x138]
cmp eax, ebx
je 0x4770b1
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x138], ebx
mov eax, dword [esp + 0x90]
cmp eax, ebx
je 0x4770cb
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x90], ebx
mov eax, dword [esp + 0x84]
cmp eax, ebx
je 0x4770e5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x84], ebx
mov eax, dword [esp + 0x64]
cmp eax, ebx
je 0x4784f4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x64], ebx
jmp 0x4784f4
cmp dword [0x100a5964], 0
je 0x47712f
push 0x10094770
lea ecx, [esp + 0x2a0]
call fcn.004596b0
mov ecx, eax
call fcn.004585e0
lea ecx, [esp + 0x29c]
call fcn.004584a0
push 3
lea ecx, [esp + 0x28]
call fcn.004bd9e0
jmp 0x4784f4
cmp dword [ebp + 0x28], 0
jne 0x47745b
mov eax, dword [esp + 0xe8]
push eax
lea ecx, [esp + 0x14c]
push ecx
mov ecx, dword [esp + 0x44]
call fcn.00486820
mov edx, dword [esi]
mov edx, dword [edx + 0x3c]
lea eax, [esp + 0x68]
push eax
mov ecx, esi
call edx
lea eax, [esp + 0x34]
push 4
push eax
call fcn.0045e3d0
mov eax, dword [ebp + 0x18]
add eax, 0xffffffff
add esp, 8
cmp eax, 4
ja 0x478852
jmp dword [eax*4 + 0x10038b6c]
cmp dword [0x100a5964], 0
je 0x477488
push 0x10094708
lea ecx, [esp + 0x1cc]
call fcn.004596b0
mov ecx, eax
call fcn.004585e0
lea ecx, [esp + 0x1c8]
call fcn.004584a0
push 3
lea ecx, [esp + 0x28]
call fcn.004bd9e0
jmp 0x4784f4
cmp dword [ebp + 0x28], 0
je 0x4774af
lea ecx, [esp + 0x188]
call fcn.00486990
jmp 0x47825a
lea eax, [esp + 0x6c]
push 4
push eax
call fcn.0045e3d0
lea ecx, [esp + 0x74]
push ecx
push 0
push 1
call fcn.00492390
mov edx, dword [esp + 0x22c]
mov ecx, dword [esp + 0x50]
add esp, 0x14
push edx
lea eax, [esp + 0x2fc]
push eax
call fcn.00486820
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
lea ecx, [esp + 0x15c]
call fcn.00498670
lea eax, [esp + 0x50]
push 4
push eax
call fcn.0045e3d0
mov eax, dword [ebp + 0x18]
add eax, 0xffffffff
add esp, 8
cmp eax, 4
ja 0x4789cf
jmp dword [eax*4 + 0x10038b80]
lea eax, [esp + 0x4c]
push 4
push eax
call fcn.0045e3d0
mov eax, dword [ebp + 0x28]
add esp, 8
test eax, eax
jne 0x477900
mov edx, dword [ebp + 0x1c]
lea ecx, [esp + 0x4c]
push ecx
push ebx
push edx
call fcn.00487090
add esp, 4
push eax
call fcn.004870c0
add esp, 8
push eax
push ebx
call fcn.00492390
add esp, 0xc
mov eax, dword [esp + 0x4c]
mov esi, dword [eax]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x170]
push eax
push 0x10088394
lea ecx, [esp + 0x2d0]
add esi, 0x18
call fcn.00498650
mov ecx, eax
call fcn.00498c20
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi]
push eax
call edx
xor esi, esi
cmp ebx, esi
je 0x477936
test dword [esp + 0x170], 0x10
jne 0x477943
mov eax, dword [esp + 0x4c]
cmp eax, esi
je 0x47825a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x4c], esi
jmp 0x47825a
mov ecx, dword [eax]
lea edx, [esp + 0x4c]
push edx
push 0x10094e0c
push eax
mov eax, dword [ecx]
call eax
test eax, eax
je 0x47789a
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x47825a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x4c], 0
jmp 0x47825a
test dword [esp + 0x170], 0x10
jne 0x4778e3
push 0
push 0x10088394
lea ecx, [esp + 0x1b8]
call fcn.00498630
lea eax, [esp + 0xcc]
push 4
push eax
call fcn.0045e3d0
mov eax, dword [esp + 0x54]
mov edx, dword [ebp + 0x10]
mov esi, dword [eax]
add esp, 8
lea ecx, [esp + 0xcc]
push ecx
push 0
push edx
push edi
lea ecx, [esp + 0x1c0]
mov dword [esp + 0x28], eax
add esi, 0x10
call fcn.00498c20
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [esi]
call eax
lea ecx, [esp + 0x200]
push ecx
lea ecx, [esp + 0x60]
call fcn.00498950
lea edx, [esp + 0x220]
push edx
lea ecx, [esp + 0x58]
call fcn.00498950
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 8]
mov eax, dword [esp + 0x4c]
mov edx, dword [ecx]
push eax
mov edx, dword [edx + 0x98]
xor eax, eax
test ebx, ebx
setne al
add eax, 1
push eax
lea eax, [esp + 0x208]
push eax
lea eax, [esp + 0x22c]
push eax
lea eax, [esp + 0xb4]
push eax
call edx
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x28]
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.00469450
mov edx, dword [ebp + 0x1c]
mov esi, dword [esp + 0xcc]
mov ebx, dword [esp + 0xa4]
push edx
push edi
call fcn.00487160
add esp, 8
push eax
push edi
call fcn.00487190
add esp, 4
push eax
push esi
lea ecx, [esp + 0x1bc]
call fcn.00498c20
push eax
lea eax, [esp + 0x194]
push ebx
push eax
call fcn.00484930
mov esi, dword [eax]
add esp, 0x18
test esi, esi
je 0x477a5d
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
call edx
mov eax, dword [esp + 0x10]
xor ebx, ebx
cmp eax, ebx
je 0x477a6f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, ebx
mov dword [esp + 0x10], esi
je 0x477a87
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
call eax
mov eax, dword [esp + 0x184]
cmp eax, ebx
je 0x477aa1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x184], ebx
mov eax, dword [esp + 0xa4]
cmp eax, ebx
je 0x477abb
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xa4], ebx
mov eax, dword [esp + 0xcc]
cmp eax, ebx
je 0x477ad5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xcc], ebx
mov eax, dword [esp + 0x4c]
cmp eax, ebx
je 0x47825a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x4c], ebx
jmp 0x47825a
lea ecx, [esp + 0x1d4]
call fcn.00486ab0
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x1d4]
push eax
call fcn.004869a0
test eax, eax
je 0x477fde
mov eax, dword [esp + 0x1e0]
test eax, eax
jne 0x477d20
cmp dword [ebp + 0x28], eax
jne 0x47825a
lea ecx, [esp + 0x8c]
push 4
push ecx
call fcn.0045e3d0
mov ebx, dword [ebp + 0x1c]
add esp, 8
lea edx, [esp + 0x8c]
push edx
push 1
push ebx
call fcn.00487090
add esp, 4
push eax
call fcn.004870c0
add esp, 8
push eax
push 1
call fcn.00492390
lea eax, [esp + 0xdc]
push 4
push eax
call fcn.0045e3d0
mov ecx, dword [esp + 0x1f0]
add esp, 0x14
push ecx
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x2ec]
push edx
call fcn.00486820
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
lea ecx, [esp + 0x1a8]
call fcn.00498670
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x10]
mov esi, dword [esp + 0x8c]
lea eax, [esp + 0xd0]
push eax
push ecx
push edx
push ebx
push edi
lea ecx, [esp + 0x1b4]
call fcn.00498c20
push eax
push esi
mov esi, dword [esp + 0x4c]
mov ecx, esi
call fcn.00469830
mov eax, dword [esp + 0x8c]
mov ebx, dword [esi + 8]
mov esi, dword [ebx]
push eax
push 2
push 0x10088394
lea ecx, [esp + 0x2e4]
add esi, 0x98
call fcn.00498650
mov ecx, eax
call fcn.00498c20
push eax
mov eax, dword [esi]
lea ecx, [esp + 0xf0]
push ecx
lea edx, [esp + 0xbc]
push edx
mov ecx, ebx
call eax
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0x28]
push ecx
push edx
lea ecx, [esp + 0x24]
call fcn.00469450
mov eax, dword [ebp + 0x1c]
mov esi, dword [esp + 0xd0]
mov ebx, dword [esp + 0xac]
push eax
push edi
call fcn.00487160
add esp, 8
push eax
push edi
call fcn.00487190
add esp, 4
push eax
push esi
lea ecx, [esp + 0x1ac]
call fcn.00498c20
push eax
lea ecx, [esp + 0x14c]
push ebx
push ecx
call fcn.00484930
mov esi, dword [eax]
add esp, 0x18
test esi, esi
je 0x477c85
mov edx, dword [esi]
mov eax, dword [edx + 4]
push esi
call eax
mov eax, dword [esp + 0x10]
xor ebx, ebx
cmp eax, ebx
je 0x477c97
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, ebx
mov dword [esp + 0x10], esi
je 0x477caf
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
call eax
mov eax, dword [esp + 0x13c]
cmp eax, ebx
je 0x477cc9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x13c], ebx
mov eax, dword [esp + 0xac]
cmp eax, ebx
je 0x477ce3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xac], ebx
mov eax, dword [esp + 0xd0]
cmp eax, ebx
je 0x477cfd
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xd0], ebx
mov eax, dword [esp + 0x8c]
cmp eax, ebx
je 0x47825a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x8c], ebx
jmp 0x47825a
cmp eax, 1
jne 0x47825a
lea eax, [esp + 0x44]
push 4
push eax
call fcn.0045e3d0
mov eax, dword [ebp + 0x28]
add esp, 8
test eax, eax
jne 0x477d69
mov edx, dword [ebp + 0x1c]
lea ecx, [esp + 0x44]
push ecx
push ebx
push edx
call fcn.00487090
add esp, 4
push eax
call fcn.004870c0
add esp, 8
push eax
push ebx
call fcn.00492390
add esp, 0xc
jmp 0x477e0e
mov ecx, dword [eax]
lea edx, [esp + 0x44]
push edx
push 0x10094e0c
push eax
mov eax, dword [ecx]
call eax
test eax, eax
mov eax, dword [esp + 0x44]
je 0x477d9f
test eax, eax
je 0x47825a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x44], 0
jmp 0x47825a
mov esi, dword [eax]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x160]
push eax
push 0x10088394
lea ecx, [esp + 0x2b0]
add esi, 0x18
call fcn.00498650
mov ecx, eax
call fcn.00498c20
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi]
push eax
call edx
xor esi, esi
cmp ebx, esi
je 0x477e01
test dword [esp + 0x160], 0x10
jne 0x477e0e
mov eax, dword [esp + 0x44]
cmp eax, esi
je 0x47825a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x44], esi
jmp 0x47825a
test dword [esp + 0x160], 0x10
jne 0x477de4
mov eax, dword [esp + 0x1dc]
push eax
lea ecx, [esp + 0x2c4]
push ecx
mov ecx, dword [esp + 0x44]
call fcn.00486820
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x1c0]
call fcn.00498670
lea ecx, [esp + 0xd4]
push 4
push ecx
call fcn.0045e3d0
mov eax, dword [esp + 0x4c]
mov esi, dword [eax]
mov ecx, dword [ebp + 0x1c]
add esp, 8
lea edx, [esp + 0xd4]
push edx
mov ebx, eax
mov eax, dword [ebp + 0x10]
push 0x40
push eax
push 0
push ecx
add esi, 0xc
call fcn.00487090
add esp, 4
push eax
call fcn.004870c0
add esp, 8
push eax
push edi
lea ecx, [esp + 0x1cc]
call fcn.00498c20
mov edx, dword [esi]
push eax
mov ecx, ebx
call edx
mov eax, dword [esp + 0x30]
mov ebx, dword [eax + 8]
mov esi, dword [ebx]
mov ecx, dword [esp + 0x44]
xor edx, edx
add esi, 0x98
cmp dword [ebp + 0x24], edx
push ecx
setne dl
lea ecx, [esp + 0x2d4]
add edx, 1
push edx
push 0x10088394
call fcn.00498650
mov ecx, eax
call fcn.00498c20
mov edx, dword [esi]
push eax
lea eax, [esp + 0xf0]
push eax
lea ecx, [esp + 0xc4]
push ecx
mov ecx, ebx
call edx
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0x28]
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.00469450
mov edx, dword [ebp + 0x1c]
mov esi, dword [esp + 0xd4]
mov ebx, dword [esp + 0xb4]
push edx
push edi
call fcn.00487160
add esp, 8
push eax
push edi
call fcn.00487190
add esp, 4
push eax
push esi
lea ecx, [esp + 0x1c4]
call fcn.00498c20
push eax
lea eax, [esp + 0x140]
push ebx
push eax
call fcn.00484930
mov esi, dword [eax]
add esp, 0x18
test esi, esi
je 0x477f49
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
call edx
mov eax, dword [esp + 0x10]
xor ebx, ebx
cmp eax, ebx
je 0x477f5b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, ebx
mov dword [esp + 0x10], esi
je 0x477f73
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
call eax
mov eax, dword [esp + 0x130]
cmp eax, ebx
je 0x477f8d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x130], ebx
mov eax, dword [esp + 0xb4]
cmp eax, ebx
je 0x477fa7
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xb4], ebx
mov eax, dword [esp + 0xd4]
cmp eax, ebx
je 0x477fc1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xd4], ebx
mov eax, dword [esp + 0x44]
cmp eax, ebx
je 0x47825a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x44], ebx
jmp 0x47825a
lea eax, [esp + 0x48]
push 4
push eax
call fcn.0045e3d0
mov eax, dword [ebp + 0x28]
add esp, 8
test eax, eax
jne 0x478083
mov edx, dword [ebp + 0x1c]
lea ecx, [esp + 0x48]
push ecx
push ebx
push edx
call fcn.00487090
add esp, 4
push eax
call fcn.004870c0
add esp, 8
push eax
push ebx
call fcn.00492390
add esp, 0xc
mov eax, dword [esp + 0x48]
mov esi, dword [eax]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x164]
push eax
push 0x10088394
lea ecx, [esp + 0x2e8]
add esi, 0x18
call fcn.00498650
mov ecx, eax
call fcn.00498c20
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi]
push eax
call edx
xor esi, esi
cmp ebx, esi
je 0x4780b9
test dword [esp + 0x164], 0x10
jne 0x4780c6
mov eax, dword [esp + 0x48]
cmp eax, esi
je 0x47825a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x48], esi
jmp 0x47825a
mov ecx, dword [eax]
lea edx, [esp + 0x48]
push edx
push 0x10094e0c
push eax
mov eax, dword [ecx]
call eax
test eax, eax
je 0x47801d
mov eax, dword [esp + 0x48]
test eax, eax
je 0x47825a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x48], 0
jmp 0x47825a
test dword [esp + 0x164], 0x10
jne 0x478066
push 0x10088394
lea ecx, [esp + 0x1ac]
call fcn.00498650
lea eax, [esp + 0xd8]
push 4
push eax
call fcn.0045e3d0
mov eax, dword [esp + 0x50]
mov edx, dword [ebp + 0x10]
mov esi, dword [eax]
add esp, 8
lea ecx, [esp + 0xd8]
push ecx
push 0
push edx
push edi
lea ecx, [esp + 0x1b8]
mov ebx, eax
add esi, 0x10
call fcn.00498c20
push eax
mov eax, dword [esi]
mov ecx, ebx
call eax
mov ecx, dword [esp + 0x30]
mov ebx, dword [ecx + 8]
mov esi, dword [ebx]
mov edx, dword [esp + 0x48]
xor eax, eax
add esi, 0x98
cmp dword [ebp + 0x24], eax
push edx
setne al
lea ecx, [esp + 0x1f0]
add eax, 1
push eax
push 0x10088394
call fcn.00498650
mov ecx, eax
call fcn.00498c20
push eax
mov eax, dword [esi]
lea ecx, [esp + 0xf0]
push ecx
lea edx, [esp + 0xcc]
push edx
mov ecx, ebx
call eax
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0x28]
push ecx
push edx
lea ecx, [esp + 0x24]
call fcn.00469450
mov eax, dword [ebp + 0x1c]
mov esi, dword [esp + 0xd8]
mov ebx, dword [esp + 0xbc]
push eax
push edi
call fcn.00487160
add esp, 8
push eax
push edi
call fcn.00487190
add esp, 4
push eax
push esi
lea ecx, [esp + 0x1b4]
call fcn.00498c20
push eax
lea ecx, [esp + 0x160]
push ebx
push ecx
call fcn.00484930
mov esi, dword [eax]
add esp, 0x18
test esi, esi
je 0x4781ce
mov edx, dword [esi]
mov eax, dword [edx + 4]
push esi
call eax
mov eax, dword [esp + 0x10]
xor ebx, ebx
cmp eax, ebx
je 0x4781e0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, ebx
mov dword [esp + 0x10], esi
je 0x4781f8
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
call eax
mov eax, dword [esp + 0x150]
cmp eax, ebx
je 0x478212
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x150], ebx
mov eax, dword [esp + 0xbc]
cmp eax, ebx
je 0x47822c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xbc], ebx
mov eax, dword [esp + 0xd8]
cmp eax, ebx
je 0x478246
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xd8], ebx
mov eax, dword [esp + 0x48]
cmp eax, ebx
je 0x47825a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x48], ebx
lea ecx, [esp + 0x5c]
call fcn.00498940
lea ecx, [esp + 0x54]
call fcn.00498940
jmp 0x4784f4
mov edx, dword [esi]
mov ecx, dword [edx]
lea eax, [esp + 0x74]
push eax
push 0x10094e2c
push esi
call ecx
test eax, eax
je 0x4769cb
mov eax, dword [esp + 0x74]
test eax, eax
je 0x4784f4
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x74], 0
jmp 0x4784f4
lea eax, [esp + 0x7c]
push eax
call fcn.0045e3d0
add esp, 8
test esi, esi
lea ecx, [esp + 0x78]
push ecx
jne 0x478672
mov edx, dword [ebp + 0x1c]
push ebx
push edx
call fcn.00487090
add esp, 4
push eax
call fcn.004870c0
add esp, 8
push eax
push ebx
call fcn.00492390
add esp, 0xc
push 0
push 0x10088394
lea ecx, [esp + 0x1a0]
call fcn.00498630
lea eax, [esp + 0xa8]
push 4
push eax
call fcn.0045e3d0
mov eax, dword [esp + 0x80]
mov edx, dword [ebp + 0x10]
mov esi, dword [eax]
add esp, 8
lea ecx, [esp + 0xa8]
push ecx
push 0
push edx
push edi
lea ecx, [esp + 0x1a8]
mov ebx, eax
add esi, 0x10
call fcn.00498c20
push eax
mov eax, dword [esi]
mov ecx, ebx
call eax
lea ecx, [esp + 0x258]
push ecx
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov edx, dword [edx + 0x20]
lea eax, [esp + 0x23c]
push eax
call edx
mov ecx, eax
call fcn.00498950
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
lea eax, [esp + 0x228]
push eax
lea eax, [esp + 0x24c]
push eax
call edx
mov ecx, eax
call fcn.00498950
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 8]
mov eax, dword [esp + 0x78]
mov edx, dword [ecx]
push eax
mov edx, dword [edx + 0x98]
xor eax, eax
cmp dword [ebp + 0x24], eax
setne al
add eax, 1
push eax
lea eax, [esp + 0x260]
push eax
lea eax, [esp + 0x234]
push eax
lea eax, [esp + 0xb0]
push eax
call edx
lea ecx, [esp + 0x248]
call fcn.00498940
lea ecx, [esp + 0x238]
call fcn.00498940
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
mov esi, dword [esp + 0xa0]
lea edx, [esp + 0x174]
push edx
call eax
mov ecx, dword [eax]
push esi
push ecx
lea ecx, [esp + 0x24]
call fcn.00469450
mov eax, dword [esp + 0x174]
test eax, eax
je 0x478415
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x174], 0
mov ecx, dword [ebp + 0x1c]
mov esi, dword [esp + 0xa8]
mov ebx, dword [esp + 0xa0]
push ecx
push edi
call fcn.00487160
add esp, 8
push eax
push edi
call fcn.00487190
add esp, 4
push eax
push esi
lea ecx, [esp + 0x1a4]
call fcn.00498c20
push eax
lea edx, [esp + 0x18c]
push ebx
push edx
call fcn.00484930
mov esi, dword [eax]
xor ebx, ebx
add esp, 0x18
cmp esi, ebx
je 0x47846a
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x47847a
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
cmp esi, ebx
mov dword [esp + 0x10], esi
je 0x478492
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
call edx
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov eax, dword [esp + 0x17c]
cmp eax, ebx
je 0x4784ac
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x17c], ebx
mov eax, dword [esp + 0xa0]
cmp eax, ebx
je 0x4784c6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xa0], ebx
mov eax, dword [esp + 0xa8]
cmp eax, ebx
je 0x4784e0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xa8], ebx
mov eax, dword [esp + 0x78]
cmp eax, ebx
je 0x4784f4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x78], ebx
mov eax, dword [esp + 0x28]
xor esi, esi
cmp dword [esp + 0x10], esi
je 0x478a87
cmp eax, esi
je 0x478514
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x478528
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x128]
cmp eax, esi
je 0x478542
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x128], esi
mov eax, dword [esp + 0x108]
cmp eax, esi
je 0x47855c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x108], esi
lea ecx, [esp + 0x100]
call fcn.00498940
lea ecx, [esp + 0x7c]
call fcn.004985f0
lea ecx, [esp + 0x7c]
call fcn.004985d0
push esi
push esi
lea ecx, [esp + 0x84]
call fcn.00498c20
mov esi, dword [ebp + 8]
push eax
push esi
call dword [0x100a5b50]
test al, al
jne 0x476420
xor edi, edi
cmp dword [0x100a5964], edi
je 0x4785f5
push 0x10088e80
push 0x10094628
push esi
push 0x100945ec
push 0x10094884
lea ecx, [esp + 0x1dc]
call fcn.004596b0
mov ecx, eax
call fcn.004585e0
mov ecx, eax
call fcn.004585e0
mov ecx, eax
call fcn.00458600
mov ecx, eax
call fcn.004585e0
mov ecx, eax
call fcn.004585e0
lea ecx, [esp + 0x1c8]
call fcn.004584a0
push 0x7b
lea ecx, [esp + 0x28]
call fcn.004bd9e0
lea ecx, [esp + 0x7c]
call fcn.004985f0
mov eax, dword [esp + 0x20]
cmp eax, edi
je 0x47861d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x478631
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x478645
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x2c]
cmp eax, edi
je 0x478b40
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x24]
mov dword [esp + 0x2c], edi
call fcn.004bd9f0
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov eax, dword [esi]
mov edx, dword [eax]
push 0x10094e0c
push esi
call edx
test eax, eax
je 0x4782e5
mov eax, dword [esp + 0x78]
test eax, eax
je 0x4784f4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x78], 0
jmp 0x4784f4
push 0x7b
lea ecx, [esp + 0x28]
call fcn.004bd9e0
lea ecx, [esp + 0xb0]
call fcn.004985a0
xor esi, esi
jmp 0x478a93
push 5
lea ecx, [esp + 0x28]
call fcn.004bd9e0
lea ecx, [esp + 0x40]
call fcn.004c4020
lea ecx, [esp + 0x1c0]
call fcn.00486990
lea ecx, [esp + 0xb0]
call fcn.004985a0
lea ecx, [esp + 0x14]
call fcn.004c4020
lea ecx, [esp + 0x100]
call fcn.00469a70
lea ecx, [esp + 0x7c]
call fcn.004985f0
lea ecx, [esp + 0x1c]
call fcn.00499d70
lea ecx, [esp + 0x10]
call fcn.004c4020
lea ecx, [esp + 0x2c]
call fcn.004c4020
lea ecx, [esp + 0x24]
call fcn.004bd9f0
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
lea ecx, [esp + 0x1c]
call fcn.004693d0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
shr edi, 0x14
and edi, 1
push edi
push eax
call fcn.0046d480
lea ecx, [esp + 0xb0]
mov esi, eax
call fcn.004985a0
lea ecx, [esp + 0x14]
call fcn.004c4020
lea ecx, [esp + 0x100]
call fcn.00469a70
lea ecx, [esp + 0x7c]
call fcn.004985f0
lea ecx, [esp + 0x1c]
call fcn.00499d70
lea ecx, [esp + 0x10]
call fcn.004c4020
lea ecx, [esp + 0x2c]
call fcn.004c4020
lea ecx, [esp + 0x24]
call fcn.004bd9f0
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
push 0x57
lea ecx, [esp + 0x28]
call fcn.004bd9e0
mov eax, dword [esp + 0x70]
xor edi, edi
cmp eax, edi
je 0x4787d9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x70], edi
mov eax, dword [esp + 0x38]
cmp eax, edi
je 0x4787ed
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x38], edi
cmp esi, edi
je 0x4787f9
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x47880d
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x128]
cmp eax, edi
je 0x478827
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x128], edi
mov eax, dword [esp + 0x108]
cmp eax, edi
je 0x478841
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x108], edi
lea ecx, [esp + 0x100]
call fcn.00498940
jmp 0x478600
push 0x57
lea ecx, [esp + 0x28]
call fcn.004bd9e0
mov eax, dword [esp + 0x34]
xor edi, edi
cmp eax, edi
je 0x478873
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x34], edi
mov eax, dword [esp + 0x68]
cmp eax, edi
je 0x478887
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x68], edi
cmp esi, edi
je 0x478893
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x4788a7
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x128]
cmp eax, edi
je 0x4788c1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x128], edi
mov eax, dword [esp + 0x108]
cmp eax, edi
je 0x4788db
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x108], edi
lea ecx, [esp + 0x100]
call fcn.00498940
jmp 0x478600
xor edi, edi
cmp dword [0x100a5964], edi
je 0x47894d
push 0x10088e80
push 0x10094698
lea eax, [esp + 0xec]
push eax
push 0x1009467c
push 0x10094884
lea ecx, [esp + 0x298]
call fcn.004596b0
mov ecx, eax
call fcn.004585e0
mov ecx, eax
call fcn.004585e0
mov ecx, eax
call fcn.004596f0
mov ecx, eax
call fcn.004585e0
mov ecx, eax
call fcn.004585e0
lea ecx, [esp + 0x284]
call fcn.004584a0
push 0x7b
lea ecx, [esp + 0x28]
call fcn.004bd9e0
lea ecx, [esp + 0x5c]
call fcn.00498940
lea ecx, [esp + 0x54]
call fcn.00498940
cmp esi, edi
je 0x478976
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x47898a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x128]
cmp eax, edi
je 0x4789a4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x128], edi
mov eax, dword [esp + 0x108]
cmp eax, edi
je 0x4789be
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x108], edi
lea ecx, [esp + 0x100]
call fcn.00498940
jmp 0x478600
push 0x57
lea ecx, [esp + 0x28]
call fcn.004bd9e0
mov eax, dword [esp + 0x50]
xor edi, edi
cmp eax, edi
je 0x4789f0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x50], edi
mov eax, dword [esp + 0x6c]
cmp eax, edi
je 0x478a04
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x6c], edi
lea ecx, [esp + 0x188]
call fcn.00486990
lea ecx, [esp + 0x5c]
call fcn.00498940
lea ecx, [esp + 0x54]
call fcn.00498940
cmp esi, edi
je 0x478a2e
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x478a42
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x128]
cmp eax, edi
je 0x478a5c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x128], edi
mov eax, dword [esp + 0x108]
cmp eax, edi
je 0x478a76
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x108], edi
lea ecx, [esp + 0x100]
call fcn.00498940
jmp 0x478600
cmp eax, esi
je 0x478a93
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x478aa7
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x128]
cmp eax, esi
je 0x478ac1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x128], esi
mov eax, dword [esp + 0x108]
cmp eax, esi
je 0x478adb
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x108], esi
lea ecx, [esp + 0x100]
call fcn.00498940
lea ecx, [esp + 0x7c]
call fcn.004985f0
mov eax, dword [esp + 0x20]
cmp eax, esi
je 0x478b04
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x478b18
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x478b2c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x2c]
cmp eax, esi
je 0x478b40
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x2c], esi
lea ecx, [esp + 0x24]
call fcn.004bd9f0
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret 0x24