Function at 0x140035464
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x140062710
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 [0x1400c2040]
xor rax, rbp
mov qword [rbp + 0x548], rax
mov dword [rbp + 0x534], 0
lea rcx, reloc.WS2_32.dll_accept
call fcn.140035fe0
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 0x14006281b
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.14005ee80
mov rcx, rax
call fcn.140035c0c
mov rdx, rax
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14003432a
lea rdx, [0x14003523e]
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]
lea rdx, [0x1400b0124]
mov rcx, qword [rbp + 0x570]
call fcn.140034a46
mov eax, dword [rbp + 0x534]
or eax, 1
mov dword [rbp + 0x534], eax
mov rax, qword [rbp + 0x570]
jmp 0x140062927
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 0x1400628d8
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.14005f560
mov rcx, rax
call fcn.1400356fd
mov rdx, rax
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14003432a
lea rdx, [0x14003523e]
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]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [0x1400b0124]
mov rcx, qword [rbp + 0x570]
call fcn.140034a46
mov eax, dword [rbp + 0x534]
or eax, 1
mov dword [rbp + 0x534], eax
mov rax, qword [rbp + 0x570]
jmp 0x140062927
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x2b8]
call fcn.140034a46
lea rdx, [rbp + 0x2b8]
mov rcx, qword [rbp + 0x570]
call fcn.140035dfb
mov eax, dword [rbp + 0x534]
or eax, 1
mov dword [rbp + 0x534], eax
lea rcx, [rbp + 0x2b8]
call fcn.140035b3f
mov rax, qword [rbp + 0x570]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_connect
call fcn.140035a3b
mov rax, rdi
mov rcx, qword [rbp + 0x548]
xor rcx, rbp
call fcn.140034f82
lea rsp, [rbp + 0x558]
pop rdi
pop rbp
ret