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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x66e1a9
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x3c]
push ebx
call fcn.005f2470
mov eax, dword [ebx]
xor ebp, ebp
add esp, 4
cmp eax, ebp
jne 0x5f2ded
push 0x2c
call fcn.00493aa0
add esp, 4
mov dword [esp + 0x40], eax
cmp eax, ebp
mov dword [esp + 0x74], ebp
je 0x5f2de1
mov ecx, eax
call fcn.004af0d0
jmp 0x5f2de3
xor eax, eax
mov dword [esp + 0x74], 0xffffffff
mov dword [ebx], eax
lea eax, [esp + 0x14]
mov ecx, esi
push eax
mov dword [esp + 0x18], ebp
call fcn.005f2980
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x14]
cmp eax, ebp
jne 0x5f2e4d
mov ecx, dword [ebx]
mov esi, dword [ecx + 0x14]
cmp esi, ebp
je 0x5f2e20
mov esi, dword [esi]
mov ecx, dword [ebx]
push esi
call fcn.004af180
cmp esi, ebp
jne 0x5f2e12
mov esi, dword [ebx]
cmp esi, ebp
je 0x5f2e36
mov ecx, esi
call fcn.004af0f0
push esi
call fcn.00493ae0
add esp, 4
mov dword [ebx], ebp
xor eax, eax
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
mov dword [esp + 0x10], ebp
push 0x38
mov dword [esp + 0x78], 1
call fcn.00493aa0
mov edi, eax
add esp, 4
mov dword [esp + 0x40], edi
cmp edi, ebp
mov byte [esp + 0x74], 2
je 0x5f2e7d
mov ecx, edi
call fcn.004bdee0
mov eax, edi
jmp 0x5f2e7f
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [eax + 0x34], 1
mov edi, dword [esp + 0x10]
mov dword [esp + 0x18], ebp
mov edx, dword [ebx]
mov ecx, dword [esi + 0x14]
fld dword [esi + 0xc]
mov eax, dword [edx + 0x1c]
mov edx, dword [esi + 0x18]
fadd dword [esi + 8]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x20], ecx
lea eax, [esp + 0x24]
lea ecx, [esp + 0x1c]
push eax
push ecx
push ecx
mov dword [esp + 0x38], ebp
fchs
fstp dword [esp]
lea ebp, [esi + 0x24]
push 0
mov ecx, ebp
mov byte [esp + 0x84], 4
mov dword [esp + 0x38], edx
call fcn.004abc30
fld dword [esi + 0x34]
fld dword [esp + 0x1c]
fsub st(1)
mov edx, dword [0x6b6214]
push ebp
mov eax, edx
lea ecx, [esp + 0x58]
mov dword [esp + 0x64], edx
mov dword [esp + 0x58], eax
fstp dword [esp + 0x20]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
fstp st(0)
fld dword [esi + 0x38]
fld dword [esp + 0x28]
fsub st(1)
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], 0
fstp dword [esp + 0x28]
fstp st(0)
call fcn.004abde0
mov ecx, dword [esp + 0x54]
mov dword [edi + 0x10], ecx
mov edx, dword [esp + 0x58]
mov dword [edi + 0x14], edx
mov eax, dword [esp + 0x5c]
mov dword [edi + 0x18], eax
mov ecx, dword [esp + 0x60]
mov dword [edi + 0x1c], ecx
lea ecx, [esp + 0x10]
fld dword [esi + 0x1c]
fmul dword [edi + 0x10]
fmul dword [0x68b78c]
fstp dword [edi + 0x10]
fld dword [esi + 0x1c]
fmul dword [edi + 0x18]
fmul dword [0x68b78c]
fstp dword [edi + 0x18]
mov edx, dword [esi + 0x20]
mov dword [edi + 8], edx
mov eax, dword [esi + 8]
mov dword [edi + 4], eax
mov edi, dword [esi + 0x44]
call fcn.004b07b0
mov dword [eax], edi
mov eax, dword [esi + 0x10]
mov ecx, eax
and ecx, 0xff
xor ebp, ebp
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ebp
fild qword [esp + 0x40]
fmul dword [0x6821a0]
fstp dword [esp + 0x48]
mov edx, eax
mov dword [esp + 0x44], ebp
shr edx, 8
and edx, 0xff
mov dword [esp + 0x40], edx
fild qword [esp + 0x40]
shr eax, 0x10
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ebp
fmul dword [0x6821a0]
lea eax, [esp + 0x48]
push eax
push 2
fstp dword [esp + 0x54]
fild qword [esp + 0x48]
fmul dword [0x6821a0]
fstp dword [esp + 0x58]
call fcn.004c8f80
add esp, 4
lea ecx, [esp + 0x1c]
push eax
call fcn.004bdd80
cmp dword [esp + 0x38], ebp
jle 0x5f3139
cmp ebp, dword [esp + 0x3c]
jl 0x5f307e
push 0x44
call fcn.00493aa0
add esp, 4
mov dword [esp + 0x40], eax
test eax, eax
mov byte [esp + 0x74], 5
je 0x5f302b
mov ecx, eax
call fcn.004ae110
mov edi, eax
jmp 0x5f302d
xor edi, edi
mov ecx, dword [ebx]
push edi
mov byte [esp + 0x78], 4
mov eax, dword [ecx + 0x18]
push eax
call fcn.004af150
push ecx
mov ecx, dword [esp + 0x14]
mov eax, esp
mov dword [esp + 0x44], esp
mov dword [eax], ecx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x5f3056
inc dword [eax + 0x34]
mov ecx, edi
call fcn.004aecd0
mov edx, dword [esp + 0x18]
push ecx
mov eax, esp
mov dword [esp + 0x44], esp
mov dword [eax], edx
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x5f3075
inc dword [eax + 0x18]
mov ecx, edi
call fcn.005f2240
jmp 0x5f308b
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
mov edi, dword [eax + 8]
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
push ecx
mov ecx, edi
mov eax, dword [edx + ebp*8]
mov edx, dword [esp + 0x24]
push edx
mov dword [esp + 0x48], eax
call fcn.004aed70
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + ebp*8 + 4]
test ecx, ecx
jne 0x5f30df
push 0xffffffffffffffff
push 0x6e5e1c
lea ecx, [esp + 0x38]
call fcn.00499a80
lea eax, [esp + 0x30]
mov ecx, edi
push eax
mov byte [esp + 0x78], 6
call fcn.004ae6a0
mov byte [esp + 0x74], 4
lea ecx, [esp + 0x30]
jmp 0x5f310f
mov ecx, dword [eax + ebp*8 + 4]
mov edx, dword [esp + 0x40]
push ecx
lea eax, [esp + 0x38]
push edx
push eax
mov ecx, esi
call fcn.0049a250
lea ecx, [esp + 0x34]
mov byte [esp + 0x74], 7
push ecx
mov ecx, edi
call fcn.004ae6a0
mov byte [esp + 0x74], 4
lea ecx, [esp + 0x34]
call fcn.00499a60
fld dword [esp + 0x1c]
fadd dword [esp + 0x20]
mov eax, dword [esp + 0x38]
inc ebp
cmp ebp, eax
fstp dword [esp + 0x20]
fld dword [esp + 0x24]
fadd dword [esp + 0x28]
fstp dword [esp + 0x28]
jl 0x5f3003
mov eax, dword [0x758ccc]
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 0x4c]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
mov ecx, dword [ebx]
mov dword [ecx + 4], eax
mov edx, dword [esp + 0x14]
push edx
call fcn.006247dc
mov eax, dword [esp + 0x1c]
mov ebx, dword [ebx]
add esp, 4
test eax, eax
je 0x5f31a6
mov edx, dword [eax + 0x18]
dec edx
mov dword [eax + 0x18], edx
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x18]
test ecx, ecx
jg 0x5f31a6
mov esi, eax
test eax, eax
mov dword [esp + 0x40], esi
je 0x5f31a6
lea ecx, [eax + 0xc]
mov byte [esp + 0x74], 8
call fcn.004c95a0
mov ecx, esi
mov byte [esp + 0x74], 1
call fcn.004c95a0
push esi
call fcn.00493ae0
add esp, 4
mov eax, dword [esp + 0x10]
mov dword [esp + 0x74], 0xffffffff
test eax, eax
je 0x5f31d1
mov edx, dword [eax + 0x34]
dec edx
mov dword [eax + 0x34], edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x34]
test ecx, ecx
jg 0x5f31d1
push eax
call fcn.00493ae0
add esp, 4
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
mov eax, ebx
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x68
ret