Function at 0x1400538b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x78]
sub rsp, 0x150
mov qword [rbp + 8], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1403b88b0]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov ebx, edx
mov r13d, ecx
mov dword [rsp + 0x34], ecx
xor r14d, r14d
mov r15d, r14d
mov dword [rsp + 0x40], r14d
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x78], r14
mov qword [rsp + 0x48], r14
mov qword [rbp - 0x68], r14
mov dword [rsp + 0x50], r14d
mov qword [rbp - 0x50], r14
mov dword [rbp - 0x48], r14d
mov qword [rbp - 0x40], r14
call fcn.1400f5f94
mov rcx, rax
test rax, rax
je 0x14005412b
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x78], rax
call fcn.1400f5f94
mov rcx, rax
test rax, rax
je 0x140054136
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x58], rax
xor eax, eax
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rax
mov dword [rsp + 0x64], r14d
lea edx, [rax + 0xa]
lea rcx, [rbp - 0x30]
call fcn.140102fc8
lea rax, vtable.CTypedPtrList_class_CPtrList__struct__EndpointDefaultTime____ptr64_.0
mov qword [rbp - 0x30], rax
mov edi, r14d
mov dword [rsp + 0x30], r14d
mov esi, r14d
mov dword [rsp + 0x3c], r14d
mov qword [rsp + 0x68], r14
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea r12, [r14 - 1]
test ebx, ebx
jne 0x140053aeb
xor eax, eax
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rax
mov qword [rbp - 0x58], r14
mov dword [rsp + 0x60], r14d
mov qword [rbp - 0x80], r14
xor r9d, r9d
lea rdx, str.General
lea rcx, [0x1403dd120]
test r13d, r13d
lea r8, str.RenderDefaultFixed
je 0x140053a02
lea r8, str.CaptureDefaultFixed
call fcn.140102880
mov ebx, eax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x80]
lea r8, str.LastFixDefaultTime
lea rdx, str.General
lea rcx, [0x1403dd120]
call fcn.1401026b0
test eax, eax
je 0x140053abc
cmp dword [rsp + 0x60], 0x10
jne 0x140053aaa
mov rax, qword [rbp - 0x80]
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x30], xmm0
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea rdx, [rbp - 0x58]
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
cmp eax, r12d
jne 0x140053aaa
xor r9d, r9d
lea r8, str.RenderDefaultFixed
lea rdx, str.General
lea rcx, [0x1403dd120]
call fcn.140102e14
xor r9d, r9d
lea r8, str.CaptureDefaultFixed
lea rdx, str.General
lea rcx, [0x1403dd120]
call fcn.140102e14
mov ebx, r14d
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x140053abc
call fcn.1400f4944
mov qword [rbp - 0x80], r14
mov dword [rsp + 0x20], 0x10
lea r9, [rbp + 0x20]
lea r8, str.LastFixDefaultTime
lea rdx, str.General
lea rcx, [0x1403dd120]
call fcn.140102cdc
cmp ebx, 1
je 0x140054053
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
lea r9, [0x14032bce8]
xor edx, edx
lea r8d, [rdx + 0x17]
lea rcx, [0x14032bcd8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x140053b32
mov r9d, eax
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguidefdevsetting.cpp
mov edx, 0x11e
lea rcx, str._VCpl__RETURN_ON_ERROR:_Line___d__File___s__hr__0x_X_n
call fcn.140052e90
jmp 0x140054053
mov rcx, qword [rbp - 0x60]
mov rax, qword [rcx]
lea r9, [rbp - 0x78]
mov r8d, 9
mov ebx, dword [rsp + 0x34]
mov edx, ebx
call qword [rax + 0x18]
test eax, eax
jns 0x140053b70
mov r9d, eax
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguidefdevsetting.cpp
mov edx, 0x125
lea rcx, str._VCpl__RETURN_ON_ERROR:_Line___d__File___s__hr__0x_X_n
call fcn.140052e90
jmp 0x140054053
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
lea rdx, [rsp + 0x50]
call qword [rax + 0x18]
test eax, eax
jns 0x140053ba3
mov r9d, eax
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguidefdevsetting.cpp
mov edx, 0x129
lea rcx, str._VCpl__RETURN_ON_ERROR:_Line___d__File___s__hr__0x_X_n
call fcn.140052e90
jmp 0x140054053
mov r13d, r14d
cmp dword [rsp + 0x50], esi
jbe 0x140053eda
lea rdi, str.Render_
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140053bcc
mov qword [rsp + 0x48], r14
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
lea r8, [rsp + 0x48]
mov edx, r13d
call qword [rax + 0x20]
test eax, eax
js 0x140054116
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
lea rdx, [rbp - 0x68]
call qword [rax + 0x28]
test eax, eax
js 0x140054116
xor r8d, r8d
lea rdx, [0x140328530]
lea rcx, [rsp + 0x58]
call fcn.140010390
mov rdx, qword [rbp - 0x68]
test rdx, rdx
jne 0x140053c1f
mov eax, r14d
jmp 0x140053c2c
mov rax, r12
inc rax
cmp word [rdx + rax*2], 0
jne 0x140053c22
mov r8d, eax
lea rcx, [rsp + 0x58]
call fcn.14001bf50
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [rsp + 0x38], r14d
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
lea rdx, [rsp + 0x38]
call qword [rax + 0x30]
test eax, eax
js 0x140054116
mov r8d, 0x3a
lea rdx, [0x1403287d0]
lea rcx, [rsp + 0x78]
call fcn.140010390
lea rdx, str.Capture_
test ebx, ebx
cmove rdx, rdi
mov rax, r12
nop word [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x140053c90
mov r8d, eax
lea rcx, [rsp + 0x78]
call fcn.14001bf50
mov rbx, qword [rsp + 0x58]
cmp dword [rbx - 0x10], 0
jge 0x140053cb7
mov eax, r12d
jmp 0x140053cd6
lea rdx, [0x140328870]
mov rcx, rbx
call fcn.140283820
test rax, rax
jne 0x140053cd0
mov eax, r12d
jmp 0x140053cd6
sub rax, rbx
sar rax, 1
lea r8d, [rax + 2]
mov r9d, dword [rbx - 0x10]
sub r9d, r8d
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x58]
call fcn.14001be70
or r15d, 1
mov dword [rsp + 0x40], r15d
mov rbx, qword [rbp - 0x38]
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
lea rcx, [rsp + 0x78]
call fcn.14001bf50
nop
lea rdx, [rbx - 0x18]
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140053d28
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x140053d3b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x50], r14
mov dword [rbp - 0x48], r14d
mov r9d, 0x20019
mov r8, qword [rsp + 0x78]
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x50]
call fcn.1400146e0
test eax, eax
jne 0x140053ec4
xor eax, eax
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rax
mov dword [rsp + 0x64], 0x10
lea rax, [rsp + 0x64]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x70]
xor r8d, r8d
lea rdx, str.Role:0
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140054112
cmp dword [rbp - 0x70], 3
jne 0x140053ec4
lea ecx, [rax + 0x18]
call fcn.1400f48fc
mov rdi, rax
test rax, rax
je 0x140053dee
xor eax, eax
mov qword [rdi], rax
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], rax
call fcn.1400f5f94
mov rcx, rax
test rax, rax
je 0x140054141
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rdi], rax
jmp 0x140053df1
mov rdi, r14
test rdi, rdi
je 0x140053ec4
lea rdx, [rsp + 0x58]
mov rcx, rdi
call fcn.140014890
lea rdx, [rdi + 8]
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov eax, dword [rsp + 0x38]
mov dword [rdi + 0x10], eax
mov rbx, qword [rbp - 0x28]
test rbx, rbx
je 0x140053e5b
mov rsi, rbx
mov rcx, rbx
mov rbx, qword [rbx]
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x140053e20
add rcx, 8
lea rdx, [rdi + 8]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
cmp eax, 1
jne 0x140053e20
mov r8, rdi
mov rdx, rsi
lea rcx, [rbp - 0x30]
call fcn.1401031c4
jmp 0x140053e67
mov rdx, rdi
lea rcx, [rbp - 0x30]
call fcn.1401030b4
lea rdx, [rsp + 0x68]
lea rcx, [rdi + 8]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
cmp eax, 1
jne 0x140053e92
cmp dword [rsp + 0x38], eax
jne 0x140053e9d
mov edi, eax
mov dword [rsp + 0x30], eax
mov esi, dword [rsp + 0x3c]
mov r15d, dword [rsp + 0x40]
jmp 0x140053ec8
cmp dword [rsp + 0x38], 1
je 0x140054109
lea rdx, [rsp + 0x68]
lea rcx, [rdi + 8]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
mov esi, dword [rsp + 0x3c]
cmp eax, 1
mov eax, 1
cmove esi, eax
mov dword [rsp + 0x3c], esi
mov r15d, dword [rsp + 0x40]
mov edi, dword [rsp + 0x30]
mov ebx, dword [rsp + 0x34]
inc r13d
cmp r13d, dword [rsp + 0x50]
jb 0x140053bb0
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140053eef
mov qword [rsp + 0x48], r14
mov rax, qword [rcx]
call qword [rax + 0x10]
test edi, edi
je 0x140053fc8
mov qword [rsp + 0x70], r14
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [0x140322af8]
mov r15d, 1
mov r8d, r15d
xor edx, edx
lea rcx, [0x140322b08]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140053fb8
mov rbx, qword [rbp - 0x28]
test rbx, rbx
je 0x140053fb8
nop word [rax + rax]
mov rdi, rbx
test rbx, rbx
je 0x14005411f
mov rbx, qword [rbx]
mov rdi, qword [rdi + 0x10]
test rdi, rdi
je 0x140053fb3
cmp dword [rdi + 0x10], r15d
jne 0x140053fb3
lea rcx, [rdi + 8]
lea rdx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
cmp eax, r15d
jne 0x140053fa8
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
xor r8d, r8d
mov rdx, qword [rdi]
call qword [rax + 0x60]
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
mov r8d, r15d
mov rdx, qword [rdi]
call qword [rax + 0x60]
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
mov r8d, 2
mov rdx, qword [rdi]
call qword [rax + 0x60]
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_Sleep]
test rbx, rbx
jne 0x140053f40
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140053fc8
mov rax, qword [rcx]
call qword [rax + 0x10]
lea rdx, str.General
lea rcx, [0x1403dd120]
cmp dword [rsp + 0x34], 0
lea r8, str.RenderDefaultFixed
je 0x140053feb
lea r8, str.CaptureDefaultFixed
test esi, esi
sete r14b
mov r9d, r14d
call fcn.140102e14
mov rbx, qword [rbp - 0x28]
test rbx, rbx
je 0x140054049
mov rdi, rbx
test rbx, rbx
je 0x140054125
mov rbx, qword [rbx]
mov rdi, qword [rdi + 0x10]
test rdi, rdi
je 0x140054044
mov rdx, qword [rdi]
sub rdx, 0x18
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140054037
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov edx, 0x18
mov rcx, rdi
call fcn.14000deb0
test rbx, rbx
jne 0x140054002
lea rcx, [rbp - 0x30]
call fcn.1401032ac
nop
lea rcx, [rbp - 0x30]
call fcn.140102ff0
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14005407d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r12d
sub r12d, 1
jg 0x14005409c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x1400540ac
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400540bd
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x1400540cd
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x1400540dc
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.140281bf0
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov esi, dword [rsp + 0x3c]
jmp 0x140053ebf
mov ebx, dword [rsp + 0x34]
mov edi, dword [rsp + 0x30]
jmp 0x140053ecc
call fcn.1400f5890
nop
call fcn.1400f5890
nop
mov ecx, 0x80004005
call fcn.14000dc70
nop
mov ecx, 0x80004005
call fcn.14000dc70
nop
mov ecx, 0x80004005
call fcn.14000dc70
int3