Function at 0x140041800
Capabilities:
Create process on windows
Get common file path

Disassembly:
push rbp
push rsi
lea rbp, [rsp - 0x438]
sub rsp, 0x538
lea rcx, str.FirewallAPI.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x140041c24
mov qword [rsp + 0x568], rbx
lea rdx, str.NetworkIsolationEnumAppContainers
mov qword [rsp + 0x528], r14
mov rcx, rax
mov qword [rsp + 0x520], r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.NetworkIsolationFreeAppContainers
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor r15d, r15d
lea r8, [rbp + 0x458]
lea rdx, [rbp + 0x450]
mov dword [rbp + 0x450], r15d
xor ecx, ecx
mov qword [rbp + 0x458], r15
mov r14, rax
call rbx
mov ebx, r15d
cmp dword [rbp + 0x450], ebx
jbe 0x140041bef
mov qword [rsp + 0x530], rdi
mov edi, r15d
nop word [rax + rax]
mov rax, qword [rbp + 0x458]
lea rcx, [rbp + 0x310]
xor edx, edx
mov r8d, 0x104
movups xmm1, xmmword [rdi + rax + 0x10]
movups xmm0, xmmword [rdi + rax]
movups xmmword [rsp + 0x50], xmm1
movaps xmmword [rsp + 0x70], xmm0
movups xmm0, xmmword [rdi + rax + 0x20]
movaps xmmword [rbp - 0x80], xmm1
movups xmm1, xmmword [rdi + rax + 0x30]
movaps xmmword [rbp - 0x70], xmm0
movups xmm0, xmmword [rdi + rax + 0x40]
movaps xmmword [rbp - 0x60], xmm1
movsd xmm1, qword [rdi + rax + 0x50]
movaps xmmword [rbp - 0x50], xmm0
movsd qword [rbp - 0x40], xmm1
call fcn.1400514f0
movups xmm0, xmmword [rsp + 0x50]
lea rcx, str.AMD_Radeon_Software
psrldq xmm0, 8
movq rdx, xmm0
call fcn.1400520a4
test rax, rax
jne 0x14004193f
inc ebx
add rdi, 0x58
cmp ebx, dword [rbp + 0x450]
jb 0x1400418b0
jmp 0x140041be7
mov r9, qword [rbp - 0x80]
mov rax, 0xffffffffffffffff
mov qword [rbp + 0x460], r15
inc rax
cmp word [r9 + rax*2], r15w
jne 0x140041951
mov r8d, 0x104
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x310]
lea rcx, [rbp + 0x460]
call fcn.140077034
xor edx, edx
lea rcx, [rbp + 0xf0]
mov r8d, 0x104
call fcn.1400514f0
xor edx, edx
lea rcx, [rbp - 0x20]
mov r8d, 0x104
call fcn.1400514f0
xor edx, edx
lea rcx, [rbp + 0x200]
mov r8d, 0x104
call fcn.1400514f0
mov edx, 0x104
lea rcx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x140041ba7
lea rcx, [rbp + 0x200]
dec rcx
cmp byte [rcx + 1], r15b
lea rcx, [rcx + 1]
jne 0x1400419d3
lea r8, [rbp - 0x20]
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x1400419f0
lea rcx, [rbp + 0xf0]
dec rcx
nop word [rax + rax]
cmp byte [rcx + 1], r15b
lea rcx, [rcx + 1]
jne 0x140041a10
lea r8, [rbp - 0x20]
xor edx, edx
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140041a20
lea r8, [rbp + 0x310]
lea rdx, str.explorer.exe_shell:AppsFolder_s_AMDRadeonsoftwareUWP
lea rcx, [rbp + 0xf0]
call fcn.140003f20
lea rcx, [rbp + 0x200]
dec rcx
cmp byte [rcx + 1], r15b
lea rcx, [rcx + 1]
jne 0x140041a54
mov eax, dword [0x1400b58b8]
movsd xmm0, qword [str.explorer.exe]
movsd qword [rcx], xmm0
mov dword [rcx + 8], eax
movzx eax, word [0x1400b58bc]
mov word [rcx + 0xc], ax
lea rcx, [rbp - 0x20]
dec rcx
cmp byte [rcx + 1], r15b
lea rcx, [rcx + 1]
jne 0x140041a85
lea r8, [rbp + 0xf0]
xor edx, edx
nop dword [rax + rax]
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140041aa0
mov rcx, r15
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rbp + rcx - 0x20]
mov byte [rbp + rcx + 0xf0], al
lea rcx, [rcx + 1]
test al, al
jne 0x140041ac0
xorps xmm1, xmm1
lea rdx, [rbp + 0xf0]
xor eax, eax
lea rcx, [rbp + 0x200]
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
mov qword [rbp - 0x30], rax
xor r9d, r9d
lea rax, str.WinSta0Default
xor r8d, r8d
movups xmmword [rbp - 0x80], xmm1
mov qword [rbp - 0x80], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
movups xmmword [rsp + 0x70], xmm1
mov dword [rsp + 0x28], 0x20
movups xmmword [rbp - 0x60], xmm1
mov dword [rsp + 0x20], r15d
movups xmmword [rbp - 0x50], xmm1
mov dword [rsp + 0x70], 0x68
movups xmmword [rsp + 0x50], xmm0
mov dword [rbp - 0x54], 1
movups xmmword [rbp - 0x70], xmm1
mov word [rbp - 0x50], r15w
movups xmmword [rbp - 0x40], xmm1
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x140041b92
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140041b80
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x58], r15
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140041be7
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140041be7
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x140041be7
lea r9, str.LaunchAppContainerProcess:_Failed_to_create_process_
jmp 0x140041bba
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x140041be7
lea r9, str.LaunchAppContainerProcess:_Failed_to_retrieve_Windows_directory_
xor r8d, r8d
mov edx, 0x60004004
call fcn.140040490
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x140041be7
lea r9, str.LaunchRadeonSoftwareUWPApp:_Failed_to_launch_app_container_process
xor r8d, r8d
mov edx, 0x60004004
call fcn.140040490
mov rdi, qword [rsp + 0x530]
mov rcx, qword [rbp + 0x458]
call r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov r15, qword [rsp + 0x520]
mov r14, qword [rsp + 0x528]
mov rbx, qword [rsp + 0x568]
add rsp, 0x538
pop rsi
pop rbp
ret
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x140041c44
lea r9, str.LaunchRadeonSoftwareUWPApp:_Failed_to_load_FirewallAPI_library
xor r8d, r8d
mov edx, 0x60004004
call fcn.140040490
add rsp, 0x538
pop rsi
pop rbp
ret