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

Disassembly:
sub esp, 0x10c
fld dword [esp + 0x11c]
fld dword [esp + 0x118]
fld dword [0x7d930c]
fadd st(0), st(0)
fld st(2)
fxch st(2)
fmul dword [0x7d9330]
fxch st(1)
fstp dword [esp + 8]
fxch st(1)
fcomp dword [esp + 8]
push ebx
push ebp
xor edx, edx
xor ecx, ecx
push esi
push edi
fst dword [esp + 0x10]
fld dword [esp + 0x10]
fxch st(1)
fadd dword [esp + 0x120]
fxch st(1)
fadd dword [esp + 0x124]
fxch st(1)
fnstsw ax
mov dword [esp + 0x24], edx
fstp dword [esp + 0x120]
test ah, 0x41
fstp dword [esp + 0x124]
jne 0x46e8ba
fsub dword [esp + 0x18]
fcom dword [esp + 0x18]
fnstsw ax
test ah, 0x41
je 0x46e8ab
fld dword [esp + 0x130]
fcom dword [esp + 0x18]
fnstsw ax
test ah, 0x41
jne 0x46e8db
fsub dword [esp + 0x18]
fcom dword [esp + 0x18]
fnstsw ax
test ah, 0x41
je 0x46e8cc
fld dword [0x7d930c]
fmul dword [0x7d9350]
fld st(2)
fxch st(1)
fstp dword [esp + 0x1c]
fcomp dword [esp + 0x1c]
fnstsw ax
test ah, 0x41
jne 0x46e8ff
mov ecx, 1
fld dword [0x7d930c]
fmul dword [0x7d9370]
fld st(2)
fxch st(1)
mov edi, 2
fstp dword [esp + 0x20]
fcomp dword [esp + 0x20]
fnstsw ax
test ah, 0x41
jne 0x46e925
mov ecx, edi
fld dword [0x7d930c]
fmul dword [0x7d9374]
fld st(2)
fxch st(1)
fstp dword [esp + 0x14]
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 0x41
jne 0x46e949
mov ecx, 3
fld dword [0x7d930c]
fmul dword [0x7d9378]
fld st(2)
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x46e962
xor ecx, ecx
fld st(1)
fcomp dword [esp + 0x1c]
fnstsw ax
test ah, 0x41
jne 0x46e977
mov dword [esp + 0x24], 1
fld st(1)
fcomp dword [esp + 0x20]
fnstsw ax
test ah, 0x41
jne 0x46e988
mov dword [esp + 0x24], edi
fld st(1)
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 0x41
jne 0x46e99d
mov dword [esp + 0x24], 3
fld st(1)
fcomp st(1)
fnstsw ax
test ah, 0x41
fstp st(0)
jne 0x46e9ae
mov dword [esp + 0x24], edx
fld st(1)
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x46e9c7
fld dword [0x7d930c]
fmul dword [0x7d937c]
fsubp st(1)
fld st(1)
fld st(2)
fld st(2)
fld st(3)
fxch st(3)
fsin
cmp ecx, edx
fxch st(2)
fcos
fxch st(1)
fsin
fxch st(3)
fcos
fld dword [esp + 0x10]
fld dword [esp + 0x10]
fmulp st(4)
fmulp st(2)
fld dword [esp + 0x10]
fmulp st(4)
fxch st(2)
fstp dword [esp + 0x18]
fstp dword [esp + 0x14]
fxch st(1)
fstp dword [esp + 0x20]
fmul dword [esp + 0x10]
fstp dword [esp + 0x1c]
je 0x46ea38
cmp ecx, edi
je 0x46ea38
fld dword [esp + 0x10]
cmp ecx, 3
jne 0x46ea22
fstp st(0)
fld dword [esp + 0x10]
fchs
fld dword [esp + 0x14]
fdiv dword [esp + 0x18]
fmul st(1)
fxch st(1)
fstp dword [esp + 0x18]
fstp dword [esp + 0x14]
jmp 0x46ea5c
fld dword [esp + 0x10]
cmp ecx, edi
jne 0x46ea48
fstp st(0)
fld dword [esp + 0x10]
fchs
fld dword [esp + 0x18]
fdiv dword [esp + 0x14]
fmul st(1)
fxch st(1)
fstp dword [esp + 0x14]
fstp dword [esp + 0x18]
mov eax, dword [esp + 0x24]
cmp eax, edx
je 0x46ea8f
cmp eax, edi
je 0x46ea8f
fld dword [esp + 0x10]
cmp eax, 3
jne 0x46ea79
fstp st(0)
fld dword [esp + 0x10]
fchs
fld dword [esp + 0x1c]
fdiv dword [esp + 0x20]
fmul st(1)
fxch st(1)
fstp dword [esp + 0x20]
fstp dword [esp + 0x1c]
jmp 0x46eab3
fld dword [esp + 0x10]
cmp eax, edi
jne 0x46ea9f
fstp st(0)
fld dword [esp + 0x10]
fchs
fld dword [esp + 0x20]
fdiv dword [esp + 0x1c]
fmul st(1)
fxch st(1)
fstp dword [esp + 0x1c]
fstp dword [esp + 0x20]
fld dword [esp + 0x14]
fld dword [esp + 0x18]
fdiv dword [esp + 0x128]
fxch st(1)
mov eax, dword [esp + 0x120]
xor ebp, ebp
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x124]
mov dword [esp + 0x70], eax
xor ebx, ebx
mov dword [esp + 0x74], 0x3f000000
mov dword [esp + 0x78], 0x3f000000
fdiv dword [esp + 0x128]
fld dword [esp + 0x1c]
fld dword [esp + 0x20]
fdiv dword [esp + 0x128]
fxch st(1)
fdiv dword [esp + 0x128]
fxch st(4)
fsub st(5)
fxch st(3)
fsub qword [0x7d9384]
fxch st(2)
fsub qword [0x7d9384]
fld dword [esp + 0x10]
fxch st(2)
fsub qword [0x7d9384]
fstp dword [esp + 0x28]
fxch st(3)
fcomp dword [0x7d930c]
fld dword [esp + 0x18]
fld dword [esp + 0x14]
fxch st(5)
fsub qword [0x7d9384]
fstp dword [esp + 0x18]
fadd dword [esp + 0x120]
fxch st(4)
fadd dword [esp + 0x124]
fld dword [esp + 0x10]
fxch st(5)
fstp dword [esp + 0x7c]
fld dword [esp + 0x10]
fxch st(1)
fstp dword [esp + 0x80]
fxch st(1)
fchs
fld dword [esp + 0x10]
fxch st(3)
fst dword [esp + 0x14]
fstp dword [esp + 0x84]
fld dword [esp + 0x10]
fxch st(4)
fst dword [esp + 0x14]
fstp dword [esp + 0x88]
fld dword [0x7d9314]
fxch st(5)
fstp dword [esp + 0x5c]
fld dword [0x7d9314]
fxch st(2)
fstp dword [esp + 0x60]
fld dword [0x7d9328]
fxch st(1)
fstp dword [esp + 0x14]
fxch st(2)
fstp dword [esp + 0x4c]
fld dword [0x7d9328]
fld dword [0x7d9314]
fxch st(4)
fstp dword [esp + 0x58]
fld dword [0x7d9328]
fxch st(5)
fstp dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
fld dword [0x7d9328]
fxch st(2)
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
fstp dword [esp + 0x30]
fld dword [0x7d9314]
fxch st(3)
fstp dword [esp + 0x34]
fnstsw ax
fstp dword [esp + 0x38]
fxch st(2)
fstp dword [esp + 0x3c]
fxch st(2)
fstp dword [esp + 0x40]
test ah, 0x41
fstp dword [esp + 0x44]
fstp dword [esp + 0x48]
fstp st(0)
jne 0x46ec34
mov ebx, 1
mov eax, ecx
lea esi, [esp + 0xf0]
lea ecx, [esp + 0x90]
cmp ebx, edx
jne 0x46ec4e
cmp eax, dword [esp + 0x24]
je 0x46eca2
fld dword [esp + eax*4 + 0x5c]
fadd dword [esp + 0x120]
mov ebx, dword [esp + eax*4 + 0x2c]
mov word [esi - 4], dx
add ecx, 0x10
add esi, 6
fstp dword [ecx - 0x14]
fld dword [esp + eax*4 + 0x4c]
fadd dword [esp + 0x124]
fstp dword [ecx - 0x10]
mov dword [ecx - 0xc], ebx
mov ebx, dword [esp + eax*4 + 0x3c]
mov dword [ecx - 8], ebx
lea ebx, [edi - 1]
mov word [esi - 6], bx
mov word [esi - 8], di
inc edi
inc ebp
xor ebx, ebx
inc eax
cdq
xor eax, edx
sub eax, edx
and eax, 3
xor eax, edx
sub eax, edx
xor edx, edx
jmp 0x46ec44
fld dword [esp + 0x20]
fadd dword [esp + 0x120]
mov eax, edi
lea ecx, [edi - 1]
shl eax, 4
fstp dword [esp + eax + 0x6c]
fld dword [esp + 0x1c]
fadd dword [esp + 0x124]
fstp dword [esp + eax + 0x70]
fld dword [esp + 0x28]
fstp dword [esp + eax + 0x74]
fld dword [esp + 0x18]
fstp dword [esp + eax + 0x78]
lea eax, [ebp + ebp*2]
shl eax, 1
inc ebp
mov word [esp + eax + 0xec], dx
mov word [esp + eax + 0xf0], cx
mov ecx, dword [esp + 0x13c]
mov word [esp + eax + 0xee], di
mov eax, dword [esp + 0x140]
inc edi
push eax
mov eax, dword [esp + 0x138]
push edx
mov edx, dword [esp + 0x140]
push ecx
push edx
lea ecx, [esp + 0xfc]
push eax
lea edx, [esp + 0x80]
push ecx
push edx
push ebp
push edi
call fcn.005bf114
add esp, 0x24
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret 0x24