Function at 0x18036b110
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xd0
mov rbx, rdx
mov rdi, rcx
add r9, r8
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x48], r9
mov word [rsp + 0x50], 0
mov dword [rsp + 0x58], 1
lea rcx, [rsp + 0x80]
lea r14, [rsp + 0x40]
mov rdx, r14
call fcn.180388f70
mov dword [rsp + 0x64], 0
mov dword [rsp + 0x3c], 0
mov rsi, qword [rsp + 0x88]
lea r13, [rsp + 0x3c]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x64]
mov rcx, rbx
mov rdx, rsi
xor r8d, r8d
call qword [sym.imp.advapi32.dll_RegQueryValueExW]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
je 0x18036b1ed
mov qword [rdi + 8], 0
mov dword [rdi + 0x10], ecx
mov dword [rdi], 6
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x18036b1d9
add rdx, rdx
mov r8d, 2
mov rcx, rsi
call fcn.1802cbf20
nop
add rsp, 0xd0
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov eax, dword [rsp + 0x64]
dec eax
cmp eax, 0xa
ja case.0x18036b20a.5
lea rcx, [0x18049edf8]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov eax, dword [rsp + 0x3c]
mov r12d, eax
shr r12d, 1
cmp eax, 2
jae 0x18036b33b
mov r14d, 2
xor r15d, r15d
jmp 0x18036b35b
mov r14d, dword [rsp + 0x3c]
test r14, r14
je 0x18036b46f
mov edx, 1
mov rcx, r14
call fcn.1802cbf40
test rax, rax
je 0x18036b587
mov r15, rax
jmp 0x18036b475
cmp dword [rsp + 0x3c], 4
jne case.0x18036b20a.5
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
mov rcx, rbx
mov rdx, rsi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.advapi32.dll_RegQueryValueExW]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jne 0x18036b1aa
mov eax, dword [rsp + 0x40]
mov dword [rdi], 0
mov dword [rdi + 4], eax
jmp 0x18036b1bb
mov eax, dword [rsp + 0x3c]
mov r12d, eax
shr r12d, 1
cmp eax, 2
jae 0x18036b3fe
mov r14d, 2
xor r15d, r15d
jmp 0x18036b41e
cmp dword [rsp + 0x3c], 8
jne case.0x18036b20a.5
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
mov rcx, rbx
mov rdx, rsi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.advapi32.dll_RegQueryValueExW]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jne 0x18036b1aa
mov rax, qword [rsp + 0x40]
mov dword [rdi], 1
mov qword [rdi + 8], rax
jmp 0x18036b1bb
mov qword [rdi + 8], 0
mov dword [rdi + 0x10], 0x8007000d
jmp 0x18036b1b5
lea r15, [r12 + r12]
mov edx, 2
mov rcx, r15
call fcn.1802cbf40
test rax, rax
je 0x18036b57a
mov r14, rax
mov r15, r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
mov rcx, rbx
mov rdx, rsi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.advapi32.dll_RegQueryValueExW]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jne 0x18036b450
mov rcx, r14
mov rdx, r12
call fcn.1803a9a30
lea rcx, [rax + rdx*2]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rcx
mov word [rsp + 0x78], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 1
mov qword [rsp + 0x50], 0
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0x68]
call fcn.18037b470
movups xmm0, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0xb0], xmm0
mov rax, qword [rsp + 0x50]
movups xmmword [rsp + 0x44], xmm0
mov qword [rsp + 0x54], rax
mov dword [rdi], 2
jmp 0x18036b526
lea r15, [r12 + r12]
mov edx, 2
mov rcx, r15
call fcn.1802cbf40
test rax, rax
je 0x18036b57a
mov r14, rax
mov r15, r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
mov rcx, rbx
mov rdx, rsi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.advapi32.dll_RegQueryValueExW]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
je 0x18036b4d7
mov qword [rdi + 8], 0
mov dword [rdi + 0x10], ecx
mov dword [rdi], 6
test r15, r15
jne 0x18036b54a
jmp 0x18036b1bb
mov r15d, 1
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r15
mov rcx, rbx
mov rdx, rsi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.advapi32.dll_RegQueryValueExW]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
je 0x18036b563
mov qword [rdi + 8], 0
mov dword [rdi + 0x10], ecx
mov dword [rdi], 6
test r14, r14
je 0x18036b1bb
mov r8d, 1
mov rcx, r15
mov rdx, r14
call fcn.1802cbf20
jmp 0x18036b1bb
mov rcx, r14
mov rdx, r12
call fcn.1803a9a30
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], rdx
mov byte [rsp + 0xa8], 0
lea rcx, [rsp + 0x68]
lea rdx, [rsp + 0x98]
call fcn.180388b20
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x54], rax
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rsp + 0x44], xmm0
mov dword [rdi], 4
movups xmm0, xmmword [rsp + 0x40]
mov rax, qword [rsp + 0x4c]
mov rcx, qword [rsp + 0x54]
movups xmmword [rdi + 4], xmm0
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rcx
test r15, r15
je 0x18036b1bb
add r15, r15
mov r8d, 2
mov rcx, r14
mov rdx, r15
call fcn.1802cbf20
jmp 0x18036b1bb
mov dword [rdi], 3
mov qword [rdi + 8], r14
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r14
jmp 0x18036b1bb
mov ecx, 2
mov rdx, r15
call fcn.180407090
mov ecx, 1
mov rdx, r14
call fcn.180407090
int3