Function at 0x140001b20
Capabilities:
Create thread

Disassembly:
push rbp
sub rsp, 0x310
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x288], ecx
mov eax, dword [rbp + 0x288]
mov dword [rbp + 0x284], eax
mov qword [rbp + 0x278], 0
mov qword [rbp + 0x270], 0
mov qword [rbp + 0x260], 0
sub rsp, 0x20
lea rcx, [rbp + 0x240]
mov qword [rbp], rcx
call sym.GetExePath_abi:cxx11___
mov rcx, qword [rbp]
add rsp, 0x20
sub rsp, 0x20
lea rdx, [0x140011074]
call fcn.14000616c
add rsp, 0x20
jmp 0x140001b98
sub rsp, 0x20
lea rcx, [rbp + 0x240]
call fcn.140006244
add rsp, 0x20
mov r8, rax
mov eax, 0x10
call fcn.1400072e0
sub rsp, rax
mov rax, rsp
mov dword [rax], 0xfde9
mov edx, dword [rax]
sub rsp, 0x30
mov rax, rsp
mov dword [rax + 0x28], edx
lea rcx, [rbp + 0x20]
mov qword [rax + 0x20], rcx
mov rax, qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov r9d, 0xffffffff
mov ecx, edx
call rax
add rsp, 0x30
jmp 0x140001bf3
mov qword [rbp + 0x18], 0x208
mov eax, dword [rbp + 0x284]
lea rdx, str.trying_to_inject_into
add rdx, rax
sub rsp, 0x20
mov rcx, qword [sym.imp.libstdc_6.dll_std::cout]
call fcn.1400060d4
add rsp, 0x20
mov qword [rbp - 8], rax
jmp 0x140001c28
mov rcx, qword [rbp - 8]
sub rsp, 0x20
lea rdx, [0x1400060e4]
call fcn.140006214
add rsp, 0x20
jmp 0x140001c45
mov r8d, dword [rbp + 0x284]
mov eax, 0x10
call fcn.1400072e0
sub rsp, rax
mov rax, rsp
mov dword [rax], 0x1fffff
mov edx, dword [rax]
sub rsp, 0x20
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
mov ecx, edx
call rax
add rsp, 0x20
mov qword [rbp - 0x10], rax
jmp 0x140001c80
mov rax, qword [rbp - 0x10]
mov qword [rbp + 0x268], rax
cmp qword [rbp + 0x268], 0
je 0x140001d0a
sub rsp, 0x20
mov rcx, qword [sym.imp.libstdc_6.dll_std::cout]
lea rdx, str.Successfully_opened_the_process_
call fcn.1400060d4
add rsp, 0x20
mov qword [rbp - 0x18], rax
jmp 0x140001cbd
mov rcx, qword [rbp - 0x18]
sub rsp, 0x20
lea rdx, [0x1400060e4]
call fcn.140006214
add rsp, 0x20
jmp 0x140001cda
jmp 0x140001d86
sub rsp, 0x20
mov rcx, qword [sym.imp.libstdc_6.dll_std::cerr]
lea rdx, str.Failed_to_open_the_process._Error_code:
call fcn.1400060d4
add rsp, 0x20
mov qword [rbp - 0x20], rax
jmp 0x140001d2e
sub rsp, 0x20
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
add rsp, 0x20
mov dword [rbp - 0x24], eax
jmp 0x140001d47
mov edx, dword [rbp - 0x24]
mov rcx, qword [rbp - 0x20]
sub rsp, 0x20
call fcn.14000620c
add rsp, 0x20
mov qword [rbp - 0x30], rax
jmp 0x140001d64
mov rcx, qword [rbp - 0x30]
sub rsp, 0x20
lea rdx, [0x1400060e4]
call fcn.140006214
add rsp, 0x20
jmp 0x140001d81
jmp 0x140001d86
mov rcx, qword [rbp + 0x268]
mov r8, qword [rbp + 0x18]
mov eax, 0x10
call fcn.1400072e0
sub rsp, rax
mov rax, rsp
mov dword [rax], 0x3000
mov r9d, dword [rax]
sub rsp, 0x30
mov rax, rsp
mov dword [rax + 0x20], r9d
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
xor edx, edx
call rax
add rsp, 0x30
mov qword [rbp - 0x38], rax
jmp 0x140001dcd
mov rax, qword [rbp - 0x38]
mov qword [rbp + 0x278], rax
cmp qword [rbp + 0x278], 0
jne 0x140001e3d
sub rsp, 0x20
mov rcx, qword [sym.imp.libstdc_6.dll_std::cout]
lea rdx, str.error_allocating_memory_for_process
call fcn.1400060d4
add rsp, 0x20
mov qword [rbp - 0x40], rax
jmp 0x140001e0a
mov rcx, qword [rbp - 0x40]
sub rsp, 0x20
lea rdx, [0x1400060e4]
call fcn.140006214
add rsp, 0x20
jmp 0x140001e27
mov dword [rbp + 0x28c], 1
mov dword [rbp + 0x14], 1
jmp 0x1400020a2
mov rcx, qword [rbp + 0x268]
mov rdx, qword [rbp + 0x278]
mov r9, qword [rbp + 0x18]
sub rsp, 0x30
mov rax, rsp
mov qword [rax + 0x20], 0
mov rax, qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea r8, [rbp + 0x20]
call rax
add rsp, 0x30
jmp 0x140001e74
sub rsp, 0x20
mov rcx, qword [sym.imp.libstdc_6.dll_std::cout]
lea rdx, str.wrote_payload_to_memory
call fcn.1400060d4
add rsp, 0x20
mov qword [rbp - 0x48], rax
jmp 0x140001e98
mov rcx, qword [rbp - 0x48]
sub rsp, 0x20
lea rdx, [0x1400060e4]
call fcn.140006214
add rsp, 0x20
jmp 0x140001eb5
sub rsp, 0x20
lea rcx, str.Kernel32
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
call rax
add rsp, 0x20
mov qword [rbp - 0x50], rax
jmp 0x140001ed6
mov rax, qword [rbp - 0x50]
mov qword [rbp + 0x270], rax
cmp qword [rbp + 0x270], 0
jne 0x140001f35
sub rsp, 0x20
mov rcx, qword [sym.imp.libstdc_6.dll_std::cout]
lea rdx, str.failed_to_get_handle_for_Kernel32.dll
call fcn.1400060d4
add rsp, 0x20
mov qword [rbp - 0x58], rax
jmp 0x140001f13
mov rcx, qword [rbp - 0x58]
sub rsp, 0x20
lea rdx, [0x1400060e4]
call fcn.140006214
add rsp, 0x20
jmp 0x140001f30
jmp 0x140001f35
mov rcx, qword [rbp + 0x270]
sub rsp, 0x20
lea rdx, str.LoadLibraryW
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
add rsp, 0x20
mov qword [rbp - 0x60], rax
jmp 0x140001f5d
mov rax, qword [rbp - 0x60]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x268]
mov r9, qword [rbp + 8]
mov rdx, qword [rbp + 0x278]
mov eax, 0x10
mov qword [rbp - 0x70], rax
call fcn.1400072e0
sub rsp, rax
mov rax, qword [rbp - 0x70]
mov r8, rsp
mov dword [r8], 0
mov r10d, dword [r8]
call fcn.1400072e0
sub rsp, rax
mov rax, rsp
mov qword [rax], 0
mov r8, qword [rax]
sub rsp, 0x40
mov rax, rsp
lea r11, [rbp + 0x284]
mov qword [rax + 0x30], r11
mov dword [rax + 0x28], r10d
mov qword [rax + 0x20], rdx
mov rax, qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
xor edx, edx
call rax
add rsp, 0x40
mov qword [rbp - 0x68], rax
jmp 0x140001fe0
mov rax, qword [rbp - 0x68]
mov qword [rbp + 0x260], rax
mov rcx, qword [rbp + 0x260]
sub rsp, 0x20
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, 0xffffffff
call rax
add rsp, 0x20
jmp 0x14000200d
mov rcx, qword [rbp + 0x260]
sub rsp, 0x20
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
add rsp, 0x20
jmp 0x14000202a
mov rcx, qword [rbp + 0x268]
sub rsp, 0x20
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
add rsp, 0x20
jmp 0x140002047
mov eax, dword [rbp + 0x284]
lea rdx, str.Successfully_injected_into_PID:
add rdx, rax
sub rsp, 0x20
mov rcx, qword [sym.imp.libstdc_6.dll_std::cout]
call fcn.1400060d4
add rsp, 0x20
mov qword [rbp - 0x78], rax
jmp 0x140002074
mov rcx, qword [rbp - 0x78]
sub rsp, 0x20
lea rdx, [0x1400060e4]
call fcn.140006214
add rsp, 0x20
jmp 0x140002091
mov dword [rbp + 0x28c], 0
mov dword [rbp + 0x14], 1
lea rcx, [rbp + 0x240]
sub rsp, 0x20
call fcn.14000611c
add rsp, 0x20
mov eax, dword [rbp + 0x28c]
lea rsp, [rbp + 0x290]
pop rbp
ret