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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x578f0b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe04
fld qword [ebp + 0x14]
fcomp qword [0x58e0b0]
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [esp + 0x14], 0
fnstsw ax
mov dword [esp + 0x18], 0
mov dword [esp + 0x28], edi
test ah, 1
mov dword [esp + 0x24], edi
mov dword [esp + 0x6c], edi
je 0x471d12
mov dword [ebp + 0x14], 0xd2f1a9fc
mov dword [ebp + 0x18], 0x3f50624d
fld qword [ebp + 0x1c]
fcomp qword [0x588960]
fnstsw ax
test ah, 1
jne 0x471d6e
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
push edi
push edi
lea eax, [esp + 0x38]
push edi
push eax
mov eax, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0xe2c], edi
mov edi, dword [ebp + 8]
push edx
push eax
push ecx
push edi
mov ecx, esi
call fcn.0046e830
lea ecx, [esp + 0x30]
mov dword [esp + 0xe18], 0xffffffff
call sub.MFC42.DLL_CString::CString
jmp 0x4725b9
fld qword [ebp + 0xc]
fadd qword [0x585c78]
fst qword [esp + 0xc]
fcomp qword [0x588958]
fnstsw ax
test ah, 0x41
jne 0x471d96
fld qword [esp + 0xc]
fsub qword [0x588958]
fstp qword [esp + 0xc]
fld qword [esp + 0xc]
fadd qword [0x588960]
mov ecx, esi
fstp qword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push edx
push eax
call fcn.00471980
fcos
fstp qword [esp + 0xa8]
fld qword [esp + 0xc]
fadd qword [0x585c78]
fstp qword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
push ecx
push edx
mov ecx, esi
call fcn.00471980
fcos
mov edi, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x14]
push edi
push ebx
mov ecx, esi
fstp qword [esp + 0x6c]
call fcn.00471980
fsin
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push ecx
mov ecx, esi
fmul qword [esp + 0x6c]
fstp qword [esp + 0xb8]
call fcn.00471980
fcos
push edi
push ebx
mov ecx, esi
fstp qword [esp + 0x6c]
call fcn.00471980
fcos
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push edx
push eax
mov ecx, esi
fmul qword [esp + 0x6c]
fstp qword [esp + 0xc0]
call fcn.00471980
fsin
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
push ecx
push edx
mov ecx, esi
fstp qword [esp + 0xc8]
call fcn.00471980
fsin
push edi
push ebx
mov ecx, esi
fstp qword [esp + 0x24]
call fcn.00471980
fsin
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push ecx
mov ecx, esi
fmul qword [esp + 0x24]
fstp qword [esp + 0xd0]
call fcn.00471980
fsin
push edi
push ebx
mov ecx, esi
fstp qword [esp + 0x14]
call fcn.00471980
fcos
push edi
push ebx
mov ecx, esi
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
fmul qword [esp + 0x14]
fstp qword [esp + 0xd8]
call fcn.00471980
fcos
push edi
push ebx
mov ecx, esi
fstp qword [esp + 0xe8]
call fcn.00471980
fsin
xor ecx, ecx
mov dword [esp + 0x5c], 8
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x30], ecx
fstp qword [esp + 0xe8]
fld qword [ebp + 0x1c]
fcomp qword [0x58dff8]
fnstsw ax
test ah, 1
jne 0x471f08
mov dword [esp + 0x5c], 4
lea edx, [esp + 0x784]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x48], edx
lea eax, [esp + 0x780]
lea ecx, [esp + 0xf4]
lea edx, [esp + 0xf0]
mov dword [esp + 0x3c], 1
mov dword [esp + 0x40], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x50], edx
mov eax, dword [esp + 0x54]
mov dword [esp + 0x44], eax
fild dword [esp + 0x44]
mov ecx, esi
fstp qword [esp + 0xc]
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
push edi
push ebx
call fcn.00471980
fcos
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x1c]
push ecx
push edx
mov ecx, esi
fstp qword [esp + 0x14]
call fcn.00471980
fsin
push edi
push ebx
mov ecx, esi
fmul qword [esp + 0x14]
fstp qword [esp + 0x80]
call fcn.00471980
fsin
mov edi, dword [ebp + 0x20]
mov ebx, dword [ebp + 0x1c]
push edi
push ebx
mov ecx, esi
fstp qword [esp + 0x14]
call fcn.00471980
fsin
push edi
push ebx
mov ecx, esi
fmul qword [esp + 0x14]
fstp qword [esp + 0x88]
call fcn.00471980
fcos
lea eax, [esp + 0xa8]
lea ecx, [esp + 0x90]
mov ebx, 3
fstp qword [esp + 0x88]
mov dword [ecx], 0
mov dword [ecx + 4], 0
fld qword [ecx]
lea edx, [esp + 0x78]
mov edi, 3
fld qword [eax]
fmul qword [edx]
add eax, 8
add edx, 8
dec edi
faddp st(1)
jne 0x471ff7
fstp qword [ecx]
add ecx, 8
dec ebx
jne 0x471fdf
fld qword [esp + 0xa0]
call sub.MSVCRT.dll__CIasin
fstp qword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push ecx
mov ecx, esi
call fcn.00471990
fcomp qword [0x588960]
fnstsw ax
test ah, 0x40
jne 0x472086
fld qword [esp + 0x98]
fld qword [esp + 0x90]
fpatan
mov ecx, esi
fstp qword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push edx
push eax
call fcn.00471990
fcomp qword [0x585c78]
fnstsw ax
test ah, 1
je 0x472096
push 0x40668000
push 0
mov ecx, esi
call fcn.00471980
fadd qword [esp + 0x1c]
fstp qword [esp + 0x1c]
jmp 0x472096
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov ebx, dword [esp + 0x6c]
test ebx, ebx
jne 0x4720c6
fld qword [esp + 0xc]
fcomp qword [0x585c80]
fnstsw ax
test ah, 0x41
je 0x4720c6
mov eax, dword [esp + 0x44]
mov dword [esp + 0x4c], 1
dec eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x44], eax
jmp 0x4720d2
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x472172
fld qword [esp + 0xc]
fcomp qword [0x585c80]
fnstsw ax
test ah, 1
jne 0x472172
fld qword [esp + 0x1c]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x14]
push ecx
push edx
push 0
push 0
sub esp, 8
mov ecx, esi
fstp qword [esp]
call fcn.004719a0
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x24]
lea ecx, [esp + 0x28]
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
mov ecx, esi
call fcn.00471a00
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
mov dword [esp + edi*4 + 0xf0], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + edi*4 + 0x438], eax
mov dword [esp + edi*4 + 0xf4], edx
mov dword [esp + edi*4 + 0x43c], ecx
add edi, 2
mov dword [esp + 0x2c], edi
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x3c], 1
jmp 0x472176
mov edi, dword [esp + 0x2c]
test ebx, ebx
je 0x4721ae
fld qword [esp + 0xc]
fcomp qword [0x585c80]
fnstsw ax
test ah, 1
jne 0x4721ae
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x4721ae
mov eax, dword [esp + 0x44]
mov dword [esp + 0x58], 1
dec eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x44], eax
jmp 0x4721b6
mov eax, dword [esp + 0x58]
test eax, eax
je 0x4721c7
fld qword [esp + 0xc]
fcomp qword [0x585c80]
fnstsw ax
test ah, 0x41
jne 0x4721d8
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x472314
jmp 0x471f54
push 0x40668000
push 0
mov ecx, esi
call fcn.00471980
fadd qword [esp + 0x1c]
push 0x40768000
push 0
mov ecx, esi
fstp qword [esp + 0x24]
call fcn.00471980
fcomp qword [esp + 0x1c]
fnstsw ax
test ah, 1
je 0x47221d
push 0x40768000
push 0
mov ecx, esi
call fcn.00471980
fsubr qword [esp + 0x1c]
fstp qword [esp + 0x1c]
fld qword [esp + 0x1c]
lea edx, [esp + 0x18]
lea eax, [esp + 0x14]
push edx
push eax
push 0
push 0
sub esp, 8
mov ecx, esi
fstp qword [esp]
call fcn.004719a0
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x24]
lea edx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
push ecx
mov ecx, esi
call fcn.00471a00
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push 0x40668000
mov dword [eax], edx
mov edx, dword [esp + 0x38]
push 0
mov dword [esp + 0x14], 0
mov dword [edx], ecx
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x18], 0
mov dword [edx], ecx
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x44], 1
mov dword [ecx], edx
mov edx, dword [esp + 0x40]
add edx, 2
mov dword [esp + 0x40], edx
mov edx, 8
add eax, edx
add ecx, edx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x3c]
add eax, edx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x48]
add eax, edx
mov ecx, esi
mov dword [esp + 0x48], eax
call fcn.00471980
fadd qword [esp + 0x1c]
push 0x40768000
push 0
mov ecx, esi
fstp qword [esp + 0x24]
call fcn.00471980
fcomp qword [esp + 0x1c]
fnstsw ax
test ah, 1
je 0x47230c
push 0x40768000
push 0
mov ecx, esi
call fcn.00471980
fsubr qword [esp + 0x1c]
fstp qword [esp + 0x1c]
mov dword [esp + 0x64], 1
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push ecx
mov ecx, esi
call fcn.00471990
fcomp qword [0x585c80]
fnstsw ax
test ah, 0x41
jne 0x47233e
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x47243b
mov eax, dword [esp + 0x58]
test eax, eax
jne 0x47243b
fld qword [esp + 0xc]
fchs
fstp qword [esp + 0xc]
push 0x40668000
push 0
mov ecx, esi
mov dword [esp + 0x54], 0
mov dword [esp + 0x74], 1
call fcn.00471980
fadd qword [esp + 0x1c]
push 0x40768000
push 0
mov ecx, esi
fstp qword [esp + 0x24]
call fcn.00471980
fcomp qword [esp + 0x1c]
fnstsw ax
test ah, 1
je 0x4723a7
push 0x40768000
push 0
mov ecx, esi
call fcn.00471980
fsubr qword [esp + 0x1c]
jmp 0x4723ab
fld qword [esp + 0x1c]
fld qword [esp + 0xc]
lea edx, [esp + 0x18]
lea eax, [esp + 0x14]
push edx
push eax
sub esp, 8
mov ecx, esi
fstp qword [esp]
sub esp, 8
fstp qword [esp]
call fcn.004719a0
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x24]
lea edx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
push ecx
mov ecx, esi
call fcn.00471a00
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x28]
mov dword [eax], edx
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
mov dword [ecx], edx
mov edx, dword [esp + 0x40]
add eax, 8
add ecx, 8
mov dword [esp + 0x50], eax
mov dword [edx], edi
mov edi, dword [esp + 0x48]
add edx, 8
mov dword [esp + 0x34], ecx
mov dword [edi], ebx
mov ebx, dword [esp + 0x38]
add ebx, 2
add edi, 8
mov dword [esp + 0x38], ebx
mov dword [esp + 0x40], edx
mov dword [esp + 0x48], edi
jmp 0x472540
test ebx, ebx
jne 0x4724c9
fld qword [esp + 0xc]
fcomp qword [0x585c80]
fnstsw ax
test ah, 1
jne 0x4724c9
fld qword [esp + 0xc]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x14]
push eax
push ecx
sub esp, 8
mov ecx, esi
fstp qword [esp]
fld qword [esp + 0x2c]
sub esp, 8
fstp qword [esp]
call fcn.004719a0
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x24]
lea eax, [esp + 0x28]
push edx
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00471a00
fld dword [esp + 0x14]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
fstp dword [esp + edi*4 + 0xf0]
fld dword [esp + 0x18]
mov dword [esp + edi*4 + 0x438], eax
mov dword [esp + edi*4 + 0x43c], ecx
fstp dword [esp + edi*4 + 0xf4]
add edi, 2
mov dword [esp + 0x2c], edi
jmp 0x472540
fld qword [esp + 0xc]
lea edx, [esp + 0x18]
lea eax, [esp + 0x14]
push edx
push eax
sub esp, 8
mov ecx, esi
fstp qword [esp]
fld qword [esp + 0x2c]
sub esp, 8
fstp qword [esp]
call fcn.004719a0
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x24]
lea edx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
push ecx
mov ecx, esi
call fcn.00471a00
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + eax*4 + 0xf0], edx
mov edx, dword [esp + 0x28]
mov dword [esp + eax*4 + 0xf4], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + eax*4 + 0xac8], edx
mov dword [esp + eax*4 + 0xacc], ecx
add eax, 2
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x5c]
add eax, edx
cmp eax, 0x168
mov dword [esp + 0x54], eax
jle 0x471f4c
mov eax, dword [esp + 0x2c]
mov edi, dword [ebp + 8]
cmp eax, 4
jl 0x47257b
cdq
sub eax, edx
lea edx, [esp + 0x438]
sar eax, 1
push eax
push edx
push edi
mov ecx, esi
call fcn.00473090
mov eax, dword [esp + 0x38]
cmp eax, 4
jl 0x47259a
cdq
sub eax, edx
mov ecx, esi
sar eax, 1
push eax
lea eax, [esp + 0x784]
push eax
push edi
call fcn.00473090
mov eax, dword [esp + 0x30]
cmp eax, 4
jl 0x4725b9
cdq
sub eax, edx
lea ecx, [esp + 0xac8]
sar eax, 1
push eax
push ecx
push edi
mov ecx, esi
call fcn.00473090
mov ecx, dword [ebp + 0x18]
lea edx, [esp + 0x18]
lea eax, [esp + 0x14]
push edx
mov edx, dword [ebp + 0x14]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00471980
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
sub esp, 8
fstp qword [esp]
push eax
push ecx
mov ecx, esi
call fcn.00471980
sub esp, 8
mov ecx, esi
fstp qword [esp]
call fcn.004719a0
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x24]
lea eax, [esp + 0x28]
push edx
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00471a00
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x70]
push 0x646464
mov dword [esp + 0x78], ecx
push edx
push edi
mov ecx, esi
mov dword [esp + 0x7c], eax
call fcn.00467d00
mov ecx, dword [esp + 0xe10]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x1c