Function at 0x1400b67f0
Capabilities:
Encode data using xor
Query or enumerate registry key

Disassembly:
mov r11, rsp
push rbp
push rbx
push r12
push r13
push r15
lea rbp, [r11 - 0x4a8]
sub rsp, 0x580
movups xmm0, xmmword [0x140112340]
mov eax, dword [0x140112370]
xor r12d, r12d
cmp dword [0x140248200], 2
mov r15, rdx
movups xmm1, xmmword [0x140112350]
mov r8d, r12d
mov dword [rbp - 0x78], eax
movaps xmmword [r11 - 0x48], xmm6
lea ebx, [r12 + 0x1f]
movzx eax, word [0x140112374]
lea r13d, [r12 + 5]
movups xmmword [rsp + 0x58], xmm0
mov word [rbp - 0x74], ax
movups xmm0, xmmword [0x140112360]
movaps xmmword [r11 - 0x58], xmm7
movups xmmword [rsp + 0x78], xmm0
movaps xmmword [r11 - 0x68], xmm8
movups xmmword [rsp + 0x68], xmm1
jl 0x1400b69b4
movdqa xmm5, xmmword [0x14010c2c0]
lea rcx, [rsp + 0x58]
movdqa xmm4, xmmword [0x140110070]
movdqa xmm7, xmmword [str.9999]
movaps xmmword [r11 - 0x78], xmm9
movdqa xmm9, xmmword [0x140110dc0]
movd xmm6, r13d
movd xmm8, ebx
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm5
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
pxor xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
pxor xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp r8d, 0x18
jl 0x1400b68b0
movaps xmm9, xmmword [rsp + 0x530]
cmp r8d, 0x1b
jge 0x1400b69f8
movsxd rax, r8d
lea r9, [rsp + 0x58]
lea r9, [r9 + rax*2]
mov eax, 0x8fb823ef
lea r9, [r9 + 2]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x39
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x31
xor word [r9 - 2], ax
cmp r8d, 0x1b
jl 0x1400b69c0
lea rax, [rbp + 0x4c8]
mov r9d, recv
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x58]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400b6a37
mov qword [r15], r12
mov qword [r15 + 0x18], select
mov qword [r15 + 0x10], r12
jmp 0x1400b7325
mov rcx, qword [rbp + 0x4c8]
lea r9, [rbp + 0x4c0]
mov qword [rsp + 0x5b0], rsi
lea r8, [rbp + 0x30]
mov qword [rsp + 0x38], r12
xor edx, edx
mov qword [rsp + 0x30], r12
mov esi, r12d
mov qword [rsp + 0x578], rdi
mov qword [rsp + 0x570], r14
mov r14, r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
mov dword [rbp + 0x4c0], 0x400
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x20], r12
mov qword [rbp + 0x28], select
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x1400b72ef
nop word [rax + rax]
cmp byte [0x140112393], r12b
movups xmm0, xmmword [str.bu_bweewR_OQL_6]
mov eax, dword [0x140112390]
movsd xmm1, qword [0x140112388]
movups xmmword [rbp - 0x10], xmm0
mov dword [rbp + 8], eax
movsd qword [rbp], xmm1
je 0x1400b6c7f
cmp dword [0x140248200], 2
mov ecx, r12d
jl 0x1400b6c3e
movdqa xmm0, xmmword [0x140110dd0]
lea rdx, [rbp - 0xc]
movdqa xmm5, xmmword [0x14010c2c0]
movdqa xmm4, xmmword [0x140110070]
movdqa xmm7, xmmword [str.9999]
movdqa xmmword [rbp - 0x20], xmm0
mov r8d, dword [rbp - 0x20]
movd xmm6, r13d
movd xmm8, ebx
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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x14010c300]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
pxor 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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14010c300]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
pxor xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x18
jl 0x1400b6b30
cmp ecx, 0x1c
jge 0x1400b6c7f
movsxd rax, ecx
lea r8, [rbp - 0x10]
add r8, rax
nop dword [rax + rax]
mov eax, 0x8fb823ef
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x39
movzx eax, cl
inc ecx
sub al, dl
add al, 0x31
xor byte [r8 - 1], al
cmp ecx, 0x1c
jl 0x1400b6c50
mov qword [rbp - 0x70], r12
lea rax, [rbp - 0x10]
mov qword [rbp - 0x60], r12
mov r8, 0xffffffffffffffff
mov qword [rbp - 0x58], select
nop word [rax + rax]
inc r8
cmp byte [rax + r8], r12b
jne 0x1400b6ca0
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x70]
call fcn.140018620
lea rax, [rbp + 0x30]
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rax + rdi], r12b
jne 0x1400b6cc1
mov rdx, qword [rbp - 0x58]
mov rcx, qword [rbp - 0x60]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x1400b6d0f
cmp rdx, 0x10
lea rax, [rdi + rcx]
lea rbx, [rbp - 0x70]
mov qword [rbp - 0x60], rax
cmovae rbx, qword [rbp - 0x70]
lea rdx, [rbp + 0x30]
add rbx, rcx
mov r8, rdi
mov rcx, rbx
call fcn.1400deed0
mov byte [rbx + rdi], r12b
mov ebx, 0x1f
jmp 0x1400b6d27
lea r9, [rbp + 0x30]
mov qword [rsp + 0x20], rdi
xor r8d, r8d
lea rcx, [rbp - 0x70]
mov rdx, rdi
call fcn.14001db00
cmp dword [0x140248200], 2
mov r8d, r12d
mov eax, dword [0x1401123a8]
movups xmm0, xmmword [str.uWW_VWC__lRXXQr___1E]
mov dword [rbp - 0x40], eax
movzx eax, byte [0x1401123ac]
movups xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x3c], al
jl 0x1400b6ea1
movdqa xmm0, xmmword [0x140110dd0]
lea rcx, [rbp - 0x4c]
movdqa xmm5, xmmword [0x14010c2c0]
movdqa xmm4, xmmword [0x140110070]
movdqa xmm7, xmmword [str.9999]
movdqa xmmword [rbp - 0x20], xmm0
mov edx, dword [rbp - 0x20]
movd xmm6, r13d
movd xmm8, ebx
nop dword [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 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 r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x14010c300]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
pxor 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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14010c300]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x1400b6d90
cmp r8d, 0x15
jge 0x1400b6ee4
movsxd rax, r8d
lea r9, [rbp - 0x50]
add r9, rax
nop dword [rax + rax]
mov eax, 0x8fb823ef
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, 0x15
jl 0x1400b6eb0
mov qword [rsp + 0x58], r12
lea rax, [rbp - 0x50]
mov qword [rsp + 0x68], r12
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x70], socket
inc r8
cmp byte [rax + r8], r12b
jne 0x1400b6f02
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x58]
call fcn.140018620
lea r9, [rbp - 0x38]
mov rcx, 0xffffffff80000002
lea r8, [rsp + 0x58]
lea rdx, [rbp - 0x70]
call fcn.1400ba5e0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x1400b6f6f
mov rcx, qword [rsp + 0x58]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b6f6a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b7357
call fcn.1400dcd18
cmp qword [rbp - 0x38], r12
je 0x1400b7272
movzx eax, byte [0x1401123b8]
mov r8, 0xffffffffffffffff
movsd xmm0, qword [str.S__fSRV9]
movsd qword [rsp + 0x40], xmm0
xor byte [rsp + 0x41], 0x32
xor byte [rsp + 0x42], 0x33
xor byte [rsp + 0x43], 0x34
xor byte [rsp + 0x44], 0x35
xor byte [rsp + 0x45], 0x36
xor byte [rsp + 0x46], 0x37
xor byte [rsp + 0x47], 0x38
xor al, 0x39
mov byte [rsp + 0x40], 0x4c
mov byte [rsp + 0x48], al
lea rax, [rsp + 0x40]
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], socket
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], r12b
jne 0x1400b6fe0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x58]
call fcn.140018620
lea r9, [rbp - 0x30]
mov rcx, 0xffffffff80000002
lea r8, [rsp + 0x58]
lea rdx, [rbp - 0x70]
call fcn.1400ba5e0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x1400b704e
mov rcx, qword [rsp + 0x58]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b7049
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b735d
call fcn.1400dcd18
mov rax, qword [rbp - 0x30]
cmp rax, r14
jbe 0x1400b7272
cmp byte [0x1401123cb], r12b
mov r14, rax
movsd xmm0, qword [str.uW_WG_GLPUU_]
mov eax, dword [0x1401123c8]
movsd qword [rsp + 0x49], xmm0
mov dword [rsp + 0x51], eax
je 0x1400b71e5
cmp dword [0x140248200], 2
mov r8d, r12d
jl 0x1400b71a6
movdqa xmm2, xmmword [0x14010c2c0]
mov r8d, 8
movdqa xmm3, xmmword [0x14010c2d0]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x140110070]
movdqa xmm0, xmm2
mov eax, dword [0x140110dd0]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r13d
movd xmm5, ebx
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.9999]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14010c300]
movd xmm1, dword [str.uW_WG_GLPUU_]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movdqa xmm0, xmm3
pxor xmm2, xmm1
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd dword [rsp + 0x49], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.9999]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14010c300]
movd xmm1, dword [rsp + 0x4d]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
pxor xmm2, xmm1
movd dword [rsp + 0x4d], xmm2
mov eax, r8d
lea r9, [rsp + 0x49]
add r9, rax
mov eax, 0x8fb823ef
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, 0xc
jl 0x1400b71b1
mov qword [rsp + 0x58], r12
lea rax, [rsp + 0x49]
mov qword [rsp + 0x68], r12
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x70], socket
inc r8
cmp byte [rax + r8], r12b
jne 0x1400b7204
lea rdx, [rsp + 0x49]
lea rcx, [rsp + 0x58]
call fcn.140018620
lea r9, [rbp + 0x10]
mov rcx, 0xffffffff80000002
lea r8, [rsp + 0x58]
lea rdx, [rbp - 0x70]
call fcn.1400ba680
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x1400b7272
mov rcx, qword [rsp + 0x58]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b726d
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b734b
call fcn.1400dcd18
mov rdx, qword [rbp - 0x58]
inc esi
mov dword [rbp + 0x4c0], 0x400
cmp rdx, 0x10
jb 0x1400b72b9
mov rcx, qword [rbp - 0x70]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b72b4
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b7351
call fcn.1400dcd18
mov rcx, qword [rbp + 0x4c8]
lea r9, [rbp + 0x4c0]
mov qword [rsp + 0x38], r12
lea r8, [rbp + 0x30]
mov qword [rsp + 0x30], r12
mov edx, esi
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x1400b6ab0
mov rcx, qword [rbp + 0x4c8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [rbp + 0x10]
mov rdi, qword [rsp + 0x578]
movups xmm1, xmmword [rbp + 0x20]
mov rsi, qword [rsp + 0x5b0]
mov r14, qword [rsp + 0x570]
movups xmmword [r15], xmm0
movups xmmword [r15 + 0x10], xmm1
lea r11, [rsp + 0x580]
mov rax, r15
movaps xmm6, xmmword [r11 - 0x20]
movaps xmm7, xmmword [r11 - 0x30]
movaps xmm8, xmmword [r11 - 0x40]
mov rsp, r11
pop r15
pop r13
pop r12
pop rbx
pop rbp
ret
call fcn.1400e39cc
int3
call fcn.1400e39cc
int3
call fcn.1400e39cc
int3
call fcn.1400e39cc
int3