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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x60
mov rbx, rdx
mov r8d, dword [0x14017a154]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r15, rax
mov r14, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x140052c2d
add r14, qword [rbx]
mov rdi, qword [rbx]
jmp 0x140052c33
add r14, rbx
mov rdi, rbx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
xor r12d, r12d
mov esi, r12d
mov qword [rsp + 0x50], r12
sub r14, rdi
je 0x140052c7b
mov rdx, r14
lea rcx, [rsp + 0x40]
call fcn.140079b10
mov r8, r14
mov rdx, rdi
mov rdi, qword [rsp + 0x40]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
add r14, rdi
mov qword [rsp + 0x48], r14
mov rsi, qword [rsp + 0x50]
jmp 0x140052c85
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
mov byte [rsp + 0x90], 0
cmp r14, rsi
je 0x140052c9b
mov byte [r14], 0
inc r14
jmp 0x140052cbf
lea r8, [rsp + 0x90]
mov rdx, r14
lea rcx, [rsp + 0x40]
call fcn.140076280
mov rsi, qword [rsp + 0x50]
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
sub r14, rdi
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8, r14
xor edx, edx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rbp, rax
test rax, rax
jne 0x140052d85
test rdi, rdi
je 0x140052d23
sub rsi, rdi
cmp rsi, 0x1000
mov rax, rdi
jb 0x140052d17
add rsi, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140052e45
mov rdx, rsi
mov rcx, rdi
call fcn.1400cfe7c
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140052d5d
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140052d58
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140052e4c
mov rcx, r8
call fcn.1400cfe7c
mov byte [rbx], 0
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rbx + 0x10], r12
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov qword [rsp + 0x20], r12
mov r9, r14
mov r8, rdi
mov rdx, rbp
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140052dba
xor r8d, r8d
mov rcx, r15
mov rdx, rbp
mov r9d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
jmp 0x140052cea
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [0x1400f5338]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor r8d, r8d
mov rcx, r15
test rax, rax
je 0x140052da6
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], rbp
mov r9, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test rax, rax
je 0x140052da0
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
test rdi, rdi
je 0x140052d23
sub rsi, rdi
mov rax, rdi
cmp rsi, 0x1000
jb 0x140052d17
add rsi, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140052d17
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3