Function at 0x1400c3810
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 [0x14011fdd0]
mov eax, dword [0x14011fe00]
xor r12d, r12d
cmp dword [0x1402567d0], 2
mov r15, rdx
movups xmm1, xmmword [0x14011fde0]
mov r8d, r12d
mov dword [rbp - 0x78], eax
movaps xmmword [r11 - 0x48], xmm6
lea ebx, [r12 + 0x1f]
movzx eax, word [0x14011fe04]
lea r13d, [r12 + 4]
movups xmmword [rsp + 0x58], xmm0
mov word [rbp - 0x74], ax
movups xmm0, xmmword [0x14011fdf0]
movaps xmmword [r11 - 0x58], xmm7
movups xmmword [rsp + 0x78], xmm0
movaps xmmword [r11 - 0x68], xmm8
movups xmmword [rsp + 0x68], xmm1
jl 0x1400c39cc
movdqa xmm5, xmmword [0x140119390]
lea rcx, [rsp + 0x58]
movdqa xmm4, xmmword [0x14011d000]
movdqa xmm7, xmmword [str.5555]
movaps xmmword [r11 - 0x78], xmm9
movdqa xmm9, xmmword [str.00000000]
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
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
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
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 0x1400c38d0
movaps xmm9, xmmword [rsp + 0x530]
cmp r8d, 0x1b
jge 0x1400c3a15
movsxd rax, r8d
lea r9, [rsp + 0x58]
lea r9, [r9 + rax*2]
nop dword [rax + rax]
mov eax, 0x4d4873ed
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x35
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x30
xor word [r9 - 2], ax
cmp r8d, 0x1b
jl 0x1400c39e0
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 0x1400c3a54
mov qword [r15], r12
mov qword [r15 + 0x18], select
mov qword [r15 + 0x10], r12
jmp 0x1400c4321
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 0x1400c42eb
cmp byte [0x14011fe23], r12b
movups xmm0, xmmword [str.ctgctdrdtSXNRMP5]
mov eax, dword [0x14011fe20]
movsd xmm1, qword [0x14011fe18]
movups xmmword [rbp - 0x10], xmm0
mov dword [rbp + 8], eax
movsd qword [rbp], xmm1
je 0x1400c3c7d
cmp dword [0x1402567d0], 2
mov ecx, r12d
jl 0x1400c3c46
movdqa xmm0, xmmword [str.0000000000000000u]
lea rdx, [rbp - 0xc]
movdqa xmm5, xmmword [0x140119390]
movdqa xmm4, xmmword [0x14011d000]
movdqa xmm7, xmmword [str.5555]
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
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
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 0x1400c3b40
cmp ecx, 0x1c
jge 0x1400c3c7d
movsxd rax, ecx
lea r8, [rbp - 0x10]
add r8, rax
mov eax, 0x4d4873ed
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x35
movzx eax, cl
inc ecx
sub al, dl
add al, 0x30
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 dword [rax + rax]
inc r8
cmp byte [rax + r8], r12b
jne 0x1400c3ca0
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x70]
call fcn.140019990
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.1400ebf20
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.14001ee80
cmp dword [0x1402567d0], 2
mov r8d, r12d
mov eax, dword [0x14011fe38]
movups xmm0, xmmword [str.tTVZWTBRoS_YRsZ_.0:D]
mov dword [rbp - 0x40], eax
movzx eax, byte [0x14011fe3c]
movups xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x3c], al
jl 0x1400c3e99
movdqa xmm0, xmmword [str.0000000000000000u]
lea rcx, [rbp - 0x4c]
movdqa xmm5, xmmword [0x140119390]
movdqa xmm4, xmmword [0x14011d000]
movdqa xmm7, xmmword [str.5555]
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
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
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 0x1400c3ee1
movsxd rax, r8d
lea r9, [rbp - 0x50]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4d4873ed
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x30
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
nop
inc r8
cmp byte [rax + r8], r12b
jne 0x1400c3f00
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x58]
call fcn.140019990
lea r9, [rbp - 0x38]
mov rcx, 0xffffffff80000002
lea r8, [rsp + 0x58]
lea rdx, [rbp - 0x70]
call fcn.1400c75e0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x1400c3f6d
mov rcx, qword [rsp + 0x58]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c3f68
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c4353
call fcn.1400e9d60
cmp qword [rbp - 0x38], r12
je 0x1400c426e
movzx eax, byte [0x14011fe48]
mov r8, 0xffffffffffffffff
movsd xmm0, qword [str.PAGgPSY8]
movsd qword [rsp + 0x40], xmm0
xor byte [rsp + 0x41], 0x31
xor byte [rsp + 0x42], 0x32
xor byte [rsp + 0x43], 0x33
xor byte [rsp + 0x44], 0x34
xor byte [rsp + 0x45], 0x35
xor byte [rsp + 0x46], 0x36
xor byte [rsp + 0x47], 0x37
xor al, 0x38
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]
inc r8
cmp byte [rax + r8], r12b
jne 0x1400c3fe0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x58]
call fcn.140019990
lea r9, [rbp - 0x30]
mov rcx, 0xffffffff80000002
lea r8, [rsp + 0x58]
lea rdx, [rbp - 0x70]
call fcn.1400c75e0
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 0x1400c4359
call fcn.1400e9d60
mov rax, qword [rbp - 0x30]
cmp rax, r14
jbe 0x1400c426e
cmp byte [0x14011fe5b], r12b
mov r14, rax
movsd xmm0, qword [str.tTAPFFCQVT_]
mov eax, dword [0x14011fe58]
movsd qword [rsp + 0x49], xmm0
mov dword [rsp + 0x51], eax
je 0x1400c41e1
cmp dword [0x1402567d0], 2
mov r8d, r12d
jl 0x1400c419e
movdqa xmm2, xmmword [0x140119390]
mov r8d, 8
movdqa xmm4, xmmword [0x14011d000]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1401193a0]
movdqa xmm0, xmm2
mov eax, dword [str.0000000000000000u]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r13d
movd xmm5, ebx
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.5555]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1401193d0]
movd xmm1, dword [str.tTAPFFCQVT_]
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
movd dword [rsp + 0x49], xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.5555]
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
nop dword [rax]
mov eax, 0x4d4873ed
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x30
xor byte [r9 - 1], al
cmp r8d, 0xc
jl 0x1400c41b0
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 0x1400c4200
lea rdx, [rsp + 0x49]
lea rcx, [rsp + 0x58]
call fcn.140019990
lea r9, [rbp + 0x10]
mov rcx, 0xffffffff80000002
lea r8, [rsp + 0x58]
lea rdx, [rbp - 0x70]
call fcn.1400c7680
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x1400c426e
mov rcx, qword [rsp + 0x58]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c4269
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c4347
call fcn.1400e9d60
mov rdx, qword [rbp - 0x58]
inc esi
mov dword [rbp + 0x4c0], 0x400
cmp rdx, 0x10
jb 0x1400c42b5
mov rcx, qword [rbp - 0x70]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c42b0
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c434d
call fcn.1400e9d60
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 0x1400c3ac2
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.1400f0a1c
int3
call fcn.1400f0a1c
int3
call fcn.1400f0a1c
int3
call fcn.1400f0a1c
int3