Function at 0x1401522b0
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 [0x140415a10]
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 0x140152a23
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.1400ce180
nop
mov qword [rbp + 0xa0], 7
mov qword [rbp + 0x98], rsi
mov word [rbp + 0x88], si
cmp qword [rbx + 0x18], 0
jbe 0x140152393
lea rdx, [rbx + 8]
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rbp + 0x88]
call fcn.1400cfef0
mov r8d, 1
lea rdx, [0x140345f98]
lea rcx, [rbp + 0x88]
call fcn.1400cfac0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0xa8]
lea rcx, [rbp + 0x88]
call fcn.1400cfef0
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 0x1401523fc
mov rcx, qword [rbp + 0x88]
call fcn.1402150f0
nop
cmp qword [rbp + 0xc0], 8
jb 0x140152412
mov rcx, qword [rbp + 0xa8]
call fcn.1402150f0
test dil, dil
je 0x140152a14
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 0x140152a0a
mov r15d, esi
cmp dword [rbp - 0x70], eax
jbe 0x140152a0a
lea r12, [0x140346ce0]
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 0x1401529f9
lea rax, [rbp + 0xd0]
or rdi, 0xffffffffffffffff
nop dword [rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x1401524b0
mov qword [rbp - 0x78], 0
test edi, edi
jne 0x1401524cc
mov qword [rbp - 0x80], r12
jmp 0x1401524f2
mov edx, edi
lea rcx, [rbp - 0x80]
call fcn.1401fcb40
movsxd r9, edi
mov eax, dword [rbp - 0x78]
inc eax
movsxd rdx, eax
lea r8, [rbp + 0xd0]
mov rcx, qword [rbp - 0x80]
call fcn.1402ba94c
mov edx, edi
lea rcx, [rbp - 0x80]
call fcn.1401fde50
nop
lea rdx, str._shellopencommand
lea rcx, [rbp - 0x80]
call fcn.1401fb190
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 0x1401529ea
lea rax, [rbp + 0x2e0]
or rdi, 0xffffffffffffffff
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140152541
mov qword [rsp + 0x68], 0
test edi, edi
jne 0x14015255f
mov qword [rsp + 0x60], r12
jmp 0x140152588
mov edx, edi
lea rcx, [rsp + 0x60]
call fcn.1401fcb40
movsxd r9, edi
mov eax, dword [rsp + 0x68]
inc eax
movsxd rdx, eax
lea r8, [rbp + 0x2e0]
mov rcx, qword [rsp + 0x60]
call fcn.1402ba94c
mov edx, edi
lea rcx, [rsp + 0x60]
call fcn.1401fde50
nop
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], 0
mov r8d, 1
lea rdx, [0x14034f2fc]
lea rcx, [rsp + 0x60]
call fcn.1401ff2c0
lea rcx, [rsp + 0x60]
test al, al
je 0x14015265b
mov r8d, 1
lea rdx, [0x14034f2fc]
call fcn.1401fd400
test eax, eax
jle 0x140152726
lea r8d, [rax + 1]
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x60]
call fcn.1401feab0
nop
lea rdx, [rbp - 0x20]
mov rcx, rax
call fcn.1401ff5a0
mov rdi, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x70]
call fcn.1401fcb40
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.1402ba94c
mov edx, dword [rdi + 0xc]
lea rcx, [rsp + 0x70]
call fcn.1401fde50
nop
cmp dword [rbp - 0x18], 0
jle 0x140152648
mov rcx, qword [rbp - 0x20]
call fcn.1402b7350
nop
cmp dword [rbp + 0x18], 0
jle 0x140152726
mov rcx, qword [rbp + 0x10]
jmp 0x140152721
lea rdx, str..exe
call fcn.1401fd2e0
mov esi, eax
test eax, eax
js 0x140152726
lea r8d, [rax + 5]
lea rdx, [rbp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.1401feab0
mov rdi, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x70]
call fcn.1401fcb40
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.1402ba94c
mov edx, dword [rdi + 0xc]
lea rcx, [rsp + 0x70]
call fcn.1401fde50
nop
cmp dword [rbp + 0x48], 0
jle 0x1401526ca
mov rcx, qword [rbp + 0x40]
call fcn.1402b7350
lea r9d, [rsi + 4]
xor r8d, r8d
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.1401fed70
mov rdi, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x60]
call fcn.1401fcb40
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.1402ba94c
mov edx, dword [rdi + 0xc]
lea rcx, [rsp + 0x60]
call fcn.1401fde50
nop
cmp dword [rbp + 0x38], 0
jle 0x140152726
mov rcx, qword [rbp + 0x30]
call fcn.1402b7350
cmp dword [rsp + 0x7c], 0
jle 0x1401528e1
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.1401ff5a0
mov rdi, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x70]
call fcn.1401fcb40
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.1402ba94c
mov edx, dword [rdi + 0xc]
lea rcx, [rsp + 0x70]
call fcn.1401fde50
nop
cmp dword [rbp + 0x58], 0
jle 0x140152786
mov rcx, qword [rbp + 0x50]
call fcn.1402b7350
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], 0
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x70]
call fcn.140160470
test al, al
je 0x1401528d2
mov eax, dword [rbp - 0x44]
mov rcx, qword [rbp - 0x50]
test eax, eax
jns 0x1401527ca
or rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x1401527c0
lea r8d, [rax + rax]
mov r9, qword [0x140428c80]
test r9, r9
je 0x1401528d6
mov rax, qword [r9]
mov rdx, rcx
mov rcx, r9
call qword [rax + 8]
test al, al
je 0x1401528d2
lea rdx, [rbp + 0x20]
mov rcx, rbx
call fcn.1401503e0
nop
lea r8, str.ClientsStartMenuInternet
mov rdx, rax
lea rcx, [rbp - 0x68]
call fcn.1401fb850
nop
cmp dword [rbp + 0x28], 0
jle 0x140152822
mov rcx, qword [rbp + 0x20]
call fcn.1402b7350
lea rdx, [0x140345f98]
lea rcx, [rbp - 0x68]
call fcn.1401fb190
mov edi, dword [rbp - 0x5c]
add edi, dword [rbp - 0x74]
mov edx, edi
lea rcx, [rbp - 0x68]
call fcn.1401fcb40
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.1402ba94c
mov edx, edi
lea rcx, [rbp - 0x68]
call fcn.1401fde50
lea rdx, [0x140345f98]
lea rcx, [rbp - 0x68]
call fcn.1401fb190
mov rcx, qword [rbp - 0x50]
call fcn.1402b9ff0
mov rdi, rax
mov rcx, qword [rbp - 0x68]
call fcn.1402b9ff0
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.14011b760
nop
cmp dword [rbp - 0x60], 0
jle 0x1401528d2
mov rcx, qword [rbp - 0x68]
call fcn.1402b7350
mov rcx, qword [rbp - 0x50]
cmp dword [rbp - 0x48], 0
jle 0x1401528e1
call fcn.1402b7350
mov r8, qword [rsp + 0x60]
lea rdx, [rbp]
call fcn.140152130
mov rdi, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x60]
call fcn.1401fcb40
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.1402ba94c
mov edx, dword [rdi + 0xc]
lea rcx, [rsp + 0x60]
call fcn.1401fde50
nop
cmp dword [rbp + 8], 0
jle 0x140152936
mov rcx, qword [rbp]
call fcn.1402b7350
mov rsi, qword [r14]
mov rdi, qword [rsi + 8]
cmp byte [rdi + 0x19], 0
jne 0x140152974
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rdi + 0x20]
call fcn.1402b71dc
test eax, eax
jns 0x140152968
mov rdi, qword [rdi + 0x10]
jmp 0x14015296e
mov rsi, rdi
mov rdi, qword [rdi]
cmp byte [rdi + 0x19], 0
je 0x140152950
cmp rsi, qword [r14]
je 0x140152995
mov rdx, qword [rsi + 0x20]
mov rcx, qword [rsp + 0x60]
call fcn.1402b71dc
test eax, eax
js 0x140152995
mov qword [rbp - 0x30], rsi
lea rax, [rbp - 0x30]
jmp 0x1401529a0
mov rax, qword [r14]
mov qword [rbp - 0x28], rax
lea rax, [rbp - 0x28]
mov rax, qword [rax]
cmp rax, qword [r14]
jne 0x1401529c5
movzx eax, byte [0x14042918a]
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x60]
lea rdx, [rbp + 0x78]
mov rcx, r14
call fcn.1400e8550
nop
cmp dword [rsp + 0x78], 0
jle 0x1401529d7
mov rcx, qword [rsp + 0x70]
call fcn.1402b7350
nop
cmp dword [rsp + 0x68], 0
jle 0x1401529e8
mov rcx, qword [rsp + 0x60]
call fcn.1402b7350
xor esi, esi
cmp dword [rbp - 0x78], 0
jle 0x1401529f9
mov rcx, qword [rbp - 0x80]
call fcn.1402b7350
inc r15d
cmp r15d, dword [rbp - 0x70]
jb 0x140152480
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 0x140152310
mov al, 1
mov rcx, qword [rbp + 0x4f0]
xor rcx, rsp
call fcn.1402b6d40
mov rbx, qword [rsp + 0x640]
add rsp, 0x600
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret