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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x3e0]
sub rsp, 0x4e0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x3d0], rax
lea rsi, [0x14001b410]
xor edx, edx
mov rcx, rsi
mov r8d, 0x280
xor ebx, ebx
call sub.VCRUNTIME140.dll_memset
lea r14, [0x14001b690]
xor edx, edx
mov rcx, r14
mov r8d, 0x280
call sub.VCRUNTIME140.dll_memset
lea rax, [rsp + 0x48]
mov r9d, 0x20119
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREClientsStartMenuInternet
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140002302
mov ecx, eax
mov ebx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14000253d
xor edx, edx
mov dword [rsp + 0x40], 0x118
mov r8d, 0x230
lea rcx, [rsp + 0x70]
mov edi, ebx
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x40]
mov qword [rsp + 0x30], rbx
lea r8, [rsp + 0x70]
mov qword [rsp + 0x28], rbx
xor edx, edx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x140002525
nop word [rax + rax]
lea r9, str.shellopencommand
lea r8, [rsp + 0x70]
lea rdx, str._s_s
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.USER32.dll_wsprintfW]
movzx eax, word [rsp + 0x70]
mov rcx, rbx
test ax, ax
je 0x1400023be
nop dword [rax]
sub ax, 0x2d
cmp ax, 1
jbe 0x1400023a9
movzx eax, word [rsp + rcx*2 + 0x72]
inc rcx
test ax, ax
jne 0x140002390
jmp 0x1400023be
add rcx, rcx
cmp rcx, 0x230
jae 0x14000258c
mov word [rsp + rcx + 0x70], bx
movsxd rcx, edi
lea rdx, [rsp + 0x70]
shl rcx, 7
add rcx, rsi
mov dword [rsp + 0x50], 0x118
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
mov r9d, 0x20119
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rbp + 0x1a0]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140002585
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x60]
lea rax, [rsp + 0x70]
xor r8d, r8d
lea rdx, [0x140014a00]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000256b
movzx eax, word [rsp + 0x70]
lea r9, [rsp + 0x70]
mov rdx, rbx
test ax, ax
je 0x140002476
mov ecx, 1
cmp ax, 0x5c
jne 0x140002467
movsxd rax, ecx
lea r9, [rsp + 0x70]
lea r9, [r9 + rax*2]
movzx eax, word [rsp + rdx*2 + 0x72]
inc rdx
inc ecx
test ax, ax
jne 0x140002455
movzx eax, word [r9]
mov r8, rbx
test ax, ax
je 0x1400024af
mov rdx, r9
lea ecx, [rax - 0x41]
cmp cx, 0x19
ja 0x140002495
add ax, 0x20
mov word [rdx], ax
cmp ax, 0x22
jne 0x14000249e
mov word [rdx], bx
inc r8
movzx eax, word [r9 + r8*2]
lea rdx, [r9 + r8*2]
test ax, ax
jne 0x140002485
movsxd rcx, edi
mov rdx, r9
shl rcx, 7
add rcx, r14
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
mov dword [rsp + 0x40], 0x118
mov r8d, 0x230
lea rcx, [rsp + 0x70]
inc edi
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x40]
mov qword [rsp + 0x30], rbx
lea r8, [rsp + 0x70]
mov qword [rsp + 0x28], rbx
mov edx, edi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x140002360
test edi, edi
jne 0x140002532
mov ebx, 0xfffffffe
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x3d0]
xor rcx, rsp
call fcn.140012330
lea r11, [rsp + 0x4e0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov ecx, eax
mov ebx, 0xfffffffc
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140002532
mov ebx, 0xfffffffd
jmp 0x14000252a
call fcn.140012458
int3