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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov eax, dword [0x101e5040]
xor eax, esp
mov dword [esp + 0xa4], eax
push esi
push edi
call fcn.100c7fa0
mov eax, dword [0x10540950]
xor edi, edi
movss xmm0, dword [0x101d8430]
xor ecx, ecx
mov esi, dword [0x10548760]
mov dword [esp + 0x1c], ecx
divss xmm0, dword [eax + 0x20]
addss xmm0, dword [0x101d8488]
cvttss2si eax, xmm0
mov dword [esp + 0x44], eax
test edi, edi
jne 0x100c7c2e
cmp esi, dword [0x10548764]
je 0x100c7c1a
movq xmm0, qword [0x1054877c]
movq qword [esi], xmm0
mov eax, dword [0x10548784]
mov dword [esi + 8], eax
add dword [0x10548760], 0xc
jmp 0x100c7c2e
push 0x1054877c
push esi
mov ecx, 0x1054875c
call fcn.10036750
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.100c82f0
test al, 1
jne 0x100c7e1c
test al, 2
jne 0x100c7c4d
cmp edi, dword [esp + 0x44]
jae 0x100c7c4d
inc edi
mov dword [esp + 0x40], edi
jmp 0x100c7c55
mov dword [esp + 0x40], 0
xorps xmm0, xmm0
ucomiss xmm0, dword [0x10548788]
lahf
test ah, 0x44
jp 0x100c7c83
ucomiss xmm0, dword [0x1054878c]
lahf
test ah, 0x44
jp 0x100c7c83
ucomiss xmm0, dword [0x10548790]
lahf
test ah, 0x44
jnp 0x100c7e1c
mov esi, dword [0x10548760]
mov eax, 0x2aaaaaab
mov edi, dword [0x1054875c]
mov ecx, esi
sub ecx, edi
mov dword [esp + 0x3c], edi
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jb 0x100c7e01
movss xmm0, dword [esi - 0xc]
lea eax, [eax + eax*2]
movss xmm2, dword [esi - 8]
add eax, 0xfffffffa
movss dword [esp + 0x14], xmm0
mov dword [esp + 0x38], eax
movss dword [esp + 0x18], xmm2
movss xmm1, dword [edi + eax*4]
subss xmm1, xmm0
movss xmm0, dword [edi + eax*4 + 4]
subss xmm0, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm0, xmm1
call fcn.1002e020
cvttss2si eax, xmm0
mov dword [esp + 0x4c], eax
cmp eax, 1
jle 0x100c7e01
mov ecx, dword [esp + 0x38]
movss xmm3, dword [esp + 0x14]
movss xmm4, dword [esp + 0x18]
movss xmm2, dword [esi - 4]
movd xmm0, eax
mov eax, edi
cvtdq2ps xmm0, xmm0
mov edi, 1
subss xmm3, dword [eax + ecx*4]
subss xmm4, dword [eax + ecx*4 + 4]
subss xmm2, dword [eax + ecx*4 + 8]
divss xmm3, xmm0
divss xmm4, xmm0
divss xmm2, xmm0
movss dword [esp + 0x14], xmm3
movss dword [esp + 0x18], xmm4
movss dword [esp + 0x48], xmm2
nop word [eax + eax]
movd xmm1, edi
cvtdq2ps xmm1, xmm1
movaps xmm0, xmm1
mulss xmm0, xmm3
addss xmm0, dword [eax + ecx*4]
movss dword [esp + 0x20], xmm0
movaps xmm0, xmm1
mulss xmm0, xmm4
mulss xmm1, xmm2
addss xmm0, dword [eax + ecx*4 + 4]
addss xmm1, dword [eax + ecx*4 + 8]
movss dword [esp + 0x24], xmm0
movss dword [esp + 0x28], xmm1
cmp esi, dword [0x10548764]
je 0x100c7dc6
movq xmm0, qword [esp + 0x20]
mov eax, dword [esp + 0x28]
movq qword [esi], xmm0
mov dword [esi + 8], eax
mov esi, dword [0x10548760]
add esi, 0xc
mov dword [0x10548760], esi
jmp 0x100c7df2
lea eax, [esp + 0x20]
mov ecx, 0x1054875c
push eax
push esi
call fcn.10036750
mov esi, dword [0x10548760]
movss xmm2, dword [esp + 0x48]
movss xmm3, dword [esp + 0x14]
movss xmm4, dword [esp + 0x18]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
inc edi
cmp edi, dword [esp + 0x4c]
jl 0x100c7d60
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x40]
inc ecx
mov dword [esp + 0x1c], ecx
cmp ecx, 0x1000
jb 0x100c7bf1
jmp 0x100c7e22
mov esi, dword [0x10548760]
mov eax, dword [0x10548758]
cmp eax, 0x2e
je 0x100c7e35
cmp eax, 0x30
jne 0x100c7ef1
push 0x30
lea eax, [esp + 0x78]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
mov dword [esp + 0x7c], 0
movups xmmword [esp + 0x5c], xmm0
add esp, 0xc
lea eax, [esp + 0x50]
movups xmmword [esp + 0x60], xmm0
movss xmm0, dword [0x1054877c]
xorps xmm1, xmm1
push dword [0x10429d7c]
addss xmm0, xmm1
push eax
lea eax, [esp + 0x28]
push eax
push 0x1054877c
movss dword [esp + 0x30], xmm0
movss xmm0, dword [0x10548780]
addss xmm0, xmm1
movss dword [esp + 0x34], xmm0
movss xmm0, dword [0x10548784]
subss xmm0, dword [0x101d8630]
movss dword [esp + 0x38], xmm0
call fcn.100c8b40
movss xmm0, dword [0x101d84d8]
comiss xmm0, dword [esp + 0x7c]
mov esi, dword [0x10548760]
jbe 0x100c7ef1
movss xmm0, dword [esp + 0x5c]
movss dword [0x1054877c], xmm0
movss xmm0, dword [esp + 0x60]
movss dword [0x10548780], xmm0
movss xmm0, dword [esp + 0x64]
movss dword [0x10548784], xmm0
cmp esi, dword [0x10548764]
je 0x100c7f16
movq xmm0, qword [0x1054877c]
movq qword [esi], xmm0
mov eax, dword [0x10548784]
mov dword [esi + 8], eax
add dword [0x10548760], 0xc
jmp 0x100c7f26
push 0x1054877c
push esi
mov ecx, 0x1054875c
call fcn.10036750
mov eax, dword [0x10548784]
movq xmm0, qword [0x1054877c]
mov dword [esp + 0x28], eax
mov eax, dword [0x101d0d08]
mov dword [esp + 0x2c], eax
mov eax, dword [0x1054876c]
movq qword [esp + 0x20], xmm0
cmp eax, dword [0x10548770]
je 0x100c7f76
movups xmm0, xmmword [esp + 0x20]
movups xmmword [eax], xmm0
add dword [0x1054876c], 0x10
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.101528b9
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x20]
push ecx
push eax
mov ecx, 0x10548768
call fcn.10064540
mov ecx, dword [esp + 0xac]
pop edi
pop esi
xor ecx, esp
call fcn.101528b9
mov esp, ebp
pop ebp
ret