Function at 0x14002b070
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x90
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rbx, rcx
lea r9, str.CuiMainConsoleApp::ParseCommandLineArg
mov r8d, 0x3e
lea rdx, str..uiMainConsole.cpp
lea rcx, [rsp + 0x60]
call fcn.1400583e0
nop
lea rcx, [rsp + 0x48]
call fcn.14002f3b0
mov qword [rsp + 0x50], rax
mov byte [rax + 0x41], 1
mov rax, qword [rsp + 0x50]
mov qword [rax + 8], rax
mov rax, qword [rsp + 0x50]
mov qword [rax], rax
mov rax, qword [rsp + 0x50]
mov qword [rax + 0x10], rax
mov qword [rsp + 0x58], 0
mov r8, qword [0x14013a258]
mov edx, dword [0x14013a248]
lea rcx, [rsp + 0x48]
call fcn.140007ab0
cmp eax, 1
jge 0x14002b215
lea r9, str.command_line_has_no_parameter__so_uiWinMgr_runs_as_launcher.
mov edx, 6
lea r8d, [rdx + 0x3f]
lea rcx, [rsp + 0x60]
call fcn.1400585b0
mov byte [rbx + 0x15c], 1
mov dword [rsp + 0xa8], 0
mov dword [rsp + 0xb8], 0
mov dword [rsp + 0xb0], 4
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20219
xor r8d, r8d
lea rdx, str.SOFTWARETrendMicroPC_cillinNTCorpCurrentVersionMisc.
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14002b1a9
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xb8]
xor r8d, r8d
lea rdx, [0x1400f11e8]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0xa8], 0xca
jne 0x14002b1bd
call fcn.14002dac0
jmp 0x14002b1c2
call fcn.14002d950
mov dword [rsp + 0x6c], 0x4c
mov dword [rsp + 0x68], 1
lea rcx, [rsp + 0x48]
call fcn.14002e5e0
nop
lea rax, [0x1400d8790]
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x60]
call fcn.140058360
nop
mov rcx, qword [rsp + 0x80]
call fcn.14006b8a0
nop
mov rcx, qword [rsp + 0x78]
call fcn.14006b8a0
nop
or eax, 0xffffffff
jmp 0x14002b3e8
lea rdx, str._pid
lea rcx, [rsp + 0x48]
call fcn.140008990
test al, al
jne 0x14002b297
lea r9, str.Cannot_Find__pid_Argument.
mov edx, 6
lea r8d, [rdx + 0x4d]
lea rcx, [rsp + 0x60]
call fcn.1400585b0
mov dword [rsp + 0x6c], 0x54
mov dword [rsp + 0x68], 1
lea rcx, [rsp + 0x48]
call fcn.14002e5e0
nop
lea rax, [0x1400d8790]
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x60]
call fcn.140058360
nop
mov rcx, qword [rsp + 0x80]
call fcn.14006b8a0
nop
mov rcx, qword [rsp + 0x78]
call fcn.14006b8a0
nop
or eax, 0xffffffff
jmp 0x14002b3e8
xor r9d, r9d
lea r8, str._pid
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x48]
call fcn.140008ba0
nop
mov rcx, qword [rsp + 0x30]
call fcn.14009e100
mov dword [rbx + 0x158], eax
call fcn.14009f140
cmp dword [rax], 0x22
je 0x14002b349
call fcn.14009f140
cmp dword [rax], 0x16
je 0x14002b349
mov dword [rsp + 0x6c], 0x60
mov dword [rsp + 0x68], 1
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
or ebx, 0xffffffff
lock xadd dword [rdx + 0x10], ebx
add ebx, 0xffffffff
test ebx, ebx
jg 0x14002b307
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
lea rcx, [rsp + 0x48]
call fcn.14002e5e0
nop
lea rax, [0x1400d8790]
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x60]
call fcn.140058360
nop
mov rcx, qword [rsp + 0x80]
call fcn.14006b8a0
nop
mov rcx, qword [rsp + 0x78]
call fcn.14006b8a0
nop
xor eax, eax
jmp 0x14002b3e8
call fcn.14009f140
mov ecx, dword [rax]
mov dword [rsp + 0x28], ecx
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, str.strPid:__s___wtoi_errno_d
mov edx, 6
lea r8d, [rdx + 0x56]
lea rcx, [rsp + 0x60]
call fcn.1400585b0
mov dword [rsp + 0x6c], 0x5d
mov dword [rsp + 0x68], 1
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x14002b3ab
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
lea rcx, [rsp + 0x48]
call fcn.14002e5e0
nop
lea rax, [0x1400d8790]
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x60]
call fcn.140058360
nop
mov rcx, qword [rsp + 0x80]
call fcn.14006b8a0
nop
mov rcx, qword [rsp + 0x78]
call fcn.14006b8a0
nop
mov eax, ebx
add rsp, 0x90
pop rbx
ret