Function at 0x14005c350
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x404c0]
mov eax, 0x405c0
call fcn.140216080
sub rsp, rax
mov rax, qword [0x14033e810]
xor rax, rsp
mov qword [rbp + 0x404b0], rax
mov r12, rcx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rax, qword [r12 + 8]
mov edx, dword [rax]
mov rcx, qword [r12]
call fcn.1400751a0
xor esi, esi
test eax, eax
jne 0x14005c84f
mov rax, qword [r12 + 8]
mov edx, dword [rax]
mov rcx, qword [r12]
call fcn.140078340
test eax, eax
jne 0x14005c84f
mov rax, qword [r12 + 8]
mov edx, dword [rax]
mov rcx, qword [r12]
call fcn.140079020
test eax, eax
jne 0x14005c84f
lea rcx, [rbp]
call fcn.1400a64e0
nop
mov rcx, qword [r12]
mov rax, qword [rcx + 0x420]
test rax, rax
je 0x14005c53e
cmp qword [rax + 0x10], rsi
jle 0x14005c533
lea r14, [0x14034df00]
lea r15, [0x14034e770]
nop word [rax + rax]
lea rcx, [rbp + 0xa0]
call fcn.1400a64e0
nop
mov rax, qword [r12]
mov rax, qword [rax + 0x420]
test rsi, rsi
js 0x14005cfcf
cmp rsi, qword [rax + 0x10]
jge 0x14005cfcf
mov rax, qword [rax + 8]
mov rcx, qword [rax + rsi*8]
sub rcx, 0x18
call fcn.14000de80
add rax, 0x18
mov qword [rbp - 0x78], rax
lea rcx, [rbp - 0x78]
call fcn.140029e80
mov rcx, qword [r12]
mov rdi, qword [rbp - 0x78]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rdi + rax*2], 0
jne 0x14005c480
cmp dword [rcx + 0x440], 0
je 0x14005c49b
cmp rax, 3
jae 0x14005c4a1
jmp 0x14005c4ee
cmp rax, 4
jb 0x14005c4ee
inc dword [0x14034dd58]
mov rbx, r14
nop word [rax + rax]
mov rdx, qword [rbx]
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x14005c4ee
add rbx, 8
cmp rbx, r15
jl 0x14005c4b0
lea r8, [rbp + 0xa0]
mov rdx, qword [rbp - 0x78]
call fcn.140086ea0
test eax, eax
jle 0x14005c4ee
lea rdx, [rbp + 0xa0]
lea rcx, [rbp]
call fcn.1400a659c
nop
mov rdx, qword [rbp - 0x78]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14005c50f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rbp + 0xa0]
call fcn.1400a6500
inc rsi
mov rax, qword [r12]
mov rcx, qword [rax + 0x420]
cmp rsi, qword [rcx + 0x10]
jl 0x14005c420
mov rax, qword [rbp + 0x10]
xor esi, esi
jmp 0x14005c5d3
add rcx, 0x370
call fcn.140029e80
mov rcx, qword [r12]
mov rbx, qword [rcx + 0x370]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x14005c560
cmp dword [rcx + 0x440], 0
je 0x14005c57e
cmp rax, 3
jae 0x14005c588
jmp 0x14005c846
cmp rax, 4
jb 0x14005c846
inc dword [0x14034dd58]
lea r14, [0x14034df00]
lea r15, [0x14034e770]
nop dword [rax]
mov rdx, qword [r14]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x14005c846
add r14, 8
cmp r14, r15
jl 0x14005c5a0
mov rax, qword [r12]
lea r8, [rbp]
mov rdx, qword [rax + 0x370]
call fcn.140086ea0
cdqe
test rax, rax
je 0x14005c846
mov ecx, 0x20000
call fcn.1400164e0
mov r15, rax
mov word [rax], si
xor edx, edx
mov r8d, 0x20000
lea rcx, [rbp + 0x204b0]
call fcn.140241ba0
lea rcx, [rbp + 0x28]
call fcn.1400a64e0
nop
lea r8, str.Classes
mov rdx, qword [rbp + 0x38]
lea rcx, [rbp + 0x28]
call fcn.1400a6854
lea r8, str.classes
mov rdx, qword [rbp + 0x38]
lea rcx, [rbp + 0x28]
call fcn.1400a6854
mov edx, 0x10000
lea rcx, [rbp + 0x204b0]
lea r8, str.REGISTRYHKEY_CURRENT_USERSOFTWARE
lea rax, [rbp + 0x204b0]
sub r8, rax
nop
lea rax, [rdx + 0x7ffefffe]
test rax, rax
je 0x14005c673
movzx eax, word [r8 + rcx]
test ax, ax
je 0x14005c673
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x14005c650
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], si
mov dword [rbp - 0x7c], esi
mov rbx, qword [r12]
mov esi, dword [rbx + 0x3e4]
mov r14d, dword [rbp + 0x10]
mov r13, qword [rbx + 0x3f0]
mov rdi, 0xffffffff80000001
lea rcx, [rbp + 0xd0]
call fcn.14001fb40
nop
cmp dword [rbx + 0x360], 0
jne 0x14005c6e0
lea r8, [0x1402f28b0]
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0x204b0]
call fcn.140057530
test eax, eax
je 0x14005c6e0
mov rdi, qword [rbp + 0xd8]
test rdi, rdi
je 0x14005c738
mov dword [rsp + 0x60], 1
mov dword [rsp + 0x58], 3
mov dword [rsp + 0x50], esi
lea rax, [rbp + 0x28]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x40], r14d
lea rax, [rbp - 0x7c]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
lea rax, [rbp]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0x204b0]
lea r8, [0x1402f28b0]
mov rdx, rdi
mov rcx, rbx
call fcn.140059310
nop
lea rcx, [rbp + 0xd0]
call fcn.14001feb0
xor esi, esi
mov word [r15], si
mov rax, qword [r12 + 8]
cmp dword [rax], esi
je 0x14005c830
mov edx, 0x10000
lea rcx, [rbp + 0x204b0]
lea r8, str.REGISTRYHKEY_LOCAL_MACHINESOFTWARE
lea rax, [rbp + 0x204b0]
sub r8, rax
lea rax, [rdx + 0x7ffefffe]
test rax, rax
je 0x14005c797
movzx eax, word [r8 + rcx]
test ax, ax
je 0x14005c797
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x14005c774
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], si
mov r14, qword [r12]
mov ebx, dword [r14 + 0x3e4]
mov edi, dword [rbp + 0x10]
mov rsi, qword [r14 + 0x3f0]
lea rcx, [rbp + 0x140]
call fcn.14001fb40
nop
mov dword [rsp + 0x60], 1
mov dword [rsp + 0x58], 3
mov dword [rsp + 0x50], ebx
lea rax, [rbp + 0x28]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x40], edi
lea rax, [rbp - 0x7c]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
lea rax, [rbp]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0x204b0]
lea r8, [0x1402f28b0]
mov rdx, 0xffffffff80000002
mov rcx, r14
call fcn.140059310
nop
lea rcx, [rbp + 0x140]
call fcn.14001feb0
xor esi, esi
mov dword [rbp - 0x7c], esi
mov rcx, r15
call fcn.140095d64
nop
lea rcx, [rbp + 0x28]
call fcn.1400a6500
nop
lea rcx, [rbp]
call fcn.1400a6500
mov rax, qword [r12 + 8]
cmp dword [rax], 0
je 0x14005cf89
lea rcx, [rbp + 0x78]
call fcn.1400a64e0
nop
lea r8, str.Microsoft
mov rdx, qword [rbp + 0x88]
lea rcx, [rbp + 0x78]
call fcn.1400a6854
mov dword [rbp - 0x80], esi
xor edx, edx
mov r8d, 0x20000
lea rcx, [rbp + 0x4b0]
call fcn.140241ba0
lea rax, vtable.CList_struct_FoundRegData____ptr64__struct_FoundRegData____ptr64_.0
mov qword [rbp - 0x38], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x30], rsi
movdqa xmm0, xmmword [0x1402fa1b0]
movdqu xmmword [rbp - 0x10], xmm0
mov edx, 0x10000
lea rcx, [rbp + 0x4b0]
lea r8, str.REGISTRYHKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows_NTCurrentVersionScheduleTaskCacheTree
lea rax, [rbp + 0x4b0]
sub r8, rax
nop word [rax + rax]
lea rax, [rdx + 0x7ffefffe]
test rax, rax
je 0x14005c903
movzx eax, word [r8 + rcx]
test ax, ax
je 0x14005c903
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x14005c8e0
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], si
mov rdi, qword [r12]
lea rbx, [rdi + 0x58]
lea rcx, [rbp + 0x1b0]
call fcn.14001fb40
nop
mov dword [rsp + 0x78], esi
mov dword [rsp + 0x70], esi
mov dword [rsp + 0x68], esi
mov dword [rsp + 0x60], esi
mov dword [rsp + 0x58], 1
mov dword [rsp + 0x50], 0xffffffff
mov dword [rsp + 0x48], 2
mov dword [rsp + 0x40], 1
lea rax, [rbp + 0x78]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x38]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 0x4b0]
lea r8, str.SOFTWAREMicrosoftWindows_NTCurrentVersionScheduleTaskCacheTree
mov rdx, 0xffffffff80000002
mov rcx, rdi
call fcn.1400584f0
nop
lea rcx, [rbp + 0x1b0]
call fcn.14001feb0
cmp qword [rbp - 0x20], 0
je 0x14005cf58
mov r14, qword [rbp - 0x30]
test r14, r14
je 0x14005cf58
nop dword [rax + rax]
mov r13, qword [r14 + 0x10]
mov r14, qword [r14]
call fcn.1400a2364
nop
test rax, rax
je 0x14005cfc4
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rbp - 0x60], rax
call fcn.1400a2364
nop
test rax, rax
je 0x14005cfb9
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rbp - 0x50], rax
mov rcx, qword [r13 + 0x10]
sub rcx, 0x18
call fcn.14000de80
add rax, 0x18
mov qword [rbp - 0x68], rax
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x68]
call fcn.14002f0f0
mov r15, qword [rbp - 0x60]
lea rcx, [r15 - 0x18]
call fcn.14000de80
add rax, 0x18
mov qword [rbp - 0x58], rax
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x58]
call fcn.14002f0f0
mov rax, qword [r12]
mov rdx, qword [r13 + 0x10]
mov rcx, qword [rax + 0x3f0]
call fcn.140055020
mov rcx, rax
test rax, rax
je 0x14005ca9c
mov dword [rax + 0x20], 2
mov eax, dword [rax + 0x24]
test eax, eax
je 0x14005ca83
cmp eax, 2
jne 0x14005ca9c
mov dword [rcx + 0x24], 5
jmp 0x14005ca9c
mov rax, qword [rcx + 0x28]
cmp qword [rax + 0x18], 0
jne 0x14005ca9c
cmp qword [rcx + 8], 0
jne 0x14005ca9c
mov dword [rcx + 0x24], 1
lea rax, [rbp - 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rbx, qword [rbp - 0x50]
mov rdx, rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14005cf0b
xor edx, edx
mov r8d, 0xc8
lea rcx, [rbp + 0x3e0]
call fcn.140241ba0
mov dword [rbp - 0x70], 0xc8
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x3e0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1402f29e4]
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14005cf01
mov dword [rbp - 0x80], esi
lea rcx, [rbp + 0x50]
call fcn.1400a64e0
nop
lea r8, [rbp + 0x3e0]
mov rdx, qword [rbp + 0x60]
lea rcx, [rbp + 0x50]
call fcn.1400a6854
mov edx, 0x10000
lea rcx, [rbp + 0x4b0]
lea r8, str.REGISTRYHKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows_NTCurrentVersionScheduleTaskCacheTasks
lea rax, [rbp + 0x4b0]
sub r8, rax
nop word [rax + rax]
lea rax, [rdx + 0x7ffefffe]
test rax, rax
je 0x14005cb83
movzx eax, word [r8 + rcx]
test ax, ax
je 0x14005cb83
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x14005cb60
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], si
mov rsi, qword [r12]
mov rdi, qword [rsi + 0x3f0]
lea rcx, [rbp + 0x220]
call fcn.14001fb40
nop
mov dword [rsp + 0x70], 1
xor eax, eax
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x58], 1
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x48], 1
mov dword [rsp + 0x40], 1
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdi
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x4b0]
lea r8, str.SOFTWAREMicrosoftWindows_NTCurrentVersionScheduleTaskCacheTasks
mov rdx, 0xffffffff80000002
mov rcx, rsi
call fcn.1400578a0
nop
lea rcx, [rbp + 0x220]
call fcn.14001feb0
xor r9d, r9d
mov dword [rbp - 0x80], r9d
mov edx, 0x10000
lea rcx, [rbp + 0x4b0]
lea r8, str.REGISTRYHKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows_NTCurrentVersionScheduleTaskCachePlain
lea rax, [rbp + 0x4b0]
sub r8, rax
nop word [rax + rax]
lea rax, [rdx + 0x7ffefffe]
test rax, rax
je 0x14005cc73
movzx eax, word [r8 + rcx]
test ax, ax
je 0x14005cc73
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x14005cc50
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r9w
mov rsi, qword [r12]
mov rdi, qword [rsi + 0x3f0]
lea rcx, [rbp + 0x290]
call fcn.14001fb40
nop
mov dword [rsp + 0x70], 1
xor eax, eax
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x58], 1
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x48], 1
mov dword [rsp + 0x40], 1
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdi
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x4b0]
lea r8, str.SOFTWAREMicrosoftWindows_NTCurrentVersionScheduleTaskCachePlain
mov rdx, 0xffffffff80000002
mov rcx, rsi
call fcn.1400578a0
nop
lea rcx, [rbp + 0x290]
call fcn.14001feb0
cmp dword [rbp - 0x80], 0
jne 0x14005cef6
mov edx, 0x10000
lea rcx, [rbp + 0x4b0]
lea r8, str.REGISTRYHKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows_NTCurrentVersionScheduleTaskCacheLogon
lea rax, [rbp + 0x4b0]
sub r8, rax
nop dword [rax]
lea rax, [rdx + 0x7ffefffe]
test rax, rax
je 0x14005cd63
movzx eax, word [r8 + rcx]
test ax, ax
je 0x14005cd63
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x14005cd40
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
xor r9d, r9d
mov word [rax], r9w
mov rsi, qword [r12]
mov rdi, qword [rsi + 0x3f0]
lea rcx, [rbp + 0x300]
call fcn.14001fb40
nop
mov dword [rsp + 0x70], 1
xor eax, eax
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x58], 1
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x48], 1
mov dword [rsp + 0x40], 1
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdi
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x4b0]
lea r8, str.SOFTWAREMicrosoftWindows_NTCurrentVersionScheduleTaskCacheLogon
mov rdx, 0xffffffff80000002
mov rcx, rsi
call fcn.1400578a0
nop
lea rcx, [rbp + 0x300]
call fcn.14001feb0
cmp dword [rbp - 0x80], 0
jne 0x14005cef6
mov edx, 0x10000
lea rcx, [rbp + 0x4b0]
lea r8, str.REGISTRYHKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows_NTCurrentVersionScheduleTaskCacheBoot
lea rax, [rbp + 0x4b0]
sub r8, rax
nop dword [rax]
lea rax, [rdx + 0x7ffefffe]
test rax, rax
je 0x14005ce53
movzx eax, word [r8 + rcx]
test ax, ax
je 0x14005ce53
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x14005ce30
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
xor r9d, r9d
mov word [rax], r9w
mov rsi, qword [r12]
mov rdi, qword [rsi + 0x3f0]
lea rcx, [rbp + 0x370]
call fcn.14001fb40
nop
mov dword [rsp + 0x70], 1
xor eax, eax
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x58], 1
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x48], 1
mov dword [rsp + 0x40], 1
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdi
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x4b0]
lea r8, str.SOFTWAREMicrosoftWindows_NTCurrentVersionScheduleTaskCacheBoot
mov rdx, 0xffffffff80000002
mov rcx, rsi
call fcn.1400578a0
nop
lea rcx, [rbp + 0x370]
call fcn.14001feb0
nop
lea rcx, [rbp + 0x50]
call fcn.1400a6500
xor esi, esi
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, r13
call fcn.14005dc90
nop
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14005cf31
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov eax, 0xffffffff
lock xadd dword [r15 - 8], eax
sub eax, 1
jg 0x14005cf4f
mov rcx, qword [r15 - 0x18]
mov rax, qword [rcx]
lea rdx, [r15 - 0x18]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test r14, r14
jne 0x14005c9c0
lea rax, vtable.CList_struct_FoundRegData____ptr64__struct_FoundRegData____ptr64_.0
mov qword [rbp - 0x38], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x30], rsi
mov rcx, qword [rbp - 0x10]
call fcn.1400ad45c
mov qword [rbp - 0x10], rsi
lea rcx, [rbp + 0x78]
call fcn.1400a6500
mov rcx, qword [rbp + 0x404b0]
xor rcx, rsp
call fcn.1402155d0
lea r11, [rsp + 0x405c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 0x80004005
call fcn.1400080b0
nop
mov ecx, 0x80004005
call fcn.1400080b0
nop
call fcn.1400a2cd8
int3