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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x17b0]
mov eax, 0x18b0
call fcn.1400decd0
sub rsp, rax
mov rax, qword [rbp + 0x1808]
mov rbx, rdx
mov rdx, qword [rbp + 0x1818]
mov rdi, rcx
mov qword [rbp - 0x70], rax
lea rcx, [rbp - 0x60]
mov rax, qword [rbp + 0x1810]
xor esi, esi
mov r8d, 0x3ff
mov qword [rbp - 0x68], rax
mov dword [rbp + 0xfa0], esi
mov word [rbp + 0x7a0], si
call fcn.1400cc9b8
lea rcx, [rbp - 0x60]
mov word [rbp + 0x79e], si
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], si
jne 0x14003e9e0
test rax, rax
je 0x14003e9fb
cmp word [rbp + rax*2 - 0x62], 0x5c
jne 0x14003e9fb
mov word [rbp + rax*2 - 0x62], si
mov rax, qword [0x14012fa58]
lea rdx, [rbp - 0x60]
mov rcx, qword [rbp - 0x68]
xor r8d, r8d
mov r9d, dword [rax + 0x110]
lea rax, [rsp + 0x68]
or r9d, 9
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14003ef14
mov rcx, qword [rsp + 0x68]
lea rax, [rbp - 0x78]
mov qword [rsp + 0x58], rsi
xor r9d, r9d
mov qword [rsp + 0x50], rsi
xor r8d, r8d
mov qword [rsp + 0x48], rsi
xor edx, edx
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x74]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x14003ef09
mov rax, qword [0x14012fa58]
mov esi, dword [rbp - 0x78]
mov qword [rbp - 0x80], rax
test esi, esi
je 0x14003ec75
cmp dword [rbp + 0x17f8], 2
je 0x14003ec75
xor ecx, ecx
mov qword [rbp + 0xfa4], rcx
dec esi
mov qword [rsp + 0x38], rcx
lea rax, [rbp + 0xfa0]
mov qword [rsp + 0x30], rcx
lea r9, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea r8, [rbp + 0x7a0]
mov qword [rsp + 0x20], rcx
mov edx, esi
mov word [rbp + 0x7a0], cx
mov rcx, qword [rsp + 0x68]
mov dword [rsp + 0x60], esi
mov dword [rsp + 0x70], 0x400
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x14003ec43
mov rax, qword [rbp - 0x80]
lea rcx, [rbp - 0x70]
mov qword [rax + 0x18], rcx
mov rcx, qword [rdi + 0x20]
cmp byte [rcx], 0x75
jne 0x14003eb40
mov rsi, qword [rbp + 0x17d8]
mov rcx, qword [rcx + 0x20]
lea r9, [rsp + 0x78]
mov r8, rsi
mov edx, 2
call fcn.140034ea0
mov rcx, qword [rdi + 0x20]
mov ebx, eax
mov rax, qword [rsp + 0x78]
cmp rax, rcx
je 0x14003eb14
mov esi, dword [rsp + 0x60]
jmp 0x14003eb59
lea r9, [rsp + 0x78]
mov r8, rbx
mov edx, 3
call fcn.140034ea0
mov ebx, eax
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x14003eb88
cmp ebx, 6
jne 0x14003ec50
cmp rax, rdi
je 0x14003eb92
mov rcx, qword [rbp + 0x17e8]
mov qword [rcx], rax
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x14003ef19
cmp ebx, 1
je 0x14003eb92
cmp ebx, 6
jne 0x14003eb76
mov rbx, qword [rbp + 0x17f0]
test rbx, rbx
je 0x14003ec34
mov rax, qword [0x14012fa58]
mov qword [0x140139c88], rbx
cmp byte [rax + 0x139], 0
je 0x14003ec01
movsxd rax, dword [0x1401373ec]
lea rcx, sym.MZ_kiv9nMDWjqg_I7rrTcpI88_u4Z_bB_FPuaQ9q_
mov qword [rcx + rax*8 + 0x137a40], rbx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
movsxd rdx, dword [0x1401373ec]
lea r8, sym.MZ_kiv9nMDWjqg_I7rrTcpI88_u4Z_bB_FPuaQ9q_
mov dword [r8 + rdx*4 + 0x137400], eax
inc edx
cmp edx, 0x190
mov eax, 0
cmovge edx, eax
mov dword [0x1401373ec], edx
xor r9d, r9d
or r8, 0xffffffffffffffff
xor edx, edx
mov rcx, rbx
call fcn.14007b530
mov ebx, eax
cmp eax, 1
jne 0x14003eb76
mov rcx, qword [0x140138770]
lea ebx, [rax + 4]
call fcn.14006dc40
test eax, eax
jne 0x14003eb76
mov rcx, qword [rbp - 0x80]
mov rbx, qword [rbp + 0x17d8]
inc qword [rcx + 8]
test esi, esi
je 0x14003ec75
dec esi
xor ecx, ecx
jmp 0x14003eaa9
cmp rax, rdi
jne 0x14003eb6c
mov rax, qword [rbp + 0x17e0]
mov rcx, qword [rsp + 0x68]
mov byte [rax], 1
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x14003ef19
mov eax, dword [rbp - 0x74]
test eax, eax
je 0x14003ef09
mov esi, dword [rbp + 0x17f8]
cmp esi, 1
jne 0x14003ec98
cmp byte [rbp + 0x1800], 0
je 0x14003ef09
mov dword [rbp + 0xfa0], 0xfffffffe
dec eax
lea rcx, [rbp + 0xfa4]
mov dword [rsp + 0x60], eax
mov qword [rsp + 0x38], rcx
lea r9, [rsp + 0x70]
xor ecx, ecx
mov dword [rsp + 0x70], 0x400
mov qword [rsp + 0x30], rcx
lea r8, [rbp + 0x7a0]
mov qword [rsp + 0x28], rcx
mov edx, eax
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14003eef3
cmp esi, 1
je 0x14003ee1f
mov rax, qword [rbp - 0x80]
lea rcx, [rbp - 0x70]
mov qword [rax + 0x18], rcx
mov rcx, qword [rdi + 0x20]
cmp byte [rcx], 0x75
jne 0x14003ed3b
mov rsi, qword [rbp + 0x17d8]
mov rcx, qword [rcx + 0x20]
lea r9, [rsp + 0x78]
mov r8, rsi
mov edx, 2
call fcn.140034ea0
mov rcx, qword [rdi + 0x20]
mov ebx, eax
mov rax, qword [rsp + 0x78]
cmp rax, rcx
je 0x14003ed13
jmp 0x14003ed54
lea r9, [rsp + 0x78]
mov r8, rbx
mov edx, 3
call fcn.140034ea0
mov ebx, eax
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x14003ed6d
cmp ebx, 6
jne 0x14003ec50
cmp rax, rdi
jne 0x14003eb6c
jmp 0x14003ed7b
cmp ebx, 1
je 0x14003ed7b
cmp ebx, 6
jne 0x14003eb76
mov rsi, qword [rbp + 0x17f0]
test rsi, rsi
je 0x14003ee15
mov rax, qword [0x14012fa58]
mov qword [0x140139c88], rsi
cmp byte [rax + 0x139], 0
je 0x14003ede2
movsxd rax, dword [0x1401373ec]
lea rbx, sym.MZ_kiv9nMDWjqg_I7rrTcpI88_u4Z_bB_FPuaQ9q_
mov qword [rbx + rax*8 + 0x137a40], rsi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
movsxd rdx, dword [0x1401373ec]
mov dword [rbx + rdx*4 + 0x137400], eax
inc edx
cmp edx, 0x190
mov eax, 0
cmovge edx, eax
mov dword [0x1401373ec], edx
xor r9d, r9d
or r8, 0xffffffffffffffff
xor edx, edx
mov rcx, rsi
call fcn.14007b530
mov ebx, eax
cmp eax, 1
jne 0x14003eb76
mov rcx, qword [0x140138770]
lea ebx, [rax + 4]
call fcn.14006dc40
test eax, eax
jne 0x14003eb76
mov rax, qword [rbp - 0x80]
inc qword [rax + 8]
jmp 0x14003ee26
mov rsi, qword [rbp + 0x17f0]
movzx ebx, byte [rbp + 0x1800]
test bl, bl
je 0x14003eeed
cmp word [rbp - 0x60], 0
lea rcx, [0x14010d13c]
lea rax, [0x140117ad8]
mov edx, 0x400
cmovne rax, rcx
lea r9, [rbp - 0x60]
lea rcx, [rbp + 0x7a0]
mov qword [rsp + 0x28], rcx
lea r8, [0x140113608]
lea rcx, [rbp + 0xfb0]
mov qword [rsp + 0x20], rax
call fcn.1400a6680
mov r9, qword [rbp + 0x17e8]
lea rax, [rbp + 0xfb0]
mov rdx, qword [rbp + 0x17d8]
mov rcx, rdi
mov qword [rsp + 0x48], rax
mov rax, qword [rbp + 0x1810]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 0x1808]
mov qword [rsp + 0x38], rax
mov eax, dword [rbp + 0x17f8]
mov byte [rsp + 0x30], bl
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
mov rsi, qword [rbp + 0x17e0]
mov r8, rsi
call fcn.14003e960
mov ebx, eax
cmp eax, 1
jne 0x14003eb76
cmp byte [rsi], 0
jne 0x14003ef09
mov rax, qword [rbp + 0x17e8]
cmp qword [rax], 0
jne 0x14003ef09
mov esi, dword [rbp + 0x17f8]
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x14003ef09
mov rbx, qword [rbp + 0x17d8]
dec eax
jmp 0x14003eca4
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov rbx, qword [rsp + 0x18d0]
add rsp, 0x18b0
pop rdi
pop rsi
pop rbp
ret