Function at 0x140079190
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov dword [rax + 8], ecx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x120
mov qword [rsp + 0x118], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov edi, edx
mov r12d, ecx
xor ebp, ebp
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x30], rbp
mov qword [rax - 0xd0], rbp
mov dword [rsp + 0x58], ebp
mov qword [rax - 0xd8], rbp
call fcn.14012a060
mov rdx, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x1400791ff
mov ecx, 0x80004005
call fcn.140002cb0
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
call fcn.14012a060
mov rdx, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x140079230
mov ecx, 0x80004005
call fcn.140002cb0
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
mov word [rsp + 0xa0], 0
xor eax, eax
mov qword [rsp + 0xa2], rax
mov dword [rsp + 0xaa], eax
mov word [rsp + 0xae], ax
mov word [rsp + 0xb0], ax
mov qword [rsp + 0xb2], rax
mov dword [rsp + 0xba], eax
mov word [rsp + 0xbe], ax
mov dword [rsp + 0x74], ebp
lea edx, [rax + 0xa]
lea rcx, [rsp + 0xe0]
call fcn.14013a144
lea r11, method..12.virtual_0
mov qword [rsp + 0xe0], r11
mov esi, ebp
mov dword [rsp + 0x170], ebp
mov r15d, ebp
mov dword [rsp + 0x60], ebp
xor eax, eax
mov dword [rsp + 0x64], eax
lea rcx, [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
test edi, edi
jne 0x1400794f7
mov word [rsp + 0xc8], si
xor eax, eax
mov qword [rsp + 0xca], rax
mov dword [rsp + 0xd2], eax
mov word [rsp + 0xd6], ax
mov dword [rsp + 0x98], ebp
mov dword [rsp + 0x9c], eax
mov dword [rsp + 0x70], ebp
mov qword [rsp + 0x78], rbp
test r12d, r12d
jne 0x140079344
xor r9d, r9d
lea r8, str.RenderDefaultFixed
lea rdx, str.General
lea rcx, [0x140206e90]
call fcn.1401386a8
mov edi, eax
jmp 0x140079363
xor r9d, r9d
lea r8, str.CaptureDefaultFixed
lea rdx, str.General
lea rcx, [0x140206e90]
call fcn.1401386a8
mov edi, eax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x78]
lea r8, str.LastFixDefaultTime
lea rdx, str.General
lea rcx, [0x140206e90]
call fcn.140138c78
test eax, eax
je 0x140079438
cmp dword [rsp + 0x70], 0x10
jne 0x140079424
lea rdx, [rsp + 0xc8]
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
mov qword [rdx], rax
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0xc8]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
cmp eax, 0xffffffff
jne 0x140079424
xor r9d, r9d
lea r8, str.RenderDefaultFixed
lea rdx, str.General
lea rcx, [0x140206e90]
call fcn.140138748
xor r9d, r9d
lea r8, str.CaptureDefaultFixed
lea rdx, str.General
lea rcx, [0x140206e90]
call fcn.140138748
mov edi, ebp
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140079438
call fcn.1401287f4
mov qword [rsp + 0x78], rbp
mov dword [rsp + 0x20], 0x10
lea r9, [rsp + 0xb0]
lea r8, str.LastFixDefaultTime
lea rdx, str.General
lea rcx, [0x140206e90]
call fcn.140138900
cmp edi, 1
jne 0x1400794f7
lea rcx, [rsp + 0xe0]
call fcn.14013a16c
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
or rbx, 0xffffffffffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x14007949d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
add ebx, 0xffffffff
test ebx, ebx
jg 0x1400794bc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400794cd
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400794de
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140079d61
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x140079d61
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [0x140190548]
xor edx, edx
lea r8d, [rdx + 0x17]
lea rcx, [0x140190538]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400795af
lea rcx, [rsp + 0xe0]
call fcn.14013a16c
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
or rbx, 0xffffffffffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x140079555
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
add ebx, 0xffffffff
test ebx, ebx
jg 0x140079574
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140079585
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140079596
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140079d61
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x140079d61
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
lea r9, [rsp + 0x48]
mov r8d, 9
mov edx, r12d
call qword [rax + 0x18]
test eax, eax
jns 0x14007965c
lea rcx, [rsp + 0xe0]
call fcn.14013a16c
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
or rbx, 0xffffffffffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x140079602
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
add ebx, 0xffffffff
test ebx, ebx
jg 0x140079621
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140079632
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140079643
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140079d61
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x140079d61
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
lea rdx, [rsp + 0x58]
call qword [rax + 0x18]
test eax, eax
jns 0x140079700
lea rcx, [rsp + 0xe0]
call fcn.14013a16c
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
or rbx, 0xffffffffffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x1400796a6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
add ebx, 0xffffffff
test ebx, ebx
jg 0x1400796c5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400796d6
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400796e7
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140079d61
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x140079d61
mov r14d, ebp
or rbx, 0xffffffffffffffff
lea r13d, [rbx + 2]
cmp dword [rsp + 0x58], esi
jbe 0x140079b32
lea rsi, str.Render_
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140079735
mov qword [rsp + 0x30], rbp
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
lea r8, [rsp + 0x30]
mov edx, r14d
call qword [rax + 0x20]
test eax, eax
js 0x140079ab0
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea rdx, [rsp + 0x88]
call qword [rax + 0x28]
test eax, eax
js 0x140079aa7
xor eax, eax
mov rcx, rbx
lea rdi, [0x14017f438]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [0x14017f438]
lea rcx, [rsp + 0x38]
call fcn.140003210
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0x38]
call fcn.14003c4b0
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [rsp + 0x178], ebp
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea rdx, [rsp + 0x178]
call qword [rax + 0x30]
test eax, eax
js 0x140079ab9
xor eax, eax
mov rcx, rbx
lea rdi, [0x14018e580]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [0x14018e580]
lea rcx, [rsp + 0x40]
call fcn.140003210
lea rdx, str.Capture_
test r12d, r12d
cmove rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.14003c4b0
mov rdi, qword [rsp + 0x38]
cmp dword [rdi - 0x10], 0
jge 0x140079822
mov eax, ebx
jmp 0x140079840
lea rdx, [0x14018e620]
mov rcx, rdi
call fcn.140145480
test rax, rax
jne 0x14007983a
mov eax, ebx
jmp 0x140079840
sub rax, rdi
sar rax, 1
lea r8d, [rax + 2]
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0x38]
call fcn.14003bc80
nop
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14003bbc0
nop
mov rdx, qword [rsp + 0xd8]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140079888
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdi, qword [rsp + 0x80]
test rdi, rdi
je 0x1400798a9
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, rbp
mov qword [rsp + 0x80], rbp
mov qword [rsp + 0xc0], rbp
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140079ae2
mov eax, ebp
test rdi, rdi
je 0x1400798f1
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0xc0]
mov qword [rsp + 0x80], rcx
test eax, eax
jne 0x140079ac2
xor eax, eax
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], rax
mov dword [rsp + 0x74], 0x10
lea rax, [rsp + 0x74]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x90]
xor r8d, r8d
lea rdx, str.Role:0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140079af4
cmp dword [rsp + 0x90], 3
jne 0x140079aeb
lea ecx, [rax + 0x18]
call fcn.1401287b0
mov r13, rax
test rax, rax
je 0x140079afd
call fcn.14012a060
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
je 0x140079b27
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [r13], rax
lea rdx, [rsp + 0x38]
mov rcx, r13
call fcn.1400059c0
lea rdx, [r13 + 8]
lea rcx, [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov edx, dword [rsp + 0x178]
mov dword [r13 + 0x10], edx
mov rdi, qword [rsp + 0xe8]
test rdi, rdi
je 0x140079a2a
nop
nop
mov rsi, rdi
mov rcx, rdi
test rdi, rdi
je 0x140079b21
mov rdi, qword [rdi]
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x140079a0e
add rcx, 8
lea rdx, [r13 + 8]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
cmp eax, 1
je 0x140079a15
test rdi, rdi
je 0x140079a2a
jmp 0x1400799e0
mov r8, r13
mov rdx, rsi
lea rcx, [rsp + 0xe0]
call fcn.14013a28c
jmp 0x140079a3a
mov rdx, r13
lea rcx, [rsp + 0xe0]
call fcn.14013a248
lea rdx, [rsp + 0x60]
lea rcx, [r13 + 8]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
cmp eax, 1
jne 0x140079a70
cmp dword [rsp + 0x178], eax
jne 0x140079a7a
mov r13d, eax
mov esi, eax
mov dword [rsp + 0x170], eax
mov r12d, dword [rsp + 0x160]
jmp 0x140079b0a
cmp dword [rsp + 0x178], 1
je 0x140079acb
lea rdx, [rsp + 0x60]
lea rcx, [r13 + 8]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
cmp eax, 1
mov r13d, 1
cmove r15d, r13d
mov esi, dword [rsp + 0x170]
mov r12d, dword [rsp + 0x160]
jmp 0x140079b0a
mov esi, dword [rsp + 0x170]
jmp 0x140079b0a
mov esi, dword [rsp + 0x170]
jmp 0x140079b0a
mov esi, dword [rsp + 0x170]
jmp 0x140079b0a
mov esi, dword [rsp + 0x170]
jmp 0x140079b0a
mov esi, dword [rsp + 0x170]
mov r12d, dword [rsp + 0x160]
mov r13d, 1
jmp 0x140079b0a
mov esi, dword [rsp + 0x170]
jmp 0x140079b0a
mov esi, dword [rsp + 0x170]
jmp 0x140079b0a
mov esi, dword [rsp + 0x170]
jmp 0x140079b0a
mov esi, dword [rsp + 0x170]
mov r13d, 1
add r14d, 1
cmp r14d, dword [rsp + 0x58]
jae 0x140079b32
lea rsi, str.Render_
jmp 0x140079720
call fcn.140129ec4
int3
mov ecx, 0x80004005
call fcn.140002cb0
int3
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140079b47
mov qword [rsp + 0x30], rbp
mov rax, qword [rcx]
call qword [rax + 0x10]
test esi, esi
je 0x140079c1c
mov qword [rsp + 0x68], rbp
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r9, [0x140189a60]
mov r8d, r13d
xor edx, edx
lea rcx, [0x140189a50]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140079c0c
mov rdi, qword [rsp + 0xe8]
test rdi, rdi
je 0x140079c0c
mov rsi, rdi
test rdi, rdi
je 0x140079c06
mov rdi, qword [rdi]
mov rsi, qword [rsi + 0x10]
test rsi, rsi
je 0x140079bff
cmp dword [rsi + 0x10], 1
jne 0x140079bff
lea rcx, [rsi + 8]
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
cmp eax, 1
jne 0x140079bf4
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
xor r8d, r8d
mov rdx, qword [rsi]
call qword [rax + 0x60]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
mov r8d, r13d
mov rdx, qword [rsi]
call qword [rax + 0x60]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
mov r8d, 2
mov rdx, qword [rsi]
call qword [rax + 0x60]
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_Sleep]
test rdi, rdi
jne 0x140079b90
jmp 0x140079c0c
call fcn.140129ec4
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140079c1c
mov rax, qword [rcx]
call qword [rax + 0x10]
test r12d, r12d
jne 0x140079c47
test r15d, r15d
sete bpl
mov r9d, ebp
lea r8, str.RenderDefaultFixed
lea rdx, str.General
lea rcx, [0x140206e90]
call fcn.140138748
jmp 0x140079c6b
test r15d, r15d
sete bpl
mov r9d, ebp
lea r8, str.CaptureDefaultFixed
lea rdx, str.General
lea rcx, [0x140206e90]
call fcn.140138748
mov rdi, qword [rsp + 0xe8]
test rdi, rdi
je 0x140079cbf
mov rsi, rdi
test rdi, rdi
je 0x140079cb9
mov rdi, qword [rdi]
mov rsi, qword [rsi + 0x10]
test rsi, rsi
je 0x140079cb2
mov rdx, qword [rsi]
sub rdx, 0x18
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140079caa
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, rsi
call fcn.1401287f4
test rdi, rdi
jne 0x140079c78
jmp 0x140079cbf
call fcn.140129ec4
int3
lea rcx, [rsp + 0xe0]
call fcn.140139fd0
nop
lea rcx, [rsp + 0xe0]
call fcn.14013a16c
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140079cfc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
add ebx, 0xffffffff
test ebx, ebx
jg 0x140079d1b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x140079d2f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140079d40
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140079d51
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140079d61
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rbx, qword [rsp + 0x168]
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret