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

Disassembly:
sub esp, 0x6c
mov dword [esp + 0x68], ebp
mov edx, dword [esp + 0x78]
mov ebp, dword [esp + 0x70]
mov dword [esp + 0x5c], ebx
mov eax, dword [esp + 0x74]
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], edi
mov dword [esp + 0x4c], edx
mov edx, dword [ebp + 0x50]
mov dword [esp + 0x48], eax
test edx, edx
jne 0x528526
mov ebx, dword [esp + 0x5c]
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x64]
mov ebp, dword [esp + 0x68]
add esp, 0x6c
jmp fcn.00528e70
mov edx, dword [ebp + 0x54]
mov eax, dword [edx + 0x28]
mov ecx, edx
mov dword [esp + 0x54], edx
mov edx, dword [edx + 0x2c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
mov eax, dword [ecx + 0x38]
mov edx, dword [ecx + 0x3c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov eax, dword [ecx + 0x20]
mov edx, dword [ecx + 0x24]
mov dword [esp + 8], 0xb1c540
mov dword [esp + 4], 7
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov dword [esp], 0x15
call fcn.00405fb0
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov ebx, dword [eax + 8]
mov dword [esp + 4], ecx
mov dword [esp], edx
mov esi, ebx
sar esi, 0x1f
mov dword [esp + 8], ebx
mov edi, esi
mov dword [esp + 0xc], esi
call fcn.00aa1f60
mov ecx, edx
imul ecx, ebx
imul edi, eax
mul ebx
add ecx, edi
lea esi, [ecx + edx]
mov ecx, dword [esp + 0x54]
mov ebx, eax
mov dword [ecx + 0x38], eax
mov dword [ecx + 0x3c], esi
mov dword [ecx + 0x18], 0
mov dword [ebp + 0x30], eax
mov eax, dword [ebp + 0x48]
mov dword [ebp + 0x34], esi
test eax, eax
je 0x528646
mov dword [ebp + 0x28], 0
mov dword [ebp + 0x24], 0
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
sub eax, ebx
sbb edx, esi
test edx, edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
js 0x5286c0
mov edx, dword [ebp + 0x28]
xor ecx, ecx
cmp dword [esp + 0x3c], 0
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], edx
jg 0x5286c0
jge 0x5286b5
mov ecx, dword [esp + 0x38]
mov eax, 1
mov dword [ebp + 0x24], ecx
mov ebx, dword [esp + 0x5c]
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x64]
mov ebp, dword [esp + 0x68]
add esp, 0x6c
ret
mov eax, dword [ebp + 0x50]
test eax, eax
je 0x5286fb
mov ecx, dword [ebp + 0x54]
mov edx, dword [ecx + 0x3c]
mov eax, dword [ecx + 0x38]
xor edx, esi
xor eax, ebx
or edx, eax
je 0x528681
mov dword [esp + 8], 0xb1c490
mov dword [esp + 4], 1
mov dword [esp], 0x15
call fcn.00405fb0
mov ecx, dword [ebp + 0x54]
mov eax, dword [ecx + 8]
mov dword [esp], ecx
mov dword [esp + 8], eax
lea eax, [ebp + 0x64]
mov dword [esp + 4], eax
call fcn.00527f70
test eax, eax
jle 0x528708
mov edx, eax
sar edx, 0x1f
add dword [ebp + 0x30], eax
adc dword [ebp + 0x34], edx
mov dword [ebp + 0x24], 0
mov dword [ebp + 0x28], eax
jmp 0x5285ec
cmp eax, edx
jbe 0x528626
lea esi, [esi]
add dword [esp + 0x38], ebx
adc dword [esp + 0x3c], esi
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esp + 8], 0xb1c578
mov dword [esp + 4], 6
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov dword [esp], 0x15
call fcn.00405fb0
xor eax, eax
jmp 0x528632
mov dword [esp], ebp
call fcn.00528d80
jmp 0x5285ec
mov dword [ebp + 0x48], 1
nop
jmp 0x5285de