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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x62e970
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x70]
cmp ecx, 0xffffffff
je 0x5ae825
mov eax, dword [esp + 0x74]
cmp eax, 0xffffffff
je 0x5ae825
cmp ecx, eax
je 0x5ae825
mov eax, dword [esp + 0x6c]
test eax, eax
jne 0x5ae57c
xor esi, esi
jmp 0x5ae587
mov ecx, dword [eax + 0x10]
push edi
call fcn.00486290
mov esi, eax
lea ecx, [esp + 0x14]
call fcn.004892c0
lea eax, [esp + 0x14]
mov ecx, esi
push eax
mov dword [esp + 0x68], 0
call fcn.005b69a0
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
cmp ecx, eax
jle 0x5ae5c2
lea edx, [esp + 0x74]
lea eax, [esp + 0x70]
push edx
push eax
call fcn.005ae420
add esp, 8
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.005b6ec0
mov edx, dword [esp + 0x70]
mov ebx, eax
mov eax, dword [esp + 0x10]
push edx
push ebx
push eax
mov ecx, edi
call fcn.005ae440
mov ecx, dword [esp + 0x7c]
mov ebp, eax
mov dword [esp + 0x20], ebp
cmp dword [ecx], 0
je 0x5ae7e1
mov eax, dword [esp + 0x78]
test eax, eax
je 0x5ae7e1
lea edx, [esp + 0x1c]
mov ecx, esi
push edx
call fcn.00428c60
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x2c], 0
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x30], 0
mov ecx, dword [eax + 0x14]
lea eax, [esp + 0x4c]
push eax
mov dword [esp + 0x38], 0
fld dword [esi + 8]
sub esp, 0x10
mov edx, dword [ecx]
fst dword [esp + 0x2c]
mov eax, esp
mov byte [esp + 0x78], 1
fstp dword [esp + 0x4c]
mov dword [eax], ebx
mov ebx, dword [esp + 0x44]
mov dword [eax + 4], ebx
mov ebx, dword [esp + 0x48]
mov dword [eax + 8], ebx
mov ebx, dword [esp + 0x4c]
mov dword [eax + 0xc], ebx
call dword [edx + 0x18]
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.00489380
mov ecx, edi
call fcn.005b0b00
fld dword [esi + 0xc]
fadd dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x70]
fimul dword [esp + 0x20]
mov eax, dword [eax + ebp*8]
sub ecx, eax
push ecx
mov edx, esp
mov dword [esp + 0x2c], esp
push ecx
push eax
push edx
lea ecx, [esp + 0x24]
fsubr dword [esi + 0x54]
fstp dword [esp + 0x34]
call fcn.00489af0
mov ecx, esi
call fcn.005b6af0
mov eax, dword [esp + 0x7c]
xor edi, edi
fadd dword [esi + 0x4c]
mov eax, dword [eax]
test eax, eax
fstp dword [esp + 0x20]
jle 0x5ae7c4
mov edx, dword [esp + 0x10]
test edi, edi
jne 0x5ae6dc
mov ecx, dword [esp + 0x70]
jmp 0x5ae6e2
lea ecx, [edi + ebp]
mov ecx, dword [edx + ecx*8]
dec eax
cmp edi, eax
jne 0x5ae6ed
mov eax, dword [esp + 0x74]
jmp 0x5ae6fb
lea eax, [edi + ebp]
mov ebx, dword [edx + eax*8]
lea edx, [edx + eax*8]
mov eax, dword [edx + 4]
add eax, ebx
push ecx
sub eax, ecx
mov edx, esp
mov dword [esp + 0x2c], esp
push eax
push ecx
push edx
lea ecx, [esp + 0x24]
call fcn.00489af0
mov ecx, esi
call fcn.005b6af0
fadd dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x2c]
mov dword [esp + 0x34], ecx
push edx
lea ecx, [esi + 0x24]
fstp dword [esp + 0x34]
fld dword [esp + 0x28]
fsub dword [esp + 0x1c]
mov dword [esp + 0x30], eax
fstp dword [esp + 0x3c]
call fcn.0049b490
mov eax, dword [esp + 0x6c]
mov ebx, dword [esp + 0x2c]
mov ecx, dword [eax + 0x14]
lea eax, [esp + 0x3c]
push eax
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [esp + 0x44]
mov dword [eax + 4], ebx
mov ebx, dword [esp + 0x48]
mov dword [eax + 8], ebx
mov ebx, dword [esp + 0x4c]
mov dword [eax + 0xc], ebx
call dword [edx + 0x18]
mov ebx, dword [esp + 0x78]
mov edx, dword [esp + 0x3c]
mov ecx, edi
mov eax, dword [esp + 0x40]
shl ecx, 4
add ecx, ebx
inc edi
mov dword [ecx], edx
mov edx, dword [esp + 0x44]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x48]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x7c]
mov dword [ecx + 0xc], eax
mov eax, dword [edx]
fld dword [esi + 0xc]
fadd dword [esp + 0x18]
mov ecx, dword [esi + 0x4c]
cmp edi, eax
mov dword [esp + 0x20], ecx
fsubr dword [esp + 0x24]
fstp dword [esp + 0x24]
jl 0x5ae6ce
mov eax, dword [esp + 0x10]
push eax
call fcn.005e6f52
add esp, 4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x64], 0
call fcn.004892e0
jmp 0x5ae814
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x10]
push ecx
push ebx
push edx
mov ecx, edi
call fcn.005ae440
sub ebp, eax
mov ecx, dword [esp + 0x7c]
mov eax, ebp
cdq
xor eax, edx
sub eax, edx
inc eax
mov dword [ecx], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5ae814
push eax
call fcn.005e6f52
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x64], 0xffffffff
call fcn.004892e0
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x58
ret 0x14