Function at 0x140024e50
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov rcx, qword [rsp + 0xd8]
call fcn.140009840
inc rax
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8, rax
xor edx, edx
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x140024eec
lea rdx, str.Failed_to_allocate_memory_in_the_target_process._Error:
lea rcx, [0x140261190]
call fcn.140019b10
mov qword [rsp + 0x68], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x48], eax
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x68]
call fcn.14000ecc0
mov qword [rsp + 0x70], rax
lea rdx, [0x140019ee0]
mov rcx, qword [rsp + 0x70]
call fcn.14000e100
xor al, al
jmp 0x14002514f
mov rcx, qword [rsp + 0xd8]
call fcn.140009840
inc rax
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0xd8]
call fcn.14000ff00
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x78]
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140024fb8
lea rdx, str.Failed_to_write_DLL_path_to_the_target_process._Error:
lea rcx, [0x140261190]
call fcn.140019b10
mov qword [rsp + 0x88], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x4c], eax
mov edx, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x88]
call fcn.14000ecc0
mov qword [rsp + 0x90], rax
lea rdx, [0x140019ee0]
mov rcx, qword [rsp + 0x90]
call fcn.14000e100
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
jmp 0x14002514f
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x98], rax
lea rdx, [0x1401cdad8]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x140025064
lea rdx, str.Failed_to_get_the_address_of_LoadLibraryA._Error:
lea rcx, [0x140261190]
call fcn.140019b10
mov qword [rsp + 0xa0], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x50], eax
mov edx, dword [rsp + 0x50]
mov rcx, qword [rsp + 0xa0]
call fcn.14000ecc0
mov qword [rsp + 0xa8], rax
lea rdx, [0x140019ee0]
mov rcx, qword [rsp + 0xa8]
call fcn.14000e100
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
jmp 0x14002514f
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x60]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x140025116
lea rdx, str.Failed_to_create_remote_thread._Error:
lea rcx, [0x140261190]
call fcn.140019b10
mov qword [rsp + 0xb0], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x54], eax
mov edx, dword [rsp + 0x54]
mov rcx, qword [rsp + 0xb0]
call fcn.14000ecc0
mov qword [rsp + 0xb8], rax
lea rdx, [0x140019ee0]
mov rcx, qword [rsp + 0xb8]
call fcn.14000e100
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
jmp 0x14002514f
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov al, 1
add rsp, 0xc8
ret