Function at 0x1400b4c00
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x1401d2670]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov r15d, r8d
mov r14d, edx
mov rsi, rcx
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x60]
call fcn.1401386b0
mov edx, 1
lea rcx, [rbp + 0x60]
call fcn.1400262e0
lea rdx, [0x14016dec8]
lea rcx, [rbp + 0x70]
call fcn.14002e220
mov edx, r14d
mov rcx, rax
call fcn.14002f410
mov rcx, rax
lea rdx, [0x140178df8]
call fcn.14002e220
mov edx, r15d
mov rcx, rax
call fcn.14002f410
mov rcx, rax
lea rdx, str.HIPM
call fcn.14002e220
xor r12d, r12d
mov dword [rsp + 0x50], r12d
mov dword [rsp + 0x54], 4
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], r12w
mov rcx, qword [rbp + 0xe8]
test cl, 2
jne 0x1400b4cf4
mov rax, qword [rbp + 0xb8]
mov r8, qword [rax]
test r8, r8
je 0x1400b4cf4
mov rax, qword [rbp + 0x98]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0xe0]
cmovb r8, qword [rbp + 0xe0]
sub r8, rdx
jmp 0x1400b4d25
test cl, 4
jne 0x1400b4d32
mov rax, qword [rbp + 0xb0]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400b4d32
mov rax, qword [rbp + 0x90]
mov rdx, qword [rax]
mov rax, qword [rbp + 0xc8]
movsxd r8, dword [rax]
add r8, r8
sub r8, rdx
add r8, rcx
sar r8, 1
lea rcx, [rsp + 0x30]
call fcn.140027040
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rdx, qword [rsp + 0x30]
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rsi]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x1400b4daa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b4da5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b4f74
call fcn.140144a10
cmp ebx, 2
je 0x1400b4dbf
test ebx, ebx
jne 0x1400b4dba
cmp dword [rsp + 0x50], 1
je 0x1400b4dbf
xor dil, dil
jmp 0x1400b4dc2
mov dil, 1
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x60]
call fcn.1401386b0
mov edx, 1
lea rcx, [rsp + 0x60]
call fcn.1400262e0
lea rdx, [0x14016dec8]
lea rcx, [rsp + 0x70]
call fcn.14002e220
mov edx, r14d
mov rcx, rax
call fcn.14002f410
mov rcx, rax
lea rdx, [0x140178df8]
call fcn.14002e220
mov edx, r15d
mov rcx, rax
call fcn.14002f410
mov rcx, rax
lea rdx, str.DIPM
call fcn.14002e220
mov dword [rsp + 0x50], r12d
mov dword [rsp + 0x54], 4
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], r12w
mov rcx, qword [rbp - 0x18]
test cl, 2
jne 0x1400b4e73
mov rax, qword [rbp - 0x48]
mov r8, qword [rax]
test r8, r8
je 0x1400b4e73
mov rax, qword [rbp - 0x68]
mov rdx, qword [rax]
cmp r8, qword [rbp - 0x20]
cmovb r8, qword [rbp - 0x20]
sub r8, rdx
jmp 0x1400b4e9b
test cl, 4
jne 0x1400b4ea8
mov rax, qword [rbp - 0x50]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400b4ea8
mov rax, qword [rbp - 0x70]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x38]
movsxd r8, dword [rax]
add r8, r8
sub r8, rdx
add r8, rcx
sar r8, 1
lea rcx, [rsp + 0x30]
call fcn.140027040
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rdx, qword [rsp + 0x30]
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rsi]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x1400b4f1c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b4f17
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b4f6e
call fcn.140144a10
test dil, dil
je 0x1400b4f35
cmp ebx, 2
je 0x1400b4f31
test ebx, ebx
jne 0x1400b4f35
cmp dword [rsp + 0x50], 1
jne 0x1400b4f35
mov bl, 1
jmp 0x1400b4f37
xor bl, bl
lea rcx, [rsp + 0x60]
call fcn.1400257e0
lea rcx, [rbp + 0x60]
call fcn.1400257e0
movzx eax, bl
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.1401449b0
add rsp, 0x270
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140115ca0
int3
call fcn.140115ca0
int3