Function at 0x140008bb0
Capabilities:
Create thread
Inject thread

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x14002b080]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, r9
mov rbx, rdx
mov r15, rcx
mov rdi, qword [rsp + 0xd0]
mov rcx, qword [r8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x140008bfa
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx], eax
jmp 0x140008df5
mov rbp, qword [rsi]
mov rdx, rbp
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
test rax, rax
jne 0x140008d24
mov r14d, dword [rsi + 8]
xor esi, esi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
mov r9d, r14d
mov r8, rbp
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rdx, eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], si
test eax, eax
jne 0x140008c65
mov qword [rsp + 0x50], rdx
mov word [rsp + rdx*2 + 0x40], si
jmp 0x140008c92
cmp rdx, 7
ja 0x140008c85
mov qword [rsp + 0x50], rdx
movzx eax, si
lea rdi, [rsp + 0x40]
mov rcx, rdx
rep stosw word [rdi], ax
mov word [rsp + rdx*2 + 0x40], si
jmp 0x140008c92
mov r9, rdx
lea rcx, [rsp + 0x40]
call fcn.140007e30
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rdx, qword [rsp + 0x40]
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdx
mov r9d, r14d
mov r8, rbp
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx], eax
lea rax, [0x14002b100]
mov qword [rbx + 8], rax
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x140008e00
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008d1a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008d1a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001e3dc
jmp 0x140008e00
mov rax, qword [rdi + 0x10]
lea r14, [rax*2 + 2]
mov dword [rsp + 0x20], 4
mov r9d, 0x1000
mov r8, r14
xor edx, edx
mov rcx, qword [r15 + 8]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rbp, rax
test rax, rax
je 0x140008bed
xor esi, esi
mov qword [rsp + 0x60], rsi
cmp qword [rdi + 0x18], 7
jbe 0x140008d6a
mov rdi, qword [rdi]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9, r14
mov r8, rdi
mov rdx, rbp
mov rcx, qword [r15 + 8]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140008bed
cmp qword [rsp + 0x60], r14
jne 0x140008bed
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rbp
mov r9, r12
xor r8d, r8d
xor edx, edx
mov rcx, qword [r15 + 8]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rdi, rax
test rax, rax
je 0x140008bed
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rbp
mov rcx, qword [r15 + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov dword [rbx], esi
lea rax, [0x14002b100]
mov qword [rbx + 8], rax
mov rax, rbx
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14001e380
add rsp, 0x70
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret