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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x52d87c
sub esp, 0x74
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 0x3c]
mov edx, dword [eax + 0x40]
mov ebx, dword [eax + 0x44]
mov ebp, dword [eax + 0x48]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call fcn.004e2360
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x44], edx
mov ebx, dword [esp + 0x78]
cmp ebx, 2
jg 0x52d48b
cmp ebx, 1
jne 0x52d090
mov ebx, dword [0x77d730]
mov ebp, dword [esp + 0x7c]
mov esi, dword [ebp + 0x34]
mov ebp, dword [ebp + 0x30]
lea edi, [0x77d730]
cmp dword [edi + 4], esi
je 0x52ce55
lea eax, [0x5e46a0]
mov dword [esp], eax
call fcn.0040b8d0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x25
lea ecx, [0x61abde]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x65e99c]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
call fcn.004028b0
movzx eax, byte [esp + 0xc]
test al, al
je 0x52ce06
lea eax, [0x5e9f00]
mov dword [esp], eax
call fcn.0040b8d0
mov eax, dword [esp + 4]
mov dword [esp + 0x70], eax
nop
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 8], ecx
lea ecx, [0x5cbf60]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.004e65f0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x20]
test eax, eax
jne 0x52d068
test ebx, ebx
jne 0x52d019
mov eax, dword [esp + 0x70]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
test edx, edx
jne 0x52cffe
xor ecx, ecx
test ecx, ecx
jle 0x52cfaf
mov ecx, dword [eax + 4]
test ecx, ecx
jle 0x52cf60
lea eax, [0x5e9720]
mov dword [esp], eax
call fcn.0040b8d0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 4]
mov dword [edi + 4], ecx
mov ecx, dword [0x7a0970]
mov eax, dword [eax]
test ecx, ecx
jne 0x52cf59
mov dword [edi], eax
lea eax, [0x5e62a0]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x74
ret
call fcn.0045de10
jmp 0x52cf2b
lea eax, [0x5e46a0]
mov dword [esp], eax
call fcn.0040b8d0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x32
lea ecx, [0x61e2ae]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x65e99c]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
lea eax, [0x5e46a0]
mov dword [esp], eax
call fcn.0040b8d0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2a
lea ecx, [0x61c428]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x65e99c]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
movzx ecx, byte [ecx]
test cl, cl
je 0x52d00f
mov ecx, 0xffffffff
jmp 0x52cef2
mov ecx, 1
jmp 0x52cef2
lea eax, [0x5e46a0]
mov dword [esp], eax
call fcn.0040b8d0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x28
lea ecx, [0x61baca]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x65e99c]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
add esp, 0x74
ret
cmp ebx, 2
je 0x52d0c5
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x74
ret
lea eax, [0x60e0e0]
mov dword [esp], eax
call fcn.0040b8d0
mov eax, dword [esp + 4]
mov dword [esp + 0x6c], eax
nop
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 8], ecx
lea ecx, [0x5ca7e0]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.004e65f0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x20]
test eax, eax
jne 0x52d463
test ebx, ebx
jne 0x52d414
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 0x30]
mov dword [esp + 0x54], ecx
mov edx, dword [eax + 0x34]
mov dword [esp + 0x30], edx
mov eax, dword [eax + 0x38]
mov dword [esp + 0x3c], eax
lea ebx, [0x5f08c0]
mov dword [esp], ebx
call fcn.0040b8d0
mov eax, dword [esp + 4]
mov dword [esp + 0x68], eax
nop
mov ecx, dword [esp + 0x54]
mov dword [esp], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 8], ecx
lea ecx, [0x5cbee0]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.004e65f0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x20]
test eax, eax
jne 0x52d3ec
test ebx, ebx
jne 0x52d39d
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
test edx, edx
jne 0x52d382
xor ecx, ecx
test ecx, ecx
jg 0x52d226
lea eax, [0x5e46a0]
mov dword [esp], eax
call fcn.0040b8d0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x24
lea ecx, [0x61a686]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x65e99c]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx]
mov ebx, dword [edx + 8]
test ebx, ebx
jne 0x52d367
xor edx, edx
test edx, edx
jle 0x52d1d7
mov edx, dword [ecx + 4]
mov ebx, dword [edx + 8]
test ebx, ebx
jne 0x52d34c
xor edx, edx
test edx, edx
jle 0x52d1d7
mov edx, dword [ecx + 8]
mov ebx, dword [edx + 8]
test ebx, ebx
jne 0x52d331
xor edx, edx
test edx, edx
jle 0x52d1d7
lea eax, [0x5e9660]
mov dword [esp], eax
call fcn.0040b8d0
mov edi, dword [esp + 4]
mov eax, dword [0x7a0970]
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx]
test eax, eax
jne 0x52d325
mov dword [edi], edx
mov edx, dword [0x7a0970]
mov eax, dword [ecx + 4]
test edx, edx
jne 0x52d312
mov dword [edi + 4], eax
mov edx, dword [0x7a0970]
mov eax, dword [ecx + 8]
test edx, edx
jne 0x52d302
mov dword [edi + 8], eax
mov ecx, dword [0x7a0970]
mov edx, dword [esp + 0x6c]
mov eax, dword [edx]
test ecx, ecx
jne 0x52d2f2
mov dword [edi + 0xc], eax
lea eax, [0x5cb6e0]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x74
ret
lea ecx, [edi + 0xc]
mov edx, edi
mov edi, ecx
call fcn.0045de10
mov edi, edx
jmp 0x52d2c4
lea ecx, [edi + 8]
mov edx, edi
mov edi, ecx
call fcn.0045de10
mov edi, edx
jmp 0x52d2b1
lea edx, [edi + 4]
mov ebx, edi
mov edi, edx
call fcn.0045de10
mov edi, ebx
jmp 0x52d2a1
mov eax, edx
call fcn.0045de10
jmp 0x52d291
movzx edx, byte [edx]
test dl, dl
je 0x52d342
mov edx, 0xffffffff
jmp 0x52d261
mov edx, 1
jmp 0x52d261
movzx edx, byte [edx]
test dl, dl
je 0x52d35d
mov edx, 0xffffffff
jmp 0x52d24d
mov edx, 1
jmp 0x52d24d
movzx edx, byte [edx]
test dl, dl
je 0x52d378
mov edx, 0xffffffff
jmp 0x52d239
mov edx, 1
jmp 0x52d239
movzx ecx, byte [ecx]
test cl, cl
je 0x52d393
mov ecx, 0xffffffff
jmp 0x52d1d3
mov ecx, 1
jmp 0x52d1d3
lea eax, [0x5e46a0]
mov dword [esp], eax
call fcn.0040b8d0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x28
lea ecx, [0x61ba7a]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x65e99c]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
add esp, 0x74
ret
lea eax, [0x5e46a0]
mov dword [esp], eax
call fcn.0040b8d0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x28
lea ecx, [0x61baa2]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x65e99c]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
add esp, 0x74
ret
cmp ebx, 3
je 0x52d5bb
cmp ebx, 4
jne 0x52d095
mov edx, dword [esp + 0x7c]
mov edx, dword [edx + 0x34]
test edx, edx
jne 0x52d56c
cmp eax, 0x20
je 0x52d500
lea eax, [0x5e46a0]
mov dword [esp], eax
call fcn.0040b8d0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x23
lea ecx, [0x61a10b]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x65e99c]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
lea edx, [0x5db380]
mov dword [esp], edx
mov dword [esp + 4], 0x20
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.00444f50
mov eax, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], 0x20
mov dword [esp + 8], 0x20
call fcn.004091b0
mov eax, dword [esp + 0xc]
lea ecx, [0x5e1640]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x74
ret
lea eax, [0x5e46a0]
mov dword [esp], eax
call fcn.0040b8d0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x31
lea ecx, [0x61dfc1]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x65e99c]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 0x30]
mov dword [esp + 0x58], ecx
mov edx, dword [eax + 0x34]
mov dword [esp + 0x34], edx
mov eax, dword [eax + 0x38]
mov dword [esp + 0x40], eax
lea ebx, [0x5e8580]
mov dword [esp], ebx
call fcn.0040b8d0
mov eax, dword [esp + 4]
mov dword [esp + 0x64], eax
nop
mov ecx, dword [esp + 0x58]
mov dword [esp], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 8], ecx
lea ecx, [0x5e6a80]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.004e65f0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
test eax, eax
jne 0x52d82d
test ecx, ecx
jne 0x52d7de
mov eax, dword [esp + 0x64]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.0052c190
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test eax, eax
je 0x52d78f
mov dword [esp + 0x50], ecx
mov dword [esp + 0x60], edx
mov dword [esp], edx
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x5c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x10], eax
call fcn.004d63a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
test eax, eax
je 0x52d740
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], ecx
lea eax, [0x601020]
mov dword [esp], eax
call fcn.0040b8d0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x60]
mov dword [eax], ecx
mov ecx, dword [0x7a0970]
test ecx, ecx
jne 0x52d716
mov ecx, dword [esp + 0x50]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 0xc], ecx
lea ecx, [0x5fdae0]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x74
ret
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x50]
call fcn.0045de10
lea edi, [ecx + 8]
mov eax, dword [esp + 0x4c]
call fcn.0045de10
lea edi, [ecx + 0xc]
mov eax, dword [esp + 0x48]
call fcn.0045de10
mov eax, ecx
jmp 0x52d6e8
lea eax, [0x5e46a0]
mov dword [esp], eax
call fcn.0040b8d0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2e
lea ecx, [0x61d452]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x65e99c]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
lea eax, [0x5e46a0]
mov dword [esp], eax
call fcn.0040b8d0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x20
lea ecx, [0x618e41]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x65e99c]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
lea eax, [0x5e46a0]
mov dword [esp], eax
call fcn.0040b8d0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2a
lea ecx, [0x61c452]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x65e99c]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
lea eax, [0x5e46a0]
mov dword [esp], eax
call fcn.0040b8d0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x35
lea ecx, [0x61e9ca]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x65e99c]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
call fcn.0045c8b0
jmp fcn.0052cd80