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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xb4]
cmp eax, dword [ecx + 8]
jbe 0x52baf4
sub esp, 0x134
mov eax, dword [esp + 0x138]
mov dword [esp], eax
mov ecx, dword [esp + 0x13c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x140]
mov dword [esp + 8], edx
call fcn.004831d0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x94], ecx
cmp dword [0xc57948], eax
je 0x52b9eb
cmp dword [0xc57968], eax
je 0x52b887
cmp dword [0xc57938], eax
je 0x52b7a5
cmp dword [0xc57950], eax
je 0x52b6aa
cmp dword [0xc57930], eax
je 0x52b60c
nop
mov eax, dword [esp + 0x140]
mov ecx, eax
and eax, 0x1f
cmp eax, 6
ja 0x52aa4b
cmp eax, 1
je 0x52a9b6
lea ecx, [eax - 2]
cmp ecx, 4
ja 0x52a96b
cmp eax, 3
ja 0x52a929
cmp eax, 2
jne 0x52a8cf
mov eax, dword [esp + 0x13c]
mov eax, dword [eax]
mov ecx, eax
sar eax, 0x1f
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00408090
mov eax, dword [esp + 8]
lea ecx, [0x972630]
mov dword [esp + 0x15c], ecx
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], 0
mov dword [esp + 0x168], 0
add esp, 0x134
ret
cmp eax, 3
jne 0x52a8e5
mov edx, dword [esp + 0x13c]
movsx eax, byte [edx]
mov ecx, eax
sar eax, 0x1f
jmp 0x52a88e
mov dword [esp + 0x6c], eax
lea eax, [0x86aea0]
mov dword [esp], eax
call fcn.0040a800
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x11
mov eax, dword [0xc6be00]
test eax, eax
jne 0x52a919
lea eax, [0x8c587a]
mov dword [edi], eax
jmp 0x52ba6b
lea eax, [0x8c587a]
call fcn.00451ff0
jmp 0x52ba6b
cmp eax, 4
jne 0x52a942
mov edx, dword [esp + 0x13c]
movsx eax, word [edx]
mov ecx, eax
sar eax, 0x1f
jmp 0x52a88e
cmp eax, 5
jne 0x52a95a
mov edx, dword [esp + 0x13c]
mov eax, dword [edx]
mov ecx, eax
sar eax, 0x1f
jmp 0x52a88e
mov edx, dword [esp + 0x13c]
mov ecx, dword [edx]
mov eax, dword [edx + 4]
jmp 0x52a88e
lea eax, [0x8c45a0]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call fcn.00408100
mov eax, dword [esp + 8]
mov dword [esp + 0x15c], 0
mov dword [esp + 0x160], 0
lea ecx, [0x96f4b0]
mov dword [esp + 0x164], ecx
mov dword [esp + 0x168], eax
add esp, 0x134
ret
mov eax, dword [esp + 0x138]
mov dword [esp], eax
mov eax, dword [esp + 0x13c]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0047c890
movzx eax, byte [esp + 0xc]
test al, al
je 0x52aa14
mov eax, dword [0xc4ff08]
mov ecx, dword [0xc4ff0c]
mov dword [esp + 0x15c], eax
mov dword [esp + 0x160], ecx
mov dword [esp + 0x164], 0
mov dword [esp + 0x168], 0
add esp, 0x134
ret
mov eax, dword [0xc4ff00]
mov ecx, dword [0xc4ff04]
mov dword [esp + 0x15c], eax
mov dword [esp + 0x160], ecx
mov dword [esp + 0x164], 0
mov dword [esp + 0x168], 0
add esp, 0x134
ret
lea edx, [esp + 0xc]
mov dword [esp + 0x90], edx
cmp eax, 0x17
je 0x52b2c3
cmp eax, 0x18
jne 0x52ac1c
mov eax, dword [esp + 0x150]
cmp eax, 0x12
je 0x52abb7
cmp eax, 0x13
je 0x52ab52
cmp eax, 0x16
jne 0x52aaeb
mov eax, dword [esp + 0x138]
mov dword [esp], eax
mov eax, dword [esp + 0x13c]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00482ee0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00529850
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x15c], eax
mov dword [esp + 0x160], ecx
mov dword [esp + 0x164], edx
mov dword [esp + 0x168], ebx
add esp, 0x134
ret
mov eax, dword [esp + 0x138]
mov dword [esp], eax
mov eax, dword [esp + 0x13c]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00482ee0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00408100
mov eax, dword [esp + 8]
lea ecx, [0x972690]
mov dword [esp + 0x15c], ecx
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], 0
mov dword [esp + 0x168], 0
add esp, 0x134
ret
mov eax, dword [esp + 0x138]
mov dword [esp], eax
mov eax, dword [esp + 0x13c]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00482ee0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.005296b0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x15c], eax
mov dword [esp + 0x160], ecx
mov dword [esp + 0x164], edx
mov dword [esp + 0x168], ebx
add esp, 0x134
ret
mov eax, dword [esp + 0x138]
mov dword [esp], eax
mov eax, dword [esp + 0x13c]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00482ee0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00529910
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x15c], eax
mov dword [esp + 0x160], ecx
mov dword [esp + 0x164], edx
mov dword [esp + 0x168], ebx
add esp, 0x134
ret
cmp eax, 0x19
jne 0x52a96b
mov eax, dword [esp + 0x138]
mov dword [esp], eax
mov edx, dword [esp + 0x13c]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004831d0
lea eax, [esp + 8]
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x78], edx
xor ebx, ebx
jmp 0x52ac71
mov eax, dword [esp + 0x60]
lea ebx, [eax + 1]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x78]
mov dword [esp + 0x60], ebx
mov eax, dword [ecx + 0x64]
mov dword [esp], edx
call eax
mov eax, dword [esp + 0x60]
cmp dword [esp + 4], eax
jle 0x52ad04
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx + 0x2c]
mov ebx, dword [esp + 0x78]
mov dword [esp], ebx
mov dword [esp + 4], eax
call edx
lea edi, [esp + 0x100]
mov esi, dword [esp + 0x8c]
call fcn.0045272e
mov eax, dword [esp + 0x10c]
test eax, eax
je 0x52ac62
lea eax, [0x8d08dd]
mov dword [esp], eax
mov dword [esp + 4], 0x21
call fcn.00408100
mov eax, dword [esp + 8]
mov dword [esp + 0x15c], 0
mov dword [esp + 0x160], 0
lea ecx, [0x96f4b0]
mov dword [esp + 0x164], ecx
mov dword [esp + 0x168], eax
add esp, 0x134
ret
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 0x64]
mov edx, dword [esp + 0x78]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
test eax, eax
je 0x52b272
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 0x2c]
mov edx, dword [esp + 0x78]
mov dword [esp], edx
mov dword [esp + 4], 0
call ecx
lea edi, [esp + 0x100]
mov esi, dword [esp + 0x8c]
call fcn.0045272e
mov eax, dword [esp + 0x110]
mov ecx, dword [esp + 0x114]
cmp dword [0xc57958], eax
je 0x52b112
xor eax, eax
mov ecx, dword [esp + 0x4c]
sub ecx, eax
test ecx, ecx
je 0x52b0c1
mov dword [esp + 0x48], eax
lea edx, [esp + 8]
mov dword [esp + 0x88], edx
cmp ecx, 1
je 0x52af9a
mov dword [esp + 0x54], ecx
lea eax, [0x85e460]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.0043d110
mov eax, dword [esp + 0xc]
mov dword [esp + 0x84], eax
xor ecx, ecx
jmp 0x52adbd
lea ecx, [ebp + 1]
mov edx, dword [esp + 0x54]
cmp ecx, edx
jge 0x52af55
mov dword [esp + 0x5c], ecx
mov eax, dword [esp + 0x138]
mov dword [esp], eax
mov edx, dword [esp + 0x13c]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x140]
mov dword [esp + 8], ebx
mov ebp, dword [esp + 0x48]
lea esi, [ecx + ebp]
mov dword [esp + 0x68], esi
mov dword [esp + 0xc], esi
call fcn.0047ebb0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x80], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x7c], edx
mov ebx, dword [esp + 0x44]
mov ebp, dword [ebx + 0x2c]
mov esi, dword [esp + 0x78]
mov dword [esp], esi
mov edi, dword [esp + 0x68]
mov dword [esp + 4], edi
call ebp
lea edi, [esp + 0x100]
mov esi, dword [esp + 0x8c]
call fcn.0045272e
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0x11c]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x8c0065]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 4
call fcn.004779a0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00527a60
lea edi, [esp + 0xe8]
mov esi, dword [esp + 0x88]
call fcn.00452774
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 8], eax
mov edi, dword [esp + 0x90]
lea esi, [esp + 0xe8]
call fcn.00452774
call fcn.0052bb00
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x5c]
mov esi, dword [esp + 0x54]
cmp ebp, esi
jae 0x52ba8d
mov edi, ebx
mov ebx, dword [esp + 0x84]
lea esi, [ebx + ebp*8]
mov dword [esi], eax
mov esi, dword [0xc6be00]
mov eax, ebx
lea ebx, [ebx + ebp*8 + 4]
test esi, esi
jne 0x52af3f
mov dword [ebx], ecx
test edx, edx
je 0x52adba
mov dword [esp + 0x15c], 0
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], edx
mov dword [esp + 0x168], edi
add esp, 0x134
ret
mov esi, edi
mov edi, ebx
mov eax, ecx
call fcn.00451ff0
mov eax, dword [esp + 0x84]
mov edi, esi
jmp 0x52af0c
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.00408180
mov eax, dword [esp + 0xc]
lea ecx, [0x972650]
mov dword [esp + 0x15c], ecx
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], 0
mov dword [esp + 0x168], 0
add esp, 0x134
ret
mov ecx, dword [esp + 0x138]
mov dword [esp], ecx
mov ecx, dword [esp + 0x13c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x140]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.0047ebb0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x84], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x7c], edx
mov ebx, dword [esp + 0x44]
mov ebx, dword [ebx + 0x2c]
mov ebp, dword [esp + 0x78]
mov dword [esp], ebp
mov ebp, dword [esp + 0x48]
mov dword [esp + 4], ebp
call ebx
lea edi, [esp + 0x100]
mov esi, dword [esp + 0x8c]
call fcn.0045272e
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0x11c]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x8c0065]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 4
call fcn.004779a0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00527a60
lea edi, [esp + 0xe8]
mov esi, dword [esp + 0x88]
call fcn.00452774
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 8], eax
mov edi, dword [esp + 0x90]
lea esi, [esp + 0xe8]
call fcn.00452774
call fcn.0052bb00
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x15c], eax
mov dword [esp + 0x160], ecx
mov dword [esp + 0x164], edx
mov dword [esp + 0x168], ebx
add esp, 0x134
ret
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00408180
mov eax, dword [esp + 0xc]
lea ecx, [0x972610]
mov dword [esp + 0x15c], ecx
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], 0
mov dword [esp + 0x168], 0
add esp, 0x134
ret
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [0xc5795c]
mov dword [esp + 8], eax
call fcn.00403030
movzx eax, byte [esp + 0xc]
test al, al
je 0x52ad69
mov eax, dword [esp + 0x138]
mov dword [esp], eax
mov ecx, dword [esp + 0x13c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x140]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0
call fcn.0047ebb0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x7c], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x6c], edx
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004800f0
mov eax, dword [esp + 0xc]
test eax, eax
jg 0x52b19f
mov eax, 1
jmp 0x52ad6b
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 8], eax
call fcn.0047c940
mov eax, dword [esp + 0xc]
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x40], edx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0
call fcn.00524090
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x52b24b
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00408180
mov eax, dword [esp + 0xc]
lea ecx, [0x972610]
mov dword [esp + 0x15c], ecx
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], 0
mov dword [esp + 0x168], 0
add esp, 0x134
ret
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
ja 0x52ba96
sub ecx, eax
mov edx, dword [esp + 0x40]
sub edx, eax
mov ebx, edx
neg edx
sar edx, 0x1f
and eax, edx
mov ebp, dword [esp + 0x74]
add eax, ebp
mov edx, ebx
jmp 0x52b206
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00408180
mov eax, dword [esp + 0xc]
lea ecx, [0x972610]
mov dword [esp + 0x15c], ecx
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], 0
mov dword [esp + 0x168], 0
add esp, 0x134
ret
mov eax, dword [esp + 0x138]
mov dword [esp], eax
mov edx, dword [esp + 0x13c]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004831d0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0x28]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov eax, dword [eax + 0x50]
mov dword [esp], ecx
call eax
cmp dword [esp + 4], 8
je 0x52b596
lea edi, [esp + 0xd0]
xor eax, eax
call fcn.0045229a
mov ecx, dword [esp + 0x138]
mov dword [esp], ecx
mov edx, dword [esp + 0x13c]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x140]
mov dword [esp + 8], ebx
call fcn.004800f0
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x52b545
cmp ecx, 1
je 0x52b4b6
mov dword [esp + 0x50], ecx
lea eax, [0x85e460]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.0043d110
mov eax, dword [esp + 0xc]
mov dword [esp + 0x84], eax
xor ecx, ecx
jmp 0x52b380
lea ecx, [ebp + 1]
mov edx, dword [esp + 0x50]
cmp ecx, edx
jge 0x52b471
mov dword [esp + 0x64], ecx
mov eax, dword [esp + 0x138]
mov dword [esp], eax
mov edx, dword [esp + 0x13c]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x140]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
call fcn.0047f2d0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov edi, dword [esp + 0x90]
lea esi, [esp + 0xd0]
call fcn.00452774
call fcn.0052bb00
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x50]
cmp ebp, esi
jae 0x52ba84
mov edi, ebx
mov ebx, dword [esp + 0x84]
lea esi, [ebx + ebp*8]
mov dword [esi], eax
lea esi, [ebx + ebp*8 + 4]
mov eax, ebx
mov ebx, dword [0xc6be00]
test ebx, ebx
jne 0x52b45b
mov dword [esi], ecx
test edx, edx
je 0x52b37d
mov dword [esp + 0x15c], 0
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], edx
mov dword [esp + 0x168], edi
add esp, 0x134
ret
mov ebx, edi
mov edi, esi
mov eax, ecx
call fcn.00451ff0
mov eax, dword [esp + 0x84]
mov edi, ebx
jmp 0x52b428
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.00408180
mov eax, dword [esp + 0xc]
lea ecx, [0x972650]
mov dword [esp + 0x15c], ecx
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], 0
mov dword [esp + 0x168], 0
add esp, 0x134
ret
mov eax, dword [esp + 0x138]
mov dword [esp], eax
mov eax, dword [esp + 0x13c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x140]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
call fcn.0047f2d0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov edi, dword [esp + 0x90]
lea esi, [esp + 0xd0]
call fcn.00452774
call fcn.0052bb00
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x15c], eax
mov dword [esp + 0x160], ecx
mov dword [esp + 0x164], edx
mov dword [esp + 0x168], ebx
add esp, 0x134
ret
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00408180
mov eax, dword [esp + 0xc]
lea ecx, [0x972610]
mov dword [esp + 0x15c], ecx
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], 0
mov dword [esp + 0x168], 0
add esp, 0x134
ret
mov eax, dword [esp + 0x138]
mov dword [esp], eax
mov eax, dword [esp + 0x13c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x140]
mov dword [esp + 8], eax
call fcn.0047c940
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00408180
mov eax, dword [esp + 0xc]
lea ecx, [0x972610]
mov dword [esp + 0x15c], ecx
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], 0
mov dword [esp + 0x168], 0
add esp, 0x134
ret
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [0xc57934]
mov dword [esp + 8], eax
call fcn.00403030
movzx eax, byte [esp + 0xc]
test al, al
je 0x52a847
mov eax, dword [esp + 0x138]
mov dword [esp], eax
mov eax, dword [esp + 0x13c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x140]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 1
call fcn.0047f690
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
lea edx, [0x8be780]
cmp edx, eax
jne 0x52ba9b
mov dword [esp], ecx
call fcn.00528b20
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x15c], eax
mov dword [esp + 0x160], ecx
mov dword [esp + 0x164], edx
mov dword [esp + 0x168], ebx
add esp, 0x134
ret
mov dword [esp], eax
mov dword [esp + 4], ecx
mov edx, dword [0xc57954]
mov dword [esp + 8], edx
call fcn.00403030
movzx eax, byte [esp + 0xc]
test al, al
jne 0x52b6d9
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x94]
jmp 0x52a83b
mov eax, dword [esp + 0x138]
mov dword [esp], eax
mov eax, dword [esp + 0x13c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x140]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 1
call fcn.0047f690
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
lea edx, [0x8641a0]
cmp edx, eax
jne 0x52bab1
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
cmp edx, 2
jge 0x52b76d
lea eax, [0x8cb154]
mov dword [esp], eax
mov dword [esp + 4], 0x19
call fcn.00408100
mov eax, dword [esp + 8]
xor ecx, ecx
xor edx, edx
lea ebx, [0x96f4b0]
mov dword [esp + 0x15c], edx
mov dword [esp + 0x160], ecx
mov dword [esp + 0x164], ebx
mov dword [esp + 0x168], eax
add esp, 0x134
ret
mov ebx, dword [eax]
cmp ebx, 2
jg 0x52b726
jge 0x52b7a1
cmp dword [eax + 4], 0x28
setge bl
test bl, bl
jne 0x52b726
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00408180
mov ecx, dword [esp + 0xc]
lea edx, [0x972670]
xor eax, eax
xor ebx, ebx
jmp 0x52b74a
xor ebx, ebx
jmp 0x52b77d
mov dword [esp], eax
mov dword [esp + 4], ecx
mov edx, dword [0xc5793c]
mov dword [esp + 8], edx
call fcn.00403030
movzx eax, byte [esp + 0xc]
test al, al
jne 0x52b7d4
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x94]
jmp 0x52a82f
mov eax, dword [esp + 0x138]
mov dword [esp], eax
mov eax, dword [esp + 0x13c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x140]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 1
call fcn.0047f690
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea edx, [0x885860]
cmp edx, ecx
jne 0x52bac7
mov ecx, dword [eax + 0xc]
mov edx, dword [eax]
mov ebx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
lea eax, [0x9725d0]
mov dword [esp], eax
lea eax, [esp + 0x98]
mov dword [esp + 4], eax
call fcn.00408270
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x15c], ecx
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], 0
mov dword [esp + 0x168], 0
add esp, 0x134
ret
mov dword [esp], eax
mov dword [esp + 4], ecx
mov edx, dword [0xc5796c]
mov dword [esp + 8], edx
call fcn.00403030
movzx eax, byte [esp + 0xc]
test al, al
jne 0x52b8b6
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x94]
jmp 0x52a823
mov eax, dword [esp + 0x138]
mov dword [esp], eax
mov eax, dword [esp + 0x13c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x140]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 1
call fcn.0047f690
mov eax, dword [esp + 0x10]
mov dword [esp + 0x58], eax
mov esi, dword [esp + 0x14]
lea edi, [esp + 0xbc]
xor eax, eax
call fcn.0045229b
lea eax, [0x8bad60]
mov ecx, dword [esp + 0x58]
cmp eax, ecx
jne 0x52badd
lea edi, [esp + 0xbc]
call fcn.0045277e
lea edi, [esp + 0xa8]
lea esi, [esp + 0xbc]
call fcn.0045277e
cmp dword [esp + 0x154], 0x18
jne 0x52b9ce
mov eax, 1
test al, al
je 0x52b988
mov edi, esp
lea esi, [esp + 0xa8]
call fcn.0045277e
call fcn.00529c10
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x15c], ebx
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], edx
mov dword [esp + 0x168], ecx
add esp, 0x134
ret
mov edi, esp
lea esi, [esp + 0xa8]
call fcn.0045277e
call fcn.00529b30
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x15c], edx
mov dword [esp + 0x160], ecx
mov dword [esp + 0x164], eax
mov dword [esp + 0x168], ebx
add esp, 0x134
ret
mov edi, esp
lea esi, [esp + 0xa8]
call fcn.0045277e
call fcn.00529ad0
movzx eax, byte [esp + 0x14]
jmp 0x52b93e
mov dword [esp], eax
mov dword [esp + 4], ecx
mov edx, dword [0xc5794c]
mov dword [esp + 8], edx
call fcn.00403030
movzx eax, byte [esp + 0xc]
test al, al
jne 0x52ba1a
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x94]
jmp 0x52a817
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00408180
mov eax, dword [esp + 0xc]
lea ecx, [0x972610]
mov dword [esp + 0x15c], ecx
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], 0
mov dword [esp + 0x168], 0
add esp, 0x134
ret
mov eax, dword [esp + 0x6c]
mov dword [edi + 8], eax
lea eax, [0x852720]
mov dword [esp], eax
mov dword [esp + 4], edi
call fcn.0042b540
mov eax, ebp
mov ecx, esi
call fcn.00452070
mov eax, ebp
mov ecx, esi
call fcn.00452070
call fcn.004520d0
mov dword [esp], eax
mov dword [esp + 4], edx
lea eax, [0x843140]
mov dword [esp + 8], eax
call fcn.00407dc0
mov dword [esp], eax
mov dword [esp + 4], edx
lea eax, [0x843140]
mov dword [esp + 8], eax
call fcn.00407dc0
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x843140]
mov dword [esp + 8], eax
call fcn.00407dc0
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x843140]
mov dword [esp + 8], eax
call fcn.00407dc0
nop
call fcn.004507b0
jmp fcn.0052a7b0