Function at 0x1400c0060
Capabilities:
Encode data using xor
Query or enumerate 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 - 0x118]
sub rsp, 0x200
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x1401f6080]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov rsi, rcx
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp - 0x30]
call fcn.140176388
mov dword [rbp - 0x58], 0x104
mov dword [rbp - 0x54], 1
movups xmm0, xmmword [str.ajgaszdzOINXPK]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [0x1401ce460]
movups xmmword [rsp + 0x60], xmm1
movsd xmm0, qword [0x1401ce470]
movsd qword [rsp + 0x70], xmm0
mov eax, dword [str.4.1_]
mov dword [rsp + 0x78], eax
xor edi, edi
mov ecx, edi
movdqa xmm6, xmmword [0x1401d7f20]
mov r14d, dword [reloc.WS2_32.dll_accept]
cmp r14d, 2
jl 0x1400c0215
movdqa xmm4, xmmword [0x1401d7e10]
movdqa xmm3, xmmword [0x1401d7f90]
movdqa xmm5, xmmword [0x1401d7e90]
movdqa xmm0, xmmword [0x1401d7fa0]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x54]
mov r8d, dword [rsp + 0x40]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
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 xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
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, 0x28
jl 0x1400c0131
cmp ecx, 0x2c
jge 0x1400c024b
movsxd rax, ecx
lea r8, [rsp + 0x50]
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, 0x32
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x2c
jl 0x1400c0220
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400c075a
movzx eax, word [0x1401ce434]
mov word [rsp + 0x30], ax
cmp byte [0x1401ce435], dil
je 0x1400c0296
mov byte [rsp + Ordinal_50], 0x30
xor byte [rsp + 0x31], 0x33
lea rax, [rbp - 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x54]
xor r8d, r8d
lea rdx, [rsp + 0x30]
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400c0750
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
lea rax, [rbp - 0x30]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], dil
jne 0x1400c02e0
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x50]
call fcn.1400256b0
nop
mov eax, dword [str.DCTDR8]
mov dword [rsp + 0x30], eax
movzx ecx, word [0x1401ce6c4]
mov word [rsp + 0x34], cx
movzx eax, byte [0x1401ce6c6]
mov byte [rsp + 0x30], 0x76
xor byte [rsp + 0x31], 0x33
xor byte [rsp + 0x32], 0x34
xor byte [rsp + 0x33], 0x35
xor cl, 0x36
mov byte [rsp + 0x34], cl
xor byte [rsp + 0x35], 0x37
xor al, 0x38
mov byte [rsp + 0x36], al
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x80]
call fcn.140025020
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400bf4e0
cmp qword [rax + 0x18], 0xf
jbe 0x1400c035e
mov rax, qword [rax]
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.VCRUNTIME140.dll_strstr]
mov rbx, rax
lea rcx, [rsp + 0x50]
call fcn.1400252b0
test rbx, rbx
je 0x1400c0392
test rsi, rsi
je 0x1400c073a
mov dword [rsi], 1
jmp 0x1400c073a
mov rax, qword [str.DZFACVT9ECQFFN]
mov qword [rsp + 0x30], rax
cmp byte [reloc.WS2_32.dll_gethostname], 0
je 0x1400c04cf
cmp r14d, 2
jl 0x1400c0493
movdqa xmm4, xmmword [0x1401d7f90]
movdqa xmm3, xmmword [0x1401d7e10]
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, xmmword [0x1401d7e90]
psubd xmm3, xmm0
andps xmm3, xmm6
packuswb xmm3, xmm3
packuswb xmm3, xmm3
mov eax, dword [0x1401d7fa0]
movd xmm0, eax
paddb xmm3, xmm0
movd xmm1, dword [rsp + 0x30]
xorps xmm3, xmm1
movd dword [rsp + 0x30], xmm3
movdqa xmm2, xmmword [0x1401d7e30]
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, xmmword [0x1401d7e90]
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x34]
xorps xmm2, xmm1
movd dword [rsp + 0x34], xmm2
jmp 0x1400c04cf
lea r9, [rsp + 0x30]
mov r8d, edi
nop dword [rax + rax]
mov eax, 0x94f2095
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 8
jl 0x1400c04a0
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x50]
call fcn.140025020
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.1400bf4e0
cmp qword [rax + 0x18], 0xf
jbe 0x1400c04f3
mov rax, qword [rax]
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.VCRUNTIME140.dll_strstr]
mov rbx, rax
lea rcx, [rbp - 0x80]
call fcn.1400252b0
test rbx, rbx
je 0x1400c0526
test rsi, rsi
je 0x1400c073a
mov dword [rsi], 2
jmp 0x1400c073a
mov eax, dword [str.DQ_M6]
mov dword [rsp + 0x30], eax
movzx eax, byte [0x1401ce5d4]
mov byte [rsp + 0x30], 0x76
xor byte [rsp + 0x31], 0x33
xor byte [rsp + 0x32], 0x34
xor byte [rsp + 0x33], 0x35
xor al, 0x36
mov byte [rsp + 0x34], al
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x50]
call fcn.140025020
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.1400bf4e0
cmp qword [rax + 0x18], 0xf
jbe 0x1400c0575
mov rax, qword [rax]
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.VCRUNTIME140.dll_strstr]
mov rbx, rax
lea rcx, [rbp - 0x80]
call fcn.1400252b0
test rbx, rbx
je 0x1400c05a8
test rsi, rsi
je 0x1400c073a
mov dword [rsi], 3
jmp 0x1400c073a
mov eax, dword [0x1401ce508]
mov dword [rsp + 0x30], eax
movzx eax, byte [0x1401ce50c]
mov byte [rsp + 0x30], WSAStartup
xor byte [rsp + 0x31], 0x33
xor byte [rsp + 0x32], 0x34
xor byte [rsp + 0x33], 0x35
xor al, 0x36
mov byte [rsp + 0x34], al
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x50]
call fcn.140025020
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.1400bf4e0
cmp qword [rax + 0x18], 0xf
jbe 0x1400c05f7
mov rax, qword [rax]
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.VCRUNTIME140.dll_strstr]
mov rbx, rax
lea rcx, [rbp - 0x80]
call fcn.1400252b0
test rbx, rbx
je 0x1400c062a
test rsi, rsi
je 0x1400c073a
mov dword [rsi], 4
jmp 0x1400c073a
mov eax, dword [str.JVZ5]
mov dword [rsp + 0x30], eax
cmp byte [0x1401ce613], 0
je 0x1400c06ec
cmp r14d, 2
jl 0x1400c06b6
movdqa xmm3, xmmword [0x1401d7e10]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x1401d7f90]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x1401d7f90]
shufps xmm2, xmm0, 0xdd
psrad xmm2, 1
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x1401d7e90]
psubd xmm3, xmm0
andps xmm3, xmm6
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmmword [0x1401d7fa0]
movd xmm0, eax
xorps xmm3, xmm0
movd dword [rsp + 0x30], xmm3
jmp 0x1400c06ec
lea r8, [rsp + 0x30]
nop dword [rax + rax]
mov eax, 0x94f2095
imul edi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, dil
sub al, cl
add al, 0x32
xor byte [r8], al
inc edi
lea r8, [r8 + 1]
cmp edi, 4
jl 0x1400c06c0
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x50]
call fcn.140025020
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.1400bf4e0
cmp qword [rax + 0x18], 0xf
jbe 0x1400c0710
mov rax, qword [rax]
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.VCRUNTIME140.dll_strstr]
mov rbx, rax
lea rcx, [rbp - 0x80]
call fcn.1400252b0
test rbx, rbx
je 0x1400c0747
test rsi, rsi
je 0x1400c073a
mov dword [rsi], 5
lea rcx, [rbp - 0x50]
call fcn.1400252b0
xor al, al
jmp 0x1400c075c
lea rcx, [rbp - 0x50]
call fcn.1400252b0
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.140175100
lea r11, [rsp + 0x200]
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