Function at 0x140145d20
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x500]
sub rsp, 0x600
mov qword [rbp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x640], rbx
mov rax, qword [0x1403eaa10]
xor rax, rsp
mov qword [rbp + 0x4f0], rax
mov r14, r9
mov r13, r8
mov r12, rdx
mov qword [rbp - 0x38], rdx
mov rbx, qword [rdx]
cmp rbx, qword [rdx + 8]
je 0x140146493
xor esi, esi
nop dword [rax + rax]
mov qword [rbp + 0xc0], 7
mov qword [rbp + 0xb8], rsi
mov word [rbp + 0xa8], si
mov r8d, 0x19
lea rdx, str.ClientsStartMenuInternet
lea rcx, [rbp + 0xa8]
call fcn.1400cd800
nop
mov qword [rbp + 0xa0], 7
mov qword [rbp + 0x98], rsi
mov word [rbp + 0x88], si
cmp qword [rbx + 0x18], 0
jbe 0x140145e03
lea rdx, [rbx + 8]
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rbp + 0x88]
call fcn.1400cf4b0
mov r8d, 1
lea rdx, [0x1403232c8]
lea rcx, [rbp + 0x88]
call fcn.1400cf080
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0xa8]
lea rcx, [rbp + 0x88]
call fcn.1400cf4b0
lea rdx, [rbp + 0x88]
cmp qword [rbp + 0xa0], 8
cmovae rdx, qword [rbp + 0x88]
lea rax, [rbp - 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, qword [rbx]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
sete dil
cmp qword [rbp + 0xa0], 8
jb 0x140145e6c
mov rcx, qword [rbp + 0x88]
call fcn.1402012c0
nop
cmp qword [rbp + 0xc0], 8
jb 0x140145e82
mov rcx, qword [rbp + 0xa8]
call fcn.1402012c0
test dil, dil
je 0x140146484
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x14014647a
mov r15d, esi
cmp dword [rbp - 0x70], eax
jbe 0x14014647a
lea r12, [0x140323de0]
nop dword [rax]
nop dword [rax + rax]
mov r9d, 0x104
lea r8, [rbp + 0xd0]
mov edx, r15d
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x140146469
lea rax, [rbp + 0xd0]
or rdi, 0xffffffffffffffff
nop dword [rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140145f20
mov qword [rbp - 0x78], 0
test edi, edi
jne 0x140145f3c
mov qword [rbp - 0x80], r12
jmp 0x140145f62
mov edx, edi
lea rcx, [rbp - 0x80]
call fcn.1401e9030
movsxd r9, edi
mov eax, dword [rbp - 0x78]
inc eax
movsxd rdx, eax
lea r8, [rbp + 0xd0]
mov rcx, qword [rbp - 0x80]
call fcn.14029b4d8
mov edx, edi
lea rcx, [rbp - 0x80]
call fcn.1401ea290
nop
lea rdx, str._shellopencommand
lea rcx, [rbp - 0x80]
call fcn.1401e7680
mov dword [rbp - 0x40], 0x208
lea r9, [rbp - 0x40]
lea r8, [rbp + 0x2e0]
mov rdx, qword [rbp - 0x80]
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
jne 0x14014645a
lea rax, [rbp + 0x2e0]
or rdi, 0xffffffffffffffff
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140145fb1
mov qword [rsp + 0x68], 0
test edi, edi
jne 0x140145fcf
mov qword [rsp + 0x60], r12
jmp 0x140145ff8
mov edx, edi
lea rcx, [rsp + 0x60]
call fcn.1401e9030
movsxd r9, edi
mov eax, dword [rsp + 0x68]
inc eax
movsxd rdx, eax
lea r8, [rbp + 0x2e0]
mov rcx, qword [rsp + 0x60]
call fcn.14029b4d8
mov edx, edi
lea rcx, [rsp + 0x60]
call fcn.1401ea290
nop
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], 0
mov r8d, 1
lea rdx, [0x14032c0d4]
lea rcx, [rsp + 0x60]
call fcn.1401eb700
lea rcx, [rsp + 0x60]
test al, al
je 0x1401460cb
mov r8d, 1
lea rdx, [0x14032c0d4]
call fcn.1401e9840
test eax, eax
jle 0x140146196
lea r8d, [rax + 1]
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x60]
call fcn.1401eaef0
nop
lea rdx, [rbp - 0x20]
mov rcx, rax
call fcn.1401eb9e0
mov rdi, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x70]
call fcn.1401e9030
movsxd r9, dword [rdi + 0xc]
mov ecx, dword [rsp + 0x78]
inc ecx
movsxd rdx, ecx
mov r8, qword [rdi]
mov rcx, qword [rsp + 0x70]
call fcn.14029b4d8
mov edx, dword [rdi + 0xc]
lea rcx, [rsp + 0x70]
call fcn.1401ea290
nop
cmp dword [rbp - 0x18], 0
jle 0x1401460b8
mov rcx, qword [rbp - 0x20]
call fcn.140298600
nop
cmp dword [rbp + 0x18], 0
jle 0x140146196
mov rcx, qword [rbp + 0x10]
jmp 0x140146191
lea rdx, str..exe
call fcn.1401e9720
mov esi, eax
test eax, eax
js 0x140146196
lea r8d, [rax + 5]
lea rdx, [rbp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.1401eaef0
mov rdi, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x70]
call fcn.1401e9030
movsxd r9, dword [rdi + 0xc]
mov ecx, dword [rsp + 0x78]
inc ecx
movsxd rdx, ecx
mov r8, qword [rdi]
mov rcx, qword [rsp + 0x70]
call fcn.14029b4d8
mov edx, dword [rdi + 0xc]
lea rcx, [rsp + 0x70]
call fcn.1401ea290
nop
cmp dword [rbp + 0x48], 0
jle 0x14014613a
mov rcx, qword [rbp + 0x40]
call fcn.140298600
lea r9d, [rsi + 4]
xor r8d, r8d
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.1401eb1b0
mov rdi, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x60]
call fcn.1401e9030
movsxd r9, dword [rdi + 0xc]
mov ecx, dword [rsp + 0x68]
inc ecx
movsxd rdx, ecx
mov r8, qword [rdi]
mov rcx, qword [rsp + 0x60]
call fcn.14029b4d8
mov edx, dword [rdi + 0xc]
lea rcx, [rsp + 0x60]
call fcn.1401ea290
nop
cmp dword [rbp + 0x38], 0
jle 0x140146196
mov rcx, qword [rbp + 0x30]
call fcn.140298600
cmp dword [rsp + 0x7c], 0
jle 0x140146351
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.1401eb9e0
mov rdi, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x70]
call fcn.1401e9030
movsxd r9, dword [rdi + 0xc]
mov ecx, dword [rsp + 0x78]
inc ecx
movsxd rdx, ecx
mov r8, qword [rdi]
mov rcx, qword [rsp + 0x70]
call fcn.14029b4d8
mov edx, dword [rdi + 0xc]
lea rcx, [rsp + 0x70]
call fcn.1401ea290
nop
cmp dword [rbp + 0x58], 0
jle 0x1401461f6
mov rcx, qword [rbp + 0x50]
call fcn.140298600
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], 0
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x70]
call fcn.140154010
test al, al
je 0x140146342
mov eax, dword [rbp - 0x44]
mov rcx, qword [rbp - 0x50]
test eax, eax
jns 0x14014623a
or rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140146230
lea r8d, [rax + rax]
mov r9, qword [0x1403fd8b0]
test r9, r9
je 0x140146346
mov rax, qword [r9]
mov rdx, rcx
mov rcx, r9
call qword [rax + 8]
test al, al
je 0x140146342
lea rdx, [rbp + 0x20]
mov rcx, rbx
call fcn.140143e50
nop
lea r8, str.ClientsStartMenuInternet
mov rdx, rax
lea rcx, [rbp - 0x68]
call fcn.1401e7d40
nop
cmp dword [rbp + 0x28], 0
jle 0x140146292
mov rcx, qword [rbp + 0x20]
call fcn.140298600
lea rdx, [0x1403232c8]
lea rcx, [rbp - 0x68]
call fcn.1401e7680
mov edi, dword [rbp - 0x5c]
add edi, dword [rbp - 0x74]
mov edx, edi
lea rcx, [rbp - 0x68]
call fcn.1401e9030
movsxd r9, dword [rbp - 0x74]
mov ecx, dword [rbp - 0x60]
movsxd rax, dword [rbp - 0x5c]
sub ecx, eax
inc ecx
movsxd rdx, ecx
mov rcx, rax
mov rax, qword [rbp - 0x68]
lea rcx, [rax + rcx*2]
mov r8, qword [rbp - 0x80]
call fcn.14029b4d8
mov edx, edi
lea rcx, [rbp - 0x68]
call fcn.1401ea290
lea rdx, [0x1403232c8]
lea rcx, [rbp - 0x68]
call fcn.1401e7680
mov rcx, qword [rbp - 0x50]
call fcn.14029ab7c
mov rdi, rax
mov rcx, qword [rbp - 0x68]
call fcn.14029ab7c
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdi
lea rdx, [rbp - 0x10]
mov rcx, r13
call fcn.14000a820
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x68]
mov rcx, r13
call fcn.140148120
nop
cmp dword [rbp - 0x60], 0
jle 0x140146342
mov rcx, qword [rbp - 0x68]
call fcn.140298600
mov rcx, qword [rbp - 0x50]
cmp dword [rbp - 0x48], 0
jle 0x140146351
call fcn.140298600
mov r8, qword [rsp + 0x60]
lea rdx, [rbp]
call fcn.140145ba0
mov rdi, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x60]
call fcn.1401e9030
movsxd r9, dword [rdi + 0xc]
mov ecx, dword [rsp + 0x68]
inc ecx
movsxd rdx, ecx
mov r8, qword [rdi]
mov rcx, qword [rsp + 0x60]
call fcn.14029b4d8
mov edx, dword [rdi + 0xc]
lea rcx, [rsp + 0x60]
call fcn.1401ea290
nop
cmp dword [rbp + 8], 0
jle 0x1401463a6
mov rcx, qword [rbp]
call fcn.140298600
mov rsi, qword [r14]
mov rdi, qword [rsi + 8]
cmp byte [rdi + 0x19], 0
jne 0x1401463e4
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rdi + 0x20]
call fcn.14029848c
test eax, eax
jns 0x1401463d8
mov rdi, qword [rdi + 0x10]
jmp 0x1401463de
mov rsi, rdi
mov rdi, qword [rdi]
cmp byte [rdi + 0x19], 0
je 0x1401463c0
cmp rsi, qword [r14]
je 0x140146405
mov rdx, qword [rsi + 0x20]
mov rcx, qword [rsp + 0x60]
call fcn.14029848c
test eax, eax
js 0x140146405
mov qword [rbp - 0x30], rsi
lea rax, [rbp - 0x30]
jmp 0x140146410
mov rax, qword [r14]
mov qword [rbp - 0x28], rax
lea rax, [rbp - 0x28]
mov rax, qword [rax]
cmp rax, qword [r14]
jne 0x140146435
movzx eax, byte [0x1403fdd77]
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x60]
lea rdx, [rbp + 0x78]
mov rcx, r14
call fcn.1400e9d70
nop
cmp dword [rsp + 0x78], 0
jle 0x140146447
mov rcx, qword [rsp + 0x70]
call fcn.140298600
nop
cmp dword [rsp + 0x68], 0
jle 0x140146458
mov rcx, qword [rsp + 0x60]
call fcn.140298600
xor esi, esi
cmp dword [rbp - 0x78], 0
jle 0x140146469
mov rcx, qword [rbp - 0x80]
call fcn.140298600
inc r15d
cmp r15d, dword [rbp - 0x70]
jb 0x140145ef0
mov r12, qword [rbp - 0x38]
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rbx, 0x28
cmp rbx, qword [r12 + 8]
jne 0x140145d80
mov al, 1
mov rcx, qword [rbp + 0x4f0]
xor rcx, rsp
call fcn.140297ff0
mov rbx, qword [rsp + 0x640]
add rsp, 0x600
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret