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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x2f8]
sub rsp, 0x3d0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x140071010]
xor rax, rsp
mov qword [rbp + 0x2b0], rax
mov r14, rcx
xor esi, esi
movdqa xmm0, xmmword [0x140069bf0]
movdqa xmm1, xmmword [0x140069c10]
movdqa xmm2, xmmword [0x140069be0]
movdqa xmm3, xmmword [0x140069ca0]
movdqa xmm4, xmmword [0x140069b90]
mov rax, qword gs:[0x58]
mov rdi, qword [rax]
mov ecx, 0x498
mov eax, dword [rcx + rdi]
mov ebx, 0x3f0
add rbx, rdi
test al, 1
jne 0x140004974
or eax, 1
mov dword [rcx + rdi], eax
mov byte [rbx + 0x50], 1
lea rax, [rbx + 0x4f]
lea rcx, [rbp + 0x9f]
cmp rbx, rcx
ja 0x140004954
lea rcx, [rbp + 0x50]
cmp rax, rcx
jb 0x140004954
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm1
movups xmmword [rbx + 0x20], xmm2
movups xmmword [rbx + 0x30], xmm3
movups xmmword [rbx + 0x40], xmm4
jmp 0x140004967
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm1
movups xmmword [rbx + 0x20], xmm2
movups xmmword [rbx + 0x30], xmm3
movups xmmword [rbx + 0x40], xmm4
lea rcx, [0x140014230]
call fcn.140011540
nop
cmp byte [rbx + 0x50], sil
je 0x1400049a2
mov rdx, rsi
mov cl, dl
and cl, 7
shl cl, 3
movabs rax, 0xbba969eff327f753
shr rax, cl
xor byte [rdx + rbx], al
inc rdx
cmp rdx, 0x50
jb 0x14000497d
mov byte [rbx + 0x50], sil
or r9, 0xffffffffffffffff
inc r9
cmp byte [rbx + r9], sil
jne 0x1400049a6
add r9, rbx
mov r8, rbx
lea rdx, [rbp + 0x28]
call fcn.14000d2f4
nop
lea rdx, [rbp + 0x28]
cmp qword [rbp + 0x40], 8
cmovae rdx, qword [rbp + 0x28]
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ebx, ebx
test eax, eax
jne 0x140004f88
mov r15d, ebx
mov dword [rbp - 0x20], 0x104
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x20]
lea r8, [rbp + 0xa0]
xor edx, edx
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x140004f7d
mov dword [rbp - 0x30], 0x377eed99
mov word [rbp - 0x2c], 0xc322
mov dword [rbp - 0x28], 0x6966cfbd
mov word [rbp - 0x24], 0xb542
mov esi, 0xff8
add rsi, rdi
movzx r12d, word [rbp - 0x2c]
mov r13d, dword [rbp - 0x30]
lea rax, [rbp + 0xa0]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], bx
jne 0x140004a69
mov qword [rbp + 8], rbx
mov qword [rbp + 0x18], rbx
mov qword [rbp + 0x20], rbx
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 8]
call fcn.14000e37c
nop
lea rcx, [rbp + 8]
call fcn.140001e70
lea rdx, [rbp + 8]
lea rcx, [rbp - 0x18]
call fcn.14000c96c
nop
mov ecx, 0x464
mov eax, dword [rcx + rdi]
lea rbx, [rsi + 6]
test al, 1
jne 0x140004ad5
or eax, 1
mov dword [rcx + rdi], eax
mov byte [rbx], 1
mov dword [rsi], r13d
mov word [rsi + 4], r12w
lea rcx, [0x140014214]
call fcn.140011540
nop
xor r8d, r8d
cmp byte [rbx], r8b
je 0x140004b04
mov edx, r8d
mov cl, dl
and cl, 7
shl cl, 3
movabs rax, 0x9b61c343431f89ed
shr rax, cl
xor byte [rdx + rsi], al
inc rdx
cmp rdx, 6
jb 0x140004ae0
mov byte [rbx], r8b
or r9, 0xffffffffffffffff
xor ebx, ebx
inc r9
cmp byte [rsi + r9], bl
jne 0x140004b0a
add r9, rsi
mov r8, rsi
lea rdx, [rsp + 0x60]
call fcn.14000d2f4
nop
lea r8, [rbp - 0x18]
cmp qword [rbp], 8
cmovae r8, qword [rbp - 0x18]
mov r9, qword [rbp - 8]
lea rcx, [rsp + 0x60]
call fcn.14000efb4
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
xor edx, edx
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__waccess]
lea rcx, [rsp + 0x40]
call fcn.14000c8d4
nop
lea rcx, [rsp + 0x60]
call fcn.14000c8d4
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbx
mov r8d, 1
lea rdx, [0x1400159c8]
lea rcx, [rsp + 0x60]
call fcn.14000e37c
nop
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
mov r8d, 2
lea rdx, [0x1400159cc]
lea rcx, [rsp + 0x40]
call fcn.14000e37c
nop
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x18]
call fcn.1400036f0
nop
lea rcx, [rsp + 0x40]
call fcn.14000c8d4
nop
lea rcx, [rsp + 0x60]
call fcn.14000c8d4
mov edx, 0x1110
mov eax, dword [rdx + rdi]
mov ecx, 0xf90
test al, 1
jne 0x140004c4f
or eax, 1
mov dword [rdx + rdi], eax
lea rbx, [rcx + rdi]
mov byte [rbx + 6], 1
mov eax, dword [rbp - 0x28]
mov dword [rbx], eax
movzx eax, word [rbp - 0x24]
mov word [rbx + 4], ax
lea rcx, [0x1400141f8]
call fcn.140011540
nop
jmp 0x140004c53
lea rbx, [rcx + rdi]
xor r8d, r8d
cmp byte [rbx + 6], r8b
je 0x140004c8a
mov edx, r8d
movabs r8, 0xb385b5231d07abc9
mov cl, dl
and cl, 7
shl cl, 3
mov rax, r8
shr rax, cl
xor byte [rdx + rbx], al
inc rdx
cmp rdx, 6
jb 0x140004c69
xor r8d, r8d
mov byte [rbx + 6], r8b
or r9, 0xffffffffffffffff
inc r9
cmp byte [rbx + r9], r8b
jne 0x140004c8e
add r9, rbx
mov r8, rbx
lea rdx, [rsp + 0x60]
call fcn.14000d2f4
nop
lea r8, [rbp - 0x18]
cmp qword [rbp], 8
cmovae r8, qword [rbp - 0x18]
mov r9, qword [rbp - 8]
lea rcx, [rsp + 0x60]
call fcn.14000efb4
xor ecx, ecx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rcx
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], 7
mov word [rax], cx
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
xor edx, edx
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__waccess]
mov ebx, eax
lea rcx, [rsp + 0x40]
call fcn.14000c8d4
nop
lea rcx, [rsp + 0x60]
call fcn.14000c8d4
xor r8d, r8d
test ebx, ebx
jne 0x140004f2a
mov dword [rbp - 0x30], 0x6966cfbd
mov word [rbp - 0x2c], 0xb542
mov edx, 0x1c0
mov eax, dword [rdx + rdi]
mov ecx, 0x57c
test al, 1
jne 0x140004d7b
or eax, 1
mov dword [rdx + rdi], eax
lea rbx, [rcx + rdi]
mov byte [rbx + 6], 1
mov eax, dword [rbp - 0x30]
mov dword [rbx], eax
movzx eax, word [rbp - 0x2c]
mov word [rbx + 4], ax
lea rcx, [0x1400141dc]
call fcn.140011540
nop
xor r8d, r8d
jmp 0x140004d7f
lea rbx, [rcx + rdi]
cmp byte [rbx + 6], r8b
je 0x140004db3
mov rdx, r8
movabs r8, 0xb385b5231d07abc9
mov cl, dl
and cl, 7
shl cl, 3
mov rax, r8
shr rax, cl
xor byte [rdx + rbx], al
inc rdx
cmp rdx, 6
jb 0x140004d92
xor r8d, r8d
mov byte [rbx + 6], r8b
or r9, 0xffffffffffffffff
inc r9
cmp byte [rbx + r9], r8b
jne 0x140004db7
add r9, rbx
mov r8, rbx
lea rdx, [rsp + 0x60]
call fcn.14000d2f4
nop
lea r8, [rbp - 0x18]
cmp qword [rbp], 8
cmovae r8, qword [rbp - 0x18]
mov r9, qword [rbp - 8]
lea rcx, [rsp + 0x60]
call fcn.14000efb4
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x70], xmm1
xor ebx, ebx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x40]
mov rcx, r14
call fcn.140010198
movups xmm6, xmmword [rax]
movsd xmm0, qword [rax + 0x10]
movsd qword [rbp - 0x40], xmm0
mov rax, qword [rbp - 0x40]
cmp byte [rax + 0x19], bl
jne 0x140004e9e
add rax, 0x20
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x140004e46
mov rax, qword [rax]
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rdx, qword [rbp - 0x80]
mov r9, qword [rbp - 0x70]
mov rcx, r9
cmp r8, r9
cmovb rcx, r8
test rcx, rcx
je 0x140004e7f
sub rdx, rax
movzx r10d, word [rax + rdx]
cmp r10w, word [rax]
jne 0x140004e89
add rax, 2
sub rcx, 1
jne 0x140004e6a
cmp r9, r8
jae 0x140004e92
or eax, 0xffffffff
jmp 0x140004e97
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x140004e97
mov eax, ebx
seta al
shr eax, 0x1f
test al, al
je 0x140004f16
movabs rax, 0x3ffffffffffffff
cmp qword [r14 + 8], rax
je 0x140004fc6
mov rbx, qword [r14]
mov qword [rbp - 0x60], r14
xor r8d, r8d
mov qword [rbp - 0x58], r8
lea ecx, [r8 + 0x40]
call fcn.140011108
nop
xor ecx, ecx
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rbp - 0x70]
movups xmmword [rax + 0x30], xmm1
mov qword [rbp - 0x70], rcx
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], cx
mov qword [rax], rbx
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbx
mov word [rax + 0x18], cx
mov qword [rbp - 0x58], rcx
movdqu xmmword [rsp + 0x40], xmm6
mov r8, rax
lea rdx, [rsp + 0x40]
mov rcx, r14
call fcn.14000fc18
nop
lea rcx, [rbp - 0x80]
call fcn.14000c8d4
nop
lea rcx, [rsp + 0x60]
call fcn.14000c8d4
inc r15d
lea rcx, [rbp - 0x18]
call fcn.14000c8d4
nop
lea rcx, [rbp + 8]
call fcn.14000c8d4
mov dword [rbp - 0x20], 0x104
xor ebx, ebx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x20]
lea r8, [rbp + 0xa0]
mov edx, r15d
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x140004a5e
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rbp + 0x28]
call fcn.14000c8d4
mov rcx, qword [rbp + 0x2b0]
xor rcx, rsp
call fcn.1400110e0
lea r11, [rsp + 0x3d0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400036dc
nop