Function at 0x140019420
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1c0
mov rdi, r8
mov r13, rdx
mov r15, rcx
xor ebx, ebx
mov r14d, ebx
mov dword [rbp - 0x70], ebx
lea ecx, [rbx + 2]
call fcn.1400e8270
mov qword [rbp - 8], rax
mov word [rax], bx
lea ecx, [rbx + 2]
call fcn.1400e8270
mov qword [rbp - 0x78], rax
mov word [rax], bx
lea ecx, [rbx + 2]
call fcn.1400e8270
mov rsi, rax
mov qword [rbp + 0xa8], rax
mov word [rax], bx
lea ecx, [rbx + 2]
call fcn.1400e8270
mov qword [rbp - 0x10], rax
mov word [rax], bx
lea ecx, [rbx + 2]
call fcn.1400e8270
mov qword [rbp + 0x28], rax
mov word [rax], bx
lea ecx, [rbx + 2]
call fcn.1400e8270
mov qword [rbp + 0x20], rax
mov word [rax], bx
lea ecx, [rbx + 2]
call fcn.1400e8270
mov qword [rbp + 0x50], rax
mov word [rax], bx
lea ecx, [rbx + 2]
call fcn.1400e8270
mov qword [rbp - 0x18], rax
mov word [rax], bx
mov qword [rbp - 0x80], rbx
lea rcx, [0x14011eaa0]
call fcn.1400e81d8
mov qword [rbp - 0x80], rax
xor ecx, ecx
call fcn.1400e825c
nop
mov qword [rbp - 0x58], rbx
lea rcx, [0x14011eaa0]
call fcn.1400e81d8
mov qword [rbp - 0x58], rax
xor ecx, ecx
call fcn.1400e825c
nop
mov qword [rbp - 0x60], rbx
lea rcx, [0x14011eaa0]
call fcn.1400e81d8
mov qword [rbp - 0x60], rax
xor ecx, ecx
call fcn.1400e825c
nop
mov qword [rbp - 0x28], rbx
lea rcx, [0x14011eaa0]
call fcn.1400e81d8
mov qword [rbp - 0x28], rax
xor ecx, ecx
call fcn.1400e825c
nop
mov qword [rbp - 0x30], rbx
lea rcx, [0x14011eaa0]
call fcn.1400e81d8
mov qword [rbp - 0x30], rax
xor ecx, ecx
call fcn.1400e825c
nop
mov qword [rbp - 0x38], rbx
lea rcx, [0x14011eaa0]
call fcn.1400e81d8
mov qword [rbp - 0x38], rax
xor ecx, ecx
call fcn.1400e825c
nop
mov qword [rbp - 0x40], rbx
lea rcx, [0x14011eaa0]
call fcn.1400e81d8
mov qword [rbp - 0x40], rax
xor ecx, ecx
call fcn.1400e825c
nop
mov qword [rbp - 0x48], rbx
lea r12, [0x14011eaa0]
test rdi, rdi
cmovne r12, rdi
mov qword [rbp + 0x68], r12
mov rcx, r12
call fcn.1400e81d8
mov qword [rbp - 0x48], rax
xor ecx, ecx
call fcn.1400e825c
nop
lea r9, [rbp - 0x40]
lea r8, [rbp - 0x48]
mov rdx, r13
lea rcx, [rbp + 8]
call fcn.14000b540
mov rbx, rax
xor ecx, ecx
mov qword [rbp - 0x50], rcx
lea rcx, [0x14011eaa0]
call fcn.1400e81d8
mov qword [rbp - 0x50], rax
xor ecx, ecx
call fcn.1400e825c
nop
xor eax, eax
mov qword [rbp - 0x68], rax
mov rcx, r12
call fcn.1400e81d8
mov qword [rbp - 0x68], rax
xor ecx, ecx
call fcn.1400e825c
nop
lea r9, [rbp - 0x50]
lea r8, [rbp - 0x68]
mov rdx, r13
lea rcx, [rbp + 0x10]
call fcn.14000b540
nop
mov dword [rsp + 0x80], 0xffffffff
xor edx, edx
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x70], rdx
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x60], 1
mov qword [rsp + 0x58], rdx
lea rcx, [rbp - 0x58]
mov qword [rsp + 0x50], rcx
lea rcx, [rbp - 0x60]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp - 0x28]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp - 0x30]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x38]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [rdx - 1]
mov rcx, r15
call fcn.140005d90
mov r15d, eax
mov dword [rbp], eax
mov rcx, qword [rbp + 0x10]
call fcn.1400e825c
nop
mov rcx, qword [rbp - 0x68]
call fcn.1400e825c
nop
mov rcx, qword [rbp - 0x50]
call fcn.1400e825c
nop
mov rcx, qword [rbp + 8]
call fcn.1400e825c
nop
mov rcx, qword [rbp - 0x48]
call fcn.1400e825c
nop
mov rcx, qword [rbp - 0x40]
call fcn.1400e825c
nop
mov rcx, qword [rbp - 0x38]
call fcn.1400e825c
nop
mov rcx, qword [rbp - 0x30]
call fcn.1400e825c
nop
mov rcx, qword [rbp - 0x28]
call fcn.1400e825c
nop
mov rcx, qword [rbp - 0x60]
call fcn.1400e825c
nop
mov rcx, qword [rbp - 0x58]
call fcn.1400e825c
nop
mov rcx, qword [rbp - 0x80]
call fcn.1400e825c
lea rax, [rbp + 0x18]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [0x14016aa18]
call fcn.140009290
test eax, eax
jne 0x140019f15
lea r8, [rbp - 0x78]
xor edx, edx
mov rcx, qword [rbp + 0x18]
call fcn.140018f50
test eax, eax
jne 0x140019f0a
mov rsi, qword [rbp + 0xf0]
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rbp - 0x78]
mov rcx, qword [rbp + 0x18]
call fcn.140009290
test eax, eax
jne 0x140019ee4
mov dword [rbp + 0x108], 4
lea rax, [rbp + 0x108]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x38]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140124988]
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140019eda
cmp dword [rbp + 0x38], 2
ja 0x140019eda
mov dword [rbp + 0x108], 4
lea rax, [rbp + 0x108]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x3c]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Start
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140019eda
mov dword [rbp + 0x108], 4
cmp dword [rbp + 0x3c], 4
je 0x140019827
mov dword [rbp - 0x68], 1
jmp 0x140019860
lea rax, [rbp + 0x108]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x58]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.AutorunsDisabled
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140019eda
xor eax, eax
mov dword [rbp - 0x68], eax
lea rax, [rbp - 8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.ImagePath
mov rcx, qword [rbp - 0x20]
call fcn.140019160
mov rbx, qword [rbp - 0x18]
lea rcx, [0x14011eaa0]
test eax, eax
je 0x140019a09
mov rax, qword [rbp - 0x78]
test rax, rax
cmovne rcx, rax
call fcn.1400e81d8
mov qword [rbp - 0x18], rax
mov rcx, rbx
call fcn.1400e825c
lea rcx, str.SystemRootSystem32Drivers_
call fcn.1400e81d8
mov rbx, rax
mov qword [rbp + 0x30], rax
xor ecx, ecx
call fcn.1400e825c
lea rcx, [0x14011eaa0]
test rbx, rbx
cmovne rcx, rbx
call fcn.1400e81d8
mov rdi, rax
mov qword [rbp - 0x80], rax
xor ecx, ecx
call fcn.1400e825c
mov r12, qword [rbp - 0x78]
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x1400198f4
mov r15d, 0x7fffffff
cmp rbx, r15
cmovb r15, rbx
mov r14, 0xffffffffffffffff
inc r14
cmp word [r12 + r14*2], 0
jne 0x140019912
mov eax, r14d
xor ecx, ecx
sub eax, ecx
movsxd r13, eax
test eax, eax
jle 0x140019946
lea rdx, [rbx + r13]
lea rdx, [rdx*2 + 4]
mov rcx, rdi
call fcn.1400e8278
mov rdi, rax
mov qword [rbp - 0x80], rax
xor eax, eax
movsxd rcx, eax
sub rbx, r15
sub rbx, rcx
lea r8, [rbx*2 + 2]
lea rax, [r15 + rcx]
lea rdx, [rdi + rax*2]
lea rax, [r15 + r13]
add rax, rcx
lea rcx, [rdi + rax*2]
call fcn.1400e3010
lea r8, [r14 + r14]
lea rcx, [rdi + r15*2]
mov rdx, r12
call fcn.1400e3010
mov rcx, qword [rbp + 0x30]
call fcn.1400e825c
lea rcx, str..sys
call fcn.1400e81d8
mov rbx, rax
mov qword [rbp + 0x30], rax
xor ecx, ecx
call fcn.1400e825c
lea r8, [rbp + 0x30]
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x60]
call fcn.140019310
mov rcx, rbx
call fcn.1400e825c
mov r14, qword [rbp + 0x60]
mov rbx, qword [rbp - 8]
lea rcx, [0x14011eaa0]
test r14, r14
cmovne rcx, r14
call fcn.1400e81d8
mov qword [rbp - 8], rax
mov rcx, rbx
call fcn.1400e825c
mov rcx, r14
call fcn.1400e825c
mov rcx, rdi
call fcn.1400e825c
mov r14d, dword [rbp - 0x70]
mov r15d, dword [rbp]
mov r12, qword [rbp + 0x68]
mov r13, qword [rbp + 0xf8]
jmp 0x140019a25
mov rax, qword [rbp - 8]
test rax, rax
cmovne rcx, rax
call fcn.1400e81d8
mov qword [rbp - 0x18], rax
mov rcx, rbx
call fcn.1400e825c
mov r9b, 1
mov r8, qword [rbp - 8]
mov rdx, rsi
lea rcx, [rbp + 0x70]
call fcn.140007370
mov rdx, qword [rax]
mov rbx, qword [rbp - 0x10]
lea rcx, [0x14011eaa0]
test rdx, rdx
cmovne rcx, rdx
call fcn.1400e81d8
mov qword [rbp - 0x10], rax
mov rcx, rbx
call fcn.1400e825c
mov rcx, qword [rbp + 0x70]
call fcn.1400e825c
lea r9, [rbp + 0x20]
lea r8, [rbp + 0x28]
mov rdx, qword [rbp - 0x10]
mov rcx, rsi
call fcn.140007330
mov dword [rbp - 0x70], eax
xor edi, edi
mov qword [rbp - 0x80], rdi
mov rdx, qword [rbp - 0x78]
lea rcx, [0x14011eaa0]
test rdx, rdx
cmovne rcx, rdx
call fcn.1400e81d8
mov qword [rbp - 0x80], rax
xor ecx, ecx
call fcn.1400e825c
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x80]
call fcn.140023fb0
mov qword [rbp - 0x80], rdi
mov rcx, r12
call fcn.1400e81d8
mov qword [rbp - 0x80], rax
xor ecx, ecx
call fcn.1400e825c
nop
lea r9, [rbp - 0x78]
lea r8, [rbp - 0x80]
mov rdx, r13
lea rcx, [rbp + 0x80]
call fcn.14000b540
mov rbx, rax
mov qword [rbp - 0x60], rdi
lea rcx, [0x14011eaa0]
call fcn.1400e81d8
mov qword [rbp - 0x60], rax
xor ecx, ecx
call fcn.1400e825c
nop
mov qword [rbp - 0x58], rdi
mov rcx, r12
call fcn.1400e81d8
mov qword [rbp - 0x58], rax
xor ecx, ecx
call fcn.1400e825c
nop
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x58]
mov rdx, r13
lea rcx, [rbp + 0x78]
call fcn.14000b540
nop
lea rcx, [rbp + 0x98]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp + 0x50]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp + 0x28]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x10]
mov qword [rsp + 0x20], rcx
mov r9, rbx
mov r8, rax
lea rdx, [rbp - 0x78]
mov rcx, rsi
call fcn.1400058c0
movzx ebx, al
mov rcx, qword [rbp + 0x78]
call fcn.1400e825c
nop
mov rcx, qword [rbp - 0x58]
call fcn.1400e825c
nop
mov rcx, qword [rbp - 0x60]
call fcn.1400e825c
nop
mov rcx, qword [rbp + 0x80]
call fcn.1400e825c
nop
mov rcx, qword [rbp - 0x80]
call fcn.1400e825c
test bl, bl
je 0x140019eda
cmp r15d, 0xffffffff
jne 0x140019de7
mov qword [rbp - 0x80], rdi
lea rcx, [0x14011eaa0]
call fcn.1400e81d8
mov qword [rbp - 0x80], rax
xor ecx, ecx
call fcn.1400e825c
nop
mov qword [rbp + 8], rdi
lea rcx, [0x14011eaa0]
call fcn.1400e81d8
mov qword [rbp + 8], rax
xor ecx, ecx
call fcn.1400e825c
nop
mov qword [rbp + 0x48], rdi
lea rcx, [0x14011eaa0]
call fcn.1400e81d8
mov qword [rbp + 0x48], rax
xor ecx, ecx
call fcn.1400e825c
nop
mov qword [rbp + 0x40], rdi
lea rcx, [0x14011eaa0]
call fcn.1400e81d8
mov qword [rbp + 0x40], rax
xor ecx, ecx
call fcn.1400e825c
nop
mov qword [rbp - 0x50], rdi
lea rcx, [0x14011eaa0]
call fcn.1400e81d8
mov qword [rbp - 0x50], rax
xor ecx, ecx
call fcn.1400e825c
nop
mov qword [rbp - 0x48], rdi
lea rcx, [0x14011eaa0]
call fcn.1400e81d8
mov qword [rbp - 0x48], rax
xor ecx, ecx
call fcn.1400e825c
nop
mov qword [rbp - 0x40], rdi
lea rcx, [0x14011eaa0]
call fcn.1400e81d8
mov qword [rbp - 0x40], rax
xor ecx, ecx
call fcn.1400e825c
nop
mov qword [rbp - 0x38], rdi
mov rcx, r12
call fcn.1400e81d8
mov qword [rbp - 0x38], rax
xor ecx, ecx
call fcn.1400e825c
nop
lea r9, [rbp - 0x40]
lea r8, [rbp - 0x38]
mov rdx, r13
lea rcx, [rbp + 0x90]
call fcn.14000b540
mov rbx, rax
mov qword [rbp - 0x30], rdi
lea rcx, [0x14011eaa0]
call fcn.1400e81d8
mov qword [rbp - 0x30], rax
xor ecx, ecx
call fcn.1400e825c
nop
mov qword [rbp - 0x28], rdi
mov rcx, r12
call fcn.1400e81d8
mov qword [rbp - 0x28], rax
xor ecx, ecx
call fcn.1400e825c
nop
lea r9, [rbp - 0x30]
lea r8, [rbp - 0x28]
mov rdx, r13
lea rcx, [rbp + 0x88]
call fcn.14000b540
nop
mov dword [rsp + 0x80], r15d
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x70], rdi
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x68], rcx
mov edi, dword [rbp - 0x68]
mov dword [rsp + 0x60], edi
xor ecx, ecx
mov qword [rsp + 0x58], rcx
lea rcx, [rbp + 8]
mov qword [rsp + 0x50], rcx
lea rcx, [rbp + 0x48]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp + 0x40]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp - 0x50]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x48]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor edx, edx
mov r8d, r15d
mov rcx, rsi
call fcn.140005d90
mov r15d, eax
mov dword [rbp], eax
mov rcx, qword [rbp + 0x88]
call fcn.1400e825c
nop
mov rcx, qword [rbp - 0x28]
call fcn.1400e825c
nop
mov rcx, qword [rbp - 0x30]
call fcn.1400e825c
nop
mov rcx, qword [rbp + 0x90]
call fcn.1400e825c
nop
mov rcx, qword [rbp - 0x38]
call fcn.1400e825c
nop
mov rcx, qword [rbp - 0x40]
call fcn.1400e825c
nop
mov rcx, qword [rbp - 0x48]
call fcn.1400e825c
nop
mov rcx, qword [rbp - 0x50]
call fcn.1400e825c
nop
mov rcx, qword [rbp + 0x40]
call fcn.1400e825c
nop
mov rcx, qword [rbp + 0x48]
call fcn.1400e825c
nop
mov rcx, qword [rbp + 8]
call fcn.1400e825c
nop
mov rcx, qword [rbp - 0x80]
call fcn.1400e825c
jmp 0x140019dea
mov edi, dword [rbp - 0x68]
xor eax, eax
mov qword [rbp - 0x80], rax
lea rcx, [0x14011eaa0]
call fcn.1400e81d8
mov qword [rbp - 0x80], rax
xor ecx, ecx
call fcn.1400e825c
nop
mov rbx, qword [rbp + 0x98]
xor eax, eax
mov qword [rbp + 0x10], rax
mov rcx, r12
call fcn.1400e81d8
mov qword [rbp + 0x10], rax
xor ecx, ecx
call fcn.1400e825c
nop
lea r9, [rbp - 0x78]
lea r8, [rbp + 0x10]
mov rdx, r13
lea rcx, [rbp + 0xa0]
call fcn.14000b540
nop
mov dword [rsp + 0x80], 0xffffffff
xor ecx, ecx
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x70], rcx
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x60], edi
mov qword [rsp + 0x58], rbx
lea rcx, [rbp - 0x18]
mov qword [rsp + 0x50], rcx
lea rcx, [rbp + 0x50]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp + 0x20]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp + 0x28]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x10]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
mov r9d, ntohs
mov r8d, r15d
mov edx, dword [rbp - 0x70]
mov rcx, rsi
call fcn.140005d90
nop
mov rcx, qword [rbp + 0xa0]
call fcn.1400e825c
nop
mov rcx, qword [rbp + 0x10]
call fcn.1400e825c
nop
mov rcx, qword [rbp - 0x80]
call fcn.1400e825c
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc r14d
mov dword [rbp - 0x70], r14d
lea r8, [rbp - 0x78]
mov edx, r14d
mov rcx, qword [rbp + 0x18]
call fcn.140018f50
test eax, eax
je 0x140019761
mov rsi, qword [rbp + 0xa8]
mov rcx, qword [rbp + 0x18]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rbp - 0x18]
call fcn.1400e825c
nop
mov rcx, qword [rbp + 0x50]
call fcn.1400e825c
nop
mov rcx, qword [rbp + 0x20]
call fcn.1400e825c
nop
mov rcx, qword [rbp + 0x28]
call fcn.1400e825c
nop
mov rcx, qword [rbp - 0x10]
call fcn.1400e825c
nop
mov rcx, rsi
call fcn.1400e825c
nop
mov rcx, qword [rbp - 0x78]
call fcn.1400e825c
nop
mov rcx, qword [rbp - 8]
call fcn.1400e825c
mov eax, r15d
mov rbx, qword [rsp + 0x210]
add rsp, 0x1c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret