Function at 0x1400022b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x5d0
mov qword [rsp + 0x5b8], 0xfffffffffffffffe
mov rax, qword [0x140116948]
xor rax, rsp
mov qword [rsp + 0x5c8], rax
mov rcx, qword [rsp + 0x5e0]
add rcx, 8
xor edx, edx
call fcn.140002910
mov r11, qword [0x140117c10]
mov qword [rsp + 0x210], r11
mov ecx, 0xc
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
mov ecx, 0xb
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], ebx
mov r9d, eax
mov r8d, 1
mov edx, 0x80
mov rcx, qword [rsp + 0x210]
call qword [sym.imp.USER32.dll_LoadImageA]
mov qword [rsp + 0x38], rax
mov r8d, 1
mov r9, qword [rsp + 0x38]
mov edx, 0x80
mov rcx, qword [rsp + 0x5e0]
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_SendMessageA]
mov rax, qword [0x140117c10]
mov qword [rsp + 0x218], rax
mov ecx, 0x32
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
mov ecx, 0x31
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], ebx
mov r9d, eax
mov r8d, 1
mov edx, 0x80
mov rcx, qword [rsp + 0x218]
call qword [sym.imp.USER32.dll_LoadImageA]
mov qword [rsp + 0x40], rax
xor r8d, r8d
mov r9, qword [rsp + 0x40]
mov edx, 0x80
mov rcx, qword [rsp + 0x5e0]
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_SendMessageA]
xor edx, edx
mov rcx, qword [rsp + 0x5e0]
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetSystemMenu]
mov qword [rsp + 0x220], rax
mov rax, qword [rsp + 0x220]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x228], rax
mov rcx, qword [rsp + 0x228]
call qword [sym.imp.USER32.dll_IsMenu]
test eax, eax
je 0x14000248c
mov rax, qword [0x140117c10]
mov qword [rsp + 0x230], rax
mov r9d, 0xff
lea r8, [rsp + 0x70]
mov edx, 0x7d2
mov rcx, qword [rsp + 0x230]
call qword [sym.imp.USER32.dll_LoadStringA]
test eax, eax
jle 0x14000248c
xor r9d, r9d
xor r8d, r8d
mov edx, 0x800
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_AppendMenuA]
lea r9, [rsp + 0x70]
mov r8d, 0x10
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_AppendMenuA]
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x238], rax
mov qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, eax
lea rcx, [0x140117b90]
call fcn.140002810
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x5e0], 0
je 0x1400024dc
mov rax, qword [rsp + 0x5e0]
add rax, 0x40
mov qword [rsp + 0x5c0], rax
jmp 0x1400024e8
mov qword [rsp + 0x5c0], 0
mov rax, qword [rsp + 0x5c0]
mov qword [rsp + 0x268], rax
mov rcx, qword [rsp + 0x48]
add rcx, 8
lea rdx, [rsp + 0x268]
call fcn.140004410
mov qword [rsp + 0x50], 0
mov dword [rsp + 0x58], 0
xor eax, eax
test eax, eax
jne 0x14000251f
xor eax, eax
test eax, eax
jne 0x14000251f
mov qword [rsp + 0x270], 0
lea rax, [rsp + 0x270]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftATLSamplesGUIDGEN
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [rsp + 0x278], eax
cmp dword [rsp + 0x278], 0
jne 0x14000259e
lea rcx, [rsp + 0x50]
call fcn.1400027c0
mov dword [rsp + 0x278], eax
mov rax, qword [rsp + 0x270]
mov qword [rsp + 0x50], rax
mov eax, 0x20019
and eax, 0x300
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x278]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
jne 0x140002655
xor eax, eax
test eax, eax
jne 0x1400025b4
xor eax, eax
test eax, eax
jne 0x1400025b4
mov dword [rsp + 0x280], 4
lea rax, [rsp + 0x280]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x170]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x27c]
xor r8d, r8d
lea rdx, str.GUID_Type
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [rsp + 0x284], eax
cmp dword [rsp + 0x284], 0
je 0x140002620
mov eax, dword [rsp + 0x284]
mov dword [rsp + 0x60], eax
jmp 0x14000263c
cmp dword [rsp + 0x27c], 4
je 0x140002634
mov dword [rsp + 0x60], 0xd
jmp 0x14000263c
mov dword [rsp + 0x60], 0
cmp dword [rsp + 0x60], 0
jne 0x140002655
mov rcx, qword [rsp + 0x5e0]
mov eax, dword [rsp + 0x170]
mov dword [rcx + 0x48], eax
mov rax, qword [rsp + 0x5e0]
mov eax, dword [rax + 0x48]
add eax, 0x3e8
mov dword [rsp + 0x288], eax
mov r9d, dword [rsp + 0x288]
mov r8d, 0x3eb
mov edx, 0x3e8
mov rcx, qword [rsp + 0x5e0]
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_CheckRadioButton]
mov rcx, qword [rsp + 0x5e0]
call fcn.140002fc0
test eax, eax
jne 0x1400026bf
mov rcx, qword [rsp + 0x5e0]
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, 3
call qword [sym.imp.USER32.dll_PostQuitMessage]
lea rdx, [rsp + 0x3b0]
mov rcx, qword [rsp + 0x5e0]
call fcn.140002ce0
lea r8, [rsp + 0x3b0]
mov edx, 0x3ec
mov rcx, qword [rsp + 0x5e0]
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_SetDlgItemTextA]
mov qword [rsp + 0x178], 1
lea rcx, [rsp + 0x50]
call fcn.1400027c0
nop
xor eax, eax
cmp eax, 1
je 0x140002748
cmp qword [rsp + 0x30], 0
je 0x140002748
cmp qword [rsp + 0x30], 0
jne 0x140002723
jmp 0x140002748
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_DestroyMenu]
mov dword [rsp + 0x5b0], eax
cmp dword [rsp + 0x5b0], 0
je 0x140002748
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x178]
mov rcx, qword [rsp + 0x5c8]
xor rcx, rsp
call fcn.14004b2c0
add rsp, 0x5d0
pop rbx
ret