Function at 0x14000131b
Capabilities:
Get common file path
Inject dll
Inject thread

Disassembly:
jmp 0x1400059c0
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x7a8
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x146
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x7c8]
mov rax, qword [0x140013040]
xor rax, rbp
mov qword [rbp + 0x740], rax
lea rcx, [0x1400170f5]
call fcn.14000143d
mov r8d, 0x68
xor edx, edx
lea rcx, [rbp + 0x10]
call sub.VCRUNTIME140D.dll_memset
mov dword [rbp + 0x10], 0x68
lea rdx, [rbp + 0xd0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0x1f8]
call fcn.1400011e0
lea r8, [0x14000f708]
lea rdx, [rbp + 0x1f8]
lea rcx, [rbp + 0x238]
call fcn.140001361
lea r8, str.Hooks.dll
lea rdx, [rbp + 0x1f8]
lea rcx, [rbp + 0x278]
call fcn.140001361
lea rdx, str.Lossless_Exe:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001073
lea rdx, [rbp + 0x238]
mov rcx, rax
call fcn.1400013ed
lea rdx, str._nHooks_dll:
mov rcx, rax
call fcn.140001073
lea rdx, [rbp + 0x278]
mov rcx, rax
call fcn.1400013ed
lea rdx, [0x14000f738]
mov rcx, rax
call fcn.140001073
lea rcx, [rbp + 0x238]
call fcn.14000105a
lea rcx, [rbp + 0x98]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [rbp + 0x2b4], eax
cmp dword [rbp + 0x2b4], 0
je 0x140005daa
mov edx, 0xc8
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rcx, [rbp + 0x278]
call fcn.14000105a
mov qword [rbp + 0x2d8], rax
mov eax, dword [rbp + 0xa8]
mov dword [rbp + 0x2f4], eax
lea rcx, str.LosslessScaling.exe
call fcn.140001172
mov r8d, eax
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 0x318], rax
cmp qword [rbp + 0x318], 0
je 0x140005d46
mov rcx, qword [rbp + 0x2d8]
call sub.ucrtbased.dll_strlen
inc rax
mov dword [rsp + 0x20], 4
mov r9d, 0x1000
mov r8, rax
xor edx, edx
mov rcx, qword [rbp + 0x318]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp + 0x338], rax
cmp qword [rbp + 0x338], 0
je 0x140005d24
mov rcx, qword [rbp + 0x2d8]
call sub.ucrtbased.dll_strlen
inc rax
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x2d8]
mov rdx, qword [rbp + 0x338]
mov rcx, qword [rbp + 0x318]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.LoadLibraryA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rcx, qword [rbp + 0x338]
mov qword [rsp + 0x20], rcx
mov r9, rax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x318]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rbp + 0x358], rax
cmp qword [rbp + 0x358], 0
je 0x140005d05
mov edx, 0xc8
mov rcx, qword [rbp + 0x358]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp + 0x2d8]
call sub.ucrtbased.dll_strlen
inc rax
mov qword [rsp + 0x20], 0
mov r9, rax
lea r8, [rbp + 0x380]
mov rdx, qword [rbp + 0x338]
mov rcx, qword [rbp + 0x318]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea rdx, str.Allocated_space_value:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001073
lea rdx, [rbp + 0x380]
mov rcx, rax
call fcn.140001073
lea rdx, [0x14000f738]
mov rcx, rax
call fcn.140001073
mov rcx, qword [rbp + 0x358]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rbp + 0x338]
mov rcx, qword [rbp + 0x318]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
jmp 0x140005d37
lea rdx, str.Failed_to_allocate_memory_in_the_remote_process_n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001073
mov rcx, qword [rbp + 0x318]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140005d8e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x4a4], eax
lea rdx, str.OpenProcess_failed_with_error
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001073
mov qword [rbp + 0x738], rax
mov edx, dword [rbp + 0x4a4]
mov rcx, qword [rbp + 0x738]
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, [0x14000f738]
mov rcx, rax
call fcn.140001073
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140005e0e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x4c4], eax
lea rdx, str.CreateProcess_failed_with_error
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001073
mov qword [rbp + 0x738], rax
mov edx, dword [rbp + 0x4c4]
mov rcx, qword [rbp + 0x738]
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, [0x14000f738]
mov rcx, rax
call fcn.140001073
mov r9d, 0x10
lea r8, str.Fail_
lea rdx, str.Cannot_open_lossless_process_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov dword [rbp + 0x724], 0
lea rcx, [rbp + 0x278]
call fcn.1400010be
lea rcx, [rbp + 0x238]
call fcn.1400010be
lea rcx, [rbp + 0x1f8]
call fcn.1400010be
mov eax, dword [rbp + 0x724]
mov edi, eax
lea rcx, [rbp - 0x50]
lea rdx, [0x14000f160]
call fcn.140001393
mov eax, edi
mov rcx, qword [rbp + 0x740]
xor rcx, rbp
call fcn.140001212
lea rsp, [rbp + 0x758]
pop rdi
pop rbp
ret