Function at 0x180002380
Capabilities:
Create process on windows
Get common file path
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x1a30]
mov eax, 0x1b30
call fcn.180004a90
sub rsp, rax
mov rax, qword [0x18002e018]
xor rax, rsp
mov qword [rbp + 0x1a20], rax
xor edx, edx
lea rcx, [rbp + 0x1f0]
mov r8d, 0x208
xor edi, edi
call fcn.1800067d0
xor edx, edx
lea rcx, [rbp - 0x20]
mov r8d, 0x208
call fcn.1800067d0
xor edx, edx
lea rcx, [rbp + 0x610]
mov r8d, 0x410
call fcn.1800067d0
xor edx, edx
lea rcx, [rbp + 0x400]
mov r8d, 0x208
call fcn.1800067d0
xorps xmm0, xmm0
mov dword [rsp + 0x70], 0x68
xor eax, eax
movups xmmword [rsp + 0x78], xmm0
mov qword [rsp + 0x60], rax
movups xmmword [rbp - 0x78], xmm0
movups xmmword [rbp - 0x68], xmm0
movups xmmword [rbp - 0x58], xmm0
movups xmmword [rbp - 0x48], xmm0
movups xmmword [rbp - 0x38], xmm0
movups xmmword [rsp + 0x50], xmm0
call fcn.180001710
test eax, eax
je 0x180002685
mov edx, 0x104
mov qword [rsp + 0x1b40], rbx
lea rcx, [rbp + 0x1f0]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x1800024b3
xor edx, edx
lea rcx, [rbp + 0xa20]
mov r8d, 0x1000
call fcn.1800067d0
lea edx, [rdi + 0x5c]
lea rcx, [0x180028030]
call fcn.1800063dc
mov rbx, rax
test rax, rax
jne 0x18000248a
lea rbx, [0x180028090]
jmp 0x18000248e
add rbx, 2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
lea r9, [0x1800280e8]
mov dword [rsp + 0x28], 0x123
lea r8, str._s__s:_d__Error_During_Get_System_Directory_Err:_d_n
jmp 0x18000261b
mov rcx, qword [0x180031fd8]
lea rdx, [rbp + 0x400]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x180002530
xor edx, edx
lea rcx, [rbp + 0xa20]
mov r8d, 0x1000
call fcn.1800067d0
mov edx, 0x5c
lea rcx, [0x180028170]
call fcn.1800063dc
mov rbx, rax
test rax, rax
jne 0x180002507
lea rbx, [0x1800281d0]
jmp 0x18000250b
add rbx, 2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
lea r9, [0x180028228]
mov dword [rsp + 0x28], 0x129
lea r8, [0x180028240]
jmp 0x18000261b
lea r9, str.rundll32.exe
lea r8, [rbp + 0x1f0]
lea rdx, str._s_s
lea rcx, [rbp - 0x20]
call fcn.180002be0
lea rax, [0x1800282d8]
lea r9, [rbp + 0x400]
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x20]
lea rdx, str._s__s__s
lea rcx, [rbp + 0x610]
call fcn.180002c40
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rdx, [rbp + 0x610]
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
lea rcx, [rbp - 0x20]
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x10
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
test eax, eax
jne 0x180002668
xor edx, edx
lea rcx, [rbp + 0xa20]
mov r8d, 0x1000
call fcn.1800067d0
lea edx, [rdi + 0x5c]
lea rcx, [0x180028320]
call fcn.1800063dc
mov rbx, rax
test rax, rax
jne 0x1800025f7
lea rbx, [0x180028380]
jmp 0x1800025fb
add rbx, 2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
lea r9, [0x1800283d8]
mov dword [rsp + 0x28], 0x133
lea r8, str._s__s:_d__Error_During_CreateProcess_Err:_d_n
mov edx, 0x7ff
mov qword [rsp + 0x20], rbx
lea rcx, [rbp + 0xa20]
call fcn.180002d00
lea rcx, [rbp + 0xa20]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, edi
mov rbx, qword [rsp + 0x1b40]
mov rcx, qword [rbp + 0x1a20]
xor rcx, rsp
call fcn.180004600
mov rdi, qword [rsp + 0x1b48]
add rsp, 0x1b30
pop rbp
ret
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x180002640
mov eax, edi
jmp 0x180002648