Function at 0x140002480
Capabilities:
Enumerate processes
Query or enumerate registry value
Set registry value
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x5c0]
sub rsp, 0x6c0
mov rax, qword [0x14000a010]
xor rax, rsp
mov qword [rbp + 0x5b0], rax
xor esi, esi
lea rdx, str.Initializing..._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400032f0
mov dword [rbp + 0x160], 0x238
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], rsi
mov qword [rbp + 0x38], rsi
lea r8d, [rsi + 0x1b]
lea rdx, str.StartMenuExperienceHost.exe
lea rcx, [rbp + 0x20]
call fcn.140003a00
nop
mov r14d, esi
xor edx, edx
lea ecx, [rsi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
lea rdx, [rbp + 0x160]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
mov rdi, qword [rbp + 0x20]
cmp eax, 1
jne 0x140002595
lea rdx, [rbp + 0x160]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
jne 0x140002595
mov rsi, qword [rbp + 0x38]
nop
lea r8, [rbp + 0x20]
cmp rsi, 8
cmovae r8, rdi
lea rax, [rbp + 0x18c]
sub r8, rax
nop word [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x140002574
add rax, 2
test ecx, ecx
jne 0x140002560
test edx, edx
cmove r14d, dword [rbp + 0x168]
lea rdx, [rbp + 0x160]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
je 0x140002540
xor esi, esi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
test r14d, r14d
jne 0x1400025bb
lea rdx, str._n__StartMenuExperienceHost.exe_is_not_running.
call fcn.1400032f0
jmp 0x140002e4e
lea rdx, str._n__StartMenuExperienceHost.exe_PID:
call fcn.1400032f0
mov edx, r14d
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
lea rcx, str.Windows.UI.Xaml.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rax
lea rdx, str.InitializeXamlDiagnosticsEx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rsi
mov dword [rbp - 0x5c], 4
lea rax, [rbp - 0x58]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140006a08]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
cmp dword [rbp - 0x58], 1
jne 0x140002711
lea rdx, str._n__Created_HKCUSOFTWARETranslucentSM_registry_key.
call fcn.1400032f0
mov rbx, qword [rbp - 0x80]
xor r9d, r9d
lea r8, [0x14000a898]
lea edx, [r9 + 1]
lea rcx, str.D:_A_OICI_KR___S_1_5_12__A_OICI_KA___S_1_5_18__A_OICI_KA___S_1_5_32_545__A_OICI_KA___S_1_5_32_544__A_OICI_KA___S_1_15_2_1_
call qword [sym.imp.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW]
test eax, eax
je 0x1400026ab
mov r8, qword [0x14000a898]
mov edx, 4
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetKeySecurity]
test eax, eax
je 0x14000269e
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [0x14000a898]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [rbp - 0x70], 0x1e
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, [0x140006a70]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rbp - 0x70], 0x32
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, [0x140006a88]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x14000271d
lea rdx, str._n__Opened_HKCUSOFTWARETranslucentSM_registry_key.
call fcn.1400032f0
mov dword [rbp - 0x60], esi
lea rax, [rbp - 0x5c]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
mov r9d, 0x18
lea r8, [0x140006af0]
lea rdx, [0x140006b08]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
cmp eax, 2
jne 0x140002788
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, [0x140006af0]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r8d, 0x104
lea rdx, [rbp + 0x3a0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], rsi
lea rax, [rbp + 0x3a0]
mov rsi, 0xffffffffffffffff
mov r8, rsi
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400027d0
lea rdx, [rbp + 0x3a0]
lea rcx, [rbp - 0x40]
call fcn.140003a00
nop
lea rbx, [rbp - 0x40]
mov r15, qword [rbp - 0x40]
mov r12, qword [rbp - 0x28]
cmp r12, 8
cmovae rbx, r15
mov rdi, qword [rbp - 0x30]
test rdi, rdi
je 0x1400028e0
mov r13d, 0x100
mov r8d, r13d
xor edx, edx
lea rcx, [rbp + 0x60]
call sub.VCRUNTIME140.dll_memset
lea rcx, [0x140006b38]
lea rdx, [0x140006b3a]
nop
movzx eax, word [rcx]
cmp ax, r13w
jae 0x14000287c
movzx eax, al
mov byte [rbp + rax + 0x60], 1
add rcx, 2
cmp rcx, rdx
jne 0x140002830
lea rcx, [rdi - 1]
mov rax, rsi
cmp rcx, rax
cmovb rax, rcx
lea r8, [rbx + rax*2]
nop dword [rax]
movzx eax, word [r8]
cmp ax, r13w
jae 0x140002871
cmp byte [rbp + rax + 0x60], 0
jne 0x1400028d8
cmp r8, rbx
je 0x1400028e0
sub r8, 2
jmp 0x140002860
lea rcx, [rdi - 1]
mov rax, rsi
cmp rcx, rax
cmovb rax, rcx
lea r8, [rbx + rax*2]
mov r9d, 0x5c
nop dword [rax]
nop dword [rax + rax]
mov ecx, 1
movzx edx, word [r8]
lea rax, [0x140006b38]
cmp r9w, dx
je 0x1400028d8
cmp rcx, 1
je 0x1400028cd
dec rcx
add rax, 2
cmp word [rax], dx
jne 0x1400028b6
test rax, rax
jne 0x1400028d8
cmp r8, rbx
je 0x1400028e0
sub r8, 2
jmp 0x1400028a0
sub r8, rbx
sar r8, 1
jmp 0x1400028e3
mov r8, rsi
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
xor eax, eax
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rax
cmp rdi, r8
cmovb r8, rdi
lea rdx, [rbp - 0x40]
cmp r12, 8
cmovae rdx, r15
lea rcx, [rbp]
call fcn.140003a00
nop
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
mov rdx, qword [rbp + 0x10]
sub rax, rdx
cmp rax, 0xb
jb 0x140002ed7
lea r13, [rbp]
cmp qword [rbp + 0x18], 8
cmovae r13, qword [rbp]
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x10], xmm1
lea r12, [rdx + 0xb]
mov ebx, 7
lea rdi, [rbp - 0x20]
lea r15d, [rbx + 3]
cmp r12, rbx
jbe 0x1400029ee
mov rbx, r12
or rbx, 7
movabs rax, 0x7fffffffffffffff
cmp rbx, rcx
jbe 0x140002985
mov rbx, rcx
lea rcx, [rax + rax]
jmp 0x1400029a5
cmp rbx, r15
cmovb rbx, r15
lea rcx, [rbx + 1]
cmp rcx, rax
ja 0x140002ec2
add rcx, rcx
cmp rcx, 0x1000
jb 0x1400029d5
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140002ec2
mov rcx, rax
call fcn.140004910
test rax, rax
je 0x140002d94
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
mov rdx, qword [rbp + 0x10]
jmp 0x1400029ea
test rcx, rcx
je 0x1400029e8
call fcn.140004910
mov rdi, rax
mov rdx, qword [rbp + 0x10]
jmp 0x1400029ea
xor edi, edi
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x10], r12
mov qword [rbp - 8], rbx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r13
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [0x140006b40]
movups xmmword [rbx + rdi], xmm0
mov eax, dword [0x140006b50]
mov dword [rbx + rdi + 0x10], eax
movzx eax, word [0x140006b54]
mov word [rbx + rdi + 0x14], ax
xor r13d, r13d
mov word [rdi + r12*2], r13w
lea rbx, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rbx, qword [rbp - 0x20]
mov r8, rsi
inc r8
cmp word [rbx + r8*2], 0
jne 0x140002a42
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], r13
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.140003a00
nop
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp + 0x40]
call fcn.140004434
mov r8d, eax
test eax, eax
jne 0x140002adf
mov edx, dword [rbp + 0x50]
test dl, 1
mov ecx, 0x1ff
mov eax, 0x16d
cmovne ecx, eax
mov dword [rbp - 0x6c], ecx
bt edx, 0xa
jae 0x140002acd
mov eax, dword [rbp + 0x54]
cmp eax, 0xa000000c
jne 0x140002ac6
lea r15d, [r8 + 4]
jmp 0x140002b03
cmp eax, 0xa0000003
je 0x140002b03
movzx r15d, dl
and r15d, 0x10
or r15d, 0x20
shr r15d, 4
jmp 0x140002b03
mov dword [rbp - 0x6c], 0xffff
sub eax, 2
je 0x140002afd
sub eax, 1
je 0x140002afd
sub eax, 0x32
je 0x140002afd
cmp eax, 0x46
mov r15d, r13d
jne 0x140002b03
mov r15d, 1
mov dword [rbp - 0x70], r8d
lea rax, [0x14000a048]
mov qword [rbp - 0x68], rax
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x50], xmm0
test r15d, r15d
je 0x140002b68
cmp r15d, 1
sete dil
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x140002b7b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002b76
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002b76
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov dil, 1
test r8d, r8d
jne 0x140002ec8
jmp 0x140002b28
call fcn.14000494c
test dil, dil
je 0x140002ca1
lea rcx, [rbp - 0x50]
call fcn.1400022b0
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], r13
nop
inc rsi
cmp word [rbx + rsi*2], 0
jne 0x140002ba0
mov r8, rsi
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.140003a00
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
lea edx, [r9 + 2]
lea r8d, [r9 + 7]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140002c38
mov dword [rbp - 0x70], r13d
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x70]
mov rsi, qword [rbp - 0x48]
mov r8d, esi
mov rdx, qword [rbp - 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140002c27
mov eax, dword [rbp - 0x70]
cmp rax, rsi
je 0x140002c2d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140002c3e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x140002c83
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002c7e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002c7e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000494c
lea rdx, str._n__Wrote
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400034c0
mov rdx, rbx
mov rcx, rax
call fcn.140003820
xor r9d, r9d
lea r8, [0x14000a8a0]
lea edx, [r9 + 1]
lea rcx, str.D:AI_A_OICI_0x1200a9___AC__A_OICIID_FA___BA__A_OICIID_FA___SY__A_OICIID_0x1200a9___BU__A_ID_0x1301bf___AU__A_OICIIOID_SDGXGWGR___AU_
call qword [sym.imp.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW]
test eax, eax
je 0x140002cd5
mov r8, qword [0x14000a8a0]
mov edx, 4
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_SetFileSecurityW]
lea rdx, str._n__Changed_TAPdll.dll_permissions.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400032f0
movups xmm0, xmmword [0x140006c50]
movaps xmmword [rbp - 0x50], xmm0
lea rax, [0x140006b8c]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
mov r9, rbx
xor r8d, r8d
mov edx, r14d
lea rcx, str.VisualDiagConnection1
call qword [rsp + 0x78]
lea rdx, str._n__Injected
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400034c0
mov rdx, rbx
mov rcx, rax
call fcn.140003820
mov rcx, rax
lea rdx, str._into_StartMenuExperienceHost.exe
call fcn.1400034c0
lea rdx, [0x140006bf8]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400032f0
nop
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x140002da0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002d9b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002d9b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000494c
movdqa xmm0, xmmword [0x140006d10]
movdqu xmmword [rbp - 0x10], xmm0
mov word [rbp - 0x20], r13w
mov rax, qword [rbp + 0x18]
cmp rax, 8
jb 0x140002df6
lea rdx, [rax*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002df0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002df0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000494c
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x140002e39
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002e34
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002e34
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000494c
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], r13w
mov rdi, qword [rbp + 0x20]
mov rax, qword [rbp + 0x38]
cmp rax, 8
jb 0x140002e90
lea rdx, [rax*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140002e88
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002e88
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.14000494c
xor eax, eax
mov rcx, qword [rbp + 0x5b0]
xor rcx, rsp
call fcn.1400047d0
lea r11, [rsp + 0x6c0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140001110
nop
lea r8, [rsp + 0x58]
lea rdx, [rbp - 0x50]
call fcn.140002250
nop
call fcn.1400011b0
int3