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

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x2d0]
sub rsp, 0x3d0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x400], rbx
mov rax, qword [0x1803fc9f0]
xor rax, rsp
mov qword [rbp + 0x2c0], rax
mov r14, r8
mov rsi, rdx
xor r15d, r15d
mov ebx, r15d
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp - 0x70]
call fcn.1802c7550
mov dword [rsp + 0x40], 0x104
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x1b0]
call fcn.1802c7550
mov dword [rsp + 0x44], 0x104
mov qword [rsp + 0x48], r15
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0xa0]
call fcn.1802c7550
mov dword [rsp + 0x50], r15d
xor dil, dil
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r9d, [r15 + 8]
xor r8d, r8d
lea rdx, [0x18001fe00]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1801289ed
xor edx, edx
mov qword [rsp + 0x38], r15
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x1b0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
mov dword [rsp + 0x40], 0x104
mov dword [rsp + 0x44], 0x104
lea r9, [rsp + 0x40]
lea r8, [rbp - 0x70]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, 0x103
je 0x1801289ed
inc ebx
test eax, eax
jne 0x180128940
mov dword [rsp + 0x40], 0x104
mov qword [rsp + 0x58], r15
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [rbp - 0x70]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x180128930
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x18001fe50]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x180128930
mov rcx, rsi
call fcn.1800ab970
lea rdx, [rbp + 0xa0]
mov rcx, rax
call fcn.1802d7774
test rax, rax
je 0x180128930
mov dword [rsp + 0x40], 4
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x18001fe60]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x180128947
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x180128940
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, ebx
jmp 0x18012881a
movzx edx, byte [rsp + 0x50]
add dl, 0x41
lea rax, [rbp + 0xa0]
or rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp byte [rax + rbx], r15b
jne 0x180128960
mov rcx, r14
call fcn.180127c40
mov r8d, 1
lea rdx, [0x18001fbf4]
mov rcx, r14
call fcn.1800acfc0
or r9, 0xffffffffffffffff
mov r8, rbx
lea rdx, [rsp + 0x68]
mov rcx, rsi
call fcn.1800acaf0
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
mov rcx, r14
call fcn.1800ae090
nop
lea rcx, [rsp + 0x68]
call fcn.1800ad110
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1801289d0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r15
mov qword [rsp + 0x48], rcx
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x1801289e8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x48]
mov dil, 1
jmp 0x1801289f2
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1801289fd
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, dil
mov rcx, qword [rbp + 0x2c0]
xor rcx, rsp
call fcn.1802b85a0
mov rbx, qword [rsp + 0x400]
add rsp, 0x3d0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret