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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0xb4
fldz
fst dword [esp + 0x38]
fld dword [ebp + 0xc]
fst dword [esp + 0x28]
fcom st(1)
fnstsw ax
push ebx
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x40], ebx
test ah, 5
jp 0x5e6617
fstp st(0)
fst dword [ebp + 0xc]
fld dword [ebp + 0xc]
fst dword [esp + 0x34]
fld1
mov ecx, 6
fld dword [ebp + 8]
fcom st(1)
fnstsw ax
fld1
fst qword [esp + 0x88]
test ah, 0x41
jne 0x5e66fa
fxch st(3)
fucom st(4)
fnstsw ax
test ah, 0x44
jnp 0x5e666c
fld st(1)
fld dword [ebp + 0x10]
fcom st(1)
fnstsw ax
test ah, 0x41
jnp 0x5e6668
fxch st(1)
fsub st(5)
fxch st(1)
fsub st(5)
fdivp st(1)
fmulp st(1)
fstp dword [ebp + 0xc]
fld dword [ebp + 0xc]
fst dword [esp + 0x34]
jmp 0x5e6685
fstp st(0)
fstp st(0)
fstp st(0)
mov ecx, 2
fxch st(3)
fst dword [ebp + 0xc]
fld dword [ebp + 0xc]
fst dword [esp + 0x34]
fxch st(1)
fxch st(4)
fxch st(1)
fld st(1)
fld dword [ebx]
fucomp st(1)
fnstsw ax
test ah, 0x44
jp 0x5e66ac
fld st(1)
fld dword [ebx + 4]
fucompp
fnstsw ax
test ah, 0x44
jp 0x5e66ac
cmp ecx, dword [ebx + 0xe78]
je 0x5e6d7e
mov dword [ebx + 0xe88], 0
fxch st(2)
mov dword [ebx + 0xe84], 0
mov eax, 0xe
mov dword [ebx + 0xe80], 0
mov dword [ebx + 0xe78], ecx
fst dword [ebx]
fxch st(1)
fstp dword [ebx + 4]
cmp ecx, 2
je 0x5e66e5
mov eax, ecx
fcom st(2)
mov dword [ebx + 0xe7c], eax
fnstsw ax
test ah, 5
jp 0x5e6702
fstp dword [esp + 0x24]
jmp 0x5e670c
fstp st(3)
fld dword [esp + 0x34]
jmp 0x5e6685
fstp st(0)
fxch st(1)
fst dword [esp + 0x24]
fxch st(1)
lea esi, [ebx + 8]
cmp ecx, 2
jne 0x5e67e0
fdivr st(2)
mov dword [esp + 0x20], 0
fstp dword [esp + 0x3c]
fld dword [esp + 0x3c]
fld qword [0x6b0c08]
fild dword [esp + 0x20]
mov ecx, 2
xor edx, edx
mov dword [esp + 0x24], ecx
mov ebx, ecx
fstp dword [esp + 0x3c]
fmul dword [esp + 0x3c]
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fst dword [esp + 0x34]
fcom st(2)
fnstsw ax
fld dword [esp + 0x34]
test ah, 0x41
jne 0x5e677d
fxch st(5)
fst dword [esi + edx*4]
fxch st(5)
inc edx
fsub st(4)
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fcom st(3)
fnstsw ax
test ah, 0x41
je 0x5e6762
fld st(0)
fsubr st(5)
fstp dword [esi + edx*4]
fstp dword [esi + edx*4 + 4]
add edx, 2
cmp edx, ebx
jge 0x5e67a0
mov ecx, ebx
lea edi, [esi + edx*4]
sub ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x24]
mov edx, ebx
inc ecx
fadd st(1)
add ebx, ecx
mov dword [esp + 0x24], ecx
fstp dword [esp + 0x34]
cmp ecx, 5
jle 0x5e674d
mov eax, dword [esp + 0x20]
add esi, 0x38
fld qword [0x6b0c08]
inc eax
mov dword [esp + 0x20], eax
cmp eax, 0x21
jl 0x5e6730
mov ebx, dword [esp + 0x40]
fstp st(0)
fstp st(1)
fstp st(2)
fstp st(0)
fstp st(0)
jmp 0x5e6cc9
fstp st(1)
xor eax, eax
fstp st(0)
mov dword [esp + 0x40], eax
fstp st(0)
mov dword [esp + 0x20], eax
fld dword [esp + 0x24]
fst dword [esp + 0x3c]
fld st(0)
fst qword [esp + 0x58]
fld qword [0x6b0c08]
fst qword [esp + 0xb8]
fld qword [0x64f400]
fst qword [esp + 0x60]
fld qword [0x6b0c28]
fst qword [esp + 0x68]
fld qword [0x6b0c58]
fstp qword [esp + 0x78]
fld qword [0x6b0b28]
fst qword [esp + 0x50]
fld qword [0x64f408]
fstp qword [esp + 0x80]
fldz
fstp qword [esp + 0x48]
fld qword [0x66b5b8]
fstp qword [esp + 0x90]
jmp 0x5e6859
fxch st(3)
fxch st(4)
fxch st(6)
xor edi, edi
fstp dword [esp + 0x24]
fild dword [esp + 0x20]
mov dword [esp + 0x20], edi
fstp dword [esp + 0x38]
fld dword [esp + 0x38]
fmulp st(3)
fxch st(2)
fstp dword [esp + 0x38]
fld dword [esp + 0x38]
fst dword [esp + 0x38]
jmp 0x5e6897
fstp st(5)
fld qword [esp + 0x58]
fxch st(2)
fxch st(5)
fxch st(3)
fxch st(4)
fxch st(2)
fxch st(3)
fxch st(2)
fild dword [esp + 0x20]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fsubrp st(2)
fsubp st(1)
fmulp st(1)
fst qword [esp + 0x28]
fld qword [esp + 0x78]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x5e68cd
fcom st(3)
fnstsw ax
fstp st(3)
test ah, 5
jp 0x5e68d3
fstp st(0)
fstp dword [esp + 0x20]
jmp 0x5e68ea
fstp st(2)
fstp st(2)
jmp 0x5e68d7
fstp st(1)
fxch st(1)
fmulp st(1)
call fcn.005a9dc0
fdiv qword [esp + 0x28]
fstp dword [esp + 0x20]
fld qword [esp + 0x28]
fdiv qword [esp + 0x80]
call fcn.005a9c90
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fld qword [esp + 0x88]
fadd st(1), st(0)
fld dword [esp + 0x20]
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fst dword [esi + edi*4]
fadd dword [esp + 0x24]
inc edi
mov dword [esp + 0x20], edi
fstp dword [esp + 0x24]
fld dword [esp + 0x38]
fld dword [esp + 0x3c]
fld qword [esp + 0x50]
fld qword [esp + 0x60]
fld qword [esp + 0x68]
cmp edi, 6
jl 0x5e6883
fstp st(1)
fstp st(3)
fstp st(1)
fstp st(0)
fstp st(0)
fld dword [esp + 0x44]
fst dword [esp + 0x28]
fld dword [esp + 0x24]
fdivr st(2)
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fld dword [esi]
fmul st(1)
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fst dword [esi]
fst qword [esp + 0x98]
fadd qword [esp + 0x48]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fld st(0)
fld qword [esp + 0x90]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x5e699d
fxch st(1)
fchs
jmp 0x5e69ac
fstp st(1)
fcom st(3)
fnstsw ax
test ah, 0x41
jne 0x5e69b0
fld st(0)
fsub st(4)
fstp dword [esp + 0x28]
fld dword [esi + 4]
fmul st(2)
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fst dword [esi + 4]
fst qword [esp + 0xa0]
faddp st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fld st(0)
fld dword [esp + 0x28]
fld st(0)
fchs
fcomp st(2)
fnstsw ax
test ah, 0x41
jne 0x5e69f4
fstp st(0)
fxch st(1)
fchs
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
jmp 0x5e6a15
fstp st(2)
fld st(1)
fadd st(5)
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x5e6a13
fstp st(1)
fld st(0)
fsub st(4)
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
jmp 0x5e6a15
fxch st(1)
fld dword [esi + 8]
fmul st(3)
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fst dword [esi + 8]
fst qword [esp + 0xb0]
faddp st(2)
fxch st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fld st(0)
fld st(2)
fchs
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x5e6a55
fstp st(2)
fchs
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
jmp 0x5e6a76
fstp st(1)
fld st(1)
fadd st(5)
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x5e6a74
fstp st(1)
fld st(0)
fsub st(4)
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
jmp 0x5e6a76
fxch st(1)
fld dword [esi + 0xc]
fmul st(3)
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fst dword [esi + 0xc]
fst qword [esp + 0x70]
faddp st(2)
fxch st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fld st(0)
fld st(2)
fchs
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x5e6ab3
fstp st(2)
fchs
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
jmp 0x5e6ad4
fstp st(1)
fld st(1)
fadd st(5)
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x5e6ad2
fstp st(1)
fld st(0)
fsub st(4)
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
jmp 0x5e6ad4
fxch st(1)
fld dword [esi + 0x10]
fmul st(3)
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fst dword [esi + 0x10]
fst qword [esp + 0xa8]
faddp st(2)
fxch st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fld st(0)
fld st(2)
fchs
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x5e6b14
fstp st(2)
fchs
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
jmp 0x5e6b35
fstp st(1)
fld st(1)
fadd st(5)
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x5e6b33
fstp st(1)
fld st(0)
fsub st(4)
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
jmp 0x5e6b35
fxch st(1)
fld dword [esi + 0x14]
fmulp st(3)
fxch st(2)
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fst dword [esi + 0x14]
fadd st(1), st(0)
fxch st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fld st(0)
fld st(3)
fchs
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x5e6b74
fstp st(3)
fstp st(2)
fxch st(1)
fchs
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
jmp 0x5e6b97
fstp st(1)
fld st(2)
fadd st(5)
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x5e6b93
fstp st(2)
fxch st(1)
fsub st(3)
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
jmp 0x5e6b97
fstp st(0)
fxch st(1)
fld dword [esp + 0x34]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x5e6c41
fstp st(3)
fdivp st(2)
fxch st(1)
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fld st(0)
fmul qword [esp + 0x98]
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fst dword [esi]
fld st(1)
fmul qword [esp + 0xa0]
fstp dword [esi + 4]
fld st(1)
fmul qword [esp + 0xa8]
fstp dword [esi + 0x10]
fld st(1)
fmulp st(3)
fxch st(2)
fstp dword [esi + 0x14]
fld st(2)
fsub st(1)
fld dword [esp + 0x38]
fld st(2)
fmul qword [esp + 0xb0]
fstp dword [esp + 0x38]
fld dword [esp + 0x38]
fxch st(5)
fsub st(1)
fmul st(2)
faddp st(5)
fxch st(4)
fstp dword [esi + 8]
fld qword [esp + 0x70]
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x38]
fld dword [esp + 0x38]
fxch st(1)
fmulp st(3)
faddp st(2)
fxch st(1)
fstp dword [esi + 0xc]
fadd qword [esp + 0x48]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fstp qword [esp + 0x70]
fld dword [esp + 0x44]
jmp 0x5e6c49
fstp st(0)
fstp st(0)
fstp st(2)
fstp st(1)
fld dword [esp + 0x3c]
add esi, 0x38
fld qword [esp + 0x50]
mov eax, dword [esp + 0x40]
fld qword [esp + 0x58]
inc eax
fld qword [esp + 0x60]
fld qword [esp + 0x68]
fld qword [esp + 0xb8]
mov dword [esp + 0x40], eax
mov dword [esp + 0x20], eax
cmp eax, 0x10
jle 0x5e6855
mov eax, dword [ebx + 0xe78]
fstp st(2)
fstp st(1)
mov edx, 0x11
fstp st(3)
fstp st(1)
fstp st(2)
lea edi, [esi + eax*4]
fstp st(1)
fstp st(0)
lea esp, [esp]
xor eax, eax
cmp dword [ebx + 0xe78], eax
jle 0x5e6cc1
lea ecx, [edi - 0x74]
lea ecx, [ecx]
fld dword [ecx]
sub ecx, 4
fstp dword [esi + eax*4]
inc eax
cmp eax, dword [ebx + 0xe78]
jl 0x5e6cb0
add esi, 0x38
sub edx, 1
jne 0x5e6ca0
fld qword [0x6b0b60]
lea ecx, [ebx + 0x740]
fld qword [0x65ba48]
lea eax, [ecx - 0x738]
mov edx, 0x21
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
xor edi, edi
cmp dword [ebx + 0xe7c], edi
jle 0x5e6d5a
sub eax, ecx
mov esi, ecx
mov dword [esp + 0x38], eax
fld dword [eax + esi]
sub esp, 8
fmulp st(2)
faddp st(1)
fstp qword [esp]
call fcn.005a9b50
add esp, 8
call fcn.004b2570
fld qword [0x6b0b60]
neg eax
fld qword [0x65ba48]
inc edi
mov dword [esi], eax
add esi, 4
mov eax, dword [esp + 0x38]
cmp edi, dword [ebx + 0xe7c]
jl 0x5e6d04
mov ecx, dword [esp + 0x3c]
fstp st(1)
mov eax, dword [esp + 0x40]
fstp st(0)
fld qword [0x6b0b60]
fld qword [0x65ba48]
mov edx, dword [esp + 0x44]
add ecx, 0x38
add eax, 0x38
sub edx, 1
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
jne 0x5e6cf2
fstp st(1)
fstp st(0)
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
fstp st(2)
fstp st(2)
fstp st(0)
fstp st(2)
pop edi
fstp st(0)
pop esi
fstp st(0)
pop ebx
mov esp, ebp
pop ebp
ret 0xc