Function at 0x140154fa0
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 [0x14041da10]
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 0x140155713
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.1400ce190
nop
mov qword [rbp + 0xa0], 7
mov qword [rbp + 0x98], rsi
mov word [rbp + 0x88], si
cmp qword [rbx + 0x18], 0
jbe 0x140155083
lea rdx, [rbx + 8]
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rbp + 0x88]
call fcn.1400cff20
mov r8d, 1
lea rdx, [0x14034c088]
lea rcx, [rbp + 0x88]
call fcn.1400cfaf0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0xa8]
lea rcx, [rbp + 0x88]
call fcn.1400cff20
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 0x1401550ec
mov rcx, qword [rbp + 0x88]
call fcn.14021ae20
nop
cmp qword [rbp + 0xc0], 8
jb 0x140155102
mov rcx, qword [rbp + 0xa8]
call fcn.14021ae20
test dil, dil
je 0x140155704
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 0x1401556fa
mov r15d, esi
cmp dword [rbp - 0x70], eax
jbe 0x1401556fa
lea r12, [0x14034d1a0]
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 0x1401556e9
lea rax, [rbp + 0xd0]
or rdi, 0xffffffffffffffff
nop dword [rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x1401551a0
mov qword [rbp - 0x78], 0
test edi, edi
jne 0x1401551bc
mov qword [rbp - 0x80], r12
jmp 0x1401551e2
mov edx, edi
lea rcx, [rbp - 0x80]
call fcn.1402028a0
movsxd r9, edi
mov eax, dword [rbp - 0x78]
inc eax
movsxd rdx, eax
lea r8, [rbp + 0xd0]
mov rcx, qword [rbp - 0x80]
call fcn.1402c06dc
mov edx, edi
lea rcx, [rbp - 0x80]
call fcn.140203bb0
nop
lea rdx, str._shellopencommand
lea rcx, [rbp - 0x80]
call fcn.140200ef0
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 0x1401556da
lea rax, [rbp + 0x2e0]
or rdi, 0xffffffffffffffff
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140155231
mov qword [rsp + 0x68], 0
test edi, edi
jne 0x14015524f
mov qword [rsp + 0x60], r12
jmp 0x140155278
mov edx, edi
lea rcx, [rsp + 0x60]
call fcn.1402028a0
movsxd r9, edi
mov eax, dword [rsp + 0x68]
inc eax
movsxd rdx, eax
lea r8, [rbp + 0x2e0]
mov rcx, qword [rsp + 0x60]
call fcn.1402c06dc
mov edx, edi
lea rcx, [rsp + 0x60]
call fcn.140203bb0
nop
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], 0
mov r8d, 1
lea rdx, [0x140355194]
lea rcx, [rsp + 0x60]
call fcn.140205020
lea rcx, [rsp + 0x60]
test al, al
je 0x14015534b
mov r8d, 1
lea rdx, [0x140355194]
call fcn.140203160
test eax, eax
jle 0x140155416
lea r8d, [rax + 1]
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x60]
call fcn.140204810
nop
lea rdx, [rbp - 0x20]
mov rcx, rax
call fcn.140205300
mov rdi, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x70]
call fcn.1402028a0
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.1402c06dc
mov edx, dword [rdi + 0xc]
lea rcx, [rsp + 0x70]
call fcn.140203bb0
nop
cmp dword [rbp - 0x18], 0
jle 0x140155338
mov rcx, qword [rbp - 0x20]
call fcn.1402bd0e0
nop
cmp dword [rbp + 0x18], 0
jle 0x140155416
mov rcx, qword [rbp + 0x10]
jmp 0x140155411
lea rdx, str..exe
call fcn.140203040
mov esi, eax
test eax, eax
js 0x140155416
lea r8d, [rax + 5]
lea rdx, [rbp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140204810
mov rdi, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x70]
call fcn.1402028a0
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.1402c06dc
mov edx, dword [rdi + 0xc]
lea rcx, [rsp + 0x70]
call fcn.140203bb0
nop
cmp dword [rbp + 0x48], 0
jle 0x1401553ba
mov rcx, qword [rbp + 0x40]
call fcn.1402bd0e0
lea r9d, [rsi + 4]
xor r8d, r8d
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.140204ad0
mov rdi, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x60]
call fcn.1402028a0
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.1402c06dc
mov edx, dword [rdi + 0xc]
lea rcx, [rsp + 0x60]
call fcn.140203bb0
nop
cmp dword [rbp + 0x38], 0
jle 0x140155416
mov rcx, qword [rbp + 0x30]
call fcn.1402bd0e0
cmp dword [rsp + 0x7c], 0
jle 0x1401555d1
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.140205300
mov rdi, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x70]
call fcn.1402028a0
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.1402c06dc
mov edx, dword [rdi + 0xc]
lea rcx, [rsp + 0x70]
call fcn.140203bb0
nop
cmp dword [rbp + 0x58], 0
jle 0x140155476
mov rcx, qword [rbp + 0x50]
call fcn.1402bd0e0
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], 0
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x70]
call fcn.140163150
test al, al
je 0x1401555c2
mov eax, dword [rbp - 0x44]
mov rcx, qword [rbp - 0x50]
test eax, eax
jns 0x1401554ba
or rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x1401554b0
lea r8d, [rax + rax]
mov r9, qword [0x140430d48]
test r9, r9
je 0x1401555c6
mov rax, qword [r9]
mov rdx, rcx
mov rcx, r9
call qword [rax + 8]
test al, al
je 0x1401555c2
lea rdx, [rbp + 0x20]
mov rcx, rbx
call fcn.1401530d0
nop
lea r8, str.ClientsStartMenuInternet
mov rdx, rax
lea rcx, [rbp - 0x68]
call fcn.1402015b0
nop
cmp dword [rbp + 0x28], 0
jle 0x140155512
mov rcx, qword [rbp + 0x20]
call fcn.1402bd0e0
lea rdx, [0x14034c088]
lea rcx, [rbp - 0x68]
call fcn.140200ef0
mov edi, dword [rbp - 0x5c]
add edi, dword [rbp - 0x74]
mov edx, edi
lea rcx, [rbp - 0x68]
call fcn.1402028a0
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.1402c06dc
mov edx, edi
lea rcx, [rbp - 0x68]
call fcn.140203bb0
lea rdx, [0x14034c088]
lea rcx, [rbp - 0x68]
call fcn.140200ef0
mov rcx, qword [rbp - 0x50]
call fcn.1402bfd80
mov rdi, rax
mov rcx, qword [rbp - 0x68]
call fcn.1402bfd80
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdi
lea rdx, [rbp - 0x10]
mov rcx, r13
call fcn.14000a950
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x68]
mov rcx, r13
call fcn.14011e3d0
nop
cmp dword [rbp - 0x60], 0
jle 0x1401555c2
mov rcx, qword [rbp - 0x68]
call fcn.1402bd0e0
mov rcx, qword [rbp - 0x50]
cmp dword [rbp - 0x48], 0
jle 0x1401555d1
call fcn.1402bd0e0
mov r8, qword [rsp + 0x60]
lea rdx, [rbp]
call fcn.140154e20
mov rdi, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x60]
call fcn.1402028a0
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.1402c06dc
mov edx, dword [rdi + 0xc]
lea rcx, [rsp + 0x60]
call fcn.140203bb0
nop
cmp dword [rbp + 8], 0
jle 0x140155626
mov rcx, qword [rbp]
call fcn.1402bd0e0
mov rsi, qword [r14]
mov rdi, qword [rsi + 8]
cmp byte [rdi + 0x19], 0
jne 0x140155664
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rdi + 0x20]
call fcn.1402bcf6c
test eax, eax
jns 0x140155658
mov rdi, qword [rdi + 0x10]
jmp 0x14015565e
mov rsi, rdi
mov rdi, qword [rdi]
cmp byte [rdi + 0x19], 0
je 0x140155640
cmp rsi, qword [r14]
je 0x140155685
mov rdx, qword [rsi + 0x20]
mov rcx, qword [rsp + 0x60]
call fcn.1402bcf6c
test eax, eax
js 0x140155685
mov qword [rbp - 0x30], rsi
lea rax, [rbp - 0x30]
jmp 0x140155690
mov rax, qword [r14]
mov qword [rbp - 0x28], rax
lea rax, [rbp - 0x28]
mov rax, qword [rax]
cmp rax, qword [r14]
jne 0x1401556b5
movzx eax, byte [0x14043124a]
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x60]
lea rdx, [rbp + 0x78]
mov rcx, r14
call fcn.1400eac70
nop
cmp dword [rsp + 0x78], 0
jle 0x1401556c7
mov rcx, qword [rsp + 0x70]
call fcn.1402bd0e0
nop
cmp dword [rsp + 0x68], 0
jle 0x1401556d8
mov rcx, qword [rsp + 0x60]
call fcn.1402bd0e0
xor esi, esi
cmp dword [rbp - 0x78], 0
jle 0x1401556e9
mov rcx, qword [rbp - 0x80]
call fcn.1402bd0e0
inc r15d
cmp r15d, dword [rbp - 0x70]
jb 0x140155170
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 0x140155000
mov al, 1
mov rcx, qword [rbp + 0x4f0]
xor rcx, rsp
call fcn.1402bcad0
mov rbx, qword [rsp + 0x640]
add rsp, 0x600
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret