Function at 0x140034250
Capabilities:
Query or enumerate registry value

Disassembly:
movzx eax, byte [rsp + 0x28]
mov byte [rsp + 0x28], al
jmp 0x1400343c0
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rbp, rdx
lea rax, [rsp + 0x30]
mov rdx, qword [rcx]
mov edi, r9d
mov rbx, r8
mov qword [rsp + 0x20], rax
mov rsi, rcx
mov r9d, 0x20019
mov rcx, 0xffffffff80000002
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
je 0x14003444b
mov rcx, qword [0x140226b10]
lea rax, [0x140226b10]
cmp rcx, rax
je 0x140034441
test dword [rcx + 0x1c], 0x2000
je 0x140034441
cmp byte [rcx + 0x19], 3
jb 0x140034441
mov r9, qword [rsi]
lea r8, [0x1401b5ea0]
mov rcx, qword [rcx + 0x10]
mov edx, 0xa
call fcn.14001f090
mov eax, 0x6e
jmp 0x14003463c
mov rdx, qword [rsi + 8]
lea r9, [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], 0
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
je 0x1400344c4
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rcx, qword [0x140226b10]
lea rax, [0x140226b10]
cmp rcx, rax
je 0x1400344ba
test dword [rcx + 0x1c], 0x2000
je 0x1400344ba
cmp byte [rcx + 0x19], 5
jb 0x1400344ba
mov r9, qword [rsi + 8]
lea r8, [0x1401b5ea0]
mov rcx, qword [rcx + 0x10]
mov edx, VariantTimeToDosDateTime
call fcn.14001f090
mov eax, 0x490
jmp 0x14003463c
cmp byte [rsp + 0x70], 0
je 0x140034526
cmp dword [rbx], edi
je 0x14003457d
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rcx, qword [0x140226b10]
lea rax, [0x140226b10]
cmp rcx, rax
je 0x14003451c
test dword [rcx + 0x1c], 0x2000
je 0x14003451c
cmp byte [rcx + 0x19], 3
jb 0x14003451c
mov r9d, dword [rbx]
lea r8, [0x1401b5ea0]
mov rcx, qword [rcx + 0x10]
mov edx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov dword [rsp + 0x20], edi
call fcn.14001f280
mov eax, 0x18
jmp 0x14003463c
cmp dword [rbx], edi
jbe 0x14003457d
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rcx, qword [0x140226b10]
lea rax, [0x140226b10]
cmp rcx, rax
je 0x140034573
test dword [rcx + 0x1c], 0x2000
je 0x140034573
cmp byte [rcx + 0x19], 3
jb 0x140034573
mov r9d, dword [rbx]
lea r8, [0x1401b5ea0]
mov rcx, qword [rcx + 0x10]
mov edx, 0xd
mov dword [rsp + 0x20], edi
call fcn.14001f280
mov eax, 0x7a
jmp 0x14003463c
cmp dword [rsp + 0x50], 1
mov rcx, qword [rsp + 0x30]
je 0x1400345cd
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rcx, qword [0x140226b10]
lea rax, [0x140226b10]
cmp rcx, rax
je 0x1400345c6
test dword [rcx + 0x1c], 0x2000
je 0x1400345c6
cmp byte [rcx + 0x19], 3
jb 0x1400345c6
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401b5ea0]
mov edx, 0xe
call fcn.14001f000
mov eax, 0x5b6
jmp 0x14003463c
mov rdx, qword [rsi + 8]
xor r9d, r9d
mov qword [rsp + 0x28], rbx
xor r8d, r8d
mov qword [rsp + 0x20], rbp
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
test eax, eax
je 0x140034634
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rcx, qword [0x140226b10]
lea rax, [0x140226b10]
cmp rcx, rax
je 0x14003462d
test dword [rcx + 0x1c], 0x2000
je 0x14003462d
cmp byte [rcx + 0x19], 3
jb 0x14003462d
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401b5ea0]
mov edx, 0xf
call fcn.14001f000
mov eax, 0x1e
jmp 0x14003463c
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
xor eax, eax
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret