Function at 0x1011a3c
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x290
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x01042480]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rdi, rcx
lea rcx, [0x010058d0]
call fcn.0100fdd0
xor ebp, ebp
and dword [rsp + 0x40], ebp
and dword [rsp + 0x44], ebp
lea rcx, [rsp + 0x38]
call fcn.0101262c
test eax, eax
jne 0x1011b95
lea rcx, [0x01005920]
call fcn.0100fdd0
and qword [rsp + 0x48], rbp
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [0x010059a0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1011e19
mov ebx, 0x208
mov dword [rsp + 0x30], ebx
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.010328a0
lea r11, [rsp + 0x30]
mov qword [rsp + 0x28], r11
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x01005a10]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1011b2f
lea rcx, [rdi + 0x10]
lea rdx, [rsp + 0x70]
call fcn.0100dc00
mov dword [rsp + 0x30], ebx
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.010328a0
lea r11, [rsp + 0x30]
mov qword [rsp + 0x28], r11
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x01005a30]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1011b80
lea rcx, [rdi + 0x18]
lea rdx, [rsp + 0x70]
call fcn.0100dc00
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x38]
jmp 0x1011e1e
lea rcx, [0x01005a60]
call fcn.0100fdd0
lea rcx, [rsp + 0x38]
call fcn.010123bc
test eax, eax
je 0x1011e19
lea rcx, [0x01005ad0]
call fcn.0100fdd0
and qword [rsp + 0x58], 0
and dword [rsp + 0x48], 0
xor esi, esi
and dword [rsp + 0x30], esi
xor r8d, r8d
lea rdx, [rsp + 0x30]
xor ecx, ecx
call fcn.0101f100
cmp dword [rsp + 0x30], 5
jbe 0x1011cd4
lea rcx, [0x010063e8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1011c17
lea rdx, [0x01006400]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1011c17
call rax
mov ebx, eax
jmp 0x1011c19
xor ebx, ebx
mov edx, ebx
lea rcx, [0x01005b50]
call fcn.0100fdd0
lea rdx, [0x01003570]
lea rcx, [rsp + 0x50]
call fcn.0100da98
nop
lea rax, [rsp + 0x38]
test rax, rax
je 0x1011c5c
lea r9, [rsp + 0x50]
mov r8d, 5
mov edx, ebx
lea rcx, [rsp + 0x38]
call fcn.01011e90
jmp 0x1011c5e
xor eax, eax
test eax, eax
je 0x1011c70
lea rcx, [rdi + 0x10]
lea rdx, [rsp + 0x50]
call fcn.0100db8c
lea rdx, [0x01003570]
lea rcx, [rsp + 0x30]
call fcn.0100da98
nop
lea rax, [rsp + 0x38]
test rax, rax
je 0x1011ca5
lea r9, [rsp + 0x30]
mov r8d, 7
mov edx, ebx
lea rcx, [rsp + 0x38]
call fcn.01011e90
jmp 0x1011ca7
xor eax, eax
test eax, eax
je 0x1011cba
lea rcx, [rdi + 0x18]
lea rdx, [rsp + 0x30]
call fcn.0100db8c
nop
lea rcx, [rsp + 0x30]
call fcn.0100d9e0
nop
lea rcx, [rsp + 0x50]
call fcn.0100d9e0
jmp 0x1011e02
mov ebx, dword [rsp + 0x40]
test ebx, ebx
je 0x1011d03
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
mov r8d, 4
or edx, 0xffffffff
lea rcx, [rsp + 0x38]
call fcn.01012794
mov r11d, eax
jmp 0x1011d11
mov ecx, 0x2001000a
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor r11d, r11d
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x1011e02
test r11d, r11d
je 0x1011d2c
cmp dword [rsp + 0x48], esi
jbe 0x1011d2c
mov esi, dword [rax]
mov edx, esi
lea rcx, [0x01005be0]
call fcn.0100fdd0
test ebx, ebx
je 0x1011d4f
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x38]
call fcn.01012808
jmp 0x1011d5a
mov ecx, 0x2001000a
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rdx, [0x01003570]
lea rcx, [rsp + 0x30]
call fcn.0100da98
nop
lea rax, [rsp + 0x38]
test rax, rax
je 0x1011d8f
lea r9, [rsp + 0x30]
mov r8d, 5
mov edx, esi
lea rcx, [rsp + 0x38]
call fcn.01011e90
jmp 0x1011d91
xor eax, eax
test eax, eax
je 0x1011da3
lea rcx, [rdi + 0x10]
lea rdx, [rsp + 0x30]
call fcn.0100db8c
lea rdx, [0x01003570]
lea rcx, [rsp + 0x50]
call fcn.0100da98
nop
lea rax, [rsp + 0x38]
test rax, rax
je 0x1011dd8
lea r9, [rsp + 0x50]
mov r8d, 7
mov edx, esi
lea rcx, [rsp + 0x38]
call fcn.01011e90
jmp 0x1011dda
xor eax, eax
test eax, eax
je 0x1011ded
lea rcx, [rdi + 0x18]
lea rdx, [rsp + 0x50]
call fcn.0100db8c
nop
lea rcx, [rsp + 0x50]
call fcn.0100d9e0
nop
lea rcx, [rsp + 0x30]
call fcn.0100d9e0
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x1011e1e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor ebx, ebx
jmp 0x1011e1e
mov rbx, qword [rsp + 0x38]
mov r8, qword [rdi + 0x18]
mov rdx, qword [rdi + 0x10]
lea rcx, [0x01005c60]
call fcn.0100fdd0
mov r11, qword [rdi + 0x10]
cmp qword [r11 - 0x10], 0
je 0x1011e4e
mov rcx, qword [rdi + 0x18]
mov eax, 1
cmp qword [rcx - 0x10], 0
cmovne ebp, eax
test rbx, rbx
je 0x1011e5c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, ebp
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.01026f20
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret