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

Disassembly:
jmp 0x140017b80
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x3e8
lea rbp, [rsp + 0x40]
lea rcx, [0x140033100]
call fcn.140011898
mov r8d, dword [rbp + 0x3c8]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140017bf6
lea rdx, str.Failed_to_open_process.
lea rcx, [rbp + 0x228]
call fcn.1400113d9
nop
lea rcx, [rbp + 0x228]
call fcn.1400118e3
nop
lea rcx, [rbp + 0x228]
call fcn.14001119a
xor al, al
jmp 0x140017ec5
mov rdx, qword [rbp + 8]
mov rcx, qword [rbp + 0x3c0]
call fcn.14001133e
movzx eax, al
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
je 0x140017c50
lea rdx, str.Cannot_inject_64_bit_DLL_into_a_32_bit_process.
lea rcx, [rbp + 0x268]
call fcn.1400113d9
nop
lea rcx, [rbp + 0x268]
call fcn.1400118e3
nop
lea rcx, [rbp + 0x268]
call fcn.14001119a
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x140017ec5
mov rax, qword [rbp + 0x3c0]
add rax, 0x28
mov rcx, rax
call fcn.140011785
inc rax
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8, rax
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
jne 0x140017ccc
lea rdx, str.Failed_to_allocate_memory_in_target_process.
lea rcx, [rbp + 0x2a8]
call fcn.1400113d9
nop
lea rcx, [rbp + 0x2a8]
call fcn.1400118e3
nop
lea rcx, [rbp + 0x2a8]
call fcn.14001119a
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x140017ec5
mov rax, qword [rbp + 0x3c0]
add rax, 0x28
mov rcx, rax
call fcn.140011785
inc rax
mov qword [rbp + 0x398], rax
mov rcx, qword [rbp + 0x3c0]
add rcx, 0x28
call fcn.1400110d7
mov qword [rsp + 0x20], 0
mov rcx, qword [rbp + 0x398]
mov r9, rcx
mov r8, rax
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140017d76
lea rdx, str.Failed_to_write_DLL_path_to_target_process_memory.
lea rcx, [rbp + 0x2e8]
call fcn.1400113d9
nop
lea rcx, [rbp + 0x2e8]
call fcn.1400118e3
nop
lea rcx, [rbp + 0x2e8]
call fcn.14001119a
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x140017ec5
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.LoadLibraryA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x140017df3
lea rdx, str.Failed_to_get_address_of_LoadLibraryA.
lea rcx, [rbp + 0x328]
call fcn.1400113d9
nop
lea rcx, [rbp + 0x328]
call fcn.1400118e3
nop
lea rcx, [rbp + 0x328]
call fcn.14001119a
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x140017ec5
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rbp + 0x48]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x68]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jne 0x140017e83
lea rdx, str.Failed_to_create_remote_thread_in_target_process.
lea rcx, [rbp + 0x368]
call fcn.1400113d9
nop
lea rcx, [rbp + 0x368]
call fcn.1400118e3
nop
lea rcx, [rbp + 0x368]
call fcn.14001119a
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x140017ec5
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
lea rsp, [rbp + 0x3a8]
pop rdi
pop rbp
ret