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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x53028d
sub esp, 0x7c
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov ecx, dword [esp + 0x84]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x88]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0xc], ebx
mov byte [esp + 0x10], 0
call fcn.0052f550
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x2c]
test ecx, ecx
jne 0x530236
test edx, edx
jne 0x530143
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], ebp
mov dword [esp + 0x48], esi
mov eax, esi
and esi, 0x1f
cmp esi, 0x11
jne 0x52ffa1
mov dword [esp + 0x44], esi
xor ecx, ecx
jmp 0x52faaa
mov ecx, eax
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.0052f140
mov eax, dword [esp + 8]
cmp eax, 8
je 0x52ff98
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx + 0xc]
dec edx
mov dword [ecx + 0xc], edx
lea edx, [ecx + 0x10]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.0053d9a0
mov eax, dword [esp + 0x44]
cmp eax, 0x17
je 0x52fdcf
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x48]
mov dword [esp + 8], edx
call fcn.004ab090
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x34]
cmp ecx, eax
jge 0x52fda3
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov edx, dword [esp + 0x58]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x48]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
call fcn.004aa930
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x80]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.0052f1c0
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.0052f140
mov eax, dword [esp + 0x34]
inc eax
mov ecx, dword [esp + 8]
cmp ecx, 8
je 0x52fbcd
cmp ecx, 7
je 0x52faa8
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov ecx, dword [0x9f3dcc]
mov edx, dword [0x9f3dc8]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.0052ee40
mov eax, dword [esp + 0x40]
jmp 0x52faa8
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x54]
mov dword [esp], ecx
mov edx, dword [esp + 0x58]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x48]
mov dword [esp + 8], ebx
call fcn.004ab090
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x34]
cmp ecx, eax
jge 0x52fcf3
mov eax, dword [esp + 0x44]
cmp eax, 0x11
jne 0x52fd7a
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x48]
mov dword [esp + 8], edx
call fcn.004ad550
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 + 8]
mov ecx, dword [esp + 4]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004ae100
mov eax, dword [esp + 8]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x3c], edx
mov ebx, dword [esp + 0x34]
jmp 0x52fcc3
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov edx, dword [esp + 0x58]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x48]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
call fcn.004aa930
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x14], edx
call fcn.004ac460
mov eax, dword [esp + 0x34]
lea ebx, [eax + 1]
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x48]
mov dword [esp + 8], edx
call fcn.004ab090
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x34]
cmp ecx, eax
jl 0x52fc68
test ecx, ecx
jne 0x52fd00
mov eax, dword [esp + 0x44]
cmp eax, 0x17
je 0x52fd04
add esp, 0x7c
ret
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x48]
mov dword [esp + 8], edx
call fcn.004ad550
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.004add60
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x54]
mov dword [esp], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.004ac460
jmp 0x52fd00
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov edx, dword [esp + 0x58]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x48]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
call fcn.004ac9e0
mov ecx, dword [esp + 0x34]
jmp 0x52fcf3
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.0052f1c0
jmp 0x52fb6f
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x48]
mov dword [esp + 8], edx
call fcn.004a9f60
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x34]
cmp ecx, eax
jge 0x52fe4f
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x48]
mov dword [esp + 8], edx
call fcn.004ab090
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x34]
cmp ecx, eax
jl 0x52fafc
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov edx, dword [esp + 0x58]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x48]
mov dword [esp + 8], ebx
lea ebp, [ecx + 1]
mov dword [esp + 0xc], ebp
call fcn.004ac9e0
mov ecx, dword [esp + 0x34]
jmp 0x52fafc
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x48]
mov dword [esp + 8], edx
call fcn.004a9f60
mov eax, dword [esp + 0xc]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x54]
mov dword [esp], ecx
mov edx, dword [esp + 0x58]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x48]
mov dword [esp + 8], ebx
call fcn.004a9f60
mov eax, dword [esp + 0xc]
mov ecx, eax
sar eax, 0x1f
shr eax, 0x1f
add eax, ecx
sar eax, 1
mov ecx, dword [esp + 0x38]
add eax, ecx
cmp eax, 4
jge 0x52feaf
mov eax, 4
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x54]
mov dword [esp], ecx
mov edx, dword [esp + 0x58]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x48]
mov dword [esp + 8], ebx
call fcn.004ad550
mov eax, dword [esp + 0x10]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x60], ecx
mov edx, dword [esp + 0x54]
mov dword [esp], edx
mov ebx, dword [esp + 0x58]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x48]
mov dword [esp + 8], ebp
call fcn.004ab090
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], eax
call fcn.004add60
mov eax, dword [esp + 0x10]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x3c], edx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x54]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0x48]
mov dword [esp + 0x14], esi
call fcn.004ada10
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x48]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x14], ebx
call fcn.004ac460
jmp 0x52fdf7
mov eax, dword [esp + 0x34]
jmp 0x52fbcd
cmp esi, 0x14
je 0x530091
cmp esi, 0x17
je 0x52faa0
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.004ad550
mov eax, dword [esp + 0x10]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x60], ecx
lea edx, [0x778280]
mov dword [esp], edx
call fcn.0040e9e0
mov eax, dword [esp + 4]
mov dword [esp + 0x5c], eax
mov dword [eax + 4], 5
mov ecx, dword [0xa08230]
test ecx, ecx
jne 0x530076
lea ecx, [0x7b5b51]
mov dword [eax], ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 8], ecx
mov ecx, dword [0xa08230]
lea edx, [eax + 0xc]
test ecx, ecx
jne 0x530060
mov ecx, dword [esp + 0x64]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x10], edx
sar edx, 0x1f
mov dword [eax + 0x14], edx
mov dword [esp], ecx
lea edx, [0x800640]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.0052eea0
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 0xc]
dec ecx
mov dword [eax + 0xc], ecx
mov dword [esp], eax
call fcn.0052f020
add esp, 0x7c
ret
mov dword [esp], edx
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
call fcn.0040f250
mov eax, dword [esp + 0x5c]
jmp 0x53001d
mov dword [esp], eax
lea ecx, [0x7b5b51]
mov dword [esp + 4], ecx
call fcn.0040f250
mov eax, dword [esp + 0x5c]
jmp 0x530002
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.004ab7a0
mov eax, dword [esp + 0xc]
test eax, eax
je 0x5300ba
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x54]
jmp 0x52ffb3
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call fcn.00534200
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
lea eax, [0x728020]
mov dword [esp], eax
lea eax, [esp + 0x70]
mov dword [esp + 4], eax
call fcn.0040c220
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004ae020
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x54]
mov dword [esp], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
call fcn.004ac460
add esp, 0x7c
ret
mov eax, dword [esp + 0x84]
mov dword [esp], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 8], eax
call fcn.004ad550
mov eax, dword [esp + 0x10]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x60], ecx
lea edx, [0x778280]
mov dword [esp], edx
call fcn.0040e9e0
mov eax, dword [esp + 4]
mov dword [esp + 0x5c], eax
mov dword [eax + 4], 5
mov ecx, dword [0xa08230]
test ecx, ecx
jne 0x53021b
lea ecx, [0x7b5b51]
mov dword [eax], ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 8], ecx
mov ecx, dword [0xa08230]
lea edx, [eax + 0xc]
test ecx, ecx
jne 0x530205
mov ecx, dword [esp + 0x64]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x10], edx
sar edx, 0x1f
mov dword [eax + 0x14], edx
mov dword [esp], ecx
lea edx, [0x800640]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.0052eea0
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 0xc]
dec ecx
mov dword [eax + 0xc], ecx
mov dword [esp], eax
call fcn.0052f020
add esp, 0x7c
ret
mov dword [esp], edx
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
call fcn.0040f250
mov eax, dword [esp + 0x5c]
jmp 0x5301c2
mov dword [esp], eax
lea ecx, [0x7b5b51]
mov dword [esp + 4], ecx
call fcn.0040f250
mov eax, dword [esp + 0x5c]
jmp 0x5301a7
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], ecx
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 0xc]
dec ecx
mov dword [eax + 0xc], ecx
mov dword [esp], eax
call fcn.0052f020
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x50]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test eax, eax
jne 0x530274
add esp, 0x7c
ret
mov edx, dword [esp + 0x80]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0052ee40
jmp 0x530270
call fcn.0044be50
jmp fcn.0052fa10