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

Disassembly:
fld qword [esp + 0x10]
fsub qword [esp + 0x30]
sub esp, 0x50
push ebx
push esi
push edi
mov esi, ecx
fstp qword [esp + 0xc]
fld qword [esp + 0x64]
mov eax, dword [esp + 0x10]
push ebp
fsub qword [esp + 0x88]
mov ecx, dword [esp + 0x10]
push eax
push ecx
fstp qword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push edx
push eax
call fcn.0049f350
fcom qword [0x4f6580]
add esp, 0x10
fstp qword [esp + 0x50]
fnstsw ax
test ah, 1
je 0x415b5d
mov eax, dword [esi]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x50
ret 0x40
fld qword [esp + 0x78]
fsub qword [esp + 0x88]
fst qword [esp + 0x18]
fabs
fcomp qword [0x4f6580]
fnstsw ax
test ah, 1
je 0x415ba4
fld qword [esp + 0x80]
fsub qword [esp + 0x90]
fabs
fcomp qword [0x4f6580]
fnstsw ax
test ah, 1
je 0x415ba4
mov eax, dword [esi]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x50
ret 0x40
fld qword [esp + 0x10]
fld qword [esp + 0x20]
fpatan
cmp dword [esp + 0x64], 2
fstp qword [esp + 0x10]
fld qword [esp + 0x80]
fsub qword [esp + 0x90]
fld qword [esp + 0x18]
fpatan
fstp qword [esp + 0x18]
fld qword [esp + 0x18]
fcomp qword [esp + 0x10]
fnstsw ax
jne 0x415bf0
test ah, 1
jne 0x415c03
fld qword [esp + 0x10]
fadd qword [0x4f6578]
fstp qword [esp + 0x10]
jmp 0x415c03
test ah, 0x41
je 0x415c03
fld qword [esp + 0x18]
fadd qword [0x4f6578]
fstp qword [esp + 0x18]
fld qword [esp + 0x18]
fsub qword [esp + 0x10]
mov edi, dword [esp + 0x98]
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
push eax
mov edx, dword [edi + 4]
fstp qword [esp + 0x1c]
push ecx
mov eax, dword [edi]
push edx
push eax
call fcn.0049f350
fdiv qword [0x518820]
add esp, 0x10
fmul qword [esp + 0x50]
fadd qword [0x4f65a0]
fdivr qword [0x4f6578]
fstp qword [esp + 0x10]
fldz
fcomp qword [esp + 0x18]
fnstsw ax
test ah, 0x41
jne 0x415c5e
fld qword [esp + 0x10]
fchs
fstp qword [esp + 0x10]
fld qword [esp + 0x18]
fdiv qword [esp + 0x10]
call fcn.004bcb50
fld qword [esp + 0x10]
fcos
cdq
xor eax, edx
sub eax, edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x3c], edx
fstp qword [esp + 0x50]
fld qword [esp + 0x10]
fsin
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x74]
mov dword [esp + 0x38], eax
lea ecx, [esp + 0x40]
mov eax, dword [esp + 0x70]
push ecx
push edi
mov ecx, dword [esp + 0x74]
push edx
push eax
mov edx, dword [esp + 0x78]
push ecx
push edx
fstp qword [esp + 0x30]
call fcn.0041a0c0
mov ebx, dword [esp + 0xb4]
add esp, 0x18
and ebx, 0x10000000
je 0x415cf5
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x44]
push ecx
push edx
push eax
call fcn.00418a70
add esp, 0x10
mov ebp, dword [esp + 0xa0]
test ebp, 0x100
je 0x415d28
mov eax, dword [esp + 0x4c]
push ebp
mov ecx, dword [esp + 0x4c]
push eax
mov edx, dword [esp + 0x4c]
push ecx
mov eax, dword [esp + 0x4c]
push edx
push eax
mov ecx, esi
and ebp, 0xfffffeff
call fcn.00414b50
mov dword [esi], eax
cmp dword [esp + 0x20], 0
jle 0x415e42
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x20]
and eax, 0x8000000
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x58], eax
fld qword [esp + 0x38]
fsub qword [esp + 0x88]
fld qword [esp + 0x10]
fsub qword [esp + 0x90]
fld qword [esp + 0x50]
fmul st(2)
fld qword [esp + 0x18]
fmul st(2)
lea eax, [esp + 0x28]
push eax
push edi
fsubp st(1)
fadd qword [esp + 0x90]
fstp qword [esp + 0x18]
fxch st(1)
fmul qword [esp + 0x20]
fxch st(1)
fmul qword [esp + 0x58]
mov eax, dword [esp + 0x1c]
faddp st(1)
fadd qword [esp + 0x98]
fstp qword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push ecx
push edx
mov ecx, dword [esp + 0x20]
push eax
push ecx
call fcn.0041a0c0
add esp, 0x18
cmp dword [esp + 0x58], 0
je 0x415dda
mov eax, dword [esp + 0x34]
push ebp
mov ecx, dword [esp + 0x34]
push eax
mov edx, dword [esp + 0x34]
push ecx
mov eax, dword [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.00414b50
mov dword [esi], eax
test ebx, ebx
je 0x415dfa
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x2c]
push ecx
push edx
push eax
call fcn.00418a70
add esp, 0x10
lea eax, [esp + 0x28]
lea ecx, [esp + 0x40]
dec dword [esp + 0x5c]
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x10]
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x38], edx
mov dword [esp + 0x10], ecx
jne 0x415d4b
fld qword [esp + 0x10]
fsub qword [esp + 0x80]
sub esp, 8
sub esp, 8
fstp qword [esp + 8]
fld qword [esp + 0x48]
fsub qword [esp + 0x88]
fstp qword [esp]
call fcn.0049f3a0
fcomp qword [0x4f6580]
add esp, 0x10
fnstsw ax
test ah, 1
jne 0x415ef0
lea eax, [esp + 0x28]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x80]
push eax
mov eax, dword [esp + 0x80]
push edi
push ecx
push edx
mov ecx, dword [esp + 0x88]
push eax
push ecx
call fcn.0041a0c0
add esp, 0x18
test byte [esp + 0x9f], 8
je 0x415ed0
mov eax, dword [esp + 0x34]
push ebp
mov ecx, dword [esp + 0x34]
push eax
mov edx, dword [esp + 0x34]
push ecx
mov eax, dword [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.00414b50
mov dword [esi], eax
test ebx, ebx
je 0x415ef0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x2c]
push ecx
push edx
push eax
call fcn.00418a70
add esp, 0x10
mov eax, dword [esi]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x50
ret 0x40