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

Disassembly:
push ebx
push esi
sub esp, 0x38
mov ebx, dword [esp + 0x6c]
fld dword [esp + 0x7c]
fld dword [esp + 0x50]
fld dword [esp + 0x44]
fldz
fld st(3)
fsin
fnstsw ax
mov dword [0x9b5f98], 0
test eax, 0x400
je 0x575875
call fcn.00642970
fsin
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fstp st(1)
fld st(3)
fcos
fnstsw ax
test eax, 0x400
je 0x575893
call fcn.00642970
fcos
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fstp st(4)
fld st(3)
fchs
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fsub st(1)
fstp dword [esp + 0x2c]
fld st(2)
fmul dword [esp + 0x2c]
fadd st(2)
fstp dword [esp + 0x28]
fld dword [esp + 0x10]
fadd st(1)
fstp dword [esp + 0x18]
fld st(2)
fmul dword [esp + 0x18]
fadd st(2)
fstp dword [esp + 0x1c]
fld st(3)
fadd st(1)
fstp dword [esp + 0x24]
fld st(2)
fmul dword [esp + 0x24]
fadd st(2)
fstp dword [esp + 0x20]
fld st(3)
fsub st(1)
fstp dword [esp + 0x14]
fld st(2)
fmul dword [esp + 0x14]
fadd st(2)
fstp st(4)
fld dword [esp + 0x54]
fmul dword [esp + 0x18]
fadd dword [esp + 0x48]
fstp st(3)
fld dword [esp + 0x54]
fmul dword [esp + 0x24]
fadd dword [esp + 0x48]
fstp st(2)
fld dword [esp + 0x54]
fmul dword [esp + 0x14]
fadd dword [esp + 0x48]
fstp st(1)
fld dword [esp + 0x54]
fmul dword [esp + 0x2c]
fadd dword [esp + 0x48]
fstp dword [esp + 0xc]
fld dword [esp + 0x28]
fcomp dword [0x6994f0]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x575990
fld dword [esp + 0x1c]
fcomp dword [0x6994f0]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x575990
fld dword [esp + 0x20]
fcomp dword [0x6994f0]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x575990
fld st(3)
fcomp dword [0x6994f0]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x575990
fcompp
fcompp
add esp, 0x38
pop esi
pop ebx
ret
fld st(2)
fcomp dword [0x6994f0]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x5759e2
fld st(1)
fcomp dword [0x6994f0]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x5759e2
fcom dword [0x6994f0]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x5759e2
fld dword [esp + 0xc]
fcomp dword [0x6994f0]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x5759e2
fcompp
fcompp
add esp, 0x38
pop esi
pop ebx
ret
mov ecx, dword [0x9b48ec]
mov dword [esp + 0x30], ecx
fild dword [esp + 0x30]
fcomp dword [esp + 0x28]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x575a48
mov dword [esp + 0x30], ecx
fild dword [esp + 0x30]
fcomp dword [esp + 0x1c]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x575a48
mov dword [esp + 0x30], ecx
fild dword [esp + 0x30]
fcomp dword [esp + 0x20]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x575a48
mov dword [esp + 0x30], ecx
fild dword [esp + 0x30]
fcomp st(4)
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x575a48
fcompp
fcompp
add esp, 0x38
pop esi
pop ebx
ret
mov edx, dword [0x9b48f0]
mov dword [esp + 0x30], edx
fild dword [esp + 0x30]
fcomp st(3)
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x575ab0
mov dword [esp + 0x30], edx
fild dword [esp + 0x30]
fcomp st(2)
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x575ab0
mov dword [esp + 0x30], edx
fild dword [esp + 0x30]
fcomp st(1)
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x575ab0
mov dword [esp + 0x30], edx
fild dword [esp + 0x30]
fcomp dword [esp + 0xc]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x575ab0
fcompp
fcompp
add esp, 0x38
pop esi
pop ebx
ret
mov esi, dword [0x77ef50]
imul esi, esi, 0x70
fld dword [esp + 0x28]
add esi, 0x7e9e10
fstp dword [esi]
fld dword [esp + 0x1c]
fstp dword [esi + 0x1c]
fld dword [esp + 0x20]
fstp dword [esi + 0x38]
fld st(3)
fstp dword [esi + 0x54]
fld st(2)
fstp dword [esi + 4]
fld st(1)
fstp dword [esi + 0x20]
fst dword [esi + 0x3c]
fld dword [esp + 0xc]
fstp dword [esi + 0x58]
fld dword [0xa10680]
fsub dword [0x97853c]
mov eax, esi
fmul dword [esp + 0x4c]
fld dword [esp + 0x4c]
fsub dword [0x97853c]
fld dword [0x97f344]
fsub dword [0x978644]
fmulp st(1)
fmul dword [0xa10680]
fdivrp st(1)
fadd dword [0x978644]
fstp st(4)
fld st(3)
fstp dword [eax + 8]
fld dword [esp + 0x78]
fstp dword [eax + 0xc]
fld st(3)
lea eax, [esi + 0x1c]
fstp dword [eax + 8]
fld dword [esp + 0x78]
fstp dword [eax + 0xc]
fld st(3)
lea eax, [esi + 0x38]
fstp dword [eax + 8]
fld dword [esp + 0x78]
fstp dword [eax + 0xc]
fld st(3)
lea eax, [esi + 0x54]
fstp dword [eax + 8]
fld dword [esp + 0x78]
fstp dword [eax + 0xc]
fld dword [esp + 0x74]
fmul dword [esp + 0x18]
fld dword [esp + 0x70]
fmul dword [esp + 0x2c]
faddp st(1)
fmul dword [0x6994f4]
fadd dword [0x6994f4]
fstp st(4)
fld st(3)
fcomp dword [0x6994f0]
fnstsw ax
test ah, 0x45
jne 0x575b92
fld st(3)
jmp 0x575b98
fld dword [0x6994f0]
fstp st(4)
fld dword [0x6994f8]
fcomp st(4)
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x575bb4
fld dword [0x6994f8]
jmp 0x575bb6
fld st(3)
fstp st(3)
mov al, byte [esp + 0x64]
and eax, 0xff
fld dword [0x6994f8]
mov dword [esp + 0x30], eax
mov al, byte [esp + 0x58]
fsub st(3)
fstp st(4)
fild dword [esp + 0x30]
and eax, 0xff
mov dword [esp + 0x30], eax
fmul st(4)
fild dword [esp + 0x30]
fmul st(4)
faddp st(1)
fnstcw word [esp + 8]
mov eax, dword [esp + 8]
or byte [esp + 9], 0xc
fldcw word [esp + 8]
mov dword [esp + 8], eax
fistp dword [esp + 0x30]
mov eax, dword [esp + 0x30]
movzx edx, al
movzx eax, byte [esp + 0x80]
fldcw word [esp + 8]
shl edx, 0x10
mov dword [esp + 4], eax
mov al, byte [esp + 0x68]
and eax, 0xff
shl dword [esp + 4], 0x18
mov dword [esp + 0x30], eax
mov al, byte [esp + 0x5c]
fild dword [esp + 0x30]
and eax, 0xff
or edx, dword [esp + 4]
mov dword [esp + 0x30], eax
fmul st(4)
fild dword [esp + 0x30]
fmul st(4)
faddp st(1)
fnstcw word [esp + 8]
mov eax, dword [esp + 8]
or byte [esp + 9], 0xc
fldcw word [esp + 8]
mov dword [esp + 8], eax
fistp dword [esp + 0x30]
mov eax, dword [esp + 0x30]
movzx ecx, al
mov al, bl
and eax, 0xff
mov dword [esp + 0x30], eax
mov al, byte [esp + 0x60]
fldcw word [esp + 8]
fild dword [esp + 0x30]
and eax, 0xff
shl ecx, 8
mov dword [esp + 0x30], eax
or edx, ecx
fmul st(4)
fild dword [esp + 0x30]
fmul st(4)
faddp st(1)
fnstcw word [esp + 8]
mov eax, dword [esp + 8]
or byte [esp + 9], 0xc
fldcw word [esp + 8]
fistp dword [esp + 0x30]
mov ecx, dword [esp + 0x30]
mov dword [esp + 8], eax
movzx eax, cl
fldcw word [esp + 8]
or edx, eax
mov dword [esi + 0x10], edx
fld dword [esp + 0x74]
fmul dword [esp + 0x24]
fld dword [esp + 0x70]
fmul dword [esp + 0x18]
faddp st(1)
fmul dword [0x6994f4]
fadd dword [0x6994f4]
fstp st(4)
fld st(3)
fcomp dword [0x6994f0]
fnstsw ax
test ah, 0x45
jne 0x575d00
fld st(3)
jmp 0x575d06
fld dword [0x6994f0]
fstp st(4)
fld dword [0x6994f8]
fcomp st(4)
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x575d22
fld dword [0x6994f8]
jmp 0x575d24
fld st(3)
fstp st(4)
mov al, byte [esp + 0x64]
and eax, 0xff
fld dword [0x6994f8]
mov dword [esp + 0x30], eax
mov al, byte [esp + 0x58]
fsub st(4)
fstp st(3)
fild dword [esp + 0x30]
and eax, 0xff
mov dword [esp + 0x30], eax
fmul st(3)
fild dword [esp + 0x30]
fmul st(5)
faddp st(1)
fnstcw word [esp + 8]
mov eax, dword [esp + 8]
or byte [esp + 9], 0xc
fldcw word [esp + 8]
mov dword [esp + 8], eax
fistp dword [esp + 0x30]
mov eax, dword [esp + 0x30]
movzx ecx, al
mov al, byte [esp + 0x68]
and eax, 0xff
mov dword [esp + 0x30], eax
mov al, byte [esp + 0x5c]
fldcw word [esp + 8]
fild dword [esp + 0x30]
and eax, 0xff
shl ecx, 0x10
mov dword [esp + 0x30], eax
or ecx, dword [esp + 4]
fmul st(3)
fild dword [esp + 0x30]
fmul st(5)
faddp st(1)
fnstcw word [esp + 8]
mov eax, dword [esp + 8]
or byte [esp + 9], 0xc
fldcw word [esp + 8]
mov dword [esp + 8], eax
fistp dword [esp + 0x30]
mov eax, dword [esp + 0x30]
movzx edx, al
mov al, bl
and eax, 0xff
mov dword [esp + 0x30], eax
mov al, byte [esp + 0x60]
fldcw word [esp + 8]
fild dword [esp + 0x30]
and eax, 0xff
shl edx, 8
mov dword [esp + 0x30], eax
or ecx, edx
fmul st(3)
fild dword [esp + 0x30]
fmul st(5)
faddp st(1)
fnstcw word [esp + 8]
mov eax, dword [esp + 8]
or byte [esp + 9], 0xc
fldcw word [esp + 8]
fistp dword [esp + 0x30]
mov edx, dword [esp + 0x30]
mov dword [esp + 8], eax
movzx eax, dl
fldcw word [esp + 8]
or ecx, eax
mov dword [esi + 0x2c], ecx
fld dword [esp + 0x74]
fmul dword [esp + 0x14]
fld dword [esp + 0x70]
fmul dword [esp + 0x24]
faddp st(1)
fmul dword [0x6994f4]
fadd dword [0x6994f4]
fstp st(4)
fld st(3)
fcomp dword [0x6994f0]
fnstsw ax
test ah, 0x45
jne 0x575e56
fld st(3)
jmp 0x575e5c
fld dword [0x6994f0]
fstp st(4)
fld dword [0x6994f8]
fcomp st(4)
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x575e78
fld dword [0x6994f8]
jmp 0x575e7a
fld st(3)
fstp st(4)
mov al, byte [esp + 0x64]
and eax, 0xff
fld dword [0x6994f8]
mov dword [esp + 0x30], eax
mov al, byte [esp + 0x58]
fsub st(4)
fstp st(3)
fild dword [esp + 0x30]
and eax, 0xff
mov dword [esp + 0x30], eax
fmul st(3)
fild dword [esp + 0x30]
fmul st(5)
faddp st(1)
fnstcw word [esp + 8]
mov eax, dword [esp + 8]
or byte [esp + 9], 0xc
fldcw word [esp + 8]
mov dword [esp + 8], eax
fistp dword [esp + 0x30]
mov eax, dword [esp + 0x30]
movzx edx, al
mov al, byte [esp + 0x68]
and eax, 0xff
mov dword [esp + 0x30], eax
mov al, byte [esp + 0x5c]
fldcw word [esp + 8]
fild dword [esp + 0x30]
and eax, 0xff
shl edx, 0x10
mov dword [esp + 0x30], eax
or edx, dword [esp + 4]
fmul st(3)
fild dword [esp + 0x30]
fmul st(5)
faddp st(1)
fnstcw word [esp + 8]
mov eax, dword [esp + 8]
or byte [esp + 9], 0xc
fldcw word [esp + 8]
mov dword [esp + 8], eax
fistp dword [esp + 0x30]
mov eax, dword [esp + 0x30]
movzx ecx, al
mov al, bl
and eax, 0xff
mov dword [esp + 0x30], eax
mov al, byte [esp + 0x60]
fldcw word [esp + 8]
fild dword [esp + 0x30]
and eax, 0xff
shl ecx, 8
mov dword [esp + 0x30], eax
or edx, ecx
fmul st(3)
fild dword [esp + 0x30]
fmul st(5)
faddp st(1)
fnstcw word [esp + 8]
mov eax, dword [esp + 8]
or byte [esp + 9], 0xc
fldcw word [esp + 8]
fistp dword [esp + 0x30]
mov ecx, dword [esp + 0x30]
mov dword [esp + 8], eax
movzx eax, cl
fldcw word [esp + 8]
or edx, eax
mov dword [esi + 0x48], edx
fld dword [esp + 0x74]
fmul dword [esp + 0x2c]
fld dword [esp + 0x70]
fmul dword [esp + 0x14]
faddp st(1)
fmul dword [0x6994f4]
fadd dword [0x6994f4]
fstp st(4)
fld st(3)
fcomp dword [0x6994f0]
fnstsw ax
test ah, 0x45
jne 0x575fb0
fld st(3)
jmp 0x575fb6
fld dword [0x6994f0]
fstp st(4)
fld dword [0x6994f8]
fcomp st(4)
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x575fd2
fld dword [0x6994f8]
jmp 0x575fd4
fld st(3)
fstp st(4)
mov al, byte [esp + 0x64]
and eax, 0xff
fld dword [0x6994f8]
mov dword [esp + 0x30], eax
mov al, byte [esp + 0x58]
fsub st(4)
fstp st(3)
fild dword [esp + 0x30]
and eax, 0xff
mov dword [esp + 0x30], eax
fmul st(3)
fild dword [esp + 0x30]
fmul st(5)
faddp st(1)
fnstcw word [esp + 8]
mov eax, dword [esp + 8]
or byte [esp + 9], 0xc
fldcw word [esp + 8]
mov dword [esp + 8], eax
fistp dword [esp + 0x30]
mov eax, dword [esp + 0x30]
movzx ecx, al
mov al, byte [esp + 0x68]
and eax, 0xff
mov dword [esp + 0x30], eax
mov al, byte [esp + 0x5c]
fldcw word [esp + 8]
fild dword [esp + 0x30]
and eax, 0xff
shl ecx, 0x10
mov dword [esp + 0x30], eax
or ecx, dword [esp + 4]
fmul st(3)
fild dword [esp + 0x30]
fmul st(5)
faddp st(1)
fnstcw word [esp + 8]
mov eax, dword [esp + 8]
or byte [esp + 9], 0xc
fldcw word [esp + 8]
mov dword [esp + 8], eax
fistp dword [esp + 0x30]
mov eax, dword [esp + 0x30]
movzx edx, al
mov al, bl
and eax, 0xff
mov dword [esp + 0x30], eax
mov al, byte [esp + 0x60]
fldcw word [esp + 8]
fild dword [esp + 0x30]
and eax, 0xff
shl edx, 8
mov dword [esp + 0x30], eax
or ecx, edx
fmul st(3)
fild dword [esp + 0x30]
fmul st(5)
faddp st(1)
fnstcw word [esp + 8]
mov eax, dword [esp + 8]
or byte [esp + 9], 0xc
fldcw word [esp + 8]
fistp dword [esp + 0x30]
mov edx, dword [esp + 0x30]
mov dword [esp + 8], eax
movzx eax, dl
fldcw word [esp + 8]
or ecx, eax
mov dword [esi + 0x64], ecx
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0x3f800000
mov dword [esi + 0x4c], 0x3f800000
mov dword [esi + 0x50], 0x3f800000
mov dword [esi + 0x68], 0x3f800000
mov dword [esi + 0x6c], 0
mov cx, word [0x77ef50]
mov eax, dword [0x77ef50]
lea ecx, [ecx*4]
lea ebx, [eax*4]
movzx eax, cx
lea ebx, [ebx + ebx*2]
add ebx, 0x933bc8
mov edx, eax
mov word [ebx], cx
inc edx
mov word [ebx + 2], dx
lea esi, [eax + 2]
add eax, 3
mov word [ebx + 4], si
mov word [ebx + 6], ax
mov word [ebx + 8], cx
mov word [ebx + 0xa], si
inc dword [0x77ef50]
cmp dword [0x77ef50], 0x60
jl 0x576202
cmp dword [0x77ef50], 0
jle 0x576208
cmp dword [0x9b5f98], 0
je 0x5761c2
fcompp
fcompp
push 0
push 6
call fcn.00649bf0
mov eax, dword [0x77ef50]
pop ecx
lea eax, [eax + eax*2]
pop ecx
add eax, eax
push eax
mov eax, dword [0x77ef50]
lea eax, [eax*4]
push 0x933bc8
push eax
push 0x7e9e10
push 3
call fcn.00649c70
add esp, 0x14
push 1
push 6
call fcn.00649bf0
pop ecx
pop ecx
jmp 0x5761f2
mov eax, dword [0x77ef50]
lea eax, [eax + eax*2]
add eax, eax
push eax
mov eax, dword [0x77ef50]
fcompp
fcompp
lea eax, [eax*4]
push 0x933bc8
push eax
push 0x7e9e10
push 3
call fcn.00649c70
add esp, 0x14
mov dword [0x77ef50], 0
add esp, 0x38
pop esi
pop ebx
ret
fcompp
fcompp
jmp 0x5761fc
fcompp
fcompp
jmp 0x5761fc