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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x140006008]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbx, rdx
mov qword [rsp + 0x50], rdx
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [rsp + 0x40]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
je 0x1400013e1
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8, qword [rbx + 0x10]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rbp, rax
test rax, rax
je 0x1400013d7
mov r8, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140001248
mov r8, qword [rbx]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9, qword [rbx + 0x10]
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1400013c2
lea rcx, str.KERNEL32.DLL
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.LoadLibraryA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r9, rax
xor edi, edi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rbp
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov r14, rax
test rax, rax
jne 0x140001311
mov r9d, 0x3000
mov r8, qword [rbx + 0x10]
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140001309
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140001304
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000144c
mov rcx, r8
call fcn.1400021b4
mov byte [rbx], 0
jmp 0x14000141c
mov ebp, 1
mov edx, 0x1388
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x140001359
mov ebp, edi
cmp eax, 0xffffffff
jne 0x140001338
lea rdx, str.Failed_to_wait_on_remote_thread_n
jmp 0x14000134d
cmp eax, 0x102
lea rdx, str.Timeout_on_remote_thread_n
je 0x14000134d
lea rdx, str.microsoft_documentation_sucks_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001a60
mov r9d, 0x3000
mov r8, qword [rbx + 0x10]
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x1400013bb
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1400013b6
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000144c
mov rcx, r8
call fcn.1400021b4
mov byte [rbx], 0
mov eax, ebp
jmp 0x14000141e
mov r9d, 0x3000
mov r8, qword [rbx + 0x10]
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140001417
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140001412
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000144c
mov rcx, r8
call fcn.1400021b4
xor edi, edi
mov byte [rbx], dil
xor eax, eax
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], rdi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140002150
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3