Function at 0x14003b4aa
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x140067240
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x588
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0xf6
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x5a8]
mov rax, qword [0x1400d5040]
xor rax, rbp
mov qword [rbp + 0x548], rax
mov dword [rbp + 0x534], 0
lea rcx, reloc.WS2_32.dll_accept
call fcn.14003c080
nop
lea rax, str.SOFTWAREMicrosoftWindowsCurrentVersionAuthenticationLogonUI
mov qword [rbp + 0x28], rax
lea rax, str.LastLoggedOnUser
mov qword [rbp + 0x48], rax
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rbp + 0x28]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14006734d
lea rax, [rbp + 0x474]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rbp + 0x498]
lea rcx, [rbp + 0x474]
call fcn.140063af0
mov rcx, rax
call fcn.14003c43b
mov rdx, rax
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14003a325
lea rdx, [0x14003b289]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
lea rdx, [0x1400c31cc]
mov rcx, qword [rbp + 0x570]
call fcn.14003aa73
mov eax, dword [rbp + 0x534]
or eax, 1
mov dword [rbp + 0x534], eax
mov rax, qword [rbp + 0x570]
jmp 0x14006745e
mov dword [rbp + 0x294], 0x208
lea rax, [rbp + 0x294]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14006740c
lea rax, [rbp + 0x4d4]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rbp + 0x4f8]
lea rcx, [rbp + 0x4d4]
call fcn.1400641e0
mov rcx, rax
call fcn.14003c729
mov rdx, rax
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14003a325
lea rdx, [0x14003b289]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rdx, [0x1400c31cc]
mov rcx, qword [rbp + 0x570]
call fcn.14003aa73
mov eax, dword [rbp + 0x534]
or eax, 1
mov dword [rbp + 0x534], eax
mov rax, qword [rbp + 0x570]
jmp 0x14006745e
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x2b8]
call fcn.14003aa73
nop
lea rdx, [rbp + 0x2b8]
mov rcx, qword [rbp + 0x570]
call fcn.14003be7d
mov eax, dword [rbp + 0x534]
or eax, 1
mov dword [rbp + 0x534], eax
lea rcx, [rbp + 0x2b8]
call fcn.14003bbb7
nop
mov rax, qword [rbp + 0x570]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_connect
call fcn.14003babd
mov rax, rdi
mov rcx, qword [rbp + 0x548]
xor rcx, rbp
call fcn.14003af91
lea rsp, [rbp + 0x558]
pop rdi
pop rbp
ret