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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1f8
mov eax, dword [0x1005f010]
xor eax, esp
mov dword [esp + 0x1f4], eax
mov eax, dword [ebp + 0xc]
movss xmm0, dword [0x10053f98]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x70]
mov dword [esp + 0xac], eax
lea eax, [esp + 0x74]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x6c]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x78]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0xe4]
push esi
push edi
mov dword [esp + 0x6c], eax
xor edi, edi
lea eax, [esp + 0xc4]
movss dword [esp + 0xb0], xmm3
mov byte [esp + 0x17], 0
mov dword [esp + 0x5c], 0x3e32b8c2
mov dword [esp + 0x70], eax
mov dword [esp + 0x68], edi
call fcn.10026690
mov esi, dword [ebp + 8]
movaps xmm6, xmm0
mulss xmm6, dword [0x100540cc]
xorps xmm1, xmm1
movsd xmm0, qword [0x10054098]
movss xmm3, dword [0x10054410]
addss xmm6, dword [0x100540d4]
movss xmm2, dword [0x10053f3c]
movsd qword [esp + 0xd8], xmm0
movsd xmm0, qword [0x100540a8]
movsd qword [esp + 0xb8], xmm1
movss dword [esp + 0x54], xmm6
movsd qword [esp + 0xe0], xmm0
nop
mov eax, dword [esp + 0x50]
xorps xmm0, xmm0
cvtsi2ss xmm0, edi
addss xmm0, dword [eax + 0x10]
mulss xmm0, xmm2
movss dword [esp + 0x18], xmm0
fld dword [esp + 0x18]
fsincos
mov edx, dword [esp + 0xb4]
mov eax, dword [esp + 0x58]
fstp dword [edx]
fstp dword [eax]
fld dword [esp + 0x5c]
fsincos
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
fstp dword [edx]
fstp dword [eax]
fld dword [esp + 0x68]
fsincos
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
fstp dword [edx]
fstp dword [eax]
movss xmm2, dword [esp + 0x74]
movss xmm0, dword [esp + 0x80]
movaps xmm1, xmm2
mulss xmm2, dword [esp + 0x7c]
xorps xmm0, xmm3
mov byte [esp + 0x4d], 1
mulss xmm1, dword [esp + 0x78]
movss xmm3, dword [esi + 0x29c]
movss xmm4, dword [esi + 0x2a0]
addss xmm3, dword [esi + 0xd4]
addss xmm4, dword [esi + 0xd8]
movss xmm5, dword [esi + 0x2a4]
addss xmm5, dword [esi + 0xdc]
mulss xmm2, xmm6
mulss xmm1, xmm6
addss xmm2, xmm4
mulss xmm0, xmm6
addss xmm1, xmm3
addss xmm0, xmm5
subss xmm2, xmm4
subss xmm1, xmm3
subss xmm0, xmm5
movss dword [esp + 0x2c], xmm2
mulss xmm2, xmm2
movss dword [esp + 0x28], xmm1
mulss xmm1, xmm1
movss dword [esp + 0x30], xmm0
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
ucomiss xmm2, dword [0x10053f14]
lahf
test ah, 0x44
jp 0x1003f665
mov byte [esp + 0x4d], 0
mov ecx, dword [0x10111a74]
lea edx, [esp + 0xf0]
push edx
mov dword [esp + 0x4c], 0
lea edx, [esp + 0x20]
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov byte [esp + 0x50], 1
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
movss dword [esp + 0x20], xmm3
movss dword [esp + 0x24], xmm4
movss dword [esp + 0x28], xmm5
mov eax, dword [ecx]
push 0
push 0x200400b
push edx
mov eax, dword [eax + 0x10]
call eax
movss xmm0, dword [esp + 0x11c]
ucomiss xmm0, dword [0x10054000]
lahf
test ah, 0x44
jnp 0x1003fc04
movss xmm0, dword [esp + 0x108]
xorps xmm1, xmm1
xorps xmm0, xmmword [0x10054410]
xorps xmm2, xmm2
cvtss2sd xmm1, xmm0
movss xmm0, dword [esp + 0x10c]
xorps xmm0, xmmword [0x10054410]
cvtss2sd xmm2, xmm0
movsd xmm0, qword [esp + 0xb8]
ucomisd xmm2, xmm0
lahf
test ah, 0x44
jp 0x1003f732
ucomisd xmm1, xmm0
lahf
test ah, 0x44
jnp 0x1003f75b
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [esp + 0xd8]
movsd xmm1, qword [esp + 0xb8]
comisd xmm1, xmm0
jbe 0x1003f75b
addsd xmm0, qword [esp + 0xe0]
movss xmm5, dword [0x100540e0]
lea eax, [esp + 0x88]
movss xmm4, dword [0x10053f3c]
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm0
mov dword [esp + 0xc], eax
lea eax, [esp + 0x8c]
mov dword [esp + 0x10], eax
movaps xmm0, xmm2
movss dword [esp + 0x18], xmm2
addss xmm0, xmm5
mulss xmm0, xmm4
movss dword [esp + 8], xmm0
fld dword [esp + 8]
fsincos
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
fstp dword [edx]
fstp dword [eax]
lea eax, [esp + 0x84]
mov dword [esp + 0x10], 0x3e32b8c2
mov dword [esp + 0xc], eax
lea eax, [esp + 0x90]
mov dword [esp + 8], eax
fld dword [esp + 0x10]
fsincos
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
fstp dword [edx]
fstp dword [eax]
lea eax, [esp + 0xc8]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
lea eax, [esp + 0xcc]
mov dword [esp + 8], eax
fld dword [esp + 0x10]
fsincos
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
fstp dword [edx]
fstp dword [eax]
movss xmm1, dword [esp + 0x84]
lea eax, [esp + 0x98]
movss xmm3, dword [0x10054410]
movaps xmm0, xmm1
mulss xmm0, dword [esp + 0x88]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x9c]
mulss xmm1, dword [esp + 0x8c]
mov dword [esp + 8], eax
movss dword [esp + 0xa4], xmm0
movss xmm0, dword [esp + 0x90]
xorps xmm0, xmm3
movss dword [esp + 0xa8], xmm1
movss dword [esp + 0xac], xmm0
movaps xmm0, xmm2
subss xmm0, xmm5
mulss xmm0, xmm4
movss dword [esp + 0x10], xmm0
fld dword [esp + 0x10]
fsincos
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
fstp dword [edx]
fstp dword [eax]
lea eax, [esp + 0x94]
mov dword [esp + 0x10], 0x3e32b8c2
mov dword [esp + 0xc], eax
lea eax, [esp + 0xa0]
mov dword [esp + 8], eax
fld dword [esp + 0x10]
fsincos
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
fstp dword [edx]
fstp dword [eax]
lea eax, [esp + 0xd0]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
lea eax, [esp + 0xd4]
mov dword [esp + 8], eax
fld dword [esp + 0x10]
fsincos
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
fstp dword [edx]
fstp dword [eax]
movss xmm1, dword [esp + 0x94]
movaps xmm0, xmm1
mulss xmm1, dword [esp + 0x9c]
mulss xmm0, dword [esp + 0x98]
movss dword [esp + 0xc], xmm1
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0xa0]
xorps xmm0, xmm3
movss dword [esp + 8], xmm0
movss xmm0, dword [0x10053fd4]
call fcn.10026690
addss xmm0, dword [0x10054000]
movss xmm4, dword [esi + 0x29c]
movss xmm5, dword [esi + 0x2a0]
mulss xmm0, dword [esp + 0x54]
movaps xmm1, xmm0
mulss xmm1, dword [esp + 0x10]
movss dword [esp + 0x10], xmm1
movaps xmm1, xmm0
mulss xmm1, dword [esp + 0xc]
movss dword [esp + 0xc], xmm1
movaps xmm1, xmm0
mulss xmm1, dword [esp + 8]
movss dword [esp + 8], xmm1
addss xmm4, dword [esi + 0xd4]
addss xmm5, dword [esi + 0xd8]
movss xmm2, dword [esp + 0xa4]
movss xmm3, dword [esp + 0xa8]
movss xmm6, dword [esi + 0x2a4]
addss xmm6, dword [esi + 0xdc]
movss xmm1, dword [esp + 0xac]
mulss xmm3, xmm0
mov byte [esp + 0x4d], 1
mulss xmm2, xmm0
addss xmm3, xmm5
mulss xmm1, xmm0
addss xmm2, xmm4
addss xmm1, xmm6
subss xmm3, xmm5
subss xmm2, xmm4
subss xmm1, xmm6
movss dword [esp + 0x2c], xmm3
mulss xmm3, xmm3
movss dword [esp + 0x28], xmm2
mulss xmm2, xmm2
movss dword [esp + 0x30], xmm1
mulss xmm1, xmm1
addss xmm3, xmm2
addss xmm3, xmm1
ucomiss xmm3, dword [0x10053f14]
lahf
test ah, 0x44
jp 0x1003fa27
mov byte [esp + 0x4d], 0
mov ecx, dword [0x10111a74]
lea edx, [esp + 0x148]
push edx
mov dword [esp + 0x4c], 0
lea edx, [esp + 0x20]
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov byte [esp + 0x50], 1
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
movss dword [esp + 0x20], xmm4
movss dword [esp + 0x24], xmm5
movss dword [esp + 0x28], xmm6
mov eax, dword [ecx]
push 0
push 0x200400b
push edx
mov eax, dword [eax + 0x10]
call eax
movss xmm3, dword [esi + 0x29c]
movss xmm4, dword [esi + 0x2a0]
addss xmm3, dword [esi + 0xd4]
addss xmm4, dword [esi + 0xd8]
movss xmm5, dword [esi + 0x2a4]
addss xmm5, dword [esi + 0xdc]
mov byte [esp + 0x4d], 1
movaps xmm2, xmm3
addss xmm2, dword [esp + 0x10]
movaps xmm1, xmm4
addss xmm1, dword [esp + 0xc]
movaps xmm0, xmm5
addss xmm0, dword [esp + 8]
subss xmm2, xmm3
subss xmm1, xmm4
subss xmm0, xmm5
movss dword [esp + 0x28], xmm2
mulss xmm2, xmm2
movss dword [esp + 0x2c], xmm1
mulss xmm1, xmm1
movss dword [esp + 0x30], xmm0
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
ucomiss xmm2, dword [0x10053f14]
lahf
test ah, 0x44
jp 0x1003fb23
mov byte [esp + 0x4d], 0
mov ecx, dword [0x10111a74]
lea edx, [esp + 0x1a0]
push edx
mov dword [esp + 0x4c], 0
lea edx, [esp + 0x20]
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov byte [esp + 0x50], 1
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
movss dword [esp + 0x20], xmm3
movss dword [esp + 0x24], xmm4
movss dword [esp + 0x28], xmm5
mov eax, dword [ecx]
push 0
push 0x200400b
push edx
mov eax, dword [eax + 0x10]
call eax
movss xmm4, dword [esp + 0x174]
movss xmm3, dword [0x10054000]
movss xmm2, dword [esp + 0x1cc]
ucomiss xmm4, xmm3
lahf
test ah, 0x44
jp 0x1003fbc7
ucomiss xmm2, xmm3
lahf
test ah, 0x44
jnp 0x1003fbc7
movss xmm0, dword [esp + 0x18]
subss xmm0, dword [0x10054120]
jmp 0x1003fbea
movss xmm1, dword [esp + 0x18]
ucomiss xmm4, xmm3
movaps xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1003fbea
ucomiss xmm2, xmm3
lahf
test ah, 0x44
jp 0x1003fbea
addss xmm0, dword [0x10054120]
subss xmm0, dword [esp + 0xb0]
mov eax, dword [esp + 0x50]
movss dword [eax + 0x10], xmm0
mov al, 1
mov byte [esp + 0x17], al
jmp 0x1003fc08
mov al, byte [esp + 0x17]
movss xmm3, dword [0x10054410]
inc edi
movss xmm6, dword [esp + 0x54]
movss xmm2, dword [0x10053f3c]
cmp edi, 0x168
jl 0x1003f560
mov ecx, dword [esp + 0x1fc]
pop edi
pop esi
xor ecx, esp
call fcn.1004305e
mov esp, ebp
pop ebp
ret 8