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

Disassembly:
push 0xffffffffffffffff
push 0x658170
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x7d9a88]
xor eax, esp
mov dword [esp + 0x4c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x7d9a88]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0xb8]
mov eax, dword [eax + 0x1c]
mov ecx, dword [esp + 0x74]
xor ebp, ebp
mov dword [esp + 0x1c], edi
cmp eax, ebp
je 0x52e05e
mov eax, 0xf
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], ebp
mov byte [esp + 0x48], 0
mov dword [esp + 0x40], eax
mov eax, ecx
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x3c], ebp
mov byte [esp + 0x2c], 0
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x52dea7
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x30]
call fcn.00402760
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x50]
mov byte [esp + 0x78], 1
call fcn.00402570
mov ebx, 0x10
mov byte [esp + 0x6c], 0
cmp dword [esp + 0x40], ebx
jb 0x52deee
mov edx, dword [esp + 0x2c]
push edx
call fcn.005ae7f2
add esp, 4
mov esi, dword [edi + 0xb8]
mov edi, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
add eax, edi
cmp edi, eax
jbe 0x52df05
call fcn.005aec38
mov esi, dword [esi]
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edi
call fcn.00509c30
mov ecx, dword [esp + 0x48]
cmp dword [esp + 0x5c], ebx
jae 0x52df26
lea ecx, [esp + 0x48]
mov edx, dword [esp + 0x58]
push edx
push ecx
mov ecx, dword [eax + 0x14]
push ecx
push ebp
mov ecx, eax
call fcn.00407140
test eax, eax
jne 0x52df59
cmp dword [esp + 0x5c], ebx
jb 0x52df4f
mov edx, dword [esp + 0x48]
push edx
call fcn.005ae7f2
add esp, 4
mov eax, 1
jmp 0x52e060
push ebp
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x1c]
call fcn.0048acd0
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov esi, dword [ecx + 0xb8]
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x1c]
add edi, eax
cmp eax, edi
jbe 0x52df8b
call fcn.005aec38
mov esi, dword [esi]
test ebp, ebp
je 0x52df95
cmp ebp, esi
je 0x52df9a
call fcn.005aec38
cmp ebx, edi
je 0x52e04a
lea ecx, [esp + 0x14]
call fcn.00509c30
cmp dword [esp + 0x5c], 0x10
mov ecx, dword [esp + 0x48]
jae 0x52dfba
lea ecx, [esp + 0x48]
mov edx, dword [esp + 0x58]
push edx
push ecx
mov ecx, dword [eax + 0x14]
push ecx
push 0
mov ecx, eax
call fcn.00407140
test eax, eax
je 0x52dffe
test ebp, ebp
jne 0x52dff7
call fcn.005aec38
xor eax, eax
xor ecx, ecx
mov edx, dword [ecx + 0x1c]
add edx, dword [eax + 0x18]
cmp ebx, edx
jb 0x52dfed
call fcn.005aec38
inc ebx
mov dword [esp + 0x18], ebx
jmp 0x52df70
mov eax, dword [ebp]
mov ecx, eax
jmp 0x52dfde
mov edi, dword [esp + 0x1c]
mov esi, dword [edi + 0xb8]
push 1
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebx
call fcn.00458fb0
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
push ebx
push ebp
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call fcn.0052dac0
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [edi + 0xb8]
call fcn.0052d080
cmp dword [esp + 0x5c], 0x10
jmp 0x52df40
cmp dword [esp + 0x5c], 0x10
jb 0x52e05e
mov eax, dword [esp + 0x48]
push eax
call fcn.005ae7f2
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.005ae766
add esp, 0x5c
ret 4