Function at 0x140078f40
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.140129a50
mov rdx, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x140078faf
mov ecx, 0x80004005
call fcn.140002d80
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
call fcn.140129a50
mov rdx, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x140078fe0
mov ecx, 0x80004005
call fcn.140002d80
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.140139b24
lea r11, method..45.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 0x1400792a7
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 0x1400790f4
xor r9d, r9d
lea r8, str.RenderDefaultFixed
lea rdx, str.General
lea rcx, [0x140206e90]
call fcn.1401380a8
mov edi, eax
jmp 0x140079113
xor r9d, r9d
lea r8, str.CaptureDefaultFixed
lea rdx, str.General
lea rcx, [0x140206e90]
call fcn.1401380a8
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.140138678
test eax, eax
je 0x1400791e8
cmp dword [rsp + 0x70], 0x10
jne 0x1400791d4
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 0x1400791d4
xor r9d, r9d
lea r8, str.RenderDefaultFixed
lea rdx, str.General
lea rcx, [0x140206e90]
call fcn.140138148
xor r9d, r9d
lea r8, str.CaptureDefaultFixed
lea rdx, str.General
lea rcx, [0x140206e90]
call fcn.140138148
mov edi, ebp
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400791e8
call fcn.1401281e4
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.140138300
cmp edi, 1
jne 0x1400792a7
lea rcx, [rsp + 0xe0]
call fcn.140139b4c
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 0x14007924d
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 0x14007926c
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 0x14007927d
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14007928e
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140079b11
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x140079b11
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [0x140190538]
xor edx, edx
lea r8d, [rdx + 0x17]
lea rcx, [0x140190528]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x14007935f
lea rcx, [rsp + 0xe0]
call fcn.140139b4c
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 0x140079305
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 0x140079324
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 0x140079335
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140079346
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140079b11
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x140079b11
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 0x14007940c
lea rcx, [rsp + 0xe0]
call fcn.140139b4c
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 0x1400793b2
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 0x1400793d1
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 0x1400793e2
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400793f3
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140079b11
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x140079b11
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
lea rdx, [rsp + 0x58]
call qword [rax + 0x18]
test eax, eax
jns 0x1400794b0
lea rcx, [rsp + 0xe0]
call fcn.140139b4c
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 0x140079456
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 0x140079475
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 0x140079486
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140079497
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140079b11
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x140079b11
mov r14d, ebp
or rbx, 0xffffffffffffffff
lea r13d, [rbx + 2]
cmp dword [rsp + 0x58], esi
jbe 0x1400798e2
lea rsi, str.Render_
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400794e5
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 0x140079860
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea rdx, [rsp + 0x88]
call qword [rax + 0x28]
test eax, eax
js 0x140079857
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.1400032e0
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0x38]
call fcn.14003c4e0
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 0x140079869
xor eax, eax
mov rcx, rbx
lea rdi, [0x14018e570]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [0x14018e570]
lea rcx, [rsp + 0x40]
call fcn.1400032e0
lea rdx, str.Capture_
test r12d, r12d
cmove rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.14003c4e0
mov rdi, qword [rsp + 0x38]
cmp dword [rdi - 0x10], 0
jge 0x1400795d2
mov eax, ebx
jmp 0x1400795f0
lea rdx, [0x14018e610]
mov rcx, rdi
call fcn.140144e70
test rax, rax
jne 0x1400795ea
mov eax, ebx
jmp 0x1400795f0
sub rax, rdi
sar rax, 1
lea r8d, [rax + 2]
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0x38]
call fcn.14003bcb0
nop
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14003bbf0
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 0x140079638
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdi, qword [rsp + 0x80]
test rdi, rdi
je 0x140079659
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 0x140079892
mov eax, ebp
test rdi, rdi
je 0x1400796a1
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0xc0]
mov qword [rsp + 0x80], rcx
test eax, eax
jne 0x140079872
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 0x1400798a4
cmp dword [rsp + 0x90], 3
jne 0x14007989b
lea ecx, [rax + 0x18]
call fcn.1401281a0
mov r13, rax
test rax, rax
je 0x1400798ad
call fcn.140129a50
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
je 0x1400798d7
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.140005a30
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 0x1400797da
nop
nop
mov rsi, rdi
mov rcx, rdi
test rdi, rdi
je 0x1400798d1
mov rdi, qword [rdi]
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x1400797be
add rcx, 8
lea rdx, [r13 + 8]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
cmp eax, 1
je 0x1400797c5
test rdi, rdi
je 0x1400797da
jmp 0x140079790
mov r8, r13
mov rdx, rsi
lea rcx, [rsp + 0xe0]
call fcn.140139c6c
jmp 0x1400797ea
mov rdx, r13
lea rcx, [rsp + 0xe0]
call fcn.140139c28
lea rdx, [rsp + 0x60]
lea rcx, [r13 + 8]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
cmp eax, 1
jne 0x140079820
cmp dword [rsp + 0x178], eax
jne 0x14007982a
mov r13d, eax
mov esi, eax
mov dword [rsp + 0x170], eax
mov r12d, dword [rsp + 0x160]
jmp 0x1400798ba
cmp dword [rsp + 0x178], 1
je 0x14007987b
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 0x1400798ba
mov esi, dword [rsp + 0x170]
jmp 0x1400798ba
mov esi, dword [rsp + 0x170]
jmp 0x1400798ba
mov esi, dword [rsp + 0x170]
jmp 0x1400798ba
mov esi, dword [rsp + 0x170]
jmp 0x1400798ba
mov esi, dword [rsp + 0x170]
mov r12d, dword [rsp + 0x160]
mov r13d, 1
jmp 0x1400798ba
mov esi, dword [rsp + 0x170]
jmp 0x1400798ba
mov esi, dword [rsp + 0x170]
jmp 0x1400798ba
mov esi, dword [rsp + 0x170]
jmp 0x1400798ba
mov esi, dword [rsp + 0x170]
mov r13d, 1
add r14d, 1
cmp r14d, dword [rsp + 0x58]
jae 0x1400798e2
lea rsi, str.Render_
jmp 0x1400794d0
call fcn.1401298b4
int3
mov ecx, 0x80004005
call fcn.140002d80
int3
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400798f7
mov qword [rsp + 0x30], rbp
mov rax, qword [rcx]
call qword [rax + 0x10]
test esi, esi
je 0x1400799cc
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 0x1400799bc
mov rdi, qword [rsp + 0xe8]
test rdi, rdi
je 0x1400799bc
mov rsi, rdi
test rdi, rdi
je 0x1400799b6
mov rdi, qword [rdi]
mov rsi, qword [rsi + 0x10]
test rsi, rsi
je 0x1400799af
cmp dword [rsi + 0x10], 1
jne 0x1400799af
lea rcx, [rsi + 8]
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
cmp eax, 1
jne 0x1400799a4
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 0x140079940
jmp 0x1400799bc
call fcn.1401298b4
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400799cc
mov rax, qword [rcx]
call qword [rax + 0x10]
test r12d, r12d
jne 0x1400799f7
test r15d, r15d
sete bpl
mov r9d, ebp
lea r8, str.RenderDefaultFixed
lea rdx, str.General
lea rcx, [0x140206e90]
call fcn.140138148
jmp 0x140079a1b
test r15d, r15d
sete bpl
mov r9d, ebp
lea r8, str.CaptureDefaultFixed
lea rdx, str.General
lea rcx, [0x140206e90]
call fcn.140138148
mov rdi, qword [rsp + 0xe8]
test rdi, rdi
je 0x140079a6f
mov rsi, rdi
test rdi, rdi
je 0x140079a69
mov rdi, qword [rdi]
mov rsi, qword [rsi + 0x10]
test rsi, rsi
je 0x140079a62
mov rdx, qword [rsi]
sub rdx, 0x18
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140079a5a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, rsi
call fcn.1401281e4
test rdi, rdi
jne 0x140079a28
jmp 0x140079a6f
call fcn.1401298b4
int3
lea rcx, [rsp + 0xe0]
call fcn.1401399d0
nop
lea rcx, [rsp + 0xe0]
call fcn.140139b4c
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 0x140079aac
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 0x140079acb
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 0x140079adf
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140079af0
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140079b01
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140079b11
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