Function at 0x7ff743e91fd0
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbp
push rbx
lea rbp, [r11 - 0x98]
sub rsp, 0x188
mov rax, qword [0x7ff743eb0688]
xor rax, rsp
mov qword [rbp + 0x58], rax
mov qword [r11 - 0x18], rdi
mov ebx, ecx
mov qword [r11 - 0x20], r12
mov rdi, rdx
xor r12d, r12d
mov dword [rbp - 0x48], ecx
xor ecx, ecx
mov qword [rsp + 0x70], r12
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], r12
mov qword [r11 - 0x30], r14
mov qword [rbp - 0x38], rdx
call qword [sym.imp.KERNEL32.dll_SetThreadUILanguage]
nop dword [rax + rax]
call fcn.7ff743e93cc0
test al, al
je 0x7ff743e9205e
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop dword [rax + rax]
test byte [rbp + 0xc], 1
je 0x7ff743e9205e
cmp word [rbp + 0x10], r12w
je 0x7ff743e9205e
lea rcx, [rbp - 0x30]
call fcn.7ff743e9ec68
mov r14, 0xffffffffffffffff
lea rax, [rbp - 0x78]
mov qword [rsp + 0x50], rax
lea r9, [rsp + 0x64]
lea rax, [rsp + 0x78]
mov dword [rsp + 0x64], r14d
mov qword [rsp + 0x48], rax
lea r8, [rsp + 0x70]
lea rax, [rbp - 0x40]
mov dword [rbp - 0x68], r14d
mov qword [rsp + 0x40], rax
mov rdx, rdi
lea rax, [rbp - 0x80]
mov dword [rsp + 0x68], r14d
mov qword [rsp + 0x38], rax
mov ecx, ebx
lea rax, [rbp - 0x60]
mov dword [rbp - 0x80], r14d
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x78], r14d
mov dword [rbp - 0x78], r14d
call fcn.7ff743e93990
mov ebx, eax
test eax, eax
jne 0x7ff743e92656
lea rax, [rbp - 0x50]
mov qword [rsp + 0x170], r13
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetControlMiniNT
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
lea ebx, [r14 + 4]
lea r13d, [r14 + 2]
test eax, eax
jne 0x7ff743e9216e
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov edx, dword [rsp + 0x64]
lea eax, [rdx - 1]
cmp eax, r13d
ja 0x7ff743e9217e
mov rcx, qword [0x7ff743eb0ff8]
lea ebx, [r14 + 0x24]
movsd xmm0, qword [0x7ff743eaa158]
mov r9d, edx
mov r8d, ebx
movsd qword [rsp + 0x20], xmm0
xor edx, edx
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x7ff743ea5f00]
jmp 0x7ff743e9264e
mov edx, dword [rsp + 0x64]
cmp edx, 2
jne 0x7ff743e9217e
mov dword [rsp + 0x64], r13d
jmp 0x7ff743e9218b
lea eax, [rdx - 4]
cmp eax, r13d
cmovbe edx, ebx
mov dword [rsp + 0x64], edx
mov edi, dword [rsp + 0x68]
lea rax, [rbp - 0x58]
mov r9d, dword [rbp - 0x68]
lea r8, [rsp + 0x64]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x1b0], rsi
lea rax, [rbp - 0x70]
cmp edi, r14d
mov qword [rsp + 0x160], r15
mov qword [rsp + 0x20], rax
sete sil
mov byte [rsp + 0x60], sil
call fcn.7ff743e92c70
mov r15, qword [rsp + 0x70]
mov ebx, eax
test eax, eax
jne 0x7ff743e9269f
mov rdx, qword [rbp - 0x60]
cmp edi, r14d
mov qword [rbp - 0x68], rdx
cmovg r14d, edi
mov edi, 3
cmp dword [rsp + 0x78], r14d
cmovg r14d, dword [rsp + 0x78]
cmp dword [rbp - 0x80], r14d
cmovg r14d, dword [rbp - 0x80]
inc r14d
cmp dword [rsp + 0x64], 2
mov dword [rbp - 0x78], r14d
cmove edi, r13d
test rdx, rdx
jne 0x7ff743e92229
mov rax, qword [rbp - 0x70]
mov r13, r12
mov qword [rbp - 0x68], rax
jmp 0x7ff743e9224a
mov rcx, qword [0x7ff743eb0ff8]
mov r9, rdx
xor edx, edx
mov rax, qword [rcx]
lea r8d, [rdx + 0x24]
mov rax, qword [rax + 8]
call qword [0x7ff743ea5f00]
mov r13, qword [rbp - 0x70]
xor ecx, ecx
mov qword [rbp - 0x50], r15
mov qword [rsp + 0x78], r12
mov rsi, r12
mov qword [rsp + 0x70], r12
mov ebx, ecx
mov dword [rsp + 0x68], ecx
test r15, r15
jne 0x7ff743e9229b
lea rax, [rbp - 0x78]
lea r9, [rbp - 0x50]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x78]
call fcn.7ff743e926c0
mov rsi, qword [rsp + 0x70]
test al, al
jne 0x7ff743e92483
mov ebx, 0xfffb0000
jmp 0x7ff743e92483
mov rdx, r15
mov qword [rbp - 0x70], rcx
call fcn.7ff743e93700
test al, al
jne 0x7ff743e92478
mov r9d, 0xa
lea rdx, [rbp + 0x40]
mov ecx, edi
lea r8d, [r9 + 1]
call qword [sym.imp.msvcrt.dll__itow_s]
nop dword [rax + rax]
xor ecx, ecx
mov rdx, r15
mov edi, ecx
mov qword [rbp - 0x60], rcx
mov qword [rsp + 0x70], rcx
call fcn.7ff743e93700
test al, al
jne 0x7ff743e923be
lea rdx, [rbp + 0x40]
call fcn.7ff743e93700
test al, al
jne 0x7ff743e923be
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x80]
lea r8, [rbp - 0x60]
mov dword [rsp + 0x20], SafeArrayCopy
lea rdx, str.SOFTWAREMicrosoftPowerShell_1_ls_
lea rcx, [0x7ff743eb0fe0]
call fcn.7ff743e93720
mov r14, qword [rbp - 0x60]
mov ebx, 0xfffb0000
test al, al
jne 0x7ff743e92336
mov edi, ebx
jmp 0x7ff743e9238d
lea rax, [rsp + 0x70]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, r14
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
je 0x7ff743e9238d
cmp eax, 2
mov ecx, 0xfffa0000
mov edi, ebx
mov r9, r15
cmove edi, ecx
mov rcx, qword [0x7ff743eb0fe8]
xor edx, edx
mov rax, qword [rcx]
lea r8d, [rdx + 0x19]
mov rax, qword [rax + 8]
call qword [0x7ff743ea5f00]
test r14, r14
je 0x7ff743e923a1
mov rcx, r14
call qword [sym.imp.msvcrt.dll____V_YAXPEAX_Z]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x7ff743e923c5
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov qword [rsp + 0x70], rsi
jmp 0x7ff743e923c5
mov ebx, 0xfffb0000
mov edi, ebx
test edi, edi
jne 0x7ff743e9247d
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x80]
lea r8, [rbp - 0x70]
mov dword [rsp + 0x20], SafeArrayCopy
lea rdx, str.SOFTWAREMicrosoftPowerShell_1_ls_PowerShellEngine
lea rcx, [0x7ff743eb0fe0]
call fcn.7ff743e93720
test al, al
jne 0x7ff743e92401
mov edi, ebx
jmp 0x7ff743e9247d
mov r14, qword [rbp - 0x70]
lea rax, [rsp + 0x78]
mov rdx, r14
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov edx, eax
test eax, eax
je 0x7ff743e92473
mov rcx, qword [0x7ff743eb0fe8]
mov r9, r14
mov rax, qword [rcx]
cmp edx, 2
jne 0x7ff743e9245f
mov rax, qword [rax + 8]
xor edx, edx
mov qword [rsp + 0x20], r15
lea r8d, [rdx + 0x27]
call qword [0x7ff743ea5f00]
mov edi, ebx
jmp 0x7ff743e9247d
mov rax, qword [rax + 0x10]
mov r8d, 0x14
call qword [0x7ff743ea5f00]
mov edi, ebx
jmp 0x7ff743e9247d
mov rsi, r14
jmp 0x7ff743e9247d
mov edi, 0xfffb0000
mov r14d, dword [rbp - 0x78]
mov ebx, edi
test ebx, ebx
jne 0x7ff743e9257e
mov rcx, qword [rsp + 0x78]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rdx, str.NetFrameworkV4IsInstalled
xor r9d, r9d
mov qword [rsp + 0x20], r12
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x7ff743e9257e
mov ecx, dword [rsp + 0x68]
mov eax, 2
shr rcx, 1
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.7ff743e943f8
mov r12, rax
test rax, rax
jne 0x7ff743e924f4
mov ebx, 0xffff0000
jmp 0x7ff743e9257e
mov r8d, dword [rsp + 0x68]
xor edx, edx
mov rcx, r12
call sub.msvcrt.dll_memset
mov rcx, qword [rsp + 0x78]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rdx, str.NetFrameworkV4IsInstalled
xor r9d, r9d
mov qword [rsp + 0x20], r12
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x7ff743e9257e
lea r8d, [rax + 2]
mov rcx, r12
lea rdx, [0x7ff743ea71a4]
call qword [sym.imp.msvcrt.dll_wcsncmp]
nop dword [rax + rax]
test eax, eax
jne 0x7ff743e9257e
mov rdx, qword [rbp - 0x50]
mov ebx, 0xffff0000
mov rcx, qword [0x7ff743eb0ff8]
mov r9, qword [rbp - 0x68]
mov qword [rsp + 0x20], rdx
xor edx, edx
mov rax, qword [rcx]
lea r8d, [rdx + 3]
mov rax, qword [rax + 8]
call qword [0x7ff743ea5f00]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x7ff743e9259d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov qword [rsp + 0x78], 0
test rsi, rsi
je 0x7ff743e925b1
mov rcx, rsi
call qword [sym.imp.msvcrt.dll____V_YAXPEAX_Z]
nop dword [rax + rax]
test r12, r12
je 0x7ff743e925c5
mov rcx, r12
call qword [sym.imp.msvcrt.dll____V_YAXPEAX_Z]
nop dword [rax + rax]
mov rdi, qword [rbp - 0x58]
test ebx, ebx
jne 0x7ff743e925fd
mov rax, qword [rbp - 0x38]
mov rcx, r15
mov r9, qword [rbp - 0x68]
mov r8, qword [rbp - 0x40]
mov edx, dword [rsp + 0x64]
mov qword [rsp + 0x40], rax
mov eax, dword [rbp - 0x48]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x20], rdi
call fcn.7ff743e915e0
mov ebx, eax
movzx esi, byte [rsp + 0x60]
test r13, r13
je 0x7ff743e92616
mov rcx, r13
call qword [sym.imp.msvcrt.dll____V_YAXPEAX_Z]
nop dword [rax + rax]
test rdi, rdi
je 0x7ff743e9262a
mov rcx, rdi
call qword [sym.imp.msvcrt.dll____V_YAXPEAX_Z]
nop dword [rax + rax]
test sil, sil
mov rsi, qword [rsp + 0x1b0]
je 0x7ff743e92646
mov rcx, r15
call qword [sym.imp.msvcrt.dll____V_YAXPEAX_Z]
nop dword [rax + rax]
mov r15, qword [rsp + 0x160]
mov r13, qword [rsp + 0x170]
mov rcx, qword [0x7ff743eb1308]
mov r14, qword [rsp + 0x168]
mov r12, qword [rsp + 0x178]
mov rdi, qword [rsp + 0x180]
test rcx, rcx
je 0x7ff743e92686
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rbp + 0x58]
xor rcx, rsp
call fcn.7ff743e94750
add rsp, 0x188
pop rbx
pop rbp
ret
mov r13, qword [rbp - 0x70]
mov rdi, qword [rbp - 0x58]
jmp 0x7ff743e92602