Function at 0x140153550
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 [0x140418a10]
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 0x140153cc3
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 0x140153633
lea rdx, [rbx + 8]
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rbp + 0x88]
call fcn.1400cff20
mov r8d, 1
lea rdx, [0x140347f58]
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 0x14015369c
mov rcx, qword [rbp + 0x88]
call fcn.1402177e0
nop
cmp qword [rbp + 0xc0], 8
jb 0x1401536b2
mov rcx, qword [rbp + 0xa8]
call fcn.1402177e0
test dil, dil
je 0x140153cb4
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 0x140153caa
mov r15d, esi
cmp dword [rbp - 0x70], eax
jbe 0x140153caa
lea r12, [0x140348ca0]
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 0x140153c99
lea rax, [rbp + 0xd0]
or rdi, 0xffffffffffffffff
nop dword [rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140153750
mov qword [rbp - 0x78], 0
test edi, edi
jne 0x14015376c
mov qword [rbp - 0x80], r12
jmp 0x140153792
mov edx, edi
lea rcx, [rbp - 0x80]
call fcn.1401ff260
movsxd r9, edi
mov eax, dword [rbp - 0x78]
inc eax
movsxd rdx, eax
lea r8, [rbp + 0xd0]
mov rcx, qword [rbp - 0x80]
call fcn.1402bd21c
mov edx, edi
lea rcx, [rbp - 0x80]
call fcn.140200570
nop
lea rdx, str._shellopencommand
lea rcx, [rbp - 0x80]
call fcn.1401fd8b0
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 0x140153c8a
lea rax, [rbp + 0x2e0]
or rdi, 0xffffffffffffffff
inc rdi
cmp word [rax + rdi*2], 0
jne 0x1401537e1
mov qword [rsp + 0x68], 0
test edi, edi
jne 0x1401537ff
mov qword [rsp + 0x60], r12
jmp 0x140153828
mov edx, edi
lea rcx, [rsp + 0x60]
call fcn.1401ff260
movsxd r9, edi
mov eax, dword [rsp + 0x68]
inc eax
movsxd rdx, eax
lea r8, [rbp + 0x2e0]
mov rcx, qword [rsp + 0x60]
call fcn.1402bd21c
mov edx, edi
lea rcx, [rsp + 0x60]
call fcn.140200570
nop
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], 0
mov r8d, 1
lea rdx, [0x1403512cc]
lea rcx, [rsp + 0x60]
call fcn.1402019e0
lea rcx, [rsp + 0x60]
test al, al
je 0x1401538fb
mov r8d, 1
lea rdx, [0x1403512cc]
call fcn.1401ffb20
test eax, eax
jle 0x1401539c6
lea r8d, [rax + 1]
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x60]
call fcn.1402011d0
nop
lea rdx, [rbp - 0x20]
mov rcx, rax
call fcn.140201cc0
mov rdi, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x70]
call fcn.1401ff260
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.1402bd21c
mov edx, dword [rdi + 0xc]
lea rcx, [rsp + 0x70]
call fcn.140200570
nop
cmp dword [rbp - 0x18], 0
jle 0x1401538e8
mov rcx, qword [rbp - 0x20]
call fcn.1402b9c20
nop
cmp dword [rbp + 0x18], 0
jle 0x1401539c6
mov rcx, qword [rbp + 0x10]
jmp 0x1401539c1
lea rdx, str..exe
call fcn.1401ffa00
mov esi, eax
test eax, eax
js 0x1401539c6
lea r8d, [rax + 5]
lea rdx, [rbp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.1402011d0
mov rdi, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x70]
call fcn.1401ff260
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.1402bd21c
mov edx, dword [rdi + 0xc]
lea rcx, [rsp + 0x70]
call fcn.140200570
nop
cmp dword [rbp + 0x48], 0
jle 0x14015396a
mov rcx, qword [rbp + 0x40]
call fcn.1402b9c20
lea r9d, [rsi + 4]
xor r8d, r8d
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.140201490
mov rdi, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x60]
call fcn.1401ff260
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.1402bd21c
mov edx, dword [rdi + 0xc]
lea rcx, [rsp + 0x60]
call fcn.140200570
nop
cmp dword [rbp + 0x38], 0
jle 0x1401539c6
mov rcx, qword [rbp + 0x30]
call fcn.1402b9c20
cmp dword [rsp + 0x7c], 0
jle 0x140153b81
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.140201cc0
mov rdi, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x70]
call fcn.1401ff260
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.1402bd21c
mov edx, dword [rdi + 0xc]
lea rcx, [rsp + 0x70]
call fcn.140200570
nop
cmp dword [rbp + 0x58], 0
jle 0x140153a26
mov rcx, qword [rbp + 0x50]
call fcn.1402b9c20
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], 0
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x70]
call fcn.140161700
test al, al
je 0x140153b72
mov eax, dword [rbp - 0x44]
mov rcx, qword [rbp - 0x50]
test eax, eax
jns 0x140153a6a
or rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140153a60
lea r8d, [rax + rax]
mov r9, qword [0x14042bc68]
test r9, r9
je 0x140153b76
mov rax, qword [r9]
mov rdx, rcx
mov rcx, r9
call qword [rax + 8]
test al, al
je 0x140153b72
lea rdx, [rbp + 0x20]
mov rcx, rbx
call fcn.140151680
nop
lea r8, str.ClientsStartMenuInternet
mov rdx, rax
lea rcx, [rbp - 0x68]
call fcn.1401fdf70
nop
cmp dword [rbp + 0x28], 0
jle 0x140153ac2
mov rcx, qword [rbp + 0x20]
call fcn.1402b9c20
lea rdx, [0x140347f58]
lea rcx, [rbp - 0x68]
call fcn.1401fd8b0
mov edi, dword [rbp - 0x5c]
add edi, dword [rbp - 0x74]
mov edx, edi
lea rcx, [rbp - 0x68]
call fcn.1401ff260
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.1402bd21c
mov edx, edi
lea rcx, [rbp - 0x68]
call fcn.140200570
lea rdx, [0x140347f58]
lea rcx, [rbp - 0x68]
call fcn.1401fd8b0
mov rcx, qword [rbp - 0x50]
call fcn.1402bc8c0
mov rdi, rax
mov rcx, qword [rbp - 0x68]
call fcn.1402bc8c0
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.14011c9e0
nop
cmp dword [rbp - 0x60], 0
jle 0x140153b72
mov rcx, qword [rbp - 0x68]
call fcn.1402b9c20
mov rcx, qword [rbp - 0x50]
cmp dword [rbp - 0x48], 0
jle 0x140153b81
call fcn.1402b9c20
mov r8, qword [rsp + 0x60]
lea rdx, [rbp]
call fcn.1401533d0
mov rdi, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x60]
call fcn.1401ff260
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.1402bd21c
mov edx, dword [rdi + 0xc]
lea rcx, [rsp + 0x60]
call fcn.140200570
nop
cmp dword [rbp + 8], 0
jle 0x140153bd6
mov rcx, qword [rbp]
call fcn.1402b9c20
mov rsi, qword [r14]
mov rdi, qword [rsi + 8]
cmp byte [rdi + 0x19], 0
jne 0x140153c14
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rdi + 0x20]
call fcn.1402b9aac
test eax, eax
jns 0x140153c08
mov rdi, qword [rdi + 0x10]
jmp 0x140153c0e
mov rsi, rdi
mov rdi, qword [rdi]
cmp byte [rdi + 0x19], 0
je 0x140153bf0
cmp rsi, qword [r14]
je 0x140153c35
mov rdx, qword [rsi + 0x20]
mov rcx, qword [rsp + 0x60]
call fcn.1402b9aac
test eax, eax
js 0x140153c35
mov qword [rbp - 0x30], rsi
lea rax, [rbp - 0x30]
jmp 0x140153c40
mov rax, qword [r14]
mov qword [rbp - 0x28], rax
lea rax, [rbp - 0x28]
mov rax, qword [rax]
cmp rax, qword [r14]
jne 0x140153c65
movzx eax, byte [0x14042c16a]
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x60]
lea rdx, [rbp + 0x78]
mov rcx, r14
call fcn.1400e97f0
nop
cmp dword [rsp + 0x78], 0
jle 0x140153c77
mov rcx, qword [rsp + 0x70]
call fcn.1402b9c20
nop
cmp dword [rsp + 0x68], 0
jle 0x140153c88
mov rcx, qword [rsp + 0x60]
call fcn.1402b9c20
xor esi, esi
cmp dword [rbp - 0x78], 0
jle 0x140153c99
mov rcx, qword [rbp - 0x80]
call fcn.1402b9c20
inc r15d
cmp r15d, dword [rbp - 0x70]
jb 0x140153720
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 0x1401535b0
mov al, 1
mov rcx, qword [rbp + 0x4f0]
xor rcx, rsp
call fcn.1402b9610
mov rbx, qword [rsp + 0x640]
add rsp, 0x600
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret