Function at 0x14004d0d0
Capabilities:
Create thread

Disassembly:
movsxd rax, dword [rcx - 4]
sub rcx, rax
jmp 0x14004d0d0
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
mov edi, r8d
mov rsi, rdx
mov rbx, rcx
mov rax, qword [rcx - 0x78]
cmp qword [rcx - 0x80], rax
je 0x14004d11f
mov rax, qword [rcx - 0x128]
movsxd r9, dword [rax + 4]
add rcx, 0xfffffffffffffed8
add rcx, r9
mov rax, qword [rcx]
call qword [rax + ioctlsocket]
xor r12d, r12d
mov eax, r12d
xchg byte [rbx - 0x94], al
mov dword [rbx - 0x98], edi
lea rcx, [rbx - 0x120]
mov rdx, rsi
call fcn.140041650
mov rax, qword [rbx - 0x90]
mov r15d, dword [rax + 4]
lea rdi, [r15 + 0x1f]
shr rdi, 5
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], r12
test rdi, rdi
je 0x14004d192
mov rdx, rdi
lea rcx, [rbp - 0x30]
call fcn.140022b90
mov qword [rbp - 0x30], rax
lea rsi, [rax + rdi*4]
mov qword [rbp - 0x20], rsi
lea r8, [rdi*4]
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x18], r12
mov rdx, r15
lea rcx, [rbp - 0x30]
call fcn.140021eb0
nop
lea rdi, [rbx - 0x68]
lea rax, [rbp - 0x30]
cmp rdi, rax
je 0x14004d212
mov rcx, qword [rdi]
test rcx, rcx
je 0x14004d1f1
mov rax, qword [rdi + 0x10]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
cmp rdx, 0x1000
jb 0x14004d1ec
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004d24f
mov rcx, r8
call fcn.14006b2ac
mov rax, qword [rbp - 0x30]
mov qword [rdi], rax
mov rax, qword [rbp - 0x28]
mov qword [rdi + 8], rax
mov rax, qword [rbp - 0x20]
mov qword [rdi + 0x10], rax
mov rax, qword [rbp - 0x18]
mov qword [rdi + 0x18], rax
jmp 0x14004d25b
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x14004d25b
mov rax, qword [rbp - 0x20]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004d256
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004d256
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006b2ac
mov edi, r12d
mov rax, qword [rbx - 0x90]
cmp dword [rax + 4], r12d
jbe 0x14004d323
lea rax, [0x14004c400]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], r12
lea rsi, [rbx - 0x128]
movups xmm6, xmmword [rbp - 0x40]
nop dword [rax]
mov ecx, 0x20
call fcn.14006b270
test rax, rax
je 0x14004d2ab
mov dword [rax], edi
mov qword [rax + 8], rsi
movups xmmword [rax + 0x10], xmm6
jmp 0x14004d2ae
mov rax, r12
mov qword [rbp + 0x30], rax
lea rcx, [rbp - 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x14004bee0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x50], rax
test rax, rax
je 0x14004d34b
mov rdx, qword [rbx - 0x78]
cmp rdx, qword [rbx - 0x70]
je 0x14004d2fd
xorps xmm0, xmm0
movaps xmm1, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x50], xmm0
movups xmmword [rdx], xmm1
add qword [rbx - 0x78], 0x10
jmp 0x14004d30b
lea r8, [rbp - 0x50]
lea rcx, [rbx - 0x80]
call fcn.14004bcb0
nop
cmp dword [rbp - 0x48], 0
jne 0x14004d344
inc edi
mov rax, qword [rbx - 0x90]
cmp edi, dword [rax + 4]
jb 0x14004d290
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [rsp + 0x70]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov dword [rbp - 0x48], r12d
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3