Function at 0x140011091
Capabilities:
Get common file path

Disassembly:
jmp 0x140019a10
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xb18
lea rbp, [rsp + 0x60]
lea rdi, [rsp + 0x60]
mov ecx, 0x1ee
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xb38]
mov rax, qword [0x14002c040]
xor rax, rbp
mov qword [rbp + 0xaa8], rax
lea rcx, [0x1400330f9]
call fcn.140011839
lea rax, [rbp + 0x10]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
lea rax, [rbp + 0x240]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
lea rdx, [rbp + 0x240]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [rbp + 0x464], eax
lea r9, [rbp + 0x10]
xor r8d, r8d
lea rdx, [0x140026f50]
lea rcx, [rbp + 0x240]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov r8d, dword [rbp + 0xae0]
mov rdx, qword [rbp + 0xad8]
lea rcx, [rbp + 0x10]
call fcn.140011195
mov qword [rbp + 0x488], rax
cmp qword [rbp + 0x488], 0
je 0x140019aeb
cmp qword [rbp + 0x488], 0xffffffffffffffff
jne 0x140019af2
xor al, al
jmp 0x140019e8e
mov qword [rbp + 0x4a8], 0
mov byte [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov rax, qword [rbp + 0x488]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
mov r9, 0xffffffffffffffff
xor r8d, r8d
mov edx, 0x1fffff
lea rcx, [rbp + 0x4a8]
call qword [0x14002c500]
mov dword [rbp + 0x4c4], eax
cmp dword [rbp + 0x4c4], 0
je 0x140019bcb
lea rdx, str.NtCreateProcessEx_failed__Status:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140011104
lea rdx, [0x1400117ad]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov edx, dword [rbp + 0x4c4]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int____ptr64]
lea rdx, [0x14001105f]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
cmp dword [rbp + 0x4c4], 0x4000000e
jne 0x140019bc4
lea rdx, str.____The_payload_has_mismatching_bitness_
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140011104
lea rdx, [0x14001105f]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor al, al
jmp 0x140019e8e
lea rax, [rbp + 0x4e8]
mov rdi, rax
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
mov dword [rbp + 0x534], 0
lea rax, [rbp + 0x534]
mov qword [rsp + 0x20], rax
mov r9d, 0x30
lea r8, [rbp + 0x4e8]
xor edx, edx
mov rcx, qword [rbp + 0x4a8]
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
mov dword [rbp + 0x4c4], eax
cmp dword [rbp + 0x4c4], 0
je 0x140019c49
lea rdx, str.NtQueryInformationProcess_failed
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140011104
lea rdx, [0x14001105f]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor al, al
jmp 0x140019e8e
lea rax, [rbp + 0x560]
mov rdi, rax
xor eax, eax
mov ecx, 0x1b8
rep stosb byte [rdi], al
lea r8, [rbp + 0x560]
lea rdx, [rbp + 0x4e8]
mov rcx, qword [rbp + 0x4a8]
call fcn.140011681
movzx eax, al
test eax, eax
jne 0x140019c84
xor al, al
jmp 0x140019e8e
mov rax, qword [rbp + 0x570]
mov qword [rbp + 0x738], rax
lea rdx, str.ImageBase_address:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011104
lea rdx, [0x1400117ad]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rdx, qword [rbp + 0x738]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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_long_unsigned___int64_____ptr64]
lea rdx, [0x14001105f]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [rbp + 0xad8]
call fcn.140011145
mov dword [rbp + 0x754], eax
mov eax, dword [rbp + 0x754]
add rax, qword [rbp + 0x738]
mov qword [rbp + 0x778], rax
mov r8, qword [rbp + 0xad0]
lea rdx, [rbp + 0x4e8]
mov rcx, qword [rbp + 0x4a8]
call fcn.1400117e4
movzx eax, al
test eax, eax
jne 0x140019d46
lea rdx, str.Parameters_setup_failed
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140011104
lea rdx, [0x14001105f]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor al, al
jmp 0x140019e8e
mov rcx, qword [rbp + 0x4a8]
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov dword [rbp + 0xaa4], eax
lea rdx, str.___Process_created__Pid_
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011104
mov ecx, dword [rbp + 0xaa4]
mov edx, ecx
mov rcx, rax
call qword [sym.imp.MSVCP140D.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 rdx, [0x140026e68]
mov rcx, rax
call fcn.140011104
lea rdx, str.EntryPoint_at:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140011104
lea rdx, [0x1400117ad]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rdx, qword [rbp + 0x778]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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_long_unsigned___int64_____ptr64]
lea rdx, [0x14001105f]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov qword [rbp + 0x798], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov rax, qword [rbp + 0x778]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x4a8]
xor r8d, r8d
mov edx, 0x20
lea rcx, [rbp + 0x798]
call qword [0x14002c510]
mov dword [rbp + 0x4c4], eax
cmp dword [rbp + 0x4c4], 0
je 0x140019e8c
lea rdx, str.NtCreateThreadEx_failed:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140011104
lea rdx, [0x1400117ad]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov edx, dword [rbp + 0x4c4]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int____ptr64]
lea rdx, [0x14001105f]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor al, al
jmp 0x140019e8e
mov al, 1
mov rdi, rax
lea rcx, [rbp - 0x60]
lea rdx, [0x140026660]
call fcn.1400116fe
mov rax, rdi
mov rcx, qword [rbp + 0xaa8]
xor rcx, rbp
call fcn.14001140b
lea rsp, [rbp + 0xab8]
pop rdi
pop rbp
ret