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

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x9c
push ebx
push ebp
mov ebp, ecx
mov ebx, dword [esp + 0xac]
mov ecx, dword [eax]
push edi
mov dword [ebp + 4], ecx
mov edx, dword [eax + 4]
mov dword [ebp + 8], edx
mov ecx, dword [eax + 8]
mov dword [ebp + 0xc], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp + 0x10], edx
mov ecx, dword [eax + 0x10]
mov dword [ebp + 0x14], ecx
mov edx, dword [eax + 0x14]
mov dword [ebp + 0x18], edx
mov eax, dword [ebx + 0xc]
cmp eax, 1
jle 0x5fb959
xor edi, edi
lea ecx, [esp + 0x70]
mov dword [esp + 0x64], 0x7f7fffff
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0xa0], edi
mov dword [esp + 0xa4], edi
call fcn.00617290
lea ecx, [esp + 0x88]
call fcn.00617290
lea eax, [esp + 0x64]
push ebx
push eax
mov ecx, ebp
call fcn.005fba90
fld dword [esp + 0x64]
fcomp dword [0x7db9d0]
fnstsw ax
test ah, 0x40
jne 0x5fb959
mov ecx, dword [esp + 0x68]
push esi
push ecx
lea ecx, [esp + 0x44]
call fcn.005fc7b0
mov edx, dword [esp + 0x70]
mov esi, 0x7dedcc
push edx
lea ecx, [esp + 0x30]
mov dword [esp + 0x50], edi
mov dword [esp + 0x44], esi
call fcn.005fc7b0
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x38], edi
cmp eax, edi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x3c], edi
jle 0x5fb6ab
mov dword [esp + 0x28], edi
mov esi, dword [ebx + 4]
mov eax, dword [esp + 0x28]
add esi, eax
lea eax, [esp + 0xa4]
push esi
push eax
call fcn.006172b0
add esp, 8
cmp eax, 1
lea ecx, [esp + 0x40]
push edi
push esi
je 0x5fb686
lea ecx, [esp + 0x34]
call fcn.005fc560
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x28]
mov ecx, dword [ebx + 0xc]
inc eax
add edx, 0x18
cmp eax, ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x28], edx
jl 0x5fb65d
mov esi, 0x7dedcc
mov ecx, ebx
mov dword [ebx + 0xc], edi
call fcn.005fc880
cmp dword [esp + 0x4c], edi
jle 0x5fb7cf
mov ecx, 0x8541a8
call fcn.005fc680
cmp eax, edi
je 0x5fb6f2
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], edi
mov dword [eax + 0x18], edi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], edi
mov dword [eax + 0x24], edi
mov dword [eax + 0x28], edi
mov dword [eax + 0x2c], edi
jmp 0x5fb6f4
xor eax, eax
mov dword [ebp + 0x20], eax
mov dword [eax + 0x1c], ebp
fld dword [esp + 0x80]
fadd dword [esp + 0x74]
fld dword [esp + 0x84]
fadd dword [esp + 0x78]
fstp dword [esp + 0x20]
fld dword [esp + 0x88]
fadd dword [esp + 0x7c]
fstp dword [esp + 0x24]
fmul dword [0x7cd778]
fld dword [esp + 0x20]
fmul dword [0x7cd778]
fstp dword [esp + 0x14]
fld dword [esp + 0x24]
fmul dword [0x7cd778]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x54], ecx
fstp dword [esp + 0x18]
mov edx, dword [esp + 0x18]
fstp dword [esp + 0x50]
fld dword [esp + 0x80]
fsub dword [esp + 0x74]
fld dword [esp + 0x84]
fsub dword [esp + 0x78]
mov dword [esp + 0x58], edx
lea edx, [esp + 0x40]
push edx
fstp dword [esp + 0x18]
fld dword [esp + 0x8c]
fsub dword [esp + 0x80]
fstp dword [esp + 0x1c]
fmul dword [0x7cd778]
fld dword [esp + 0x18]
fmul dword [0x7cd778]
fstp dword [esp + 0x24]
fld dword [esp + 0x1c]
fmul dword [0x7cd778]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x54]
fstp dword [esp + 0x28]
mov ecx, dword [esp + 0x28]
push eax
fstp dword [esp + 0x64]
mov dword [esp + 0x6c], ecx
mov ecx, dword [ebp + 0x20]
call fcn.005fb580
jmp 0x5fb7d2
mov dword [ebp + 0x20], edi
cmp dword [esp + 0x38], edi
jle 0x5fb8fb
mov ecx, 0x8541a8
call fcn.005fc680
cmp eax, edi
je 0x5fb80f
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], edi
mov dword [eax + 0x18], edi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], edi
mov dword [eax + 0x24], edi
mov dword [eax + 0x28], edi
mov dword [eax + 0x2c], edi
jmp 0x5fb811
xor eax, eax
mov dword [ebp + 0x24], eax
mov dword [eax + 0x1c], ebp
fld dword [esp + 0x98]
fadd dword [esp + 0x8c]
fld dword [esp + 0x9c]
fadd dword [esp + 0x90]
fstp dword [esp + 0x14]
fld dword [esp + 0xa0]
fadd dword [esp + 0x94]
fstp dword [esp + 0x18]
fmul dword [0x7cd778]
fld dword [esp + 0x14]
fmul dword [0x7cd778]
fstp dword [esp + 0x20]
fld dword [esp + 0x18]
fmul dword [0x7cd778]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x54], ecx
fstp dword [esp + 0x24]
mov edx, dword [esp + 0x24]
fstp dword [esp + 0x50]
fld dword [esp + 0x98]
fsub dword [esp + 0x8c]
fld dword [esp + 0x9c]
fsub dword [esp + 0x90]
mov dword [esp + 0x58], edx
lea edx, [esp + 0x2c]
push edx
fstp dword [esp + 0x18]
fld dword [esp + 0xa4]
fsub dword [esp + 0x98]
fstp dword [esp + 0x1c]
fmul dword [0x7cd778]
fld dword [esp + 0x18]
fmul dword [0x7cd778]
fstp dword [esp + 0x24]
fld dword [esp + 0x1c]
fmul dword [0x7cd778]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x54]
fstp dword [esp + 0x28]
mov ecx, dword [esp + 0x28]
push eax
fstp dword [esp + 0x64]
mov dword [esp + 0x6c], ecx
mov ecx, dword [ebp + 0x24]
call fcn.005fb580
jmp 0x5fb8fe
mov dword [ebp + 0x24], edi
mov eax, dword [esp + 0x30]
mov dword [esp + 0x2c], esi
cmp eax, edi
je 0x5fb919
push eax
call fcn.00672c80
add esp, 4
xor eax, eax
mov dword [esp + 0x30], eax
cmp eax, edi
mov dword [esp + 0x2c], 0x7dedd8
je 0x5fb936
push eax
call fcn.00672c80
add esp, 4
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov eax, dword [esp + 0x44]
mov dword [esp + 0x40], esi
cmp eax, edi
pop esi
je 0x5fb950
push eax
call fcn.00672c80
add esp, 4
mov dword [esp + 0x40], edi
lea ecx, [esp + 0x3c]
call fcn.005fc320
pop edi
pop ebp
pop ebx
add esp, 0x9c
ret 8