Function at 0x7ff7c7ded7cf
Capabilities:
Create thread
Inject thread

Disassembly:
jmp 0x7ff7c7e05dd0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x308
lea rbp, [rsp + 0x40]
lea rcx, [0x7ff7c7e4c114]
call fcn.7ff7c7ded71b
nop
mov r8d, dword [rbp + 0x2e0]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x7ff7c7e05e48
lea rdx, str.Failed_to_open_process.
lea rcx, [rbp + 0x148]
call fcn.7ff7c7dec7f3
nop
lea rcx, [rbp + 0x148]
call fcn.7ff7c7dec262
nop
lea rcx, [rbp + 0x148]
call fcn.7ff7c7ded3c4
nop
xor al, al
jmp 0x7ff7c7e06092
mov rcx, qword [rbp + 0x2e8]
call qword [sym.imp.ucrtbased.dll_wcslen]
lea rax, [rax + rax + 2]
mov qword [rbp + 0x28], rax
mov eax, 0xffffffff
cmp qword [rbp + 0x28], rax
jbe 0x7ff7c7e05ea9
lea rdx, str.Dll_path_size_is_too_large.
lea rcx, [rbp + 0x188]
call fcn.7ff7c7dec7f3
nop
lea rcx, [rbp + 0x188]
call fcn.7ff7c7dec262
nop
lea rcx, [rbp + 0x188]
call fcn.7ff7c7ded3c4
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor al, al
jmp 0x7ff7c7e06092
mov eax, dword [rbp + 0x28]
mov dword [rsp + 0x20], 4
mov r9d, 0x1000
mov r8d, eax
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 0x7ff7c7e05f14
lea rdx, str.Failed_to_allocate_memory_in_target_process.
lea rcx, [rbp + 0x1c8]
call fcn.7ff7c7dec7f3
nop
lea rcx, [rbp + 0x1c8]
call fcn.7ff7c7dec262
nop
lea rcx, [rbp + 0x1c8]
call fcn.7ff7c7ded3c4
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor al, al
jmp 0x7ff7c7e06092
mov eax, dword [rbp + 0x28]
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, qword [rbp + 0x2e8]
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x7ff7c7e05f94
lea rdx, str.Failed_to_write_memory_in_target_process.
lea rcx, [rbp + 0x208]
call fcn.7ff7c7dec7f3
nop
lea rcx, [rbp + 0x208]
call fcn.7ff7c7dec262
nop
lea rcx, [rbp + 0x208]
call fcn.7ff7c7ded3c4
nop
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor al, al
jmp 0x7ff7c7e06092
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rbp + 0x48]
mov qword [rsp + 0x20], rax
mov r9, qword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x7ff7c7e06024
lea rdx, str.Failed_to_create_remote_thread.
lea rcx, [rbp + 0x248]
call fcn.7ff7c7dec7f3
nop
lea rcx, [rbp + 0x248]
call fcn.7ff7c7dec262
nop
lea rcx, [rbp + 0x248]
call fcn.7ff7c7ded3c4
nop
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor al, al
jmp 0x7ff7c7e06092
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
nop
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rdx, str.DLL_injected_successfully.
lea rcx, [rbp + 0x288]
call fcn.7ff7c7dec7f3
nop
lea rcx, [rbp + 0x288]
call fcn.7ff7c7dec262
nop
lea rcx, [rbp + 0x288]
call fcn.7ff7c7ded3c4
nop
mov al, 1
lea rsp, [rbp + 0x2c8]
pop rdi
pop rbp
ret