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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x653fc8
push eax
mov dword fs:[0], esp
sub esp, 0x54
lea eax, [esp + 0x24]
push ebx
mov ebx, ecx
push ebp
push esi
mov ecx, dword [ebx + 0x20]
push edi
push eax
push ecx
call dword [fcn.0065f4d0]
mov edi, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x34]
sub edi, edx
sub ebp, esi
mov esi, dword [esp + 0x74]
push 0xd2d2d2
push edi
push ebp
push 0
push 0
mov ecx, esi
call fcn.0064413a
cmp dword [ebx + 0x50], 1
jl 0x529466
push 0x11
call dword [fcn.0065e0d8]
push eax
call fcn.00644566
mov edx, dword [esi]
push eax
mov ecx, esi
mov dword [esp + 0x34], eax
call dword [edx + 0x30]
push 0x6bacfc
lea ecx, [esp + 0x78]
mov dword [esp + 0x30], eax
call fcn.00643d2c
mov eax, dword [esp + 0x74]
lea edx, [esp + 0x24]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esi + 8]
push eax
call dword [fcn.0065e0bc]
lea ecx, [esp + 0x74]
call fcn.00643d26
mov ecx, dword [ebx + 0x50]
mov eax, ebp
cdq
idiv ecx
mov ecx, dword [ebx + 0x48]
cmp eax, ecx
mov dword [esp + 0x74], eax
jg 0x529297
mov eax, ecx
mov dword [esp + 0x74], eax
mov ecx, dword [ebx + 0x4c]
cmp eax, ecx
jl 0x5292a4
mov eax, ecx
mov dword [esp + 0x74], eax
mov ecx, dword [ebx + 0x50]
xor ebp, ebp
test ecx, ecx
mov dword [esp + 0x18], ebp
jle 0x529451
lea ecx, [ebx + 0x60]
add edi, 0xfffffffd
mov dword [esp + 0x10], ecx
mov ecx, 4
sub ecx, eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], ecx
mov ecx, 2
sub ecx, eax
lea edi, [eax - 1]
mov dword [esp + 0x24], ecx
cmp ebp, dword [ebx + 0x54]
jne 0x5292ef
mov edx, dword [esi]
push 0xdc
mov ecx, esi
call dword [edx + 0x38]
jmp 0x5292f8
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 0x38]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
add ecx, edi
lea edx, [edi - 2]
mov dword [esp + 0x54], ecx
mov ecx, dword [ebx + 0x54]
dec ecx
mov dword [esp + 0x58], 5
cmp ebp, ecx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], eax
je 0x529347
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
sub edx, ecx
push 1
push 0
sub edx, 4
push 0x808080
push edx
push edi
push 1
push edi
push esi
mov ecx, 0x898828
call fcn.00512ec0
cmp ebp, dword [ebx + 0x54]
jne 0x5293ee
mov ecx, dword [esp + 0x40]
mov ebp, dword [esp + 0x38]
mov eax, dword [esp + 0x24]
sub ecx, ebp
push 1
push 0
sub ecx, 5
add eax, edi
push 0x808080
push ecx
push eax
push 0
push eax
push esi
mov ecx, 0x898828
call fcn.00512ec0
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
push 0xffffffffffffffff
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x64]
push 3
mov dword [esp + 0x54], ecx
push 4
push 1
lea ecx, [esp + 0x54]
mov dword [esp + 0x58], eax
mov dword [esp + 0x60], edx
call fcn.00644710
push 0
push 0x808080
lea eax, [esp + 0x4c]
push 0xa5a5a5
push eax
push esi
mov ecx, 0x898828
call fcn.005115e0
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x44]
push 1
push 0
push 0x808080
dec ecx
push eax
push ecx
push eax
push edx
push esi
mov ecx, 0x898828
call fcn.00512ec0
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
call fcn.00643d2c
mov eax, dword [esp + 0x14]
mov edx, dword [esi]
lea ebp, [esp + 0x54]
push 1
mov ecx, dword [eax - 8]
push ebp
push ecx
push eax
mov ecx, esi
mov dword [esp + 0x7c], 0
call dword [edx + 0x70]
lea ecx, [esp + 0x14]
mov dword [esp + 0x6c], 0xffffffff
call fcn.00643d26
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x10]
mov eax, dword [ebx + 0x50]
inc ebp
add edi, edx
add ecx, 0x32
cmp ebp, eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], ecx
jl 0x5292dc
mov ecx, dword [esp + 0x2c]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x30]
mov ecx, dword [esp + 0x30]
call fcn.0064406e
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret 4