Function at 0x1400c37f0
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 [0x14011fda0]
mov eax, dword [0x14011fdd0]
xor r12d, r12d
cmp dword [0x1402567d0], 2
mov r15, rdx
movups xmm1, xmmword [0x14011fdb0]
mov r8d, r12d
mov dword [rbp - 0x78], eax
movaps xmmword [r11 - 0x48], xmm6
lea ebx, [r12 + 0x1f]
movzx eax, word [0x14011fdd4]
lea r13d, [r12 + 5]
movups xmmword [rsp + 0x58], xmm0
mov word [rbp - 0x74], ax
movups xmm0, xmmword [0x14011fdc0]
movaps xmmword [r11 - 0x58], xmm7
movups xmmword [rsp + 0x78], xmm0
movaps xmmword [r11 - 0x68], xmm8
movups xmmword [rsp + 0x68], xmm1
jl 0x1400c39b4
movdqa xmm5, xmmword [0x140119390]
lea rcx, [rsp + 0x58]
movdqa xmm4, xmmword [0x14011ff50]
movdqa xmm7, xmmword [str.3333]
movaps xmmword [r11 - 0x78], xmm9
movdqa xmm9, xmmword [str.11111111]
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 0x1400c38b0
movaps xmm9, xmmword [rsp + 0x530]
cmp r8d, 0x1b
jge 0x1400c39f8
movsxd rax, r8d
lea r9, [rsp + 0x58]
lea r9, [r9 + rax*2]
mov eax, 0xa0a0a0a1
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, 0x33
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x31
xor word [r9 - 2], ax
cmp r8d, 0x1b
jl 0x1400c39c0
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 0x1400c3a37
mov qword [r15], r12
mov qword [r15 + 0x18], select
mov qword [r15 + 0x10], r12
jmp 0x1400c4325
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 0x1400c42ef
nop word [rax + rax]
cmp byte [0x14011fdf3], r12b
movups xmm0, xmmword [str.bu_bweewR_OQL_6]
mov eax, dword [0x14011fdf0]
movsd xmm1, qword [0x14011fde8]
movups xmmword [rbp - 0x10], xmm0
mov dword [rbp + 8], eax
movsd qword [rbp], xmm1
je 0x1400c3c7f
cmp dword [0x1402567d0], 2
mov ecx, r12d
jl 0x1400c3c3e
movdqa xmm0, xmmword [str.1111111111111111t]
lea rdx, [rbp - 0xc]
movdqa xmm5, xmmword [0x140119390]
movdqa xmm4, xmmword [0x14011ff50]
movdqa xmm7, xmmword [str.3333]
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 [0x1401193d0]
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 [0x1401193d0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
pxor xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x18
jl 0x1400c3b30
cmp ecx, 0x1c
jge 0x1400c3c7f
movsxd rax, ecx
lea r8, [rbp - 0x10]
add r8, rax
nop dword [rax + rax]
mov eax, 0xa0a0a0a1
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, 0x33
movzx eax, cl
inc ecx
sub al, dl
add al, 0x31
xor byte [r8 - 1], al
cmp ecx, 0x1c
jl 0x1400c3c50
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 0x1400c3ca0
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x70]
call fcn.140019700
lea rax, [rbp + 0x30]
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rax + rdi], r12b
jne 0x1400c3cc1
mov rdx, qword [rbp - 0x58]
mov rcx, qword [rbp - 0x60]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x1400c3d0f
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.1400ec010
mov byte [rbx + rdi], r12b
mov ebx, 0x1f
jmp 0x1400c3d27
lea r9, [rbp + 0x30]
mov qword [rsp + 0x20], rdi
xor r8d, r8d
lea rcx, [rbp - 0x70]
mov rdx, rdi
call fcn.14001eb40
cmp dword [0x1402567d0], 2
mov r8d, r12d
mov eax, dword [0x14011fe08]
movups xmm0, xmmword [str.uWW_VWC__lRXXQr___1E]
mov dword [rbp - 0x40], eax
movzx eax, byte [0x14011fe0c]
movups xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x3c], al
jl 0x1400c3ea1
movdqa xmm0, xmmword [str.1111111111111111t]
lea rcx, [rbp - 0x4c]
movdqa xmm5, xmmword [0x140119390]
movdqa xmm4, xmmword [0x14011ff50]
movdqa xmm7, xmmword [str.3333]
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 [0x1401193d0]
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 [0x1401193d0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x1400c3d90
cmp r8d, 0x15
jge 0x1400c3ee4
movsxd rax, r8d
lea r9, [rbp - 0x50]
add r9, rax
nop dword [rax + rax]
mov eax, 0xa0a0a0a1
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, 0x33
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, 0x15
jl 0x1400c3eb0
mov qword [rsp + 0x58], r12
lea rax, [rbp - 0x50]
mov qword [rsp + 0x68], r12
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x70], select
inc r8
cmp byte [rax + r8], r12b
jne 0x1400c3f02
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x58]
call fcn.140019700
lea r9, [rbp - 0x38]
mov rcx, 0xffffffff80000002
lea r8, [rsp + 0x58]
lea rdx, [rbp - 0x70]
call fcn.1400c75f0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x1400c3f6f
mov rcx, qword [rsp + 0x58]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c3f6a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c4357
call fcn.1400e9e50
cmp qword [rbp - 0x38], r12
je 0x1400c4272
movzx eax, byte [0x14011fe18]
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], select
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], r12b
jne 0x1400c3fe0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x58]
call fcn.140019700
lea r9, [rbp - 0x30]
mov rcx, 0xffffffff80000002
lea r8, [rsp + 0x58]
lea rdx, [rbp - 0x70]
call fcn.1400c75f0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x1400c404e
mov rcx, qword [rsp + 0x58]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c4049
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c435d
call fcn.1400e9e50
mov rax, qword [rbp - 0x30]
cmp rax, r14
jbe 0x1400c4272
cmp byte [0x14011fe2b], r12b
mov r14, rax
movsd xmm0, qword [str.uW_WG_GLPUU_]
mov eax, dword [0x14011fe28]
movsd qword [rsp + 0x49], xmm0
mov dword [rsp + 0x51], eax
je 0x1400c41e5
cmp dword [0x1402567d0], 2
mov r8d, r12d
jl 0x1400c41a6
movdqa xmm2, xmmword [0x140119390]
mov r8d, 8
movdqa xmm3, xmmword [0x1401193a0]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x14011ff50]
movdqa xmm0, xmm2
mov eax, dword [str.1111111111111111t]
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.3333]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1401193d0]
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.3333]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1401193d0]
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, 0xa0a0a0a1
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, 0x33
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, 0xc
jl 0x1400c41b1
mov qword [rsp + 0x58], r12
lea rax, [rsp + 0x49]
mov qword [rsp + 0x68], r12
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x70], select
inc r8
cmp byte [rax + r8], r12b
jne 0x1400c4204
lea rdx, [rsp + 0x49]
lea rcx, [rsp + 0x58]
call fcn.140019700
lea r9, [rbp + 0x10]
mov rcx, 0xffffffff80000002
lea r8, [rsp + 0x58]
lea rdx, [rbp - 0x70]
call fcn.1400c7690
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x1400c4272
mov rcx, qword [rsp + 0x58]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c426d
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c434b
call fcn.1400e9e50
mov rdx, qword [rbp - 0x58]
inc esi
mov dword [rbp + 0x4c0], 0x400
cmp rdx, 0x10
jb 0x1400c42b9
mov rcx, qword [rbp - 0x70]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c42b4
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c4351
call fcn.1400e9e50
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 0x1400c3ab0
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.1400f0b0c
int3
call fcn.1400f0b0c
int3
call fcn.1400f0b0c
int3
call fcn.1400f0b0c
int3