Function at 0x140001d00
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x2a0]
sub rsp, 0x3a0
mov rax, qword [0x14001e008]
xor rax, rsp
mov qword [rbp + 0x290], rax
movzx ebx, word [0x140018538]
lea rcx, [rbp + 0x92]
xor edx, edx
mov word [rbp + 0x90], bx
mov r8d, 0x1fe
call fcn.140007e40
xor eax, eax
mov word [rsp + 0x50], bx
mov qword [rsp + 0x52], rax
lea rdx, str.SoftwareAlexander_AvdoninHidden_Start
mov qword [rsp + 0x5a], rax
xor edi, edi
mov qword [rsp + 0x62], rax
mov r9d, 0x20219
mov qword [rsp + 0x6a], rax
xor r8d, r8d
mov qword [rsp + 0x72], rax
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x7a], rax
mov ebx, edi
mov qword [rbp - 0x7e], rax
mov dword [rbp - 0x76], eax
mov word [rbp - 0x72], ax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140001e3b
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rdx, str.RegName
lea rax, [rbp + 0x90]
mov dword [rsp + 0x48], 0x200
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140001e28
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rdx, str.RegCode
lea rax, [rsp + 0x50]
mov dword [rsp + 0x48], 0x40
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
sete bl
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x140001f03
lea rax, [rsp + 0x40]
mov word [rsp + 0x50], di
mov r9d, 0x20219
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov word [rbp + 0x90], di
lea rdx, str.SoftwareAlexander_AvdoninHidden_Start
mov qword [rsp + 0x40], rdi
mov rcx, 0xffffffff80000002
mov ebx, edi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140001fbd
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rdx, str.RegName
lea rax, [rbp + 0x90]
mov dword [rsp + 0x48], 0x200
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140001ef0
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rdx, str.RegCode
lea rax, [rsp + 0x50]
mov dword [rsp + 0x48], 0x40
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
sete bl
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x140001fbd
movzx ebx, byte [0x1400199e4]
lea rcx, [rbp + 0x11]
xor edx, edx
mov byte [rbp + 0x10], bl
lea r8d, [rdx + 0x7f]
call fcn.140007e40
xor edx, edx
mov byte [rbp - 0x70], bl
lea rcx, [rbp - 0x6f]
lea r8d, [rdx + 0x7f]
call fcn.140007e40
mov qword [rsp + 0x38], rdi
lea rax, [rbp + 0x10]
mov qword [rsp + 0x30], rdi
lea r8, [rbp + 0x90]
mov dword [rsp + 0x28], 0x80
or r9d, 0xffffffff
xor edx, edx
mov qword [rsp + 0x20], rax
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x140001f6c
xor al, al
movzx eax, al
jmp 0x140001fbf
mov qword [rsp + 0x38], rdi
lea rax, [rbp - 0x70]
mov qword [rsp + 0x30], rdi
lea r8, [rsp + 0x50]
mov dword [rsp + 0x28], 0x80
or r9d, 0xffffffff
xor edx, edx
mov qword [rsp + 0x20], rax
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x140001f65
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x10]
call fcn.140001540
movzx eax, al
jmp 0x140001fbf
xor eax, eax
mov rcx, qword [rbp + 0x290]
xor rcx, rsp
call fcn.1400056e0
lea r11, [rsp + 0x3a0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret