Function at 0x4103c670
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x8a8
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x41359af8]
xor rax, rsp
mov qword [rsp + 0x890], rax
mov r14, r9
mov rbp, r8
mov r13, rdx
mov rbx, rcx
mov r15, qword [rsp + 0x910]
mov r12, qword [rsp + 0x918]
mov dword [rsp + 0x38], 0
mov edx, 7
mov qword [rsp + 0x80], rdx
xor r8d, r8d
mov qword [rsp + 0x78], r8
mov word [rsp + 0x68], r8w
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r12
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rsi, rcx
movabs rax, 0x7ffffffffffffffe
cmp rcx, rax
jbe 0x4103c715
call fcn.4120fbc0
mov rdx, qword [rsp + 0x80]
mov r8, qword [rsp + 0x78]
cmp rdx, rsi
jae 0x4103c731
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.41022ab0
mov rdx, qword [rsp + 0x80]
jmp 0x4103c753
test rsi, rsi
jne 0x4103c753
xor r12d, r12d
mov qword [rsp + 0x78], r12
lea rax, [rsp + 0x68]
cmp rdx, 8
cmovae rax, qword [rsp + 0x68]
mov word [rax], r12w
jmp 0x4103c7a0
test rsi, rsi
je 0x4103c79d
lea rcx, [rsp + 0x68]
cmp rdx, 8
cmovae rcx, qword [rsp + 0x68]
lea rdi, [rsi + rsi]
add rdx, rdx
mov r9, rdi
mov r8, r12
call fcn.412118b0
mov qword [rsp + 0x78], rsi
lea rax, [rsp + 0x68]
cmp qword [rsp + 0x80], 8
cmovae rax, qword [rsp + 0x68]
mov word [rax + rdi], 0
xor r12d, r12d
jmp 0x4103c7a0
xor r12d, r12d
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r12
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
mov rdx, rbp
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4103c81f
mov qword [rbx + 0x20], 7
mov qword [rbx + 0x18], r12
mov word [rbx + 8], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.41022de0
nop
cmp qword [rsp + 0x80], 8
jb 0x4103c817
mov rcx, qword [rsp + 0x68]
call fcn.41210d60
mov rax, rbx
jmp 0x4103cbb2
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
lea rdx, str.SoftWare
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4103c897
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbx + 0x20], 7
mov qword [rbx + 0x18], r12
mov word [rbx + 8], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.41022de0
nop
cmp qword [rsp + 0x80], 8
jb 0x4103c88f
mov rcx, qword [rsp + 0x68]
call fcn.41210d60
mov rax, rbx
jmp 0x4103cbb2
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
mov rdx, r13
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4103c916
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbx + 0x20], 7
mov qword [rbx + 0x18], r12
mov word [rbx + 8], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.41022de0
nop
cmp qword [rsp + 0x80], 8
jb 0x4103c90e
mov rcx, qword [rsp + 0x68]
call fcn.41210d60
mov rax, rbx
jmp 0x4103cbb2
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
mov rdx, r14
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4103c9a0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbx + 0x20], 7
mov qword [rbx + 0x18], r12
mov word [rbx + 8], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.41022de0
nop
cmp qword [rsp + 0x80], 8
jb 0x4103c998
mov rcx, qword [rsp + 0x68]
call fcn.41210d60
mov rax, rbx
jmp 0x4103cbb2
mov word [rsp + 0x90], 0
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rsp + 0x92]
call fcn.412121c0
mov dword [rsp + 0x38], 0x400
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, r15
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x90]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
test ecx, ecx
jne 0x4103ca7c
mov qword [rbx + 0x20], 7
mov qword [rbx + 0x18], r12
mov word [rbx + 8], ax
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.41022de0
nop
cmp qword [rsp + 0x80], 8
jb 0x4103ca74
mov rcx, qword [rsp + 0x68]
call fcn.41210d60
mov rax, rbx
jmp 0x4103cbb2
mov qword [rbx + 0x20], 7
mov qword [rbx + 0x18], r12
lea rsi, [rbx + 8]
mov word [rsi], ax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x90]
repne scasw ax, word [rdi]
not rcx
lea rdi, [rcx - 1]
mov rdx, qword [rbx + 0x20]
cmp rdx, 8
jb 0x4103cab4
mov rax, qword [rsi]
jmp 0x4103cab7
mov rax, rsi
lea rcx, [rsp + 0x90]
cmp rcx, rax
jb 0x4103cb11
cmp rdx, 8
jb 0x4103cacf
mov rcx, qword [rsi]
jmp 0x4103cad2
mov rcx, rsi
mov rax, qword [rbx + 0x18]
lea rcx, [rcx + rax*2]
lea rax, [rsp + 0x90]
cmp rcx, rax
jbe 0x4103cb11
cmp rdx, 8
jb 0x4103caf0
mov rsi, qword [rsi]
lea r8, [rsp + 0x90]
sub r8, rsi
sar r8, 1
mov r9, rdi
mov rdx, rbx
mov rcx, rbx
call fcn.41022de0
jmp 0x4103cb9a
movabs rax, 0x7ffffffffffffffe
cmp rdi, rax
jbe 0x4103cb25
call fcn.4120fbc0
mov rax, qword [rbx + 0x20]
cmp rax, rdi
jae 0x4103cb3f
mov r8, qword [rbx + 0x18]
mov rdx, rdi
mov rcx, rbx
call fcn.41022ab0
jmp 0x4103cb58
test rdi, rdi
jne 0x4103cb58
mov qword [rbx + 0x18], r12
cmp rax, 8
jb 0x4103cb51
mov rsi, qword [rsi]
mov word [rsi], 0
jmp 0x4103cb9a
test rdi, rdi
je 0x4103cb9a
mov rdx, qword [rbx + 0x20]
cmp rdx, 8
jb 0x4103cb6c
mov rcx, qword [rsi]
jmp 0x4103cb6f
mov rcx, rsi
lea rbp, [rdi + rdi]
add rdx, rdx
mov r9, rbp
lea r8, [rsp + 0x90]
call fcn.412118b0
mov qword [rbx + 0x18], rdi
cmp qword [rbx + 0x20], 8
jb 0x4103cb94
mov rsi, qword [rsi]
mov word [rsi + rbp], 0
cmp qword [rsp + 0x80], 8
jb 0x4103cbaf
mov rcx, qword [rsp + 0x68]
call fcn.41210d60
mov rax, rbx
mov rcx, qword [rsp + 0x890]
xor rcx, rsp
call fcn.41211b80
add rsp, 0x8a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret