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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x200
mov eax, dword [0x1005200c]
xor eax, esp
mov dword [esp + 0x1fc], eax
push esi
push edi
movss dword [esp + 0xb0], xmm3
movsd xmm0, qword [0x1004cfd0]
lea eax, [esp + 0x78]
mov ecx, dword [ebp + 0xc]
xorps xmm1, xmm1
movss xmm4, dword [0x1004d270]
movss xmm2, dword [0x1004ce58]
mov dword [esp + 0xa4], eax
lea eax, [esp + 0x7c]
mov dword [esp + 0xac], eax
lea eax, [esp + 0x74]
mov dword [esp + 0xb4], eax
lea eax, [esp + 0x80]
mov dword [esp + 0x64], eax
lea eax, [esp + 0xf4]
movsd qword [esp + 0xd8], xmm0
movsd xmm0, qword [0x1004cf50]
mov esi, dword [ebp + 8]
mov dword [esp + 0x6c], eax
xor edi, edi
movsd qword [esp + 0xe0], xmm0
lea eax, [esp + 0xc4]
movsd xmm0, qword [0x1004cfd8]
movss xmm3, dword [0x1004d014]
mov dword [esp + 0x60], ecx
mov byte [esp + 0x1b], 0
mov dword [esp + 0x94], 0x3e32b8c2
mov dword [esp + 0x70], eax
mov dword [esp + 0x68], edi
movsd qword [esp + 0xb8], xmm1
movsd qword [esp + 0xe8], xmm0
nop
movd xmm0, edi
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ecx + 0x10]
mulss xmm0, xmm2
movss dword [esp + 0x1c], xmm0
fld dword [esp + 0x1c]
fsincos
mov edx, dword [esp + 0xa4]
mov eax, dword [esp + 0xac]
fstp dword [edx]
fstp dword [eax]
fld dword [esp + 0x94]
fsincos
mov edx, dword [esp + 0xb4]
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]
mov ecx, esi
movss xmm1, dword [esp + 0x80]
movaps xmm0, xmm2
mulss xmm0, dword [esp + 0x78]
xorps xmm1, xmm4
mov eax, dword [esi]
mulss xmm2, dword [esp + 0x7c]
mulss xmm0, xmm3
mov eax, dword [eax + 0x24]
mulss xmm2, xmm3
mulss xmm1, xmm3
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x10], xmm2
movss dword [esp + 0xc], xmm1
call eax
movss xmm2, dword [esi + 0xd8]
mov ecx, esi
movss xmm0, dword [esi + 0xdc]
movss xmm1, dword [eax]
addss xmm2, dword [eax + 4]
addss xmm0, dword [eax + 8]
addss xmm1, dword [esi + 0xd4]
mov eax, dword [esi]
addss xmm2, dword [esp + 0x10]
addss xmm0, dword [esp + 0xc]
addss xmm1, dword [esp + 0x1c]
mov eax, dword [eax + 0x24]
movss dword [esp + 0x10], xmm2
movss dword [esp + 0xc], xmm0
movss dword [esp + 0x1c], xmm1
call eax
movss xmm3, dword [esi + 0xd4]
movss xmm4, dword [esi + 0xd8]
movss xmm5, dword [esi + 0xdc]
addss xmm3, dword [eax]
addss xmm4, dword [eax + 4]
addss xmm5, dword [eax + 8]
movss xmm1, dword [esp + 0x1c]
movss xmm2, dword [esp + 0x10]
movss xmm0, dword [esp + 0xc]
subss xmm1, xmm3
subss xmm2, xmm4
mov byte [esp + 0x5d], 1
subss xmm0, xmm5
movss dword [esp + 0x38], xmm1
movss dword [esp + 0x3c], xmm2
mulss xmm2, xmm2
mulss xmm1, xmm1
movss dword [esp + 0x40], xmm0
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
ucomiss xmm2, dword [0x1004ce28]
lahf
test ah, 0x44
jp 0x10038664
mov byte [esp + 0x5d], 0
mov ecx, dword [0x1006c4b8]
lea edx, [esp + 0xf8]
push edx
mov dword [esp + 0x5c], 0
lea edx, [esp + 0x30]
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov byte [esp + 0x60], 1
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
movss dword [esp + 0x30], xmm3
movss dword [esp + 0x34], xmm4
movss dword [esp + 0x38], xmm5
mov eax, dword [ecx]
push 0
push 0x200400b
push edx
mov eax, dword [eax + 0x10]
call eax
movss xmm0, dword [esp + 0x124]
ucomiss xmm0, dword [0x1004cf24]
lahf
test ah, 0x44
jnp 0x10038c46
movss xmm1, dword [esp + 0x114]
mulss xmm1, dword [0x1004d110]
movss xmm0, dword [esp + 0x110]
mulss xmm0, dword [0x1004d110]
cvtps2pd xmm1, xmm1
cvtps2pd xmm2, xmm0
movsd xmm0, qword [esp + 0xb8]
ucomisd xmm1, xmm0
lahf
test ah, 0x44
jp 0x1003872b
ucomisd xmm2, xmm0
lahf
test ah, 0x44
jnp 0x10038760
movaps xmm0, xmm1
movaps xmm1, 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]
mulsd xmm0, qword [esp + 0xe0]
comisd xmm1, xmm0
jbe 0x10038760
addsd xmm0, qword [esp + 0xe8]
movss xmm7, dword [0x1004d018]
lea eax, [esp + 0x88]
movss xmm5, dword [0x1004ce58]
xorps xmm4, xmm4
cvtsd2ss xmm4, xmm0
mov dword [esp + 0x10], eax
lea eax, [esp + 0x8c]
mov dword [esp + 0x14], eax
movaps xmm0, xmm4
movss dword [esp + 0x1c], xmm4
addss xmm0, xmm7
mulss xmm0, xmm5
movss dword [esp + 0xc], xmm0
fld dword [esp + 0xc]
fsincos
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
fstp dword [edx]
fstp dword [eax]
lea eax, [esp + 0x84]
mov dword [esp + 0x14], 0x3e32b8c2
mov dword [esp + 0xc], eax
lea eax, [esp + 0x90]
mov dword [esp + 0x10], eax
fld dword [esp + 0x14]
fsincos
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
fstp dword [edx]
fstp dword [eax]
lea eax, [esp + 0xc8]
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], eax
lea eax, [esp + 0xcc]
mov dword [esp + 0x10], eax
fld dword [esp + 0x14]
fsincos
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
fstp dword [edx]
fstp dword [eax]
movss xmm3, dword [esp + 0x84]
lea eax, [esp + 0x98]
movss xmm2, dword [esp + 0x90]
movaps xmm0, xmm4
movss xmm6, dword [0x1004d270]
subss xmm0, xmm7
movaps xmm1, xmm3
mov dword [esp + 0xc], eax
mulss xmm1, dword [esp + 0x88]
lea eax, [esp + 0x9c]
mov dword [esp + 0x10], eax
mulss xmm3, dword [esp + 0x8c]
xorps xmm2, xmm6
mulss xmm0, xmm5
movss dword [esp + 0x14], xmm0
fld dword [esp + 0x14]
fsincos
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
fstp dword [edx]
fstp dword [eax]
lea eax, [esp + 0xa8]
mov dword [esp + 0x14], 0x3e32b8c2
mov dword [esp + 0xc], eax
lea eax, [esp + 0xa0]
mov dword [esp + 0x10], eax
fld dword [esp + 0x14]
fsincos
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
fstp dword [edx]
fstp dword [eax]
lea eax, [esp + 0xd0]
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], eax
lea eax, [esp + 0xd4]
mov dword [esp + 0x10], eax
fld dword [esp + 0x14]
fsincos
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
fstp dword [edx]
fstp dword [eax]
movss xmm0, dword [esp + 0xa8]
mov ecx, esi
movss xmm5, dword [esp + 0xa0]
movaps xmm4, xmm0
mulss xmm4, dword [esp + 0x98]
xorps xmm5, xmm6
mov eax, dword [esi]
movss xmm6, dword [0x1004d020]
mulss xmm0, dword [esp + 0x9c]
mov eax, dword [eax + 0x24]
mulss xmm1, xmm6
mulss xmm3, xmm6
mulss xmm2, xmm6
mulss xmm4, xmm6
mulss xmm0, xmm6
mulss xmm5, xmm6
movss dword [esp + 0x14], xmm1
movss dword [esp + 0xc], xmm3
movss dword [esp + 0x10], xmm2
movss dword [esp + 0x24], xmm4
movss dword [esp + 0x20], xmm0
movss dword [esp + 0x28], xmm5
call eax
movss xmm1, dword [esi + 0xd4]
movss xmm2, dword [esi + 0xd8]
addss xmm1, dword [eax]
addss xmm2, dword [eax + 4]
movss xmm0, dword [esi + 0xdc]
mov ecx, esi
addss xmm0, dword [eax + 8]
addss xmm1, dword [esp + 0x14]
addss xmm2, dword [esp + 0xc]
mov eax, dword [esi]
addss xmm0, dword [esp + 0x10]
movss dword [esp + 0x14], xmm1
mov eax, dword [eax + 0x24]
movss dword [esp + 0xc], xmm2
movss dword [esp + 0x10], xmm0
call eax
movss xmm3, dword [esi + 0xd4]
movss xmm4, dword [esi + 0xd8]
movss xmm5, dword [esi + 0xdc]
addss xmm3, dword [eax]
addss xmm4, dword [eax + 4]
addss xmm5, dword [eax + 8]
movss xmm1, dword [esp + 0x14]
movss xmm2, dword [esp + 0xc]
movss xmm0, dword [esp + 0x10]
subss xmm1, xmm3
subss xmm2, xmm4
mov byte [esp + 0x5d], 1
subss xmm0, xmm5
movss dword [esp + 0x38], xmm1
movss dword [esp + 0x3c], xmm2
mulss xmm2, xmm2
mulss xmm1, xmm1
movss dword [esp + 0x40], xmm0
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
ucomiss xmm2, dword [0x1004ce28]
lahf
test ah, 0x44
jp 0x10038a2c
mov byte [esp + 0x5d], 0
mov ecx, dword [0x1006c4b8]
lea edx, [esp + 0x1a8]
push edx
mov dword [esp + 0x5c], 0
lea edx, [esp + 0x30]
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov byte [esp + 0x60], 1
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
movss dword [esp + 0x30], xmm3
movss dword [esp + 0x34], xmm4
movss dword [esp + 0x38], xmm5
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
movss xmm2, dword [esi + 0xd8]
mov ecx, esi
movss xmm0, dword [esi + 0xdc]
movss xmm1, dword [eax]
addss xmm2, dword [eax + 4]
addss xmm0, dword [eax + 8]
addss xmm1, dword [esi + 0xd4]
mov eax, dword [esi]
addss xmm2, dword [esp + 0x20]
addss xmm0, dword [esp + 0x28]
addss xmm1, dword [esp + 0x24]
mov eax, dword [eax + 0x24]
movss dword [esp + 0x20], xmm2
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x24], xmm1
call eax
movss xmm3, dword [esi + 0xd4]
movss xmm4, dword [esi + 0xd8]
movss xmm5, dword [esi + 0xdc]
addss xmm3, dword [eax]
addss xmm4, dword [eax + 4]
addss xmm5, dword [eax + 8]
movss xmm1, dword [esp + 0x24]
movss xmm2, dword [esp + 0x20]
movss xmm0, dword [esp + 0x28]
subss xmm1, xmm3
subss xmm2, xmm4
mov byte [esp + 0x5d], 1
subss xmm0, xmm5
movss dword [esp + 0x38], xmm1
movss dword [esp + 0x3c], xmm2
mulss xmm2, xmm2
mulss xmm1, xmm1
movss dword [esp + 0x40], xmm0
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
ucomiss xmm2, dword [0x1004ce28]
lahf
test ah, 0x44
jp 0x10038b71
mov byte [esp + 0x5d], 0
mov ecx, dword [0x1006c4b8]
lea edx, [esp + 0x150]
push edx
mov dword [esp + 0x5c], 0
lea edx, [esp + 0x30]
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov byte [esp + 0x60], 1
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
movss dword [esp + 0x30], xmm3
movss dword [esp + 0x34], xmm4
movss dword [esp + 0x38], xmm5
mov eax, dword [ecx]
push 0
push 0x200400b
push edx
mov eax, dword [eax + 0x10]
call eax
movss xmm0, dword [esp + 0x1d4]
movss xmm1, dword [0x1004cf24]
ucomiss xmm0, xmm1
movss xmm0, dword [esp + 0x17c]
lahf
test ah, 0x44
jp 0x10038c15
ucomiss xmm0, xmm1
movss xmm0, dword [esp + 0x1c]
lahf
test ah, 0x44
jnp 0x10038c2c
subss xmm0, dword [0x1004d058]
jmp 0x10038c2c
ucomiss xmm0, xmm1
movss xmm0, dword [esp + 0x1c]
lahf
test ah, 0x44
jp 0x10038c2c
addss xmm0, dword [0x1004d058]
subss xmm0, dword [esp + 0xb0]
mov ecx, dword [esp + 0x60]
mov al, 1
mov byte [esp + 0x1b], al
movss dword [ecx + 0x10], xmm0
jmp 0x10038c4e
mov al, byte [esp + 0x1b]
mov ecx, dword [esp + 0x60]
movss xmm3, dword [0x1004d014]
inc edi
movss xmm4, dword [0x1004d270]
movss xmm2, dword [0x1004ce58]
cmp edi, 0x168
jl 0x100384f0
mov ecx, dword [esp + 0x204]
pop edi
pop esi
xor ecx, esp
call fcn.1003da32
mov esp, ebp
pop ebp
ret 8