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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
fld qword [0x461830]
push ebx
fmul qword [0x45f928]
push esi
push edi
mov dword [esp + 0x7c], ecx
fst qword [esp + 0x50]
fmul qword [0x45f928]
fld st(0)
fcos
fmul qword [ebp + 8]
fstp qword [esp + 0x18]
fsin
fmul qword [ebp + 0x10]
fstp qword [esp + 0x10]
fld qword [esp + 0x50]
mov eax, dword [esp + 0x14]
fcos
mov ecx, dword [esp + 0x10]
push eax
push ecx
sub esp, 8
fmul qword [ebp + 8]
fstp qword [esp + 0x38]
fld qword [esp + 0x60]
fsin
fmul qword [ebp + 0x10]
fstp qword [esp + 0x30]
fld qword [esp + 0x28]
fsub qword [ebp + 8]
fstp qword [esp]
call fcn.00467060
fld qword [0x461830]
fmul qword [0x45f928]
faddp st(1)
fstp qword [esp + 0x48]
fld qword [esp + 0x30]
fsub qword [esp + 0x20]
fstp qword [esp + 8]
fld qword [esp + 0x38]
fsub qword [esp + 0x28]
fstp qword [esp]
call fcn.00467060
fld qword [0x461830]
mov ecx, dword [esp + 0x4c]
fmul qword [0x45f928]
add esp, 0x10
faddp st(1)
fstp qword [esp + 0x30]
fld qword [esp + 0x18]
mov edx, dword [esp + 0x34]
fadd qword [ebp + 8]
mov eax, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x3c]
fmul qword [0x45f928]
push eax
sub esp, 0x10
fstp qword [esp + 0x78]
lea eax, [esp + 0x58]
fld qword [esp + 0x28]
fmul qword [0x45f928]
fstp qword [esp + 0x58]
fld qword [esp + 0x38]
fadd qword [esp + 0x28]
fmul qword [0x45f928]
fstp qword [esp + 8]
fld qword [esp + 0x40]
fadd qword [esp + 0x30]
fmul qword [0x45f928]
fstp qword [esp]
push ecx
push edx
push eax
lea ecx, [esp + 0x84]
push ecx
call fcn.004672c0
mov edx, dword [esp + 0x88]
fld qword [esp + 0x88]
mov eax, dword [esp + 0x8c]
fsub qword [ebp + 8]
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x6c]
add esp, 0x28
mov dword [esp + 0x1c], eax
mov eax, edx
push eax
push ecx
sub esp, 8
fstp qword [esp]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
call fcn.00497859
fstp qword [esp + 0x48]
fld qword [esp + 0x60]
fmul qword [0x461860]
fld st(0)
fcos
fmul qword [ebp + 8]
fstp qword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
fsin
fmul qword [ebp + 0x10]
fstp qword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x3c]
push eax
push ecx
push edx
call fcn.00467060
fstp qword [esp + 0x50]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x64]
push edx
push eax
push ecx
lea edx, [esp + 0x80]
push edx
lea eax, [esp + 0xa4]
push eax
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
call fcn.00467560
fld qword [esp + 0x90]
fsub qword [esp + 0x68]
add esp, 0x48
sub esp, 0x10
fstp qword [esp + 8]
fld qword [esp + 0x78]
fsub qword [esp + 0x38]
fstp qword [esp]
call fcn.00497859
fcomp qword [0x4615d8]
add esp, 0x10
fnstsw ax
test ah, 5
jnp 0x477147
fld qword [esp + 0x40]
sub esp, 0x10
fsub qword [esp + 0x30]
fstp qword [esp + 8]
fld qword [esp + 0x70]
fsub qword [esp + 0x38]
fstp qword [esp]
call fcn.00497859
fcomp qword [0x4615d8]
add esp, 0x10
fnstsw ax
test ah, 5
jnp 0x477147
fld qword [esp + 0x50]
fmul qword [0x461858]
fsubr qword [esp + 0x50]
fst qword [esp + 0x50]
fmul qword [0x45f928]
fld st(0)
fcos
fmul qword [ebp + 8]
fstp qword [esp + 0x18]
fsin
fmul qword [ebp + 0x10]
fstp qword [esp + 0x10]
fld qword [esp + 0x50]
mov ecx, dword [esp + 0x14]
fcos
mov edx, dword [esp + 0x10]
push ecx
push edx
sub esp, 8
fmul qword [ebp + 8]
fstp qword [esp + 0x38]
fld qword [esp + 0x60]
fsin
fmul qword [ebp + 0x10]
fstp qword [esp + 0x30]
fld qword [esp + 0x28]
fsub qword [ebp + 8]
fstp qword [esp]
call fcn.00467060
fld qword [0x461830]
fmul qword [0x45f928]
faddp st(1)
fstp qword [esp + 0x48]
fld qword [esp + 0x30]
fsub qword [esp + 0x20]
fstp qword [esp + 8]
fld qword [esp + 0x38]
fsub qword [esp + 0x28]
fstp qword [esp]
call fcn.00467060
fld qword [0x461830]
mov edx, dword [esp + 0x4c]
fmul qword [0x45f928]
add esp, 0x10
faddp st(1)
fstp qword [esp + 0x30]
fld qword [esp + 0x18]
mov eax, dword [esp + 0x34]
fadd qword [ebp + 8]
mov ecx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x3c]
fmul qword [0x45f928]
push ecx
sub esp, 0x10
fstp qword [esp + 0x78]
lea ecx, [esp + 0x58]
fld qword [esp + 0x28]
fmul qword [0x45f928]
fstp qword [esp + 0x58]
fld qword [esp + 0x38]
fadd qword [esp + 0x28]
fmul qword [0x45f928]
fstp qword [esp + 8]
fld qword [esp + 0x40]
fadd qword [esp + 0x30]
fmul qword [0x45f928]
fstp qword [esp]
push edx
push eax
push ecx
lea edx, [esp + 0x84]
push edx
call fcn.004672c0
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x8c]
add esp, 0x28
mov edx, dword [esp + 0x40]
fld qword [esp + 0x60]
fsub qword [ebp + 8]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1c], ecx
mov ecx, eax
push ecx
push edx
sub esp, 8
fstp qword [esp]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
call fcn.00497859
fstp qword [esp + 0x48]
fld qword [esp + 0x60]
fmul qword [0x461860]
fld st(0)
fcos
fmul qword [ebp + 8]
fstp qword [esp + 0x38]
mov edx, dword [esp + 0x3c]
fsin
fmul qword [ebp + 0x10]
fstp qword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push eax
call fcn.00467060
fstp qword [esp + 0x50]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x64]
push edx
mov edx, dword [esp + 0x64]
push eax
push ecx
push edx
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0xa4]
push ecx
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
call fcn.00467560
fld qword [esp + 0x90]
fsub qword [esp + 0x68]
add esp, 0x48
sub esp, 0x10
fstp qword [esp + 8]
fld qword [esp + 0x78]
fsub qword [esp + 0x38]
fstp qword [esp]
call fcn.00497859
fcomp qword [0x4615d8]
add esp, 0x10
fnstsw ax
test ah, 5
jp 0x476ee4
fld qword [ebp + 0x18]
mov esi, dword [ebp + 0x3c]
fld st(0)
mov edi, dword [ebp + 0x38]
fcos
mov ebx, dword [ebp + 0x34]
fmul qword [ebp + 8]
fstp qword [esp + 0x70]
fld st(0)
fsin
fmul qword [ebp + 0x10]
fstp qword [esp + 0x58]
fld qword [esp + 0x50]
fmul qword [0x461850]
fst qword [esp + 0x88]
fadd st(1)
fcomp qword [ebp + 0x20]
fnstsw ax
test ah, 5
jp 0x4773c6
fld qword [esp + 0x50]
fmul qword [0x45f928]
fstp qword [esp + 0x90]
jmp 0x4771a0
fld qword [esp + 0x90]
sub esp, 0x10
fadd st(1)
fld st(0)
fcos
fmul qword [ebp + 8]
fstp qword [esp + 0x38]
fsin
fmul qword [ebp + 0x10]
fstp qword [esp + 0x30]
fld qword [esp + 0x60]
fadd st(1)
fstp qword [esp + 0x90]
fstp st(0)
fld qword [esp + 0x90]
fcos
fmul qword [ebp + 8]
fstp qword [esp + 0x28]
fld qword [esp + 0x90]
fsin
fmul qword [ebp + 0x10]
fstp qword [esp + 0x20]
fld qword [esp + 0x68]
fsub qword [esp + 0x30]
fstp qword [esp + 8]
fld qword [esp + 0x80]
fsub qword [esp + 0x38]
fstp qword [esp]
call fcn.00467060
fld qword [0x461830]
fmul qword [0x45f928]
faddp st(1)
fstp qword [esp + 0x48]
fld qword [esp + 0x30]
fsub qword [esp + 0x20]
fstp qword [esp + 8]
fld qword [esp + 0x38]
fsub qword [esp + 0x28]
fstp qword [esp]
call fcn.00467060
fld qword [0x461830]
mov ecx, dword [esp + 0x4c]
fmul qword [0x45f928]
add esp, 0x10
faddp st(1)
fstp qword [esp + 0x30]
fld qword [esp + 0x28]
mov edx, dword [esp + 0x34]
fadd qword [esp + 0x70]
mov eax, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x3c]
fmul qword [0x45f928]
push eax
sub esp, 0x10
fstp qword [esp + 0x78]
lea eax, [esp + 0x58]
fld qword [esp + 0x38]
fadd qword [esp + 0x70]
fmul qword [0x45f928]
fstp qword [esp + 0x58]
fld qword [esp + 0x38]
fadd qword [esp + 0x28]
fmul qword [0x45f928]
fstp qword [esp + 8]
fld qword [esp + 0x40]
fadd qword [esp + 0x30]
fmul qword [0x45f928]
fstp qword [esp]
push ecx
push edx
push eax
lea ecx, [esp + 0x84]
push ecx
call fcn.004672c0
fld qword [ebp + 0x40]
add esp, 0x28
fcomp qword [0x45f930]
mov edx, dword [ebp + 0x30]
push esi
push edi
push ebx
fnstsw ax
push edx
mov edx, dword [esp + 0x24]
test ah, 0x41
jne 0x47732d
mov eax, dword [ebp + 0x2c]
mov ecx, dword [ebp + 0x28]
push eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x7c]
push ecx
mov ecx, dword [esp + 0x7c]
push edx
mov edx, dword [esp + 0x9c]
push eax
mov eax, dword [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x74]
push eax
mov eax, dword [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x9c]
push edx
push eax
push ecx
jmp 0x47737c
fld qword [ebp + 0x28]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
fchs
sub esp, 8
fstp qword [esp]
push eax
fld qword [esp + 0x8c]
mov eax, dword [esp + 0x2c]
push ecx
fchs
mov ecx, dword [esp + 0x64]
sub esp, 8
fstp qword [esp]
push edx
fld qword [esp + 0x44]
mov edx, dword [esp + 0x6c]
push eax
fchs
sub esp, 8
fstp qword [esp]
push ecx
fld qword [esp + 0x9c]
push edx
fchs
sub esp, 8
fstp qword [esp]
mov ecx, dword [esp + 0xc4]
call fcn.00476b70
fld qword [esp + 0x80]
fld qword [esp + 0x88]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
fadd st(1)
mov edx, dword [esp + 0x10]
mov dword [esp + 0x70], eax
fcomp qword [ebp + 0x20]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x58], edx
fnstsw ax
test ah, 5
jnp 0x4771a0
fld qword [esp + 0x50]
fsubr st(1)
fcomp qword [ebp + 0x20]
fnstsw ax
test ah, 5
jp 0x4775cb
fld qword [ebp + 0x20]
sub esp, 0x10
fsub st(1)
fmul qword [0x45f928]
faddp st(1)
fld st(0)
fcos
fmul qword [ebp + 8]
fstp qword [esp + 0x38]
fsin
fmul qword [ebp + 0x10]
fstp qword [esp + 0x30]
fld qword [ebp + 0x20]
fcos
fmul qword [ebp + 8]
fstp qword [esp + 0x28]
fld qword [ebp + 0x20]
fsin
fmul qword [ebp + 0x10]
fstp qword [esp + 0x20]
fld qword [esp + 0x68]
fsub qword [esp + 0x30]
fstp qword [esp + 8]
fld qword [esp + 0x80]
fsub qword [esp + 0x38]
fstp qword [esp]
call fcn.00467060
fld qword [0x461830]
fmul qword [0x45f928]
faddp st(1)
fstp qword [esp + 0x48]
fld qword [esp + 0x30]
fsub qword [esp + 0x20]
fstp qword [esp + 8]
fld qword [esp + 0x38]
fsub qword [esp + 0x28]
fstp qword [esp]
call fcn.00467060
fld qword [0x461830]
mov eax, dword [esp + 0x4c]
fmul qword [0x45f928]
add esp, 0x10
faddp st(1)
fstp qword [esp + 0x30]
fld qword [esp + 0x28]
mov ecx, dword [esp + 0x34]
fadd qword [esp + 0x70]
mov edx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x3c]
fmul qword [0x45f928]
push edx
sub esp, 0x10
fstp qword [esp + 0x78]
lea edx, [esp + 0x58]
fld qword [esp + 0x38]
fadd qword [esp + 0x70]
fmul qword [0x45f928]
fstp qword [esp + 0x58]
fld qword [esp + 0x38]
fadd qword [esp + 0x28]
fmul qword [0x45f928]
fstp qword [esp + 8]
fld qword [esp + 0x40]
fadd qword [esp + 0x30]
fmul qword [0x45f928]
fstp qword [esp]
push eax
push ecx
push edx
lea eax, [esp + 0x84]
push eax
call fcn.004672c0
fld qword [ebp + 0x40]
fcomp qword [0x45f930]
add esp, 0x28
mov ecx, dword [ebp + 0x30]
fnstsw ax
push esi
test ah, 0x41
push edi
push ebx
push ecx
mov ecx, dword [esp + 0x24]
jne 0x477567
mov edx, dword [ebp + 0x2c]
mov eax, dword [ebp + 0x28]
push edx
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x7c]
push eax
mov eax, dword [esp + 0x7c]
push ecx
mov ecx, dword [esp + 0x9c]
push edx
mov edx, dword [esp + 0x9c]
push eax
mov eax, dword [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x9c]
push eax
mov eax, dword [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0xbc]
push edx
push eax
call fcn.00476b70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x40
fld qword [ebp + 0x28]
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x68]
fchs
sub esp, 8
fstp qword [esp]
push edx
fld qword [esp + 0x8c]
mov edx, dword [esp + 0x2c]
push eax
fchs
mov eax, dword [esp + 0x64]
sub esp, 8
fstp qword [esp]
push ecx
fld qword [esp + 0x44]
mov ecx, dword [esp + 0x6c]
push edx
fchs
sub esp, 8
fstp qword [esp]
push eax
fld qword [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0xbc]
fchs
sub esp, 8
fstp qword [esp]
call fcn.00476b70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x40
pop edi
fstp st(0)
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x40