Function at 0x1400073b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x14019cfa0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov eax, dword [rdx]
mov rbx, rcx
neg eax
lea rdx, str.SOFTWAREMacriumReflect_Launcher
lea rax, [rbp - 0x20]
mov r9d, 0x101
sbb rsi, rsi
mov qword [rsp + 0x20], rax
add rsi, 0xffffffff80000002
xor r14d, r14d
mov rcx, rsi
mov qword [rbp - 0x20], r14
xor r8d, r8d
mov edi, 1
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000745a
mov rcx, qword [rbp - 0x20]
lea rax, [rbp - 0x14]
mov qword [rsp + 0x28], rax
lea rdx, str.DebugLogToFile
lea rax, [rbp - 0x18]
mov dword [rbp - 0x18], r14d
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rbp - 0x14], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp - 0x20]
test eax, eax
cmove edi, dword [rbp - 0x18]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rbp - 0x20]
mov dword [rbx + 0x40], edi
mov r9d, 0x101
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rbp - 0x20], r14
lea rdx, str.SOFTWAREMacriumReflect_Launcher
mov rcx, rsi
mov edi, r14d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400074ce
mov rcx, qword [rbp - 0x20]
lea rax, [rbp - 0x14]
mov qword [rsp + 0x28], rax
lea rdx, str.DebugLogToDebuggers
lea rax, [rbp - 0x18]
mov dword [rbp - 0x18], r14d
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rbp - 0x14], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp - 0x20]
test eax, eax
cmove edi, dword [rbp - 0x18]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rbp - 0x20]
mov dword [rbx + 0x44], edi
mov r9d, 0x101
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rbp - 0x20], r14
lea rdx, str.SOFTWAREMacriumReflect_Launcher
mov rcx, rsi
mov edi, 4
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140007540
mov rcx, qword [rbp - 0x20]
lea rax, [rbp - 0x14]
mov qword [rsp + 0x28], rax
lea rdx, str.DebugLogLevel
lea rax, [rbp - 0x18]
mov dword [rbp - 0x18], r14d
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rbp - 0x14], edi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp - 0x20]
test eax, eax
cmove edi, dword [rbp - 0x18]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rbp - 0x20]
mov dword [rbx + 0x18], edi
mov r9d, 0x101
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rbp - 0x20], r14
lea rdx, str.SOFTWAREMacriumReflect_Launcher
mov rcx, rsi
mov edi, 0xa
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400075b6
mov rcx, qword [rbp - 0x20]
lea rax, [rbp - 0x14]
mov qword [rsp + 0x28], rax
lea rdx, str.DebugMaxDays
lea rax, [rbp - 0x18]
mov dword [rbp - 0x18], r14d
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rbp - 0x14], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp - 0x20]
test eax, eax
cmove edi, dword [rbp - 0x18]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rbp - 0x20]
mov dword [rbx + 0x1c], edi
mov r9d, 0x101
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rbp - 0x20], r14
lea rdx, str.SOFTWAREMacriumReflect_Launcher
mov rcx, rsi
mov edi, r14d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000762a
mov rcx, qword [rbp - 0x20]
lea rax, [rbp - 0x14]
mov qword [rsp + 0x28], rax
lea rdx, str.DebugMaxNumberOfLogFiles
lea rax, [rbp - 0x18]
mov dword [rbp - 0x18], r14d
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rbp - 0x14], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp - 0x20]
test eax, eax
cmove edi, dword [rbp - 0x18]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rbp - 0x20]
mov dword [rbx + 0x20], edi
mov r9d, 0x101
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rbp - 0x20], r14
lea rdx, str.SOFTWAREMacriumReflect_Launcher
mov rcx, rsi
mov edi, reloc.WS2_32.dll_sendto
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400076a0
mov rcx, qword [rbp - 0x20]
lea rax, [rbp - 0x14]
mov qword [rsp + 0x28], rax
lea rdx, str.DebugMaxLogFileSize
lea rax, [rbp - 0x18]
mov dword [rbp - 0x18], r14d
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rbp - 0x14], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp - 0x20]
test eax, eax
cmove edi, dword [rbp - 0x18]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x14019dc50], r14d
mov dword [rbx + 0x24], edi
jne 0x1400076ba
cmp dword [rbx + 0x40], r14d
jne 0x1400076ba
mov rcx, rbx
call fcn.140008880
mov dword [0x14019dc50], r14d
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400dbfd0
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret