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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], r9
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
sub rsp, 0xa8
mov rax, rdx
xor edx, edx
mov rbp, rcx
mov dword [rsp + 0x6c], edx
mov dword [rsp + 0x68], edx
mov dword [rsp + 0x60], edx
mov dword [rsp + 0x64], edx
mov dword [r11 + 8], edx
mov dword [r11 - 0x44], edx
mov qword [r11 - 0x50], rdx
mov qword [r11 - 0x58], rdx
mov qword [r11 - 0x40], rdx
mov qword [r11 - 0x30], rdx
cmp rcx, rdx
je 0x1000042d3
cmp rax, rdx
je 0x1000042d3
cmp r8, rdx
je 0x1000042d3
cmp r9, rdx
je 0x1000042d3
cmp qword [rsp + 0xf0], rdx
je 0x1000042d3
mov qword [r11 - 0x70], rdx
mov qword [r11 - 0x78], rdx
mov qword [r11 - 0x80], rdx
lea rax, [r11 - 0x64]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x40], rax
lea rax, [r11 - 0x5c]
mov qword [rsp + 0x38], rax
lea rax, [r11 - 0x68]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
lea rax, [r11 - 0x60]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
xor edx, edx
mov ebx, eax
cmp eax, edx
jne 0x1000042d8
mov eax, dword [rsp + 0x60]
cmp dword [rsp + 0x68], edx
je 0x100003ea1
cmp eax, edx
jne 0x100003ea1
mov dword [rsp + 0x60], 0x100
jmp 0x100003eae
cmp eax, 0x100
jae 0x100003eae
add eax, eax
mov dword [rsp + 0x60], eax
mov ecx, dword [rsp + 0x64]
inc ecx
mov dword [rsp + 0x64], ecx
add ecx, ecx
call fcn.10000ef18
xor edx, edx
mov rsi, rax
mov qword [rsp + 0x90], rax
cmp rax, rdx
jne 0x100003ed9
lea ebx, [rdx + 0xe]
jmp 0x1000042d8
mov ebx, edx
mov edi, edx
cmp dword [rsp + 0x6c], edx
jbe 0x100003f77
cmp ebx, edx
jne 0x100003f77
mov eax, dword [rsp + 0x64]
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0xd0]
mov edx, edi
mov r8, rsi
mov rcx, rbp
mov dword [rsp + 0xd0], eax
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
xor edx, edx
mov ebx, eax
cmp eax, edx
jne 0x100003f6b
mov rax, qword [rsp + 0xd8]
mov r8, qword [rsp + 0xe0]
mov r9, rsi
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xf0]
mov rdx, rsi
mov rcx, rbp
mov qword [rsp + 0x20], rax
call fcn.100003ba4
mov edx, 0
mov ebx, eax
cmp eax, 0x4c7
cmove ebx, edx
inc edi
cmp edi, dword [rsp + 0x6c]
jb 0x100003ee7
lea rcx, [rsp + 0x90]
call fcn.10000ee3c
xor edx, edx
cmp dword [rsp + 0xf8], edx
je 0x1000042d8
cmp ebx, edx
jne 0x1000042d8
mov ecx, dword [rsp + 0x60]
inc ecx
mov dword [rsp + 0x60], ecx
add ecx, ecx
call fcn.10000ef18
xor edx, edx
mov rdi, rax
mov qword [rsp + 0x90], rax
cmp rax, rdx
jne 0x100003fc6
lea ebx, [rdx + 8]
jmp 0x1000042d8
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x70], rdx
mov ecx, edx
mov dword [rsp + 0x80], edx
cmp dword [rsp + 0x68], edx
jbe 0x1000042a8
jmp 0x100003fe7
xor edx, edx
mov eax, dword [rsp + 0x60]
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rdx
mov edx, ecx
lea r9, [rsp + 0xd0]
mov rcx, rbp
mov r8, rdi
mov dword [rsp + 0xd0], eax
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ebx, eax
test eax, eax
jne 0x10000427c
mov esi, dword [rsp + 0x108]
lea rax, [rsp + 0x78]
xor r8d, r8d
mov r9d, esi
mov rdx, rdi
mov rcx, rbp
or r9d, 0x20019
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x10000427c
lea rcx, [rsp + 0x84]
mov eax, esi
xor r9d, r9d
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x70]
or eax, 0xf003f
mov qword [rsp + 0x38], rcx
and qword [rsp + 0x30], 0
mov rcx, qword [rsp + 0xe0]
mov dword [rsp + 0x28], eax
and dword [rsp + 0x20], ebx
xor r8d, r8d
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
test eax, eax
jne 0x10000427c
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [rax + rbx + 3]
mov dword [rsp + 0xd0], ecx
add ecx, ecx
call fcn.10000ef18
mov rsi, rax
mov qword [rsp + 0x88], rax
test rax, rax
je 0x100004277
mov rbx, qword [rsp + 0xd8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x100004125
mov r8d, dword [rsp + 0xd0]
mov rdx, rbx
mov rcx, rsi
call fcn.10000e668
mov r8d, dword [rsp + 0xd0]
lea rdx, [0x100001440]
mov rcx, rsi
call fcn.10000e710
mov r8d, dword [rsp + 0xd0]
mov rdx, rdi
mov rcx, rsi
call fcn.10000e710
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [rax + rbx + 3]
mov dword [rsp + 0xd0], ecx
add ecx, ecx
call fcn.10000ef18
mov rbx, rax
mov qword [rsp + 0x98], rax
test rax, rax
je 0x100004277
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x1000041b8
mov r8d, dword [rsp + 0xd0]
mov rdx, qword [rsp + 0xe8]
mov rcx, rbx
call fcn.10000e668
mov r8d, dword [rsp + 0xd0]
lea rdx, [0x100001440]
mov rcx, rbx
call fcn.10000e710
mov r8d, dword [rsp + 0xd0]
mov rdx, rdi
mov rcx, rbx
call fcn.10000e710
mov eax, dword [rsp + 0x108]
mov r11d, dword [rsp + 0x100]
mov r8, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0xf8]
inc r11d
mov r9, rbx
mov dword [rsp + 0x30], r11d
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xf0]
mov rdx, rsi
mov qword [rsp + 0x20], rax
call fcn.100003dc0
mov rcx, qword [rsp + 0x78]
mov ebx, eax
test rcx, rcx
je 0x10000422b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
and qword [rsp + 0x78], 0
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x100004241
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
and qword [rsp + 0x70], 0
lea rcx, [rsp + 0x88]
call fcn.10000ee3c
lea rcx, [rsp + 0x98]
call fcn.10000ee3c
mov ecx, dword [rsp + 0x80]
inc ecx
mov dword [rsp + 0x80], ecx
cmp ecx, dword [rsp + 0x68]
jb 0x100003fe5
jmp 0x10000427c
mov ebx, 0xe
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x100004292
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
and qword [rsp + 0x78], 0
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1000042a8
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
and qword [rsp + 0x70], 0
lea rcx, [rsp + 0x90]
call fcn.10000ee3c
lea rcx, [rsp + 0x88]
call fcn.10000ee3c
lea rcx, [rsp + 0x98]
call fcn.10000ee3c
xor edx, edx
jmp 0x1000042d8
mov ebx, 0x57
cmp dword [rsp + 0x100], edx
jne 0x100004318
cmp ebx, edx
je 0x1000042fd
mov ecx, ebx
call fcn.100002fe8
call qword [sym.imp.msvcrt.dll___iob_func]
mov edx, 0x20001
lea rcx, [rax + 0x60]
jmp 0x100004313
xor ecx, ecx
call fcn.100002fe8
call qword [sym.imp.msvcrt.dll___iob_func]
mov edx, 0x20000
lea rcx, [rax + 0x30]
call fcn.10000d760
mov eax, ebx
add rsp, 0xa8
pop rdi
pop rsi
pop rbp
pop rbx
ret