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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5832f8
push eax
mov dword fs:[0], esp
sub esp, 0x54
push esi
mov esi, ecx
test esi, esi
je 0x52931f
mov eax, dword [esi + 0x20]
test eax, eax
je 0x52931f
mov ecx, dword [esi + 0x4c]
test ecx, ecx
je 0x52931f
push ebx
push ebp
lea ecx, [esp + 0x3c]
push edi
push ecx
push eax
call dword [0x5887b4]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x4c]
push 2
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
call dword [0x5887b8]
mov edi, dword [esp + 0x28]
or ecx, 0xffffffff
sub ecx, eax
push 0xfffffffffffffffb
lea edx, [esp + 0x24]
add edi, ecx
push 0xfffffffffffffffc
push edx
mov dword [esp + 0x34], edi
call dword [0x588604]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esi + 0x70]
mov edi, dword [esp + 0x20]
push esi
lea ecx, [esp + 0x54]
sub ebx, ebp
call fcn.00463352
mov eax, dword [esi + 0x44]
mov dword [esp + 0x6c], 0
test eax, eax
je 0x52926b
jmp 0x5291be
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov ebp, dword [eax + 8]
lea eax, [esi + 0x60]
push 1
mov edx, dword [ebp]
push eax
mov dword [esp + 0x18], ecx
lea eax, [esp + 0x58]
lea ecx, [esp + 0x20]
push eax
push ecx
mov ecx, ebp
call dword [edx + 0x24]
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
lea edx, [eax + edi]
cmp edx, dword [esp + 0x28]
jle 0x529205
mov edx, dword [esp + 0x20]
cmp edi, edx
jne 0x5291ff
mov eax, dword [esp + 0x28]
sub eax, edx
jmp 0x529205
mov edi, edx
lea ebx, [ebx + ecx + 5]
mov ecx, dword [esi + 0x64]
lea edx, [eax + edi]
mov dword [esp + 0x30], edi
lea edi, [ebp + 0x30]
lea eax, [ecx + ebx]
mov dword [esp + 0x14], edx
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x30]
push eax
push edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], edx
call dword [0x5886c0]
test eax, eax
jne 0x529258
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov dword [edi], ecx
mov ecx, dword [esp + 0x3c]
mov dword [edi + 4], edx
mov edx, dword [ebp]
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
mov ecx, ebp
call dword [edx + 0x38]
mov eax, dword [esp + 0x14]
lea edi, [eax + 4]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x5291ba
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x64]
mov edx, dword [esp + 0x24]
mov edi, dword [ecx + 8]
lea ecx, [eax + 5]
mov eax, dword [esp + 0x2c]
sub eax, edx
cdq
idiv ecx
mov ebx, eax
mov eax, dword [edi + 0x3c]
cdq
idiv ecx
sub eax, ebx
mov ebp, eax
test ebp, ebp
jle 0x529304
lea edi, [esi + 0x7c]
test edi, edi
je 0x5292a2
mov eax, dword [edi + 0x20]
test eax, eax
jne 0x5292e7
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x30]
push edx
push eax
call dword [0x5887b4]
push 0xffffffffffffffff
lea ecx, [esp + 0x34]
push 0xffffffffffffffff
push ecx
call dword [0x588604]
push 2
call dword [0x5887b8]
mov edx, dword [esp + 0x38]
push 1
sub edx, eax
lea eax, [esp + 0x34]
push esi
dec edx
push eax
push 0x50000001
mov ecx, edi
mov dword [esp + 0x40], edx
call fcn.00560f14
mov eax, dword [esi + 0x64]
push 1
add eax, 5
mov ecx, esi
imul eax, ebp
push eax
push 0
push 1
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], ebx
call fcn.0056155c
lea ecx, [esp + 0x50]
mov dword [esi + 0x68], 1
mov dword [esp + 0x6c], 0xffffffff
call fcn.0046334c
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
pop esi
mov dword fs:[0], ecx
add esp, 0x60
ret