Function at 0x18000f6b0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x18], 0xfffffffffffffffe
mov rdi, rcx
cmp dword [rcx + 0x2d8], 0
jne 0x18000fb93
cmp dword [rcx + 0x2dc], 0
je 0x18000fb93
mov eax, dword [rcx + 0x8f8]
mov ecx, 3
cmp eax, ecx
cmovne eax, ecx
mov dword [rdi + 0x8f8], eax
lea r8, str.DSTADBGINFO
lea rdx, [rdi + 0xd8]
lea rcx, vtable.CDbgCfgMgr.0
call fcn.18000eca0
test eax, eax
je 0x18000f73f
cmp dword [rdi + 0x2e0], 0
je 0x18000fb93
lea rcx, [rdi + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x20]
xor esi, esi
mov dword [rdi + 0x2e0], esi
jmp 0x18000fb93
cmp dword [rdi + 0x2e0], 0
jne 0x18000fb93
mov rax, qword [0x18007cb48]
mov qword [rbp + 0x58], rax
mov qword [rbp + 0x50], rax
call fcn.180045950
test eax, eax
jne 0x18000f76b
xor esi, esi
mov r9d, esi
jmp 0x18000f7c8
mov rax, qword [0x1800d7a28]
test rax, rax
jne 0x18000f79b
lea rcx, [0x1800958f0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.ProcessIdToSessionId
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800d7a28], rax
xor esi, esi
mov r9d, esi
mov dword [rbp + 0x40], esi
test rax, rax
je 0x18000f7c8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
lea rdx, [rbp + 0x40]
call qword [0x1800d7a28]
mov r9d, dword [rbp + 0x40]
test eax, eax
cmove r9d, esi
mov dword [rbp + 0x40], r9d
lea r8, str.TODAYLOGTIME_
lea rdx, str._s_lu
lea rcx, [rbp + 0x58]
call fcn.180021100
call fcn.180045950
test eax, eax
jne 0x18000f7ed
mov r9d, esi
jmp 0x18000f848
mov rax, qword [0x1800d7a28]
test rax, rax
jne 0x18000f81d
lea rcx, [0x1800958f0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.ProcessIdToSessionId
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800d7a28], rax
mov r9d, esi
mov dword [rbp + 0x40], esi
test rax, rax
je 0x18000f848
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
lea rdx, [rbp + 0x40]
call qword [0x1800d7a28]
mov r9d, dword [rbp + 0x40]
test eax, eax
cmove r9d, esi
mov dword [rbp + 0x40], r9d
lea r8, str.TODAYLOG_
lea rdx, str._s_lu
lea rcx, [rbp + 0x50]
call fcn.180021100
lea rcx, [rbp - 0x10]
call fcn.180025ad0
mov r8, qword [rbp + 0x58]
lea rdx, [rdi + 0xd8]
lea rcx, vtable.CDbgCfgMgr.0
call fcn.18000ed90
ucomisd xmm0, qword [0x1800a5ba8]
jp 0x18000f88b
je 0x18000f8fa
movapd xmm1, xmm0
lea rcx, [rbp - 0x28]
call fcn.180025a10
lea rcx, [rbp - 0x28]
call fcn.180025980
mov ebx, eax
lea rcx, [rbp - 0x10]
call fcn.180025980
cmp eax, ebx
jne 0x18000f8e0
lea rcx, [rbp - 0x28]
call fcn.1800259b0
mov ebx, eax
lea rcx, [rbp - 0x10]
call fcn.1800259b0
cmp eax, ebx
jne 0x18000f8e0
lea rcx, [rbp - 0x28]
call fcn.1800259e0
mov ebx, eax
lea rcx, [rbp - 0x10]
call fcn.1800259e0
cmp eax, ebx
je 0x18000f8fa
xor r9d, r9d
mov r8, qword [rbp + 0x50]
lea rdx, [rdi + 0xd8]
lea rcx, vtable.CDbgCfgMgr.0
call fcn.18000ee80
mov r8, qword [rbp + 0x50]
lea rdx, [rdi + 0xd8]
lea rcx, vtable.CDbgCfgMgr.0
call fcn.18000eca0
mov r13d, eax
cmp eax, dword [rdi + 0x8fc]
jb 0x18000f92b
lea rcx, [rbp + 0x50]
call fcn.180020550
nop
jmp 0x18000fb8a
mov dword [rdi + 0x18], reloc.WS2_32.dll_recv
mov dword [rdi + 0x14], 1
mov qword [rdi + 0xc0], 1
mov dword [rdi + 0xc8], esi
lea rcx, [rdi + 0x6f4]
xor edx, edx
mov r8d, 0x200
call fcn.180031610
xor edx, edx
lea rcx, [rdi + 8]
call fcn.1800151b0
mov rbx, rsi
mov qword [rbp - 0x30], rsi
lea r8, [rbp - 0x30]
lea rdx, [0x1800d0798]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x18000fa89
mov dword [rbp + 0x48], esi
mov dword [rbp + 0x40], esi
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x48]
xor r8d, r8d
lea rdx, str.PATH
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r11d, dword [rbp + 0x40]
cmp r11d, 2
jb 0x18000fa1d
add r11d, 2
mov dword [rbp + 0x40], r11d
shr r11d, 1
mov ecx, r11d
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.18002f858
mov rbx, rax
test rax, rax
je 0x18000fa1d
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 0x48]
xor r8d, r8d
lea rdx, str.PATH
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rbx, rbx
je 0x18000fa89
cmp dword [0x1800d5b50], 0
je 0x18000fa73
mov rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.180021870
nop
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
lea r9, str.ResetCfg2_2___s_
lea r8, str.cmdtest
mov edx, reloc.WS2_32.dll_ntohs
lea rcx, [0x1800d5a98]
call fcn.180015620
nop
lea rcx, [rbp - 0x28]
call fcn.180020550
xor edx, edx
mov r8d, 0x208
lea rcx, [0x1800d09a8]
call fcn.180031610
jmp 0x18000faf2
cmp dword [0x1800d5b50], 0
je 0x18000fab1
lea r9, str.ResetCfg2_1
lea r8, str.cmdtest
mov edx, reloc.WS2_32.dll_ntohs
lea rcx, [0x1800d5a98]
call fcn.180015620
lea rdx, str.OcularLog
lea rcx, [rbp + 0x40]
call fcn.18002e430
mov rdx, qword [rbp + 0x40]
lea rcx, [0x1800d09a8]
test rdx, rdx
jne 0x18000fade
mov r8d, 0x208
call fcn.180031610
jmp 0x18000fae9
mov r8d, 0x103
call fcn.1800300d0
lea rcx, [rbp + 0x40]
call fcn.180020550
mov rcx, qword [rdi + 0xd0]
test rcx, rcx
je 0x18000fb0a
call fcn.18002f7e0
mov qword [rdi + 0xd0], rsi
lea rcx, [rdi + 0xd8]
call fcn.18000f300
mov rbx, rax
mov qword [rdi + 0xd0], rax
test rax, rax
je 0x18000fb3e
lea rcx, [rdi + 0x38]
mov rdx, rax
call fcn.1800206d0
lea rcx, [rdi + 0x40]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + reloc.WS2_32.dll_recv]
mov dword [rdi + 0x2e0], 1
movsd xmm3, qword [rbp - 0x10]
mov r8, qword [rbp + 0x58]
lea rdx, [rdi + 0xd8]
lea rcx, vtable.CDbgCfgMgr.0
call fcn.18000ef60
lea r9d, [r13 + 1]
mov r8, qword [rbp + 0x50]
lea rdx, [rdi + 0xd8]
lea rcx, vtable.CDbgCfgMgr.0
call fcn.18000ee80
nop
lea rcx, [rbp + 0x50]
call fcn.180020550
nop
lea rcx, [rbp + 0x58]
call fcn.180020550
add rsp, 0x60
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret