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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x62f120
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 0x5b20b5
mov eax, dword [esp + 0x74]
cmp eax, 0xffffffff
je 0x5b20b5
cmp ecx, eax
je 0x5b20b5
mov eax, dword [esp + 0x6c]
test eax, eax
jne 0x5b1e0c
xor esi, esi
jmp 0x5b1e17
mov ecx, dword [eax + 0x10]
push edi
call fcn.004867f0
mov esi, eax
lea ecx, [esp + 0x14]
call fcn.004897f0
lea eax, [esp + 0x14]
mov ecx, esi
push eax
mov dword [esp + 0x68], 0
call fcn.005b6ab0
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
cmp ecx, eax
jle 0x5b1e52
lea edx, [esp + 0x74]
lea eax, [esp + 0x70]
push edx
push eax
call fcn.005b1cb0
add esp, 8
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.005b6fd0
mov edx, dword [esp + 0x70]
mov ebx, eax
mov eax, dword [esp + 0x10]
push edx
push ebx
push eax
mov ecx, edi
call fcn.005b1cd0
mov ecx, dword [esp + 0x7c]
mov ebp, eax
mov dword [esp + 0x20], ebp
cmp dword [ecx], 0
je 0x5b2071
mov eax, dword [esp + 0x78]
test eax, eax
je 0x5b2071
lea edx, [esp + 0x1c]
mov ecx, esi
push edx
call fcn.00429110
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.004898b0
mov ecx, edi
call fcn.005b4380
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.00489ff0
mov ecx, esi
call fcn.005b6c00
mov eax, dword [esp + 0x7c]
xor edi, edi
fadd dword [esi + 0x4c]
mov eax, dword [eax]
test eax, eax
fstp dword [esp + 0x20]
jle 0x5b2054
mov edx, dword [esp + 0x10]
test edi, edi
jne 0x5b1f6c
mov ecx, dword [esp + 0x70]
jmp 0x5b1f72
lea ecx, [edi + ebp]
mov ecx, dword [edx + ecx*8]
dec eax
cmp edi, eax
jne 0x5b1f7d
mov eax, dword [esp + 0x74]
jmp 0x5b1f8b
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.00489ff0
mov ecx, esi
call fcn.005b6c00
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.0049bb30
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 0x5b1f5e
mov eax, dword [esp + 0x10]
push eax
call fcn.005e7012
add esp, 4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x64], 0
call fcn.00489810
jmp 0x5b20a4
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x10]
push ecx
push ebx
push edx
mov ecx, edi
call fcn.005b1cd0
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 0x5b20a4
push eax
call fcn.005e7012
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x64], 0xffffffff
call fcn.00489810
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x58
ret 0x14