Function at 0x7ff752971ea0
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbp
push rbx
lea rbp, [r11 - 0x98]
sub rsp, 0x188
mov rax, qword [0x7ff75298c688]
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 - 0x50], ecx
xor ecx, ecx
mov qword [rsp + 0x70], r12
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], r12
mov qword [r11 - 0x30], r14
mov qword [rbp - 0x40], rdx
call qword [sym.imp.KERNEL32.dll_SetThreadUILanguage]
nop dword [rax + rax]
call fcn.7ff752974610
test al, al
je 0x7ff752971f2e
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop dword [rax + rax]
test byte [rbp + 0xc], 1
je 0x7ff752971f2e
cmp word [rbp + 0x10], r12w
je 0x7ff752971f2e
lea rcx, [rbp - 0x30]
call fcn.7ff75297ef44
mov r14, 0xffffffffffffffff
lea rax, [rbp - 0x80]
mov qword [rsp + 0x50], rax
lea r9, [rsp + 0x64]
lea rax, [rbp - 0x70]
mov dword [rsp + 0x64], r14d
mov qword [rsp + 0x48], rax
lea r8, [rsp + 0x70]
lea rax, [rbp - 0x48]
mov dword [rsp + 0x68], r14d
mov qword [rsp + 0x40], rax
mov rdx, rdi
lea rax, [rsp + 0x78]
mov dword [rsp + 0x6c], r14d
mov qword [rsp + 0x38], rax
mov ecx, ebx
lea rax, [rbp - 0x68]
mov dword [rsp + 0x78], r14d
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov dword [rbp - 0x70], r14d
mov dword [rbp - 0x80], r14d
call fcn.7ff752973930
mov ebx, eax
test eax, eax
jne 0x7ff75297256f
lea rax, [rbp - 0x58]
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 0x7ff75297204a
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov edx, dword [rsp + 0x64]
lea eax, [rdx - 1]
cmp eax, r13d
ja 0x7ff75297205a
mov rcx, qword [0x7ff75298d080]
lea ebx, [r14 + 0x24]
mov rax, qword [rcx]
movabs r10, 0x93002f291450c270
movsd xmm0, qword [0x7ff7529883a8]
mov r9d, edx
mov rax, qword [rax + 8]
xor edx, edx
mov r8d, ebx
movsd qword [rsp + 0x20], xmm0
call qword [0x7ff752984648]
jmp 0x7ff752972567
mov edx, dword [rsp + 0x64]
cmp edx, 2
jne 0x7ff75297205a
mov dword [rsp + 0x64], r13d
jmp 0x7ff752972067
lea eax, [rdx - 4]
cmp eax, r13d
cmovbe edx, ebx
mov dword [rsp + 0x64], edx
mov edi, dword [rsp + 0x6c]
lea rax, [rbp - 0x60]
mov r9d, dword [rsp + 0x68]
lea r8, [rsp + 0x64]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x1b0], rsi
lea rax, [rbp - 0x78]
cmp edi, r14d
mov qword [rsp + 0x160], r15
mov qword [rsp + 0x20], rax
sete sil
mov byte [rsp + 0x60], sil
call fcn.7ff752972b60
mov r15, qword [rsp + 0x70]
mov ebx, eax
test eax, eax
jne 0x7ff7529725b8
mov rdx, qword [rbp - 0x68]
cmp edi, r14d
cmovg r14d, edi
mov edi, 3
cmp dword [rbp - 0x70], r14d
cmovg r14d, dword [rbp - 0x70]
cmp dword [rsp + 0x78], r14d
mov qword [rbp - 0x70], rdx
cmovg r14d, dword [rsp + 0x78]
inc r14d
cmp dword [rsp + 0x64], 2
mov dword [rsp + 0x68], r14d
cmove edi, r13d
test rdx, rdx
jne 0x7ff752972107
mov rax, qword [rbp - 0x78]
mov r13, r12
mov qword [rbp - 0x70], rax
jmp 0x7ff752972132
mov rcx, qword [0x7ff75298d080]
mov rax, qword [rcx]
movabs r10, 0x93002f291450c270
mov rax, qword [rax + 8]
mov r9, rdx
xor edx, edx
lea r8d, [rdx + 0x24]
call qword [0x7ff752984648]
mov r13, qword [rbp - 0x78]
xor ecx, ecx
mov qword [rbp - 0x58], r15
mov qword [rsp + 0x78], r12
mov rsi, r12
mov qword [rsp + 0x70], r12
mov ebx, ecx
mov dword [rsp + 0x6c], ecx
test r15, r15
jne 0x7ff752972183
lea rax, [rbp - 0x80]
lea r9, [rbp - 0x58]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x78]
call fcn.7ff7529725d0
mov rsi, qword [rsp + 0x70]
test al, al
jne 0x7ff752972392
mov ebx, 0xfffb0000
jmp 0x7ff752972392
mov rdx, r15
mov qword [rbp - 0x78], rcx
call fcn.7ff7529736b0
test al, al
jne 0x7ff75297238b
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 - 0x68], rcx
mov qword [rsp + 0x70], rcx
call fcn.7ff7529736b0
test al, al
jne 0x7ff75297238b
lea rdx, [rbp + 0x40]
call fcn.7ff7529736b0
test al, al
jne 0x7ff75297238b
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x80]
lea r8, [rbp - 0x68]
mov dword [rsp + 0x20], 0x17
lea rdx, str.SOFTWAREMicrosoftPowerShell_1_ls_
lea rcx, [0x7ff75298d068]
call fcn.7ff7529736d0
mov r14, qword [rbp - 0x68]
mov ebx, 0xfffb0000
test al, al
jne 0x7ff75297221e
mov edi, ebx
jmp 0x7ff75297227f
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 0x7ff75297227f
cmp eax, 2
mov ecx, 0xfffa0000
mov edi, ebx
cmove edi, ecx
mov rcx, qword [0x7ff75298d070]
mov rax, qword [rcx]
movabs r10, 0x93002f291450c270
mov rax, qword [rax + 8]
xor edx, edx
mov r9, r15
lea r8d, [rdx + 0x19]
call qword [0x7ff752984648]
test r14, r14
je 0x7ff752972293
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 0x7ff7529722ae
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov qword [rsp + 0x70], rsi
test edi, edi
jne 0x7ff7529722e4
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x80]
lea r8, [rbp - 0x78]
mov dword [rsp + 0x20], 0x17
lea rdx, str.SOFTWAREMicrosoftPowerShell_1_ls_PowerShellEngine
lea rcx, [0x7ff75298d068]
call fcn.7ff7529736d0
test al, al
jne 0x7ff7529722ee
mov edi, ebx
mov r14d, dword [rsp + 0x68]
jmp 0x7ff752972390
mov r14, qword [rbp - 0x78]
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 0x7ff752972381
mov rcx, qword [0x7ff75298d070]
mov rax, qword [rcx]
cmp edx, 2
jne 0x7ff75297235b
movabs r10, 0x93002f291450c270
mov rax, qword [rax + 8]
xor edx, edx
mov r9, r14
mov qword [rsp + 0x20], r15
lea r8d, [rdx + 0x27]
call qword [0x7ff752984648]
mov r14d, dword [rsp + 0x68]
mov edi, ebx
jmp 0x7ff752972390
movabs r10, 0x9ee8179d36db4970
mov rax, qword [rax + 0x10]
mov r9, r14
mov r8d, 0x14
call qword [0x7ff752984648]
mov r14d, dword [rsp + 0x68]
mov edi, ebx
jmp 0x7ff752972390
mov rsi, r14
mov r14d, dword [rsp + 0x68]
jmp 0x7ff752972390
mov edi, 0xfffb0000
mov ebx, edi
test ebx, ebx
jne 0x7ff752972497
mov rcx, qword [rsp + 0x78]
lea rax, [rsp + 0x6c]
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 0x7ff752972497
mov ecx, dword [rsp + 0x6c]
mov eax, 2
shr rcx, 1
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.7ff752974da8
mov r12, rax
test rax, rax
jne 0x7ff752972403
mov ebx, 0xffff0000
jmp 0x7ff752972497
mov r8d, dword [rsp + 0x6c]
xor edx, edx
mov rcx, r12
call sub.msvcrt.dll_memset
mov rcx, qword [rsp + 0x78]
lea rax, [rsp + 0x6c]
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 0x7ff752972497
lea r8d, [rax + 2]
mov rcx, r12
lea rdx, [0x7ff7529859c4]
call qword [sym.imp.msvcrt.dll_wcsncmp]
nop dword [rax + rax]
test eax, eax
jne 0x7ff752972497
mov rcx, qword [0x7ff75298d080]
mov ebx, 0xffff0000
mov rax, qword [rcx]
movabs r10, 0x93002f291450c270
mov rdx, qword [rbp - 0x58]
mov r9, qword [rbp - 0x70]
mov rax, qword [rax + 8]
mov qword [rsp + 0x20], rdx
xor edx, edx
lea r8d, [rdx + 3]
call qword [0x7ff752984648]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x7ff7529724b6
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov qword [rsp + 0x78], 0
test rsi, rsi
je 0x7ff7529724ca
mov rcx, rsi
call qword [sym.imp.msvcrt.dll____V_YAXPEAX_Z]
nop dword [rax + rax]
test r12, r12
je 0x7ff7529724de
mov rcx, r12
call qword [sym.imp.msvcrt.dll____V_YAXPEAX_Z]
nop dword [rax + rax]
mov rdi, qword [rbp - 0x60]
test ebx, ebx
jne 0x7ff752972516
mov rax, qword [rbp - 0x40]
mov rcx, r15
mov r9, qword [rbp - 0x70]
mov r8, qword [rbp - 0x48]
mov edx, dword [rsp + 0x64]
mov qword [rsp + 0x40], rax
mov eax, dword [rbp - 0x50]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x20], rdi
call fcn.7ff7529715f0
mov ebx, eax
movzx esi, byte [rsp + 0x60]
test r13, r13
je 0x7ff75297252f
mov rcx, r13
call qword [sym.imp.msvcrt.dll____V_YAXPEAX_Z]
nop dword [rax + rax]
test rdi, rdi
je 0x7ff752972543
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 0x7ff75297255f
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 [0x7ff75298d350]
mov r14, qword [rsp + 0x168]
mov r12, qword [rsp + 0x178]
mov rdi, qword [rsp + 0x180]
test rcx, rcx
je 0x7ff75297259f
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rbp + 0x58]
xor rcx, rsp
call fcn.7ff752975100
add rsp, 0x188
pop rbx
pop rbp
ret
mov r13, qword [rbp - 0x78]
mov rdi, qword [rbp - 0x60]
jmp 0x7ff75297251b