Function at 0x140100570
Capabilities:
Encode data using xor
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x48]
sub rsp, 0x110
movaps xmmword [rax - 0x48], xmm6
mov rsi, r9
mov r14, r8
mov rax, rdx
mov rdi, rcx
xor r13d, r13d
mov rdx, r8
cmp qword [r8 + 0x18], 7
jbe 0x1401005b5
mov rdx, qword [r8]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20019
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14010064e
movsd xmm0, qword [0x140328940]
movsd qword [rsp + 0x30], xmm0
movzx eax, byte [0x140328948]
mov byte [rsp + 0x30], 0x44
xor byte [rsp + 0x31], 0x34
xor byte [rsp + 0x32], 0x35
xor byte [rsp + 0x33], 0x36
xor byte [rsp + 0x34], 0x37
xor byte [rsp + 0x35], 0x38
xor byte [rsp + 0x36], 0x39
xor byte [rsp + 0x37], 0x3a
xor al, 0x3b
mov byte [rsp + 0x38], al
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], r13
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140100632
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1400658e0
jmp 0x140100ab4
mov rdx, rsi
cmp qword [rsi + 0x18], 7
jbe 0x14010065b
mov rdx, qword [rsi]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x48]
xor r8d, r8d
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14010070c
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movsd xmm0, qword [0x140328950]
movsd qword [rsp + 0x30], xmm0
movzx eax, byte [0x140328958]
mov byte [rsp + 0x30], 0x44
xor byte [rsp + 0x31], 0x34
xor byte [rsp + 0x32], 0x35
xor byte [rsp + 0x33], 0x36
xor byte [rsp + 0x34], 0x37
xor byte [rsp + 0x35], 0x38
xor byte [rsp + 0x36], 0x39
xor byte [rsp + 0x37], 0x3a
xor al, 0x3b
mov byte [rsp + 0x38], al
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], r13
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1401006f0
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1400658e0
jmp 0x140100ab4
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov rbx, r13
mov qword [rsp + 0x70], rbx
mov r12d, 7
mov qword [rsp + 0x78], r12
mov word [rsp + 0x60], r13w
movups xmmword [rbp - 0x78], xmm0
movdqa xmm6, xmmword [0x140327cc0]
movdqu xmmword [rbp - 0x68], xmm6
mov byte [rbp - 0x78], 0
cmp dword [rsp + 0x48], 4
jne 0x140100a5a
mov rdx, rsi
cmp qword [rsi + 0x18], r12
jbe 0x140100759
mov rdx, qword [rsi]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
xor r8d, r8d
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1401007fa
lea r10, [rbp - 0xe]
mov r8d, dword [rsp + 0x5c]
nop dword [rax]
sub r10, 2
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dx
shl ax, 2
lea ecx, [rax + rdx]
add cx, cx
sub r8w, cx
add r8w, 0x30
mov word [r10], r8w
mov r8d, edx
test edx, edx
jne 0x140100790
lea r9, [rsp + 0x46]
lea r8, [rbp - 0xe]
mov rdx, r10
lea rcx, [rbp - 0x58]
call fcn.1400feda0
movups xmm0, xmmword [rbp - 0x58]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rbp - 0x48]
movups xmmword [rsp + 0x70], xmm1
movdqa xmm0, xmm1
psrldq xmm0, 8
movq r12, xmm0
movq rbx, xmm1
mov eax, dword [0x14032895c]
mov dword [rsp + 0x42], eax
cmp word [0x14032895e], 0
je 0x14010081e
mov eax, Ordinal_50
mov word [rsp + 0x42], ax
xor word [rsp + 0x44], 0x34
lea rcx, [rsp + 0x42]
mov r8, 0xffffffffffffffff
mov rax, r8
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140100830
lea rdx, [rsp + 0x60]
mov r15, qword [rsp + 0x60]
cmp r12, 7
cmova rdx, r15
cmp rbx, rax
jne 0x1401009f7
lea rcx, [rsp + 0x42]
test rbx, rbx
je 0x140100887
lea rax, [rsp + 0x42]
sub rdx, rax
nop word [rax + rax]
movzx eax, word [rdx + rcx]
cmp ax, word [rcx]
jne 0x1401009f7
add rcx, 2
sub rbx, 1
jne 0x140100870
mov rax, qword [str.vZTT___:w_FWUT_]
mov qword [rsp + 0x30], rax
cmp byte [0x140328967], 0
je 0x1401009f0
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1401009ab
movdqa xmm4, xmmword [0x140328a10]
movdqa xmm2, xmmword [0x1402d9220]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.4444]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140327dc0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.3333333333333333R]
movd xmm0, dword [rsp + 0x30]
xorps xmm2, xmm0
movd dword [rsp + 0x30], xmm2
movdqa xmm3, xmmword [0x140327d40]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.4444]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140327dc0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.3333333333333333R]
movd xmm0, dword [rsp + 0x34]
xorps xmm2, xmm0
movd dword [rsp + 0x34], xmm2
lea rdx, [rsp + 0x30]
jmp 0x140100a40
lea r10, [rsp + 0x30]
mov r9d, r13d
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4ec4ec4f
imul r9d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r9b
sub al, cl
add al, 0x33
xor byte [r10], al
inc r9d
lea r10, [r10 + 1]
cmp r9d, 8
jl 0x1401009c0
lea rdx, [rsp + 0x30]
jmp 0x140100a40
movsd xmm0, qword [0x140328968]
movsd qword [rsp + 0x39], xmm0
movzx eax, byte [0x140328970]
mov byte [rsp + 0x39], 0x44
xor byte [rsp + 0x3a], 0x34
xor byte [rsp + 0x3b], 0x35
xor byte [rsp + 0x3c], 0x36
xor byte [rsp + 0x3d], 0x37
xor byte [rsp + 0x3e], 0x38
xor byte [rsp + 0x3f], 0x39
xor byte [rsp + 0x40], 0x3a
xor al, 0x3b
mov byte [rsp + 0x41], al
lea rdx, [rsp + 0x39]
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x140100a40
lea rcx, [rbp - 0x78]
call fcn.1400977d0
movdqu xmm6, xmmword [rbp - 0x68]
jmp 0x140100a5f
mov r15, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [rbp - 0x78]
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm6
cmp r12, 7
jbe 0x140100ab4
lea rdx, [r12*2 + 2]
mov rax, r15
cmp rdx, 0x1000
jb 0x140100aab
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140100aab
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call fcn.1402c1be4
nop
mov rcx, r14
call fcn.140095940
nop
mov rcx, rsi
call fcn.140095940
mov rax, rdi
mov rbx, qword [rsp + 0x150]
movaps xmm6, xmmword [rsp + 0x100]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret