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

Disassembly:
sub esp, 0xe8
push ebx
mov ebx, ecx
cmp dword [ebx + 0x10], 0xffffffff
jne 0x5efe59
mov eax, dword [esp + 0xf0]
xor ecx, ecx
xor edx, edx
mov dword [eax], ecx
mov dword [eax + 4], edx
pop ebx
add esp, 0xe8
ret 0x28
push esi
push edi
mov edi, dword [esp + 0xfc]
push edi
mov dword [esp + 0x14], edi
call fcn.0065c790
mov ecx, dword [esp + 0x104]
add esp, 4
cmp ecx, eax
jbe 0x5efe7c
mov ecx, eax
mov edx, dword [ebx + 0x10]
lea eax, [edi + ecx]
mov ecx, dword [ebx + 4]
xor esi, esi
cmp ecx, esi
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], 1
mov dword [esp + 0xc], 0
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], edx
je 0x5efeb3
mov eax, dword [ebx + 8]
sub eax, ecx
sar eax, 3
cmp edx, eax
jb 0x5efebb
fld dword [0x70048c]
jmp 0x5efec4
mov eax, dword [ecx + edx*8]
fild dword [eax + 0x38]
fmul dword [ebx + 0x20]
cmp ecx, esi
je 0x5efed4
mov eax, dword [ebx + 8]
sub eax, ecx
sar eax, 3
cmp edx, eax
jb 0x5efedc
fld dword [0x70048c]
jmp 0x5efee5
mov ecx, dword [ecx + edx*8]
fild dword [ecx + 0x40]
fmul dword [ebx + 0x24]
fmul dword [ebx + 0x24]
mov eax, dword [ebx + 0x1c]
cmp eax, 1
fiadd dword [ebx + 0x18]
fstp dword [esp + 0x24]
jle 0x5eff02
dec eax
imul eax, dword [ebx + 0x14]
mov dword [esp + 0x28], eax
jmp 0x5eff06
mov dword [esp + 0x28], esi
fild dword [ebx + 0x1c]
mov esi, dword [esp + 0x110]
test esi, esi
mov eax, dword [esp + 0x38]
fld st(0)
push ebp
mov ebp, dword [ebx + 0x14]
fmul st(2)
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
fiadd dword [esp + 0x2c]
mov dword [esp + 0x2c], ebp
fstp dword [esp + 0x44]
fild dword [esp + 0x2c]
fadd st(2)
fmul st(1)
fstp dword [esp + 0x40]
fstp st(0)
fstp st(0)
je 0x5f06af
cmp edi, eax
je 0x5f09c1
mov ebp, dword [esp + 0x11c]
nop
mov ecx, dword [esp + 0x14]
mov al, byte [ecx]
test al, al
mov dword [esp + 0x18], 0
jns 0x5f022f
mov eax, dword [esp + 0x3c]
lea edx, [ecx + 1]
cmp edx, eax
je 0x5f065e
mov al, byte [esp + 0x10c]
test al, al
movzx edi, word [ecx]
jne 0x5f0156
fld dword [0x70048c]
fld dword [esp + 0x10]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x5effb1
fild dword [ebx + 0x14]
fstp dword [esp + 0x18]
mov eax, dword [esp + 0x30]
push eax
push edi
mov ecx, ebx
call fcn.005eefc0
fadd dword [esp + 0x18]
fstp dword [esp + 0x18]
fld dword [0x70048c]
fld dword [esp + 0x10]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x5f0084
fld dword [esp + 0x18]
mov ecx, dword [esp + 0x108]
test ecx, ecx
fadd dword [esp + 0x10]
fild dword [esp + 0x108]
jge 0x5efffd
fadd dword [0x70111c]
fcompp
fnstsw ax
test ah, 5
jp 0x5f0084
mov eax, dword [esp + 0x118]
test eax, eax
je 0x5f0046
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
mov ecx, edx
mov dword [esp + 0x7c], edx
lea edx, [esp + 0x78]
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x118]
push edx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x84], eax
call fcn.005efdc0
fild dword [esp + 0x34]
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x24], eax
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 5
jp 0x5f006b
fld dword [esp + 0x10]
call fcn.0065ea1c
mov dword [esp + 0x34], eax
fld dword [esp + 0x1c]
mov dword [esp + 0x10], 0
fadd dword [esp + 0x28]
fstp dword [esp + 0x1c]
jmp 0x5f0650
lea eax, [esp + 0xc8]
push eax
mov ecx, esi
call fcn.005efd30
mov eax, dword [esi + 8]
sub eax, 0x18
mov dword [eax], edi
mov edx, dword [0x71be80]
mov ecx, dword [ebx + 0x2c]
mov eax, edi
sub eax, edx
cmp eax, ecx
jae 0x5f00b7
mov edx, dword [ebx + 0x28]
lea ecx, [eax + eax*4]
lea ecx, [edx + ecx*4]
jmp 0x5f00b9
xor ecx, ecx
mov eax, dword [esi + 8]
fld dword [esp + 0x10]
sub eax, 0x18
mov dword [eax + 4], ecx
call fcn.0065ea1c
fld dword [esp + 0x1c]
mov dword [esp + 0x70], eax
call fcn.0065ea1c
fild dword [esp + 0x70]
mov dword [esp + 0x74], eax
mov eax, dword [esi + 8]
sub eax, 0x18
test ebp, ebp
fstp dword [eax + 0x10]
fild dword [esp + 0x74]
fstp dword [eax + 0x14]
mov eax, dword [esi + 8]
je 0x5f012c
mov ecx, dword [eax - 0x14]
test ecx, ecx
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp + ecx*4]
je 0x5f0119
mov ecx, dword [esp + 0x14]
fld dword [esp + 0x18]
mov dword [eax - 0x10], edx
add ecx, 2
jmp 0x5f063b
mov ecx, dword [esp + 0x14]
fld dword [esp + 0x18]
mov dword [eax - 0xc], edx
add ecx, 2
jmp 0x5f063b
mov ecx, dword [esp + 0x120]
fld dword [esp + 0x18]
sub eax, 0x18
mov dword [eax + 0xc], ecx
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x14]
sub eax, 0x18
mov dword [eax + 8], 0
add ecx, 2
jmp 0x5f063b
lea edx, [esp + 0x98]
push edx
mov ecx, esi
call fcn.005efd30
mov eax, dword [esi + 8]
sub eax, 0x18
mov dword [eax], edi
mov edx, dword [0x71be80]
mov ecx, dword [ebx + 0x2c]
mov eax, edi
sub eax, edx
cmp eax, ecx
jae 0x5f0189
mov ecx, dword [ebx + 0x28]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
jmp 0x5f018b
xor ecx, ecx
mov eax, dword [esi + 8]
fld dword [esp + 0x10]
sub eax, 0x18
mov dword [eax + 4], ecx
call fcn.0065ea1c
fld dword [esp + 0x1c]
mov dword [esp + 0x58], eax
call fcn.0065ea1c
fild dword [esp + 0x58]
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 8]
sub eax, 0x18
test ebp, ebp
fstp dword [eax + 0x10]
fild dword [esp + 0x5c]
fstp dword [eax + 0x14]
mov eax, dword [esi + 8]
je 0x5f01e2
mov ecx, dword [eax - 0x14]
mov edx, dword [esp + 0x20]
test ecx, ecx
mov ecx, dword [ebp + edx*4]
je 0x5f01dd
mov dword [eax - 0x10], ecx
jmp 0x5f01fc
mov dword [eax - 0xc], ecx
jmp 0x5f01fc
mov edx, dword [esp + 0x120]
sub eax, 0x18
mov dword [eax + 0xc], edx
mov eax, dword [esi + 8]
sub eax, 0x18
mov dword [eax + 8], 0
fld dword [0x70048c]
fld dword [esp + 0x10]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x5f0216
fild dword [ebx + 0x14]
fstp dword [esp + 0x18]
mov eax, dword [esp + 0x30]
push eax
push edi
mov ecx, ebx
call fcn.005eefc0
mov ecx, dword [esp + 0x14]
add ecx, 2
jmp 0x5f0637
cmp al, 0xd
movsx edi, al
jne 0x5f0245
mov al, byte [ecx + 1]
xor edx, edx
cmp al, 0xa
sete dl
inc edx
mov edi, edx
jmp 0x5f0252
cmp al, 0xa
jne 0x5f02f1
mov edi, 1
mov eax, dword [esp + 0x118]
test eax, eax
je 0x5f029f
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov edx, eax
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x88]
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x118]
push eax
mov dword [esp + 0x8c], 0
mov dword [esp + 0x98], edx
call fcn.005efdc0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
fild dword [esp + 0x34]
inc eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
fcomp dword [esp + 0x10]
add eax, edi
mov dword [esp + 0x20], eax
add ecx, edi
fnstsw ax
mov dword [esp + 0x14], ecx
test ah, 5
jp 0x5f006b
fld dword [esp + 0x10]
call fcn.0065ea1c
fld dword [esp + 0x1c]
fadd dword [esp + 0x28]
mov dword [esp + 0x34], eax
mov dword [esp + 0x10], 0
fstp dword [esp + 0x1c]
jmp 0x5f0650
cmp al, 9
jne 0x5f03a3
fld dword [0x70048c]
fld dword [esp + 0x10]
fucompp
fnstsw ax
test ah, 0x44
jp 0x5f0312
fld dword [esp + 0x44]
jmp 0x5f0316
fld dword [esp + 0x40]
fld dword [0x70048c]
fld dword [esp + 0x10]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x5f0395
fld dword [esp + 0x10]
mov edx, dword [esp + 0x108]
test edx, edx
fadd st(1)
fild dword [esp + 0x108]
jge 0x5f0347
fadd dword [0x70111c]
fcompp
fnstsw ax
test ah, 5
jp 0x5f0395
mov eax, dword [esp + 0x24]
fstp st(0)
fld dword [esp + 0x1c]
inc eax
fadd dword [esp + 0x28]
mov dword [esp + 0x24], eax
fstp dword [esp + 0x1c]
fild dword [esp + 0x34]
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 5
jp 0x5f0387
fld dword [esp + 0x10]
call fcn.0065ea1c
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x34], eax
mov dword [esp + 0x10], 0
inc ecx
jmp 0x5f0643
fadd dword [esp + 0x10]
inc ecx
fstp dword [esp + 0x10]
jmp 0x5f0643
mov al, byte [esp + 0x10c]
test al, al
jne 0x5f0565
fld dword [0x70048c]
fld dword [esp + 0x10]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x5f03cc
fild dword [ebx + 0x14]
fstp dword [esp + 0x18]
mov eax, dword [esp + 0x30]
push eax
push edi
mov ecx, ebx
call fcn.005eefc0
fadd dword [esp + 0x18]
fstp dword [esp + 0x18]
fld dword [0x70048c]
fld dword [esp + 0x10]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x5f0499
fld dword [esp + 0x18]
mov ecx, dword [esp + 0x108]
test ecx, ecx
fadd dword [esp + 0x10]
fild dword [esp + 0x108]
jge 0x5f0418
fadd dword [0x70111c]
fcompp
fnstsw ax
test ah, 5
jp 0x5f0499
mov eax, dword [esp + 0x118]
test eax, eax
je 0x5f045b
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
mov ecx, edx
mov dword [esp + 0x4c], edx
lea edx, [esp + 0x48]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x118]
push edx
mov dword [esp + 0x4c], 0
mov dword [esp + 0x54], eax
call fcn.005efdc0
fld dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
fadd dword [esp + 0x28]
inc eax
mov dword [esp + 0x24], eax
fstp dword [esp + 0x1c]
fild dword [esp + 0x34]
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 5
jp 0x5f048c
fld dword [esp + 0x10]
call fcn.0065ea1c
mov dword [esp + 0x34], eax
mov dword [esp + 0x10], 0
jmp 0x5f0650
lea eax, [esp + 0xb0]
push eax
mov ecx, esi
call fcn.005efd30
mov eax, dword [esi + 8]
sub eax, 0x18
mov dword [eax], edi
mov edx, dword [0x71be80]
mov ecx, dword [ebx + 0x2c]
mov eax, edi
sub eax, edx
cmp eax, ecx
jae 0x5f04cc
mov edx, dword [ebx + 0x28]
lea ecx, [eax + eax*4]
lea ecx, [edx + ecx*4]
jmp 0x5f04ce
xor ecx, ecx
mov eax, dword [esi + 8]
fld dword [esp + 0x10]
sub eax, 0x18
mov dword [eax + 4], ecx
call fcn.0065ea1c
fld dword [esp + 0x1c]
mov dword [esp + 0x68], eax
call fcn.0065ea1c
fild dword [esp + 0x68]
mov dword [esp + 0x6c], eax
mov eax, dword [esi + 8]
sub eax, 0x18
test ebp, ebp
fstp dword [eax + 0x10]
fild dword [esp + 0x6c]
fstp dword [eax + 0x14]
mov eax, dword [esi + 8]
je 0x5f053d
mov ecx, dword [eax - 0x14]
test ecx, ecx
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp + ecx*4]
je 0x5f052c
mov ecx, dword [esp + 0x14]
fld dword [esp + 0x18]
mov dword [eax - 0x10], edx
inc ecx
jmp 0x5f063b
mov ecx, dword [esp + 0x14]
fld dword [esp + 0x18]
mov dword [eax - 0xc], edx
inc ecx
jmp 0x5f063b
mov ecx, dword [esp + 0x120]
fld dword [esp + 0x18]
sub eax, 0x18
mov dword [eax + 0xc], ecx
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x14]
sub eax, 0x18
mov dword [eax + 8], 0
inc ecx
jmp 0x5f063b
lea edx, [esp + 0xe0]
push edx
mov ecx, esi
call fcn.005efd30
mov eax, dword [esi + 8]
sub eax, 0x18
mov dword [eax], edi
mov edx, dword [0x71be80]
mov ecx, dword [ebx + 0x2c]
mov eax, edi
sub eax, edx
cmp eax, ecx
jae 0x5f0598
mov ecx, dword [ebx + 0x28]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
jmp 0x5f059a
xor ecx, ecx
mov eax, dword [esi + 8]
fld dword [esp + 0x10]
sub eax, 0x18
mov dword [eax + 4], ecx
call fcn.0065ea1c
fld dword [esp + 0x1c]
mov dword [esp + 0x60], eax
call fcn.0065ea1c
fild dword [esp + 0x60]
mov dword [esp + 0x64], eax
mov eax, dword [esi + 8]
sub eax, 0x18
test ebp, ebp
fstp dword [eax + 0x10]
fild dword [esp + 0x64]
fstp dword [eax + 0x14]
mov eax, dword [esi + 8]
je 0x5f05f1
mov ecx, dword [eax - 0x14]
mov edx, dword [esp + 0x20]
test ecx, ecx
mov ecx, dword [ebp + edx*4]
je 0x5f05ec
mov dword [eax - 0x10], ecx
jmp 0x5f060b
mov dword [eax - 0xc], ecx
jmp 0x5f060b
mov edx, dword [esp + 0x120]
sub eax, 0x18
mov dword [eax + 0xc], edx
mov eax, dword [esi + 8]
sub eax, 0x18
mov dword [eax + 8], 0
fld dword [0x70048c]
fld dword [esp + 0x10]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x5f0625
fild dword [ebx + 0x14]
fstp dword [esp + 0x18]
mov eax, dword [esp + 0x30]
push eax
push edi
mov ecx, ebx
call fcn.005eefc0
mov ecx, dword [esp + 0x14]
inc ecx
fadd dword [esp + 0x18]
fadd dword [esp + 0x10]
fstp dword [esp + 0x10]
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x14]
cmp ecx, dword [esp + 0x3c]
jne 0x5eff60
fld dword [0x70048c]
fld dword [esp + 0x10]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x5f09c1
mov ecx, dword [esp + 0x118]
test ecx, ecx
je 0x5f09c1
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x48]
push eax
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], edx
mov dword [esp + 0x58], edx
call fcn.005efdc0
jmp 0x5f09c1
cmp edi, eax
je 0x5f09c1
mov edx, dword [esp + 0x14]
mov al, byte [edx]
xor esi, esi
test al, al
jns 0x5f07cd
mov eax, dword [esp + 0x3c]
lea ecx, [edx + 1]
cmp ecx, eax
je 0x5f09c1
mov al, byte [esp + 0x10c]
test al, al
movzx edi, word [edx]
jne 0x5f0790
fld dword [esp + 0x10]
call fcn.0065ea1c
mov ebp, eax
test ebp, ebp
je 0x5f06fb
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
push edx
push edi
mov ecx, ebx
call fcn.005eefc0
call fcn.0065ea1c
fld dword [0x70048c]
fld dword [esp + 0x10]
add esi, eax
fucompp
mov dword [esp + 0x18], esi
fnstsw ax
test ah, 0x44
jnp 0x5f077c
fild dword [esp + 0x18]
mov eax, dword [esp + 0x108]
test eax, eax
fadd dword [esp + 0x10]
fild dword [esp + 0x108]
jge 0x5f0746
fadd dword [0x70111c]
fcompp
fnstsw ax
test ah, 5
jp 0x5f077c
fild dword [esp + 0x34]
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x24], eax
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 5
jp 0x5f076b
mov dword [esp + 0x34], ebp
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x10], 0
jmp 0x5f09b3
mov eax, dword [esp + 0x14]
fild dword [esp + 0x18]
mov ebp, dword [esp + 0x2c]
add eax, 2
jmp 0x5f09a7
fld dword [0x70048c]
fld dword [esp + 0x10]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x5f07a5
mov esi, ebp
mov ecx, dword [esp + 0x30]
push ecx
push edi
mov ecx, ebx
call fcn.005eefc0
call fcn.0065ea1c
add eax, esi
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
fild dword [esp + 0x28]
add eax, 2
jmp 0x5f09a7
cmp al, 0xd
movsx ecx, al
jne 0x5f07e2
mov cl, byte [edx + 1]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
jmp 0x5f07eb
cmp al, 0xa
jne 0x5f0827
mov eax, 1
fild dword [esp + 0x34]
mov esi, dword [esp + 0x24]
add edx, eax
inc esi
fcomp dword [esp + 0x10]
mov dword [esp + 0x24], esi
mov dword [esp + 0x14], edx
fnstsw ax
test ah, 5
jp 0x5f096f
fld dword [esp + 0x10]
call fcn.0065ea1c
mov dword [esp + 0x34], eax
mov dword [esp + 0x10], 0
jmp 0x5f09b3
cmp al, 9
fld dword [0x70048c]
fld dword [esp + 0x10]
fucompp
jne 0x5f08de
fnstsw ax
test ah, 0x44
jp 0x5f0848
fld dword [esp + 0x44]
jmp 0x5f084c
fld dword [esp + 0x40]
call fcn.0065ea1c
fld dword [0x70048c]
fld dword [esp + 0x10]
mov dword [esp + 0x18], eax
fucompp
fnstsw ax
test ah, 0x44
jnp 0x5f08c8
fild dword [esp + 0x18]
mov edx, dword [esp + 0x108]
test edx, edx
fadd dword [esp + 0x10]
fild dword [esp + 0x108]
jge 0x5f0888
fadd dword [0x70111c]
fcompp
fnstsw ax
test ah, 5
jp 0x5f08c8
fild dword [esp + 0x34]
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x24], eax
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 5
jp 0x5f08b6
fld dword [esp + 0x10]
call fcn.0065ea1c
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], 0
inc eax
jmp 0x5f09af
fild dword [esp + 0x18]
mov eax, dword [esp + 0x14]
inc eax
fadd dword [esp + 0x10]
fstp dword [esp + 0x10]
jmp 0x5f09af
mov al, byte [esp + 0x10c]
test al, al
fnstsw ax
jne 0x5f097f
test ah, 0x44
jnp 0x5f08f6
mov esi, ebp
mov eax, dword [esp + 0x30]
push eax
push ecx
mov ecx, ebx
call fcn.005eefc0
call fcn.0065ea1c
fld dword [0x70048c]
fld dword [esp + 0x10]
add esi, eax
fucompp
mov dword [esp + 0x18], esi
fnstsw ax
test ah, 0x44
jnp 0x5f0979
fild dword [esp + 0x18]
mov ecx, dword [esp + 0x108]
test ecx, ecx
fadd dword [esp + 0x10]
fild dword [esp + 0x108]
jge 0x5f0941
fadd dword [0x70111c]
fcompp
fnstsw ax
test ah, 5
jp 0x5f0979
fild dword [esp + 0x34]
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x24], eax
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 5
jp 0x5f096f
fld dword [esp + 0x10]
call fcn.0065ea1c
mov dword [esp + 0x34], eax
mov dword [esp + 0x10], 0
jmp 0x5f09b3
fild dword [esp + 0x18]
jmp 0x5f09a2
test ah, 0x44
jnp 0x5f0986
mov esi, ebp
mov edx, dword [esp + 0x30]
push edx
push ecx
mov ecx, ebx
call fcn.005eefc0
call fcn.0065ea1c
add eax, esi
mov dword [esp + 0x28], eax
fild dword [esp + 0x28]
mov eax, dword [esp + 0x14]
inc eax
fadd dword [esp + 0x10]
fstp dword [esp + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x3c]
jne 0x5f06b7
fild dword [esp + 0x34]
pop ebp
fcomp dword [esp + 0xc]
fnstsw ax
test ah, 5
jp 0x5f09de
fld dword [esp + 0xc]
call fcn.0065ea1c
mov esi, eax
jmp 0x5f09e2
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
cmp edx, 3
jb 0x5f09ee
mov edx, dword [ebx + 0x10]
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x5f0a01
mov eax, dword [ebx + 8]
sub eax, ecx
sar eax, 3
cmp edx, eax
jb 0x5f0a09
fld dword [0x70048c]
jmp 0x5f0a12
mov ecx, dword [ecx + edx*8]
fild dword [ecx + 0x40]
fmul dword [ebx + 0x24]
call fcn.0065ea1c
mov ecx, dword [esp + 0x20]
imul eax, ecx
dec ecx
imul ecx, dword [ebx + 0x18]
add eax, ecx
mov ecx, dword [esp + 0xf8]
pop edi
mov dword [ecx], esi
pop esi
mov dword [ecx + 4], eax
mov eax, ecx
pop ebx
add esp, 0xe8
ret 0x28