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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
mov eax, dword [0x100df00c]
xor eax, esp
mov dword [esp + 0x94], eax
mov eax, dword [ebp + 8]
push esi
mov esi, edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x14], esi
push edi
mov edi, ecx
mov dword [esp + 0x48], edi
cmp esi, 0x32
ja 0x100a6c3a
xorps xmm1, xmm1
xorps xmm0, xmm0
cvtsi2sd xmm1, dword [edi + 0xc]
sub esp, 0x10
cvtsi2sd xmm0, dword [edi + 4]
subsd xmm1, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [edi]
movsd qword [esp + 8], xmm1
xorps xmm1, xmm1
cvtsi2sd xmm1, dword [edi + 8]
subsd xmm1, xmm0
movsd qword [esp], xmm1
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll__hypot]
xorps xmm1, xmm1
xorps xmm0, xmm0
cvtsi2sd xmm1, dword [edi + 0x1c]
cvtsi2sd xmm0, dword [edi + 4]
fstp qword [esp + 0x50]
subsd xmm1, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [edi]
movsd qword [esp + 8], xmm1
xorps xmm1, xmm1
cvtsi2sd xmm1, dword [edi + 0x18]
subsd xmm1, xmm0
movsd qword [esp], xmm1
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll__hypot]
fstp qword [esp + 0x38]
movsd xmm0, qword [esp + 0x38]
add esp, 0x10
comisd xmm0, xmmword [esp + 0x40]
jb 0x100a6d9b
xorps xmm0, xmm0
mov eax, dword [edi]
cvtsi2sd xmm0, esi
xorps xmm1, xmm1
xorps xmm2, xmm2
cvtsi2sd xmm1, dword [edi + 8]
divsd xmm0, qword [0x100cbc58]
cvtsi2sd xmm2, eax
mov eax, dword [edi + 4]
mov dword [esp + 0x10], eax
movaps xmm4, xmm1
xorps xmm3, xmm3
xorps xmm1, xmm1
cvtsi2sd xmm1, dword [edi + 0xc]
subsd xmm4, xmm2
cvtsi2sd xmm3, eax
mulsd xmm4, xmm0
subsd xmm1, xmm3
addsd xmm2, xmm4
movsd qword [esp + 0x38], xmm4
mulsd xmm1, xmm0
xorps xmm0, xmm0
comisd xmm2, xmm0
movsd qword [esp + 0x18], xmm1
jbe 0x100a6814
addsd xmm2, qword [0x100cbbc0]
jmp 0x100a681c
subsd xmm2, qword [0x100cbbc0]
movaps xmm0, xmm2
call fcn.100bff5f
movd xmm0, dword [edi + 4]
cvtdq2pd xmm1, xmm0
mov dword [esp + 0x50], eax
xorps xmm0, xmm0
addsd xmm1, qword [esp + 0x18]
comisd xmm1, xmm0
jbe 0x100a684a
addsd xmm1, qword [0x100cbbc0]
jmp 0x100a6852
subsd xmm1, qword [0x100cbbc0]
movaps xmm0, xmm1
call fcn.100bff5f
movd xmm1, dword [edi + 8]
xorps xmm0, xmm0
cvtdq2pd xmm1, xmm1
mov dword [esp + 0x54], eax
subsd xmm1, qword [esp + 0x38]
comisd xmm1, xmm0
jbe 0x100a6880
addsd xmm1, qword [0x100cbbc0]
jmp 0x100a6888
subsd xmm1, qword [0x100cbbc0]
movaps xmm0, xmm1
call fcn.100bff5f
movd xmm0, dword [edi + 0xc]
cvtdq2pd xmm1, xmm0
mov dword [esp + 0x58], eax
xorps xmm0, xmm0
subsd xmm1, qword [esp + 0x18]
comisd xmm1, xmm0
jbe 0x100a68b6
addsd xmm1, qword [0x100cbbc0]
jmp 0x100a68be
subsd xmm1, qword [0x100cbbc0]
movaps xmm0, xmm1
call fcn.100bff5f
movd xmm0, dword [edi + 0x10]
cvtdq2pd xmm1, xmm0
mov dword [esp + 0x5c], eax
xorps xmm0, xmm0
subsd xmm1, qword [esp + 0x38]
comisd xmm1, xmm0
jbe 0x100a68ec
addsd xmm1, qword [0x100cbbc0]
jmp 0x100a68f4
subsd xmm1, qword [0x100cbbc0]
movaps xmm0, xmm1
call fcn.100bff5f
movd xmm0, dword [edi + 0x14]
cvtdq2pd xmm1, xmm0
mov dword [esp + 0x70], eax
xorps xmm0, xmm0
subsd xmm1, qword [esp + 0x18]
comisd xmm1, xmm0
jbe 0x100a6922
addsd xmm1, qword [0x100cbbc0]
jmp 0x100a692a
subsd xmm1, qword [0x100cbbc0]
movaps xmm0, xmm1
call fcn.100bff5f
movd xmm0, dword [edi + 0x18]
cvtdq2pd xmm1, xmm0
mov dword [esp + 0x74], eax
xorps xmm0, xmm0
addsd xmm1, qword [esp + 0x38]
comisd xmm1, xmm0
jbe 0x100a6958
addsd xmm1, qword [0x100cbbc0]
jmp 0x100a6960
subsd xmm1, qword [0x100cbbc0]
movaps xmm0, xmm1
call fcn.100bff5f
movd xmm0, dword [edi + 0x1c]
cvtdq2pd xmm1, xmm0
mov dword [esp + 0x78], eax
xorps xmm0, xmm0
addsd xmm1, qword [esp + 0x18]
comisd xmm1, xmm0
jbe 0x100a698e
addsd xmm1, qword [0x100cbbc0]
jmp 0x100a6996
subsd xmm1, qword [0x100cbbc0]
movaps xmm0, xmm1
call fcn.100bff5f
xorps xmm4, xmm4
mov dword [esp + 0x7c], eax
cvtsi2sd xmm4, esi
xorps xmm0, xmm0
xorps xmm1, xmm1
cvtsi2sd xmm0, dword [edi + 0x10]
mulsd xmm4, qword [esp + 0x40]
cvtsi2sd xmm1, dword [edi + 8]
movaps xmm3, xmm0
xorps xmm0, xmm0
divsd xmm4, qword [0x100cbc58]
cvtsi2sd xmm0, dword [edi + 0x14]
divsd xmm4, qword [esp + 0x28]
movaps xmm2, xmm0
subsd xmm3, xmm1
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [edi + 0xc]
mulsd xmm3, xmm4
subsd xmm2, xmm0
xorps xmm0, xmm0
addsd xmm1, xmm3
movsd qword [esp + 0x38], xmm3
mulsd xmm2, xmm4
comisd xmm1, xmm0
movsd qword [esp + 0x18], xmm2
jbe 0x100a6a16
addsd xmm1, qword [0x100cbbc0]
jmp 0x100a6a1e
subsd xmm1, qword [0x100cbbc0]
movaps xmm0, xmm1
call fcn.100bff5f
movd xmm1, dword [edi + 0xc]
xorps xmm0, xmm0
cvtdq2pd xmm1, xmm1
mov dword [esp + 0x60], eax
addsd xmm1, qword [esp + 0x18]
comisd xmm1, xmm0
jbe 0x100a6a4c
addsd xmm1, qword [0x100cbbc0]
jmp 0x100a6a54
subsd xmm1, qword [0x100cbbc0]
movaps xmm0, xmm1
call fcn.100bff5f
movd xmm1, dword [edi + 0x10]
xorps xmm0, xmm0
cvtdq2pd xmm1, xmm1
mov dword [esp + 0x64], eax
subsd xmm1, qword [esp + 0x38]
comisd xmm1, xmm0
jbe 0x100a6a82
addsd xmm1, qword [0x100cbbc0]
jmp 0x100a6a8a
subsd xmm1, qword [0x100cbbc0]
movaps xmm0, xmm1
call fcn.100bff5f
movd xmm1, dword [edi + 0x14]
xorps xmm0, xmm0
cvtdq2pd xmm1, xmm1
mov dword [esp + 0x68], eax
subsd xmm1, qword [esp + 0x18]
comisd xmm1, xmm0
jbe 0x100a6ab8
addsd xmm1, qword [0x100cbbc0]
jmp 0x100a6ac0
subsd xmm1, qword [0x100cbbc0]
movaps xmm0, xmm1
call fcn.100bff5f
movd xmm1, dword [edi + 0x18]
xorps xmm0, xmm0
cvtdq2pd xmm1, xmm1
mov dword [esp + 0x6c], eax
subsd xmm1, qword [esp + 0x38]
comisd xmm1, xmm0
jbe 0x100a6aee
addsd xmm1, qword [0x100cbbc0]
jmp 0x100a6af6
subsd xmm1, qword [0x100cbbc0]
movaps xmm0, xmm1
call fcn.100bff5f
movd xmm1, dword [edi + 0x1c]
xorps xmm0, xmm0
cvtdq2pd xmm1, xmm1
mov dword [esp + 0x80], eax
subsd xmm1, qword [esp + 0x18]
comisd xmm1, xmm0
jbe 0x100a6b27
addsd xmm1, qword [0x100cbbc0]
jmp 0x100a6b2f
subsd xmm1, qword [0x100cbbc0]
movaps xmm0, xmm1
call fcn.100bff5f
mov edi, dword [edi]
xorps xmm0, xmm0
mov dword [esp + 0x84], eax
movd xmm1, edi
cvtdq2pd xmm1, xmm1
addsd xmm1, qword [esp + 0x38]
comisd xmm1, xmm0
jbe 0x100a6b61
addsd xmm1, qword [0x100cbbc0]
jmp 0x100a6b69
subsd xmm1, qword [0x100cbbc0]
movaps xmm0, xmm1
call fcn.100bff5f
movd xmm1, dword [esp + 0x10]
xorps xmm0, xmm0
cvtdq2pd xmm1, xmm1
mov esi, eax
mov dword [esp + 0x88], esi
addsd xmm1, qword [esp + 0x18]
comisd xmm1, xmm0
jbe 0x100a6b9d
addsd xmm1, qword [0x100cbbc0]
jmp 0x100a6ba5
subsd xmm1, qword [0x100cbbc0]
movaps xmm0, xmm1
call fcn.100bff5f
mov edx, dword [esp + 0x50]
mov ecx, eax
sub ecx, dword [esp + 0x10]
sub edx, edi
mov edi, dword [esp + 0x54]
add edx, esi
sub esi, edx
mov dword [esp + 0x14], edi
push 0
mov dword [esp + 0x14], esi
add ecx, edi
mov esi, dword [esp + 0x54]
sub dword [esp + 0x18], ecx
mov dword [esp + 0x2c], esi
lea esi, [esp + 0x28]
sub dword [esp + 0x2c], edx
push esi
mov esi, dword [esp + 0x18]
push 0x5a
push 0
push dword [esp + 0x24]
mov dword [esp + 0xa0], eax
sub eax, ecx
push dword [esp + 0x3c]
mov dword [esp + 0x30], edx
push eax
push esi
push ecx
push edx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x68], eax
call fcn.10008790
mov eax, dword [esp + 0x4c]
shl eax, 5
add eax, 0x28
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, dword [esp + 0x74]
mov esi, eax
add esp, 0x2c
mov dword [esp + 0x34], esi
test esi, esi
jne 0x100a6c50
push 2
call dword [sym.imp.HncFoundation.dll_HncSetError]
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.100be194
mov esp, ebp
pop ebp
ret
push esi
push 0
push 0x5a
push 0
push dword [esp + 0x24]
push dword [esp + 0x3c]
push dword [esp + 0x58]
push dword [esp + 0x2c]
push dword [esp + 0x58]
push dword [esp + 0x3c]
call fcn.10008790
mov eax, dword [esp + 0x4c]
add esp, 0x28
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x10], 1
mov dword [esi + eax*8], ecx
mov ecx, dword [esp + 0x54]
mov dword [esi + eax*8 + 4], ecx
mov esi, 1
mov dword [esp + 0x14], esi
jmp 0x100a6ca4
mov esi, dword [esp + 0x14]
lea eax, [esi + 1]
mov eax, eax
test eax, eax
jns 0x100a6cb0
add eax, 1
sar eax, 1
mov ecx, dword [edi + eax*8]
mov edx, dword [edi + eax*8 + 4]
mov eax, dword [esp + esi*8 + 0x50]
mov edi, dword [esp + esi*8 + 0x58]
mov dword [esp + 0x28], eax
sub eax, ecx
mov ecx, dword [esp + esi*8 + 0x5c]
add eax, edi
mov esi, dword [esp + esi*8 + 0x54]
mov dword [esp + 0x40], eax
mov eax, ecx
sub eax, edx
lea edx, [eax + esi]
mov eax, dword [esp + 0x40]
sub dword [esp + 0x28], eax
sub edi, eax
mov eax, dword [esp + 0x24]
sub esi, edx
inc eax
mov dword [esp + 0x18], esi
imul eax, dword [esp + 0x10]
sub ecx, edx
mov esi, dword [esp + 0x34]
lea eax, [esi + eax*8]
mov esi, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x44]
push 0
push 0x5a
push 0
push ecx
push edi
push esi
push dword [esp + 0x44]
push edx
push eax
call fcn.10008790
mov eax, dword [esp + 0x38]
add esp, 0x28
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x34]
lea edx, [eax + 1]
mov ecx, edx
mov dword [esp + 0x10], edx
imul ecx, dword [esp + 0x24]
add ecx, eax
mov eax, dword [esp + edi*8 + 0x58]
mov dword [esi + ecx*8], eax
mov eax, dword [esp + edi*8 + 0x5c]
add edi, 2
mov dword [esp + 0x14], edi
cmp edi, 6
mov edi, dword [esp + 0x48]
mov dword [esi + ecx*8 + 4], eax
jl 0x100a6ca0
mov ecx, dword [esp + 0x24]
mov eax, dword [esi]
lea ecx, [ecx + 1]
shl ecx, 5
mov dword [ecx + esi], eax
mov eax, dword [esi + 4]
mov dword [ecx + esi + 4], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x4c]
lea eax, [eax*4 + 5]
mov dword [ecx], eax
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.100be194
mov esp, ebp
pop ebp
ret
movups xmm0, xmmword [edi]
push 0x18
movups xmm1, xmmword [edi + 0x10]
lea eax, [esp + 0x54]
movups xmmword [esp + 0x54], xmm0
push eax
movq xmm0, qword [edi + 0x20]
lea eax, [esp + 0x60]
movq qword [esp + 0x78], xmm0
movaps xmm0, xmm1
movaps xmmword [esp + 0x68], xmm1
psrldq xmm0, 8
psrldq xmm1, 0xc
push eax
movd edi, xmm0
movd esi, xmm1
call sub.VCRUNTIME140.dll_memmove
mov ecx, dword [esp + 0x58]
add esp, 0xc
mov edx, dword [esp + 0x18]
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], esi
push ecx
lea ecx, [esp + 0x54]
call fcn.100a66e0
mov ecx, dword [esp + 0xa0]
add esp, 4
pop edi
pop esi
xor ecx, esp
call fcn.100be194
mov esp, ebp
pop ebp
ret