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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1f0
mov eax, dword [0x1004c040]
xor eax, esp
mov dword [esp + 0x1ec], eax
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x84]
movss xmm2, dword [0x100475d0]
mov dword [esp + 0xb0], eax
lea eax, [esp + 0x88]
mov dword [esp + 0xc4], eax
lea eax, [esp + 0x80]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x8c]
mov dword [esp + 0x70], eax
lea eax, [esp + 0xdc]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [esp + 0x80], eax
xor edi, edi
lea eax, [esp + 0xd0]
movss dword [esp + 0xc8], xmm3
movss xmm3, dword [0x10047280]
mov dword [esp + 0x6c], ecx
mov byte [esp + 0x1b], 0
mov dword [esp + 0x70], 0x3e32b8c2
mov dword [esp + 0x84], eax
mov dword [esp + 0x7c], edi
movd xmm0, edi
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ecx + 0x10]
mulss xmm0, xmm3
movss dword [esp + 0x1c], xmm0
fld dword [esp + 0x1c]
fsincos
mov edx, dword [esp + 0xb8]
mov eax, dword [esp + 0xcc]
fstp dword [edx]
fstp dword [eax]
fld dword [esp + 0x70]
fsincos
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x78]
fstp dword [edx]
fstp dword [eax]
fld dword [esp + 0x7c]
fsincos
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x84]
fstp dword [edx]
fstp dword [eax]
movss xmm1, dword [esp + 0x88]
mov ecx, esi
mov eax, dword [esi]
movaps xmm0, xmm1
mulss xmm0, dword [esp + 0x8c]
mulss xmm1, dword [esp + 0x90]
mov eax, dword [eax + 0x24]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esp + 0x94]
xorps xmm0, xmm2
movss dword [esp + 0x20], xmm1
movss dword [esp + 0x14], xmm0
call eax
mov ecx, esi
movss xmm0, dword [eax]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esi + 0xd4]
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esi + 0xd8]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esi + 0xdc]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [eax + 8]
mov eax, dword [esi]
movss dword [esp + 0xc], xmm0
mov eax, dword [eax + 0x24]
call eax
movss xmm7, dword [0x10047414]
movss xmm2, dword [esp + 0x1c]
addss xmm2, dword [esp + 0x28]
movss xmm0, dword [esp + 0x2c]
movss xmm3, dword [esp + 0x30]
addss xmm3, dword [esp + 0x24]
movss xmm5, dword [eax + 4]
movss xmm4, dword [esi + 0xd4]
addss xmm4, dword [eax]
movss xmm1, dword [esp + 0xc]
addss xmm1, dword [esp + 0x10]
movss xmm6, dword [eax + 8]
addss xmm5, dword [esi + 0xd8]
addss xmm6, dword [esi + 0xdc]
mulss xmm0, xmm7
mov byte [esp + 0x69], 1
addss xmm2, xmm0
movss xmm0, dword [esp + 0x20]
mulss xmm0, xmm7
addss xmm3, xmm0
movss xmm0, dword [esp + 0x14]
mulss xmm0, xmm7
subss xmm2, xmm4
subss xmm3, xmm5
addss xmm1, xmm0
movss dword [esp + 0x44], xmm2
mulss xmm2, xmm2
movss dword [esp + 0x48], xmm3
subss xmm1, xmm6
mulss xmm3, xmm3
addss xmm3, xmm2
movss dword [esp + 0x4c], xmm1
mulss xmm1, xmm1
addss xmm3, xmm1
ucomiss xmm3, dword [0x10047250]
lahf
test ah, 0x44
jp 0x10038255
mov byte [esp + 0x69], 0
mov ecx, dword [0x1004c8e4]
lea edx, [esp + 0xe8]
push edx
mov dword [esp + 0x68], 0
lea edx, [esp + 0x3c]
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov byte [esp + 0x6c], 1
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
movss dword [esp + 0x3c], xmm4
movss dword [esp + 0x40], xmm5
movss dword [esp + 0x44], xmm6
mov eax, dword [ecx]
push 0
push 0x200400b
push edx
mov eax, dword [eax + 0x10]
call eax
movss xmm0, dword [esp + 0x114]
ucomiss xmm0, dword [0x10047348]
lahf
test ah, 0x44
jnp 0x1003889d
movss xmm0, dword [esp + 0x100]
xorps xmm1, xmm1
xorps xmm0, xmmword [0x100475d0]
xorps xmm2, xmm2
cvtss2sd xmm1, xmm0
movss xmm0, dword [esp + 0x104]
xorps xmm0, xmmword [0x100475d0]
cvtss2sd xmm2, xmm0
xorps xmm0, xmm0
ucomisd xmm2, xmm0
lahf
test ah, 0x44
jp 0x1003831c
ucomisd xmm1, xmm0
lahf
test ah, 0x44
jnp 0x1003833d
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x100473d0]
xorps xmm1, xmm1
comisd xmm1, xmm0
jbe 0x1003833d
addsd xmm0, qword [0x100473e0]
movss xmm4, dword [0x10047418]
lea eax, [esp + 0x9c]
movss xmm3, dword [0x10047280]
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm0
mov dword [esp + 0x10], eax
lea eax, [esp + 0xa0]
mov dword [esp + 0xc], eax
movaps xmm0, xmm2
movss dword [esp + 0x1c], xmm2
addss xmm0, xmm4
mulss xmm0, xmm3
movss dword [esp + 0x14], xmm0
fld dword [esp + 0x14]
fsincos
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
fstp dword [edx]
fstp dword [eax]
lea eax, [esp + 0x98]
mov dword [esp + 0x14], 0x3e32b8c2
mov dword [esp + 0x10], eax
lea eax, [esp + 0xa4]
mov dword [esp + 0xc], eax
fld dword [esp + 0x14]
fsincos
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
fstp dword [edx]
fstp dword [eax]
lea eax, [esp + 0xd4]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], eax
lea eax, [esp + 0xd8]
mov dword [esp + 0xc], eax
fld dword [esp + 0x14]
fsincos
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
fstp dword [edx]
fstp dword [eax]
movss xmm1, dword [esp + 0x98]
lea eax, [esp + 0xac]
movaps xmm0, xmm1
mov dword [esp + 0x10], eax
mulss xmm0, dword [esp + 0x9c]
lea eax, [esp + 0xb0]
mov dword [esp + 0xc], eax
mulss xmm1, dword [esp + 0xa0]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0xa4]
movss dword [esp + 0x30], xmm1
movss xmm1, dword [0x100475d0]
xorps xmm0, xmm1
movss dword [esp + 0x34], xmm0
movaps xmm0, xmm2
subss xmm0, xmm4
mulss xmm0, xmm3
movss dword [esp + 0x14], xmm0
fld dword [esp + 0x14]
fsincos
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
fstp dword [edx]
fstp dword [eax]
lea eax, [esp + 0xa8]
mov dword [esp + 0x14], 0x3e32b8c2
mov dword [esp + 0x10], eax
lea eax, [esp + 0xb4]
mov dword [esp + 0xc], eax
fld dword [esp + 0x14]
fsincos
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
fstp dword [edx]
fstp dword [eax]
lea eax, [esp + 0xdc]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], eax
lea eax, [esp + 0xe0]
mov dword [esp + 0xc], eax
fld dword [esp + 0x14]
fsincos
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
fstp dword [edx]
fstp dword [eax]
movss xmm0, dword [esp + 0xa8]
mov ecx, esi
movss xmm3, dword [esp + 0xb4]
movaps xmm2, xmm0
mulss xmm2, dword [esp + 0xac]
xorps xmm3, xmm1
mov eax, dword [esi]
mulss xmm0, dword [esp + 0xb0]
movss xmm1, dword [0x10047420]
mov eax, dword [eax + 0x24]
mulss xmm2, xmm1
mulss xmm0, xmm1
mulss xmm3, xmm1
movss dword [esp + 0xbc], xmm2
movss dword [esp + 0xc0], xmm0
movss dword [esp + 0xc4], xmm3
call eax
movss xmm0, dword [esi + 0xd4]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [eax]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esi + 0xd8]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x24], xmm0
mov ecx, esi
movss xmm0, dword [esi + 0xdc]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [eax + 8]
mov eax, dword [esi]
movss dword [esp + 0x2c], xmm0
mov eax, dword [eax + 0x24]
call eax
movss xmm7, dword [0x10047420]
movss xmm2, dword [esp + 0x14]
addss xmm2, dword [esp + 0x10]
movss xmm0, dword [esp + 0x20]
movss xmm1, dword [esp + 0xc]
addss xmm1, dword [esp + 0x24]
movss xmm4, dword [esi + 0xd4]
addss xmm4, dword [eax]
movss xmm5, dword [esi + 0xd8]
addss xmm5, dword [eax + 4]
movss xmm3, dword [esp + 0x34]
movss xmm6, dword [esi + 0xdc]
addss xmm6, dword [eax + 8]
mulss xmm0, xmm7
mov byte [esp + 0x69], 1
mulss xmm3, xmm7
addss xmm2, xmm0
movss xmm0, dword [esp + 0x30]
mulss xmm0, xmm7
addss xmm1, xmm0
movss xmm0, dword [esp + 0x2c]
addss xmm0, dword [esp + 0x28]
subss xmm2, xmm4
subss xmm1, xmm5
addss xmm0, xmm3
movss dword [esp + 0x44], xmm2
mulss xmm2, xmm2
movss dword [esp + 0x48], xmm1
subss xmm0, xmm6
mulss xmm1, xmm1
addss xmm2, xmm1
movss dword [esp + 0x4c], xmm0
mulss xmm0, xmm0
addss xmm2, xmm0
ucomiss xmm2, dword [0x10047250]
lahf
test ah, 0x44
jp 0x1003864a
mov byte [esp + 0x69], 0
mov ecx, dword [0x1004c8e4]
lea edx, [esp + 0x140]
push edx
mov dword [esp + 0x68], 0
lea edx, [esp + 0x3c]
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov byte [esp + 0x6c], 1
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
movss dword [esp + 0x3c], xmm4
movss dword [esp + 0x40], xmm5
movss dword [esp + 0x44], xmm6
mov eax, dword [ecx]
push 0
push 0x200400b
push edx
mov eax, dword [eax + 0x10]
call eax
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x24]
call eax
mov ecx, esi
movss xmm0, dword [eax]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esi + 0xd4]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esi + 0xd8]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esi + 0xdc]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [eax + 8]
mov eax, dword [esi]
movss dword [esp + 0x20], xmm0
mov eax, dword [eax + 0x24]
call eax
movss xmm2, dword [esp + 0x34]
addss xmm2, dword [esp + 0x14]
movss xmm1, dword [esp + 0x10]
addss xmm1, dword [esp + 0xc]
movss xmm3, dword [esi + 0xd4]
addss xmm3, dword [eax]
addss xmm2, dword [esp + 0xbc]
movss xmm4, dword [esi + 0xd8]
addss xmm4, dword [eax + 4]
movss xmm0, dword [esp + 0x20]
addss xmm0, dword [esp + 0x24]
addss xmm1, dword [esp + 0xc0]
movss xmm5, dword [esi + 0xdc]
subss xmm2, xmm3
addss xmm5, dword [eax + 8]
mov byte [esp + 0x69], 1
addss xmm0, dword [esp + 0xc4]
subss xmm1, xmm4
movss dword [esp + 0x44], xmm2
mulss xmm2, xmm2
subss xmm0, xmm5
movss dword [esp + 0x48], xmm1
mulss xmm1, xmm1
movss dword [esp + 0x4c], xmm0
addss xmm2, xmm1
mulss xmm0, xmm0
addss xmm2, xmm0
ucomiss xmm2, dword [0x10047250]
lahf
test ah, 0x44
jp 0x100387bc
mov byte [esp + 0x69], 0
mov ecx, dword [0x1004c8e4]
lea edx, [esp + 0x198]
push edx
mov dword [esp + 0x68], 0
lea edx, [esp + 0x3c]
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov byte [esp + 0x6c], 1
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
movss dword [esp + 0x3c], xmm3
movss dword [esp + 0x40], xmm4
movss dword [esp + 0x44], xmm5
mov eax, dword [ecx]
push 0
push 0x200400b
push edx
mov eax, dword [eax + 0x10]
call eax
movss xmm4, dword [esp + 0x16c]
movss xmm2, dword [0x10047348]
movss xmm3, dword [esp + 0x1c4]
ucomiss xmm4, xmm2
lahf
test ah, 0x44
jp 0x10038860
ucomiss xmm3, xmm2
lahf
test ah, 0x44
jnp 0x10038860
movss xmm0, dword [esp + 0x1c]
subss xmm0, dword [0x10047450]
jmp 0x10038883
movss xmm1, dword [esp + 0x1c]
ucomiss xmm4, xmm2
movaps xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10038883
ucomiss xmm3, xmm2
lahf
test ah, 0x44
jp 0x10038883
addss xmm0, dword [0x10047450]
subss xmm0, dword [esp + 0xc8]
mov ecx, dword [esp + 0x6c]
mov al, 1
mov byte [esp + 0x1b], al
movss dword [ecx + 0x10], xmm0
jmp 0x100388a5
mov al, byte [esp + 0x1b]
mov ecx, dword [esp + 0x6c]
movss xmm2, dword [0x100475d0]
inc edi
movss xmm3, dword [0x10047280]
cmp edi, 0x168
jl 0x100380a0
mov ecx, dword [esp + 0x1f4]
pop edi
pop esi
xor ecx, esp
call fcn.1003c1fe
mov esp, ebp
pop ebp
ret 8