Function at 0x43a574
Capabilities:
Query or enumerate registry key

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x398
mov qword [rsp + 0xb8], 0xfffffffffffffffe
mov rax, qword [0x004bf230]
xor rax, rsp
mov qword [rsp + 0x380], rax
mov rsi, r9
mov rbx, r8
mov r12, rdx
mov r15, rcx
mov qword [rsp + 0x160], rdx
mov qword [rsp + 0x158], rbx
mov qword [rsp + 0x168], r9
xor edi, edi
mov qword [rsp + 0x48], rdi
cmp qword [rdx + 0x20], 8
jb 0x43a5e2
lea r13, [rdx + 8]
mov rdx, qword [r13]
jmp 0x43a5e9
lea r13, [rdx + 8]
mov rdx, r13
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 9
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x43a671
cmp qword [r12 + 0x20], 8
jb 0x43a61e
mov rcx, qword [r13]
call fcn.00443d3c
mov ebp, 7
mov qword [r12 + 0x20], rbp
mov qword [r12 + 0x18], rdi
mov word [r13], di
cmp qword [rbx + 0x20], 8
jb 0x43a642
mov rcx, qword [rbx + 8]
call fcn.00443d3c
mov qword [rbx + 0x20], rbp
mov qword [rbx + 0x18], rdi
mov word [rbx + 8], di
cmp qword [rsi + 0x20], 8
jb 0x43a65e
mov rcx, qword [rsi + 8]
call fcn.00443d3c
mov qword [rsi + 0x20], rbp
mov qword [rsi + 0x18], rdi
mov word [rsi + 8], di
xor al, al
jmp 0x43ab18
mov r14d, edi
mov word [rsp + 0x170], di
xor edx, edx
mov r8d, 0x204
lea rcx, [rsp + 0x172]
call fcn.00449860
mov dword [rsp + 0x40], 0x103
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x170]
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ebp, 7
cmp eax, edi
jne 0x43aab2
cmp qword [rbx + 0x20], 8
jb 0x43a6e1
mov rdx, qword [rbx + 8]
jmp 0x43a6e5
lea rdx, [rbx + 8]
mov r8, qword [rbx + 0x18]
lea rcx, [rsp + 0x170]
call fcn.00444650
cmp eax, edi
jne 0x43a99e
mov qword [rsp + 0x108], rbp
mov qword [rsp + 0x100], rdi
mov word [rsp + 0xf0], di
mov dword [rsp + 0x110], edi
mov dword [rsp + 0x114], edi
mov dword [rsp + 0x118], edi
mov dword [rsp + 0x11c], edi
mov qword [rsp + 0x140], rbp
mov qword [rsp + 0x138], rdi
mov word [rsp + 0x128], di
mov dword [rsp + 0x148], edi
mov dword [rsp + 0x14c], edi
mov dword [rsp + 0x150], edi
mov dword [rsp + 0x154], edi
mov rax, qword [rbx + 0x18]
lea rdx, [rsp + rax*2 + 0x170]
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0xe8]
call fcn.00404e54
lea rcx, [rsp + 0xe8]
call fcn.00439b24
lea rax, [rsp + 0x58]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x78], rbp
xor edi, edi
mov qword [rsp + 0x70], rdi
mov word [rsp + 0x60], di
lea rdx, [r15 + 8]
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rsp + 0x58]
call fcn.004020b0
nop
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x120]
call fcn.00439aa0
mov edx, dword [rsp + 0x110]
cmp dword [rsp + 0x148], edx
jne 0x43a93e
mov eax, dword [rsp + 0x114]
cmp dword [rsp + 0x14c], eax
jne 0x43a93e
mov edx, dword [rsp + 0x154]
mov eax, dword [rsp + 0x150]
mov ecx, dword [rsp + 0x118]
cmp eax, ecx
jne 0x43a82c
cmp edx, dword [rsp + 0x11c]
je 0x43a845
cmp eax, ecx
jb 0x43a845
cmp eax, ecx
jne 0x43a93e
cmp edx, dword [rsp + 0x11c]
jae 0x43a93e
mov dword [rsp + 0x50], edi
lea rax, [rsp + 0x58]
mov qword [rsp + 0xa8], rax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x70], rdi
mov word [rsp + 0x60], di
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.004020b0
nop
mov qword [rsp + 0xa0], rbp
mov qword [rsp + 0x98], rdi
mov word [rsp + 0x88], di
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x170]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0x80]
call fcn.00404e54
nop
lea r8, [rsp + 0x80]
mov rdx, r12
lea rcx, [rsp + 0xc0]
call fcn.0040c644
nop
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x58]
mov rdx, rax
mov rcx, r15
call fcn.00439dc4
mov dil, al
cmp qword [rsp + 0xa0], 8
jb 0x43a919
mov rcx, qword [rsp + 0x88]
call fcn.00443d3c
mov qword [rsp + 0xa0], rbp
xor eax, eax
mov qword [rsp + 0x98], rax
mov word [rsp + 0x88], ax
cmp dil, al
jne 0x43a9e5
xor edi, edi
cmp qword [rsp + 0x140], 8
jb 0x43a956
mov rcx, qword [rsp + 0x128]
call fcn.00443d3c
mov qword [rsp + 0x140], rbp
mov qword [rsp + 0x138], rdi
mov word [rsp + 0x128], di
cmp qword [rsp + 0x108], 8
jb 0x43a986
mov rcx, qword [rsp + 0xf0]
call fcn.00443d3c
mov qword [rsp + 0x108], rbp
mov qword [rsp + 0x100], rdi
mov word [rsp + 0xf0], di
inc r14d
mov dword [rsp + 0x40], 0x103
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x170]
mov edx, r14d
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, edi
jne 0x43aab2
jmp 0x43a6d4
cmp dword [rsp + 0x50], 1
sete dil
cmp qword [rsp + 0x140], 8
jb 0x43aa06
mov rcx, qword [rsp + 0x128]
call fcn.00443d3c
mov qword [rsp + 0x140], rbp
xor r14d, r14d
mov qword [rsp + 0x138], r14
mov word [rsp + 0x128], r14w
cmp qword [rsp + 0x108], 8
jb 0x43aa3a
mov rcx, qword [rsp + 0xf0]
call fcn.00443d3c
mov qword [rsp + 0x108], rbp
mov qword [rsp + 0x100], r14
mov word [rsp + 0xf0], r14w
cmp qword [r12 + 0x20], 8
jb 0x43aa64
mov rcx, qword [r13]
call fcn.00443d3c
mov qword [r12 + 0x20], rbp
mov qword [r12 + 0x18], r14
mov word [r13], r14w
cmp qword [rbx + 0x20], 8
jb 0x43aa83
mov rcx, qword [rbx + 8]
call fcn.00443d3c
mov qword [rbx + 0x20], rbp
mov qword [rbx + 0x18], r14
mov word [rbx + 8], r14w
cmp qword [rsi + 0x20], 8
jb 0x43aaa0
mov rcx, qword [rsi + 8]
call fcn.00443d3c
mov qword [rsi + 0x20], rbp
mov qword [rsi + 0x18], r14
mov word [rsi + 8], r14w
mov al, dil
jmp 0x43ab18
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
cmp qword [r12 + 0x20], 8
jb 0x43aacf
mov rcx, qword [r13]
call fcn.00443d3c
mov qword [r12 + 0x20], rbp
mov qword [r12 + 0x18], rdi
mov word [r13], di
cmp qword [rbx + 0x20], 8
jb 0x43aaee
mov rcx, qword [rbx + 8]
call fcn.00443d3c
mov qword [rbx + 0x20], rbp
mov qword [rbx + 0x18], rdi
mov word [rbx + 8], di
cmp qword [rsi + 0x20], 8
jb 0x43ab0a
mov rcx, qword [rsi + 8]
call fcn.00443d3c
mov qword [rsi + 0x20], rbp
mov qword [rsi + 0x18], rdi
mov word [rsi + 8], di
xor al, al
mov rcx, qword [rsp + 0x380]
xor rcx, rsp
call fcn.00443d60
add rsp, 0x398
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret