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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x118
mov eax, dword [0x1002000c]
xor eax, esp
mov dword [esp + 0x114], eax
push esi
push edi
push 0x30
lea eax, [esp + 0xd0]
mov edi, edx
push 0
push eax
mov dword [esp + 0x44], edi
mov esi, ecx
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x5c]
movss xmm0, dword [0x1001c85c]
add esp, 0xc
movss xmm6, dword [edi + 0xc]
xorps xmm4, xmm4
movss xmm7, dword [edi + 0x10]
movss xmm3, dword [edi + 0x14]
subss xmm6, dword [esi]
subss xmm7, dword [esi + 4]
subss xmm3, dword [esi + 8]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [eax]
movss dword [esp + 0x104], xmm0
addss xmm6, xmm6
movss xmm0, dword [eax + 4]
addss xmm7, xmm7
movss dword [esp + 0x108], xmm0
addss xmm3, xmm3
movss xmm0, dword [eax + 8]
mov eax, dword [ebp + 0xc]
addss xmm6, dword [esi]
addss xmm7, dword [esi + 4]
addss xmm3, dword [esi + 8]
movss dword [esp + 0x10c], xmm0
movss xmm0, dword [eax]
movss dword [esp + 0x110], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x114], xmm0
movss xmm0, dword [eax + 8]
mov dword [esp + 0xb0], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc0], 0
movss dword [esp + 0x118], xmm0
movss dword [esp + 0x2c], xmm6
movss dword [esp + 0x30], xmm7
movss dword [esp + 0x34], xmm3
call fcn.100013d0
movss xmm5, dword [esi]
movaps xmm2, xmm6
movss xmm6, dword [esi + 4]
subss xmm2, xmm5
movaps xmm1, xmm7
mov byte [esp + 0x91], 1
movss xmm7, dword [esi + 8]
subss xmm1, xmm6
movaps xmm0, xmm3
subss xmm0, xmm7
movss dword [esp + 0x60], xmm2
mulss xmm2, xmm2
movss dword [esp + 0x64], xmm1
mulss xmm1, xmm1
movss dword [esp + 0x68], xmm0
mulss xmm0, xmm0
addss xmm1, xmm2
addss xmm1, xmm0
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x100049c8
mov byte [esp + 0x91], 0
mov ecx, dword [0x10020dcc]
lea edx, [esp + 0xa8]
mov eax, dword [ebp + 0x10]
push edx
lea edx, [esp + 0x44]
mov dword [esp + 0x84], 0
push edx
mov dword [esp + 0x8c], 0
lea edx, [esp + 0x58]
mov dword [esp + 0x90], 0
mov byte [esp + 0x98], 1
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
movss dword [esp + 0x58], xmm5
movss dword [esp + 0x5c], xmm6
movss dword [esp + 0x60], xmm7
mov dword [esp + 0x48], vtable.CTraceFilterSimple.0
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov eax, dword [ecx]
push 0x200400b
push edx
call dword [eax + 0x10]
movss xmm0, dword [0x1001c804]
comiss xmm0, dword [esp + 0xd4]
jbe 0x10004a94
lea eax, [esp + 0xa8]
mov ecx, edi
push eax
call fcn.10004cf0
pop edi
pop esi
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.10017968
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x104]
mov dword [esp + 0x28], 2
mov dword [esp + 0x24], eax
nop word [eax + eax]
movss xmm1, dword [esp + 0x2c]
addss xmm1, dword [eax]
lea eax, [esp + 0x108]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x18], eax
movss dword [esp + 0x20], xmm1
movss xmm0, dword [esp + 0x30]
lea edi, [esp + 0x10c]
addss xmm0, dword [eax]
mov dword [esp + 0x14], 2
movss dword [esp + 0x3c], xmm0
lea ecx, [esp + 0x50]
call fcn.100013d0
movss xmm3, dword [esi]
movaps xmm2, xmm1
movss xmm4, dword [esi + 4]
subss xmm2, xmm3
movss xmm5, dword [esi + 8]
movaps xmm1, xmm0
movss xmm0, dword [esp + 0x34]
subss xmm1, xmm4
addss xmm0, dword [edi]
mov byte [esp + 0x91], 1
movss dword [esp + 0x60], xmm2
mulss xmm2, xmm2
subss xmm0, xmm5
movss dword [esp + 0x64], xmm1
mulss xmm1, xmm1
movss dword [esp + 0x68], xmm0
addss xmm1, xmm2
mulss xmm0, xmm0
addss xmm1, xmm0
xorps xmm0, xmm0
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x10004b67
mov byte [esp + 0x91], 0
mov ecx, dword [0x10020dcc]
lea edx, [esp + 0xa8]
mov eax, dword [ebp + 0x10]
push edx
lea edx, [esp + 0x44]
mov dword [esp + 0x84], 0
push edx
mov dword [esp + 0x8c], 0
lea edx, [esp + 0x58]
mov dword [esp + 0x90], 0
mov byte [esp + 0x98], 1
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
movss dword [esp + 0x58], xmm3
movss dword [esp + 0x5c], xmm4
movss dword [esp + 0x60], xmm5
mov dword [esp + 0x48], vtable.CTraceFilterSimple.0
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov eax, dword [ecx]
push 0x200400b
push edx
call dword [eax + 0x10]
movss xmm0, dword [0x1001c804]
comiss xmm0, dword [esp + 0xd4]
jbe 0x10004c8a
movss xmm1, dword [esp + 0xb4]
movss xmm2, dword [esp + 0xb8]
subss xmm2, dword [esi + 4]
subss xmm1, dword [esi]
movss xmm0, dword [esp + 0xbc]
subss xmm0, dword [esi + 8]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
xorps xmm1, xmm1
addss xmm2, xmm0
cvtps2pd xmm0, xmm2
ucomisd xmm1, xmm0
ja 0x10004c5f
sqrtsd xmm0, xmm0
jmp 0x10004c64
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sqrt_precise
movss xmm1, dword [esp + 0x10]
cvtsd2ss xmm0, xmm0
comiss xmm1, xmm0
jbe 0x10004c8a
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0xa8]
push eax
call fcn.10004cf0
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0x3c]
add edi, 0xc
sub dword [esp + 0x14], 1
movss xmm1, dword [esp + 0x20]
jne 0x10004af2
mov eax, dword [esp + 0x18]
add eax, 0xc
sub dword [esp + 0x1c], 1
mov dword [esp + 0x18], eax
jne 0x10004ad3
mov eax, dword [esp + 0x24]
add eax, 0xc
sub dword [esp + 0x28], 1
mov dword [esp + 0x24], eax
jne 0x10004ab0
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
xor ecx, esp
call fcn.10017968
mov esp, ebp
pop ebp
ret