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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xd8
push esi
mov esi, dword [ebp + 0x14]
push edi
test esi, esi
je case.0x1001f472.0
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x4a4]
call eax
test eax, eax
jns 0x1001f45d
xor eax, eax
jmp 0x1001f46b
cmp eax, 0x1d
jle 0x1001f466
xor eax, eax
jmp 0x1001f46b
cmp eax, 0x1c
ja case.0x1001f472.1
movzx eax, byte [eax + 0x1001fcd8]
jmp dword [eax*4 + 0x1001fcd0]
mov ecx, esi
call fcn.1001d8b0
push esi
lea eax, [esp + 0xa4]
movss dword [esp + 0xc], xmm0
push eax
call fcn.1001e240
mov esi, dword [ebp + 8]
movzx eax, byte [esi + 0x34]
inc eax
push eax
call dword [0x10038afc]
mov dword [esp], 0x3f000000
push ecx
mov dword [esp], 0xbf000000
call dword [0x10038b10]
fstp dword [esp + 0x20]
mov dword [esp + 4], 0x3f000000
mov dword [esp], 0xbf000000
call dword [0x10038b10]
fadd dword [esp + 0x20]
mov dword [esp + 4], 0x3f000000
mov dword [esp], 0xbf000000
fstp dword [esp + 0x20]
movss xmm0, dword [esp + 0x20]
mulss xmm0, dword [esp + 0x10]
movss dword [esp + 0x34], xmm0
call dword [0x10038b10]
fstp dword [esp + 0x20]
mov dword [esp + 4], 0x3f000000
mov dword [esp], 0xbf000000
call dword [0x10038b10]
fadd dword [esp + 0x20]
add esp, 8
cmp byte [0x10049418], 0
movss xmm3, dword [0x10034650]
fmul dword [esp + 8]
fstp dword [esp + 0x18]
movss xmm1, dword [esp + 0x18]
movss dword [esp + 0x34], xmm1
je 0x1001f54b
cmp byte [ebp + 0x18], 0
jne 0x1001f563
movss xmm0, dword [esp + 0x2c]
xorps xmm1, xmm3
xorps xmm0, xmm3
movss dword [esp + 0x34], xmm1
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esi + 0x10]
lea eax, [esp + 0x38]
movss xmm1, dword [0x10034394]
mulss xmm0, xmm1
mov dword [esp + 8], eax
lea eax, [esp + 0xc]
mov dword [esp + 0x14], eax
movss dword [esp + 0x18], xmm0
fld dword [esp + 0x18]
fsincos
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x14]
fstp dword [edx]
fstp dword [eax]
movss xmm0, dword [esi + 0xc]
lea eax, [esp + 0x30]
mulss xmm0, xmm1
mov dword [esp + 8], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x14], eax
movss dword [esp + 0x18], xmm0
fld dword [esp + 0x18]
fsincos
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x14]
fstp dword [edx]
fstp dword [eax]
movss xmm0, dword [esi + 0x14]
lea eax, [esp + 0x10]
mulss xmm0, xmm1
mov dword [esp + 8], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x14], eax
movss dword [esp + 0x18], xmm0
fld dword [esp + 0x18]
fsincos
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x14]
fstp dword [edx]
fstp dword [eax]
movss xmm6, dword [esp + 0xc]
movss xmm0, dword [esp + 0x30]
movss xmm7, dword [esp + 0x38]
movaps xmm1, xmm0
movss xmm2, dword [esp + 0x3c]
mulss xmm0, xmm6
movss xmm5, dword [esp + 0x10]
mulss xmm1, xmm7
movaps xmm4, xmm5
movss dword [esp + 8], xmm0
movaps xmm0, xmm2
xorps xmm0, xmm3
mulss xmm5, dword [0x100345f4]
movss xmm3, dword [esp + 0x20]
movss dword [esp + 0x18], xmm1
movaps xmm1, xmm3
mulss xmm1, xmm2
movss dword [esp + 0x3c], xmm0
mulss xmm4, xmm6
movaps xmm0, xmm1
mulss xmm5, xmm7
mulss xmm0, xmm7
mulss xmm1, xmm6
subss xmm4, xmm0
movss xmm0, dword [esp + 0x10]
mulss xmm0, xmm2
movaps xmm2, xmm3
mulss xmm2, xmm6
subss xmm5, xmm1
movss dword [esp + 0xc], xmm0
movaps xmm1, xmm3
mulss xmm3, xmm7
mulss xmm0, xmm7
mulss xmm1, dword [0x100345f4]
addss xmm2, xmm0
movss xmm7, dword [esp + 0x10]
movss xmm0, dword [esp + 0xc]
mulss xmm0, xmm6
mulss xmm1, dword [esp + 0x30]
movaps xmm6, xmm0
mulss xmm7, dword [esp + 0x30]
subss xmm6, xmm3
movss dword [esp + 0x20], xmm2
movss xmm3, dword [esp + 0x2c]
movaps xmm0, xmm3
mulss xmm0, xmm4
movaps xmm4, xmm3
mulss xmm4, xmm5
addss xmm0, dword [esp + 0x18]
addss xmm4, dword [esp + 8]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esp + 0x34]
mulss xmm0, xmm2
movss xmm2, dword [esp + 0xc]
addss xmm2, xmm0
movss xmm0, dword [esp + 0x34]
mulss xmm0, xmm6
movsd xmm5, qword [0x100344b0]
movsd qword [esp + 0x80], xmm5
addss xmm4, xmm0
movss xmm0, dword [esp + 0x34]
mulss xmm0, xmm7
movss dword [esp + 0x10], xmm4
movaps xmm4, xmm3
movss xmm3, dword [esp + 0x10]
mulss xmm4, xmm1
movaps xmm1, xmm3
mulss xmm1, xmm3
addss xmm4, dword [esp + 0x3c]
addss xmm4, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm1, xmm0
movaps xmm0, xmm4
mulss xmm0, xmm4
addss xmm0, dword [0x10034374]
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
sqrtsd xmm1, xmm0
movaps xmm0, xmm5
divsd xmm0, xmm1
cvtpd2ps xmm0, xmm0
mulss xmm3, xmm0
mulss xmm4, xmm0
mulss xmm2, xmm0
movss dword [esp + 0x10], xmm3
movss xmm0, dword [esp + 0x10]
mulss xmm0, xmm7
movss dword [esp + 0x18], xmm3
movaps xmm3, xmm4
mulss xmm3, xmm6
movss dword [esp + 0xc], xmm2
movss dword [esp + 0x38], xmm2
subss xmm3, xmm0
mulss xmm2, xmm7
movss xmm7, dword [esp + 0x10]
movaps xmm0, xmm4
mulss xmm0, dword [esp + 0x20]
mulss xmm7, dword [esp + 0x20]
subss xmm2, xmm0
movss xmm0, dword [esp + 0xc]
mulss xmm0, xmm6
subss xmm7, xmm0
movaps xmm1, xmm2
mulss xmm1, xmm2
movaps xmm0, xmm3
mulss xmm0, xmm3
movss dword [esp + 0x3c], xmm7
addss xmm1, xmm0
movaps xmm0, xmm7
mulss xmm0, xmm7
addss xmm0, dword [0x10034374]
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movaps xmm1, xmm5
sqrtsd xmm0, xmm0
divsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss xmm1, dword [esp + 0x10]
movaps xmm6, xmm0
movss dword [esp + 0x20], xmm0
movaps xmm7, xmm0
mulss xmm1, xmm1
movss xmm0, dword [esp + 0xc]
mulss xmm0, xmm0
mulss xmm6, xmm3
addss xmm1, xmm0
movss xmm3, dword [0x10034650]
xorps xmm0, xmm0
mulss xmm7, xmm2
xorps xmm4, xmm3
movss dword [esp + 8], xmm4
sqrtss xmm0, xmm1
movss dword [esp + 0x30], xmm7
comiss xmm0, dword [0x10034378]
movss dword [esp + 0x14], xmm0
movss xmm2, dword [0x1003452c]
jbe 0x1001f8dd
movss xmm0, dword [esp + 0x20]
mulss xmm7, dword [esp + 0xc]
mulss xmm6, dword [esp + 0x10]
mulss xmm0, dword [esp + 0x3c]
subss xmm7, xmm6
movss dword [esp + 0x20], xmm0
fld dword [esp + 0x20]
movss dword [esp + 0x20], xmm7
fld dword [esp + 0x20]
fpatan
fstp dword [esp + 0x20]
fld dword [esp + 8]
fld dword [esp + 0x14]
fpatan
movss xmm1, dword [esp + 0x20]
fstp dword [esp + 8]
fld dword [esp + 0x18]
fld dword [esp + 0x38]
mulss xmm1, xmm2
jmp 0x1001f8ff
fld dword [esp + 8]
xorps xmm6, xmm3
fld dword [esp + 0x14]
xorps xmm1, xmm1
fpatan
movss dword [esp + 0x20], xmm6
fstp dword [esp + 8]
fld dword [esp + 0x20]
fld dword [esp + 0x30]
fpatan
lea eax, [esp + 0x5c]
mov esi, dword [ebp + 0xc]
xor edi, edi
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x38]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x60]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x64]
mov dword [esp + 0x58], eax
movss xmm0, dword [esp + 0x2c]
movss xmm4, dword [esp + 8]
xorps xmm0, xmm3
movss xmm5, dword [esp + 0x34]
movss dword [esp + 0x2c], xmm0
xorps xmm5, xmm3
mulss xmm4, xmm2
fstp dword [esp + 0x18]
movss xmm0, dword [esp + 0x18]
mulss xmm0, xmm2
movsd xmm2, qword [0x10034640]
movsd qword [esp + 0x90], xmm2
xorps xmm2, xmm2
movsd qword [esp + 0x70], xmm2
movsd xmm2, qword [0x100344e0]
movsd qword [esp + 0x78], xmm2
movsd xmm2, qword [0x100344f0]
movss dword [esp + 0xc], xmm1
movss dword [esp + 0x34], xmm5
movss dword [esp + 0x14], xmm4
movss dword [esp + 8], xmm0
movsd qword [esp + 0x88], xmm2
nop word [eax + eax]
movss xmm2, dword [0x10034394]
mulss xmm0, xmm2
movss dword [esp + 0x20], xmm0
fld dword [esp + 0x20]
fsincos
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x48]
fstp dword [edx]
fstp dword [eax]
mulss xmm4, xmm2
movss dword [esp + 0x20], xmm4
fld dword [esp + 0x20]
fsincos
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
fstp dword [edx]
fstp dword [eax]
mulss xmm1, xmm2
movss dword [esp + 0x20], xmm1
fld dword [esp + 0x20]
fsincos
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
fstp dword [edx]
fstp dword [eax]
movss xmm0, dword [esp + 0x38]
movss xmm6, dword [esp + 0x30]
movaps xmm1, xmm0
movss xmm7, dword [esp + 0x5c]
movss xmm2, dword [esp + 0x60]
mulss xmm0, xmm6
movss xmm5, dword [esp + 0x10]
mulss xmm1, xmm7
movaps xmm4, xmm5
movss dword [esp + 0x18], xmm0
movaps xmm0, xmm2
xorps xmm0, xmm3
mulss xmm5, dword [0x100345f4]
movss xmm3, dword [esp + 0x64]
movss dword [esp + 0x40], xmm0
movaps xmm0, xmm7
movss dword [esp + 0x20], xmm1
movaps xmm1, xmm3
mulss xmm1, xmm2
mulss xmm4, xmm6
mulss xmm0, xmm1
mulss xmm5, xmm7
subss xmm4, xmm0
movaps xmm0, xmm6
mulss xmm0, xmm1
movaps xmm6, xmm3
movss xmm1, dword [esp + 0x10]
mulss xmm1, xmm2
movaps xmm2, xmm3
mulss xmm2, dword [esp + 0x30]
subss xmm5, xmm0
mulss xmm6, dword [0x100345f4]
movaps xmm0, xmm7
mulss xmm0, xmm1
mulss xmm6, dword [esp + 0x38]
addss xmm2, xmm0
mulss xmm3, xmm7
movss xmm0, dword [esp + 0x30]
movss xmm7, dword [esp + 0x2c]
mulss xmm0, xmm1
movss xmm1, dword [esp + 0x10]
mulss xmm1, dword [esp + 0x38]
subss xmm0, xmm3
mulss xmm7, xmm4
movss xmm4, dword [esp + 0x34]
addss xmm7, dword [esp + 0x20]
movss dword [esp + 0x68], xmm0
movaps xmm0, xmm4
mulss xmm0, xmm2
movss xmm2, dword [esp + 0x2c]
movaps xmm3, xmm2
mulss xmm2, xmm6
addss xmm7, xmm0
mulss xmm3, xmm5
addss xmm2, dword [esp + 0x40]
movaps xmm0, xmm4
mulss xmm0, dword [esp + 0x68]
addss xmm3, dword [esp + 0x18]
addss xmm3, xmm0
movaps xmm0, xmm4
mulss xmm0, xmm1
addss xmm2, xmm0
movaps xmm1, xmm3
movaps xmm0, xmm7
mulss xmm1, xmm3
mulss xmm0, xmm7
addss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm0, dword [0x10034374]
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd xmm1, qword [esp + 0x80]
sqrtsd xmm0, xmm0
divsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
mulss xmm2, xmm0
mulss xmm3, xmm0
mulss xmm7, xmm0
cvtps2pd xmm0, xmm2
cvtps2pd xmm1, xmm3
movsd qword [esp + 0x68], xmm0
movsd xmm0, qword [esp + 0x70]
ucomisd xmm1, xmm0
cvtps2pd xmm4, xmm7
lahf
movsd qword [esp + 0x18], xmm4
movsd qword [esp + 0x20], xmm1
test ah, 0x44
jp 0x1001fbbf
ucomisd xmm4, xmm0
lahf
test ah, 0x44
jp 0x1001fbbf
movaps xmm1, xmm0
jmp 0x1001fc2c
movaps xmm0, xmm1
movaps xmm1, xmm4
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [esp + 0x78]
movsd xmm2, qword [esp + 0x70]
comisd xmm2, xmm0
movsd qword [esp + 0x40], xmm0
jbe 0x1001fbf1
addsd xmm0, qword [esp + 0x88]
movsd qword [esp + 0x40], xmm0
movsd xmm1, qword [esp + 0x20]
movsd xmm2, qword [esp + 0x18]
mulsd xmm1, xmm1
mulsd xmm2, xmm2
movsd xmm0, qword [esp + 0x68]
xorps xmm0, xmmword [esp + 0x90]
addsd xmm1, xmm2
sqrtsd xmm1, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [esp + 0x78]
movsd xmm1, qword [esp + 0x40]
movss xmm2, dword [esi]
movss xmm3, dword [esi + 4]
cvtsd2ss xmm0, xmm0
subss xmm2, xmm0
cvtpd2ps xmm0, xmm1
subss xmm3, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
movaps xmm1, xmm3
mulss xmm1, xmm3
addss xmm1, xmm0
xorps xmm0, xmm0
sqrtss xmm0, xmm1
movss xmm1, dword [esp + 0xc]
ucomiss xmm0, dword [0x10034370]
lahf
test ah, 0x44
jnp 0x1001fcae
addss xmm3, dword [esp + 8]
addss xmm2, dword [esp + 0x14]
addss xmm1, dword [esi + 8]
inc edi
movaps xmm0, xmm3
movss xmm3, dword [0x10034650]
movss dword [esp + 8], xmm0
movaps xmm4, xmm2
movss dword [esp + 0x14], xmm4
movss dword [esp + 0xc], xmm1
cmp edi, 0x18
jle 0x1001f9c0
jmp 0x1001fcba
movss xmm4, dword [esp + 0x14]
movss xmm0, dword [esp + 8]
movss dword [esi], xmm4
movss dword [esi + 4], xmm0
movss dword [esi + 8], xmm1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14