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

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x9d0
mov rax, qword [0x10004a110]
xor rax, rsp
mov qword [rsp + 0x9c0], rax
xor r12d, r12d
mov edi, ecx
mov dword [0x10004d39c], edx
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
mov qword [r11 - 0x978], r12
mov qword [r11 - 0x970], r12
mov qword [r11 - 0x968], r12
mov qword [r11 - 0x960], r12
mov qword [r11 - 0x958], r12
mov qword [r11 - 0x950], r12
mov qword [rsp + 0x48], r12
mov rbp, r12
mov rsi, r12
mov dword [0x10004d398], r8d
call fcn.10003c1b4
lea rax, [rsp + 0x50]
mov r15d, 0x20019
mov r13, 0xffffffff80000002
lea rdx, [0x10001edf0]
mov r9d, r15d
xor r8d, r8d
mov rcx, r13
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x50], r12
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, r12d
jne 0x10003f1d4
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.10003dca4
mov rsi, qword [rsp + 0xa8]
mov rbp, qword [rsp + 0x78]
jmp 0x10003f1d7
mov eax, r12d
cmp eax, r12d
je 0x10003f6f1
lea rax, [rsp + 0x58]
lea rdx, [0x10001edf0]
mov r9d, r15d
xor r8d, r8d
mov rcx, r13
mov dword [rsp + 0x40], r12d
mov qword [rsp + 0x20], rax
mov ebx, r12d
mov qword [rsp + 0x58], r12
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, r12d
jne 0x10003f6f1
mov r13d, 1
cmp edi, r12d
jne 0x10003f37f
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x48]
lea rdx, [0x10001eab8]
mov r9d, r15d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, r12d
jne 0x10003f37f
lea rcx, [rsp + 0x4b0]
mov qword [rsp + 0x4b0], r12
mov qword [rsp + 0x4b8], r12
mov qword [rsp + 0x4c0], r12
mov qword [rsp + 0x4c8], r12
mov qword [rsp + 0x4d0], r12
mov qword [rsp + 0x4d8], r12
mov qword [rsp + 0x4e0], r12
mov qword [rsp + 0x4e8], r12
mov qword [rsp + 0x4f0], r12
mov dword [rsp + 0x518], r12d
mov dword [rsp + 0x51c], r12d
mov qword [rsp + 0x4f8], r12
mov qword [rsp + 0x500], r12
mov qword [rsp + 0x508], r12
mov qword [rsp + 0x510], r12
call fcn.10003f9e8
lea r14d, [r13 + 0xf]
xor edx, edx
jmp 0x10003f32d
lea rdx, [rsp + 0x580]
lea rcx, [rsp + 0x4b0]
add ebx, r13d
call fcn.10003fc68
cmp eax, r12d
jne 0x10003f367
lea rcx, [rsp + 0x4b0]
call fcn.10003e054
cmp eax, r12d
je 0x10003f31e
lea rdx, [rsp + 0x4b0]
lea rcx, [rsp + 0x70]
call fcn.10003a388
lea rcx, [rsp + 0x4b0]
call fcn.10003f9e8
mov edx, ebx
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x580]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
mov dword [rsp + 0x40], r14d
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, r12d
je 0x10003f2dd
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x4b0]
call fcn.10003f9e8
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x48]
lea rdx, [0x100022cf0]
mov r9d, r15d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov r14d, 0x64
cmp eax, r12d
jne 0x10003f428
mov ebx, r12d
xor edx, edx
jmp 0x10003f3e7
lea rcx, [rsp + 0xb0]
add ebx, r13d
call fcn.10003e7f0
cmp eax, r12d
je 0x10003f3e5
lea r8, [rsp + 0x498]
lea rdx, [rsp + 0x3d0]
lea rcx, [rsp + 0xb0]
call fcn.10004670c
mov edx, ebx
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
lea r9, [rsp + 0x40]
lea r8, [rsp + 0xb0]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
mov dword [rsp + 0x40], r14d
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, r12d
je 0x10003f3b3
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, r12d
jne 0x10003f6e6
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x48]
lea rdx, [0x100022d08]
mov r9d, r15d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov r15d, 0x208
cmp eax, r12d
jne 0x10003f558
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x4b0]
xor edx, edx
mov qword [rsp + 0x28], r12
mov ebx, r12d
mov dword [rsp + 0x40], r14d
mov qword [rsp + 0x20], r12
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, r12d
jne 0x10003f54d
mov edi, 0x12c
lea rax, [rsp + 0xb0]
mov dword [rsp + 0x30], r15d
lea r9, [rsp + 0x7b0]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x5a0]
lea rcx, [rsp + 0x4b0]
mov r8d, edi
mov dword [rsp + 0x20], edi
add ebx, r13d
call fcn.10003eba8
cmp eax, r12d
je 0x10003f511
lea rax, [rsp + 0xb0]
lea r9, [rsp + 0x5a0]
lea r8, [rsp + 0x7b0]
lea rcx, [rsp + 0x4b0]
mov rdx, rsi
mov qword [rsp + 0x20], rax
call fcn.100038a88
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x4b0]
mov edx, ebx
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x40], r14d
mov qword [rsp + 0x20], r12
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, r12d
je 0x10003f4a6
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x48]
lea rdx, [0x100022d20]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, r12d
jne 0x10003f6e6
mov ebx, r12d
xor edx, edx
jmp 0x10003f6a1
lea r9, [rsp + 0x7b0]
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x4b0]
mov r8d, r15d
add ebx, r13d
mov dword [rsp + 0x20], r15d
call fcn.10003ee7c
cmp eax, r12d
je 0x10003f69f
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x50]
lea rdx, [rsp + 0x4b0]
mov r9d, r13d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x50], r12
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, r12d
jne 0x10003f677
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x5a0]
lea rdx, [0x100020478]
xor r8d, r8d
mov dword [rsp + 0x40], 0x20a
mov dword [rsp + 0x60], r13d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, r12d
jne 0x10003f66c
cmp dword [rsp + 0x60], r13d
jne 0x10003f66c
lea rdx, [0x10001c8c0]
lea rcx, [rsp + 0x5a0]
mov word [rsp + 0x7a8], r12w
call qword [sym.imp.msvcrt.dll__wcsicmp]
cmp eax, r12d
jne 0x10003f66c
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10003f69f
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rsp + 0x4b0]
cmp rax, r12
je 0x10003f69f
lea r8, [rsp + 0xb0]
lea rcx, [rsp + 0x4b0]
mov r9, rbp
mov rdx, rsi
call fcn.100039740
mov edx, ebx
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x4b0]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
mov dword [rsp + 0x40], r14d
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, r12d
je 0x10003f590
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x70]
call fcn.10003f93c
mov rcx, qword [rsp + 0x9c0]
xor rcx, rsp
call fcn.1000475f0
lea r11, [rsp + 0x9d0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret