Function at 0x1400b9810
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x9c8]
sub rsp, 0xab0
mov qword [rbp - 0x78], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1403b8c08]
xor rax, rsp
mov qword [rbp + 0x9a0], rax
mov rsi, rcx
mov qword [rbp - 0x70], rcx
xor r14d, r14d
mov dword [rsp + 0x68], r14d
call fcn.14000b190
mov rcx, rax
test rax, rax
je 0x1400b9ac5
mov rax, qword [rax]
call qword [rax + SafeArrayCopy]
add rax, 0x18
mov qword [rsi], rax
lea rbx, str.20160102123456
mov rdx, rbx
mov rcx, rsi
call fcn.14002e390
test al, al
jne 0x1400b98a9
mov rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], 0
jne 0x1400b9890
mov r8d, eax
mov rdx, rbx
mov rcx, rsi
call fcn.140010860
nop
mov dword [rsp + 0x68], 1
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp - 0x60]
call fcn.140289490
mov rdi, r14
mov qword [rsp + 0x70], r14
mov dword [rsp + 0x78], r14d
mov qword [rbp - 0x80], r14
mov qword [rsp + 0x60], r14
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20219
xor r8d, r8d
lea rdx, str.SOFTWAREHaloDesktop
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400b99d2
mov rdi, qword [rsp + 0x60]
mov qword [rsp + 0x70], rdi
mov dword [rsp + 0x78], 0x200
mov dword [rsp + 0x40], 0x800
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x1a0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
xor r8d, r8d
lea rdx, str.InstallDate
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400b99d2
mov eax, dword [rsp + 0x60]
dec eax
cmp eax, 1
ja 0x1400b99d2
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x1400b997e
test al, 1
jne 0x1400b99d2
shr rax, 1
cmp word [rbp + rax*2 + 0x19e], 0
je 0x1400b9986
jmp 0x1400b99d2
mov word [rbp + 0x1a0], r14w
mov edx, 0xff
lea rcx, [rbp - 0x60]
lea r8, [rbp + 0x1a0]
lea rax, [rbp - 0x60]
sub r8, rax
nop dword [rax]
lea rax, [rdx + 0x7ffffeff]
test rax, rax
je 0x1400b99c3
movzx eax, word [r8 + rcx]
test ax, ax
je 0x1400b99c3
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x1400b99a0
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r14w
lea rcx, str.0000_00_00_00:00:00
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, ebx
jne 0x1400b9a8d
mov dword [rsp + 0x58], r14d
mov dword [rsp + 0x54], r14d
mov dword [rsp + 0x50], r14d
mov dword [rsp + 0x4c], r14d
mov dword [rsp + 0x48], r14d
mov dword [rsp + 0x44], r14d
lea rax, [rsp + 0x44]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x54]
lea r8, [rsp + 0x58]
lea rdx, [0x1403028d0]
lea rcx, [rbp - 0x60]
call fcn.140098cd0
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x28], eax
mov ecx, dword [rsp + 0x50]
mov dword [rsp + 0x20], ecx
mov r9d, dword [rsp + 0x54]
mov r8d, dword [rsp + 0x58]
lea rdx, str._04d_02d_02d_02d_02d_02d
mov rcx, rsi
call fcn.14000b080
nop
test rdi, rdi
je 0x1400b9a9b
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rsi
mov rcx, qword [rbp + 0x9a0]
xor rcx, rsp
call fcn.140172190
lea r11, [rsp + 0xab0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov ecx, 0x80004005
call fcn.14000adf0
int3