Function at 0x140043ff0
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rsi
push rdi
push r14
sub rsp, 0x80
mov qword [r11 - 0x48], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov rax, qword [0x140120678]
xor rax, rsp
mov qword [rsp + 0x78], rax
xor sil, sil
xor edi, edi
mov qword [r11 - 0x50], rdi
lea rax, [r11 - 0x50]
mov qword [r11 - 0x78], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rcx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14004425c
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x44], 1
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x44]
xor r8d, r8d
lea rdx, str.installStatus
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x14004425c
mov ecx, eax
mov eax, 2
mul rcx
mov rbx, 0xffffffffffffffff
cmovo rax, rbx
mov rcx, rax
call fcn.1400a0800
mov r14, rax
movdqa xmm0, xmmword [0x1400cbed0]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], dil
lea r8d, [rdi + 3]
lea rdx, [0x1400e06a4]
lea rcx, [rsp + 0x58]
call fcn.1400046c0
nop
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x44]
xor r8d, r8d
lea rdx, str.installStatus
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400441d1
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
mov r9d, ebx
mov r8, r14
xor edx, edx
lea ecx, [rdi + 1]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rbp, eax
test eax, eax
jg 0x14004417a
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x14004425c
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140044257
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004429b
jmp 0x140044257
mov rcx, rbp
call fcn.1400a0800
mov rsi, rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, r14
xor edx, edx
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
nop dword [rax]
inc rbx
cmp byte [rsi + rbx], 0
jne 0x1400441b0
mov r8, rbx
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.1400046c0
mov rcx, rsi
call fcn.14009fcc0
mov rcx, r14
call fcn.14009fcc0
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x70]
cmp r8, 0x10
cmovae rdx, rcx
cmp qword [rsp + 0x68], 3
jne 0x140044229
movzx eax, byte [rdx]
cmp al, byte [0x1400e06a8]
jne 0x14004421b
movzx eax, byte [rdx + 1]
cmp al, byte [0x1400e06a9]
jne 0x14004421b
movzx eax, byte [rdx + 2]
cmp al, byte [0x1400e06aa]
je 0x140044220
sbb edi, edi
or edi, 1
test edi, edi
jne 0x140044229
mov sil, 1
jmp 0x14004422c
xor sil, sil
cmp r8, 0x10
jb 0x14004425c
lea rdx, [r8 + 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140044257
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140044295
call fcn.14009fcc0
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14004426c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, sil
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400a0360
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call fcn.1400a47dc
int3
call fcn.1400a47dc
int3