Function at 0x140041b5c
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
lea rbp, [rax - 0x308]
sub rsp, 0x3f0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x1400ce148]
xor rax, rsp
mov qword [rbp + 0x2e0], rax
mov ebx, ecx
lea rcx, [rbp - 0x80]
call fcn.14000fe28
nop
xor edi, edi
mov qword [rsp + 0x48], rdi
lea rdx, [rsp + 0x48]
lea rcx, [0x14009dbf0]
call qword [sym.imp.ole32.dll_StringFromCLSID]
lea rdx, [0x1400a01c8]
lea rcx, [rbp - 0x70]
call fcn.140016000
mov rcx, rax
mov rdx, qword [rsp + 0x48]
call fcn.140016000
mov rcx, rax
lea rdx, str.LocalServer32
call fcn.140016000
lea rdx, [rbp + 0xa8]
lea rcx, [rbp - 0x80]
call fcn.14000ff88
nop
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov r8d, 0x208
mov dword [rsp + 0x40], r8d
xor edx, edx
lea rcx, [rbp + 0xd0]
call fcn.14004a330
lea rdx, [rbp + 0xa8]
cmp qword [rbp + 0xc0], 8
cmovae rdx, qword [rbp + 0xa8]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9d, [rdi + 2]
xor r8d, r8d
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
lea r12d, [rdi + 7]
mov qword [rbp + 0x98], r12
mov qword [rbp + 0x90], rdi
mov word [rbp + 0x80], di
lea rcx, [rbp + 0xd0]
call fcn.14004a2f8
mov r8, rax
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0x80]
call fcn.140073170
nop
lea rax, [rbp + 0x80]
mov rdx, qword [rbp + 0x80]
mov r9, qword [rbp + 0x98]
cmp r9, 8
cmovae rax, rdx
mov rcx, qword [rbp + 0x90]
lea r8, [rax + rcx*2]
lea rax, [rbp + 0x80]
cmovae rax, rdx
lea rax, [rax + rcx*2]
lea rcx, [rbp + 0x80]
cmovae rcx, rdx
lea r13d, [rdi + 0x22]
jmp 0x140041cee
sub rax, 2
cmp r13w, word [rax]
jne 0x140041cf5
cmp rax, rcx
jne 0x140041ce4
jmp 0x140041cf9
lea rcx, [rax + 2]
lea rax, [rbp + 0x80]
cmp r9, 8
cmovae rax, rdx
test rcx, rcx
jne 0x140041d12
mov rdx, rdi
jmp 0x140041d1b
mov rdx, rcx
sub rdx, rax
sar rdx, 1
test r8, r8
jne 0x140041d25
mov r8, rdi
jmp 0x140041d2b
sub r8, rcx
sar r8, 1
lea rcx, [rbp + 0x80]
call fcn.140013290
lea r11, [rbp + 0x80]
mov rcx, qword [rbp + 0x80]
mov rdx, qword [rbp + 0x98]
cmp rdx, 8
cmovae r11, rcx
mov rax, qword [rbp + 0x90]
lea rax, [r11 + rax*2]
lea r8, [rbp + 0x80]
cmovae r8, rcx
jmp 0x140041d76
cmp r13w, word [r8]
jne 0x140041d7b
add r8, 2
cmp r8, rax
jne 0x140041d6c
lea rax, [rbp + 0x80]
cmp rdx, 8
cmovae rax, rcx
lea r9, [rbp + 0x80]
cmovae r9, rcx
test rax, rax
jne 0x140041d9f
mov rdx, rdi
jmp 0x140041da8
mov rdx, rax
sub rdx, r9
sar rdx, 1
test r8, r8
jne 0x140041db2
mov r8, rdi
jmp 0x140041db8
sub r8, rax
sar r8, 1
lea rcx, [rbp + 0x80]
call fcn.140013290
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x68], rdi
mov word [rsp + 0x58], di
lea rcx, str.WinSta0Winlogon
call fcn.14004a2f8
mov r8, rax
lea rdx, str.WinSta0Winlogon
lea rcx, [rsp + 0x58]
call fcn.140073170
lea rdx, [rbp + 0x80]
cmp qword [rbp + 0x98], 8
cmovae rdx, qword [rbp + 0x80]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 1
lea r8, [0x14009d580]
mov ecx, ebx
call fcn.14002ed8c
mov ebx, eax
cmp qword [rbp + 0x98], 8
jb 0x140041e40
mov rcx, qword [rbp + 0x80]
call fcn.14004aab0
mov qword [rbp + 0x98], r12
mov qword [rbp + 0x90], rdi
mov word [rbp + 0x80], di
cmp qword [rbp + 0xc0], 8
jb 0x140041e6b
mov rcx, qword [rbp + 0xa8]
call fcn.14004aab0
mov qword [rbp + 0xc0], r12
mov qword [rbp + 0xb8], rdi
mov word [rbp + 0xa8], di
lea rcx, [rbp + 0x18]
call fcn.14000ff0c
lea r11, vtable.std::ios_base.0
mov qword [rbp + 0x18], r11
lea rcx, [rbp + 0x18]
call fcn.140066108
mov eax, ebx
mov rcx, qword [rbp + 0x2e0]
xor rcx, rsp
call fcn.140049cd0
lea r11, [rsp + 0x3f0]
mov rbx, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rbp
ret