Function at 0x1400f25f0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rbp, rdx
mov rsi, rcx
mov edx, Ordinal_147
mov ecx, 1
mov rbx, r9
mov r15d, r8d
call qword [case.0x1400e58f8.1]
mov qword [rsi + 0xe00], rax
mov r14, rax
mov r12d, recv
test rax, rax
je 0x1400f2791
movups xmm1, xmmword [rbx + 0x10]
mov dword [rsi + 0xe10], r15d
lea ecx, [r12 + 0x1c]
mov byte [rsi + 0xe18], 0
xorps xmm0, xmm0
xor r13d, r13d
mov dword [rsi + 0xe14], r13d
mov qword [rsi + 0xdf8], r13
mov qword [rax], r13
movups xmmword [rax + 0x18], xmm0
movups xmmword [rax + 0x28], xmm0
movups xmmword [rax + 0x38], xmm0
movups xmmword [rax + 0x48], xmm0
mov qword [rax + 0x88], rax
movups xmm0, xmmword [rbx]
mov dword [rax + 0x24], r15d
mov dword [rax + 0x20], 1
movups xmmword [rax + 0x58], xmm0
movups xmm0, xmmword [rbx + 0x20]
movups xmmword [rax + 0x68], xmm1
movups xmmword [rax + 0x78], xmm0
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [r14 + 0x18], rax
test rax, rax
je 0x1400f26e4
xor edx, edx
lea r8d, [r12 - 0xb]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSectionEx]
lea r9, [r14 + 0x38]
call fcn.14012f920
test eax, eax
jns 0x1400f27b9
mov qword [r14 + 0x38], 0xffffffffffffffff
mov qword [r14 + 0x40], 0xffffffffffffffff
mov rcx, qword [r14 + 0x38]
cmp rcx, 0xffffffffffffffff
je 0x1400f26fc
call qword [sym.imp.WS2_32.dll_closesocket]
mov qword [r14 + 0x38], 0xffffffffffffffff
mov rcx, qword [r14 + 0x18]
test rcx, rcx
je 0x1400f2715
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov rcx, qword [r14 + 0x18]
call qword [0x14025d0c8]
mov rcx, qword [r14 + 0x28]
call qword [0x14025d0c8]
mov rcx, qword [r14 + 0x50]
test rcx, rcx
je 0x1400f2742
nop dword [rax + rax]
mov rbx, qword [rcx + 0x28]
call qword [0x14025d0c8]
mov rcx, rbx
test rbx, rbx
jne 0x1400f2730
mov rcx, qword [r14 + 0x40]
cmp rcx, 0xffffffffffffffff
je 0x1400f2752
call qword [sym.imp.WS2_32.dll_closesocket]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [r14 + 0x18], xmm0
mov rcx, r14
movups xmmword [r14 + 0x28], xmm0
movups xmmword [r14 + 0x38], xmm0
movups xmmword [r14 + 0x48], xmm0
movups xmmword [r14 + 0x58], xmm0
movups xmmword [r14 + 0x68], xmm0
movups xmmword [r14 + 0x78], xmm0
mov qword [r14 + 0x88], rax
mov qword [rsi + 0xe00], r13
call qword [0x14025d0c8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], r12d
xor al, al
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rcx, rbp
mov dword [r14 + 0x48], r13d
call qword [case.0x1400e58f8.0]
mov qword [r14 + 0x28], rax
test rax, rax
je 0x1400f26e4
mov rcx, qword [rsi + 0xdf0]
call qword [0x14025d0c8]
mov rcx, rbp
call qword [case.0x1400e58f8.0]
mov qword [rsi + 0xdf0], rax
test rax, rax
je 0x1400f2840
mov qword [rsp + 0x28], r13
lea r9, [r14 + 0x18]
lea r8, [0x1400f2400]
mov dword [rsp + 0x20], r13d
xor edx, edx
mov dword [r14 + 0x20], r13d
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x1400f282c
mov qword [r14], rax
mov al, 1
jmp 0x1400f279c
mov qword [r14], r13
mov dword [r14 + 0x20], 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov r12d, dword [rax]
mov rdi, qword [rsi + 0xe00]
test rdi, rdi
je 0x1400f28ca
mov rcx, qword [rdi + 0x18]
mov rbp, qword [rdi + 0x38]
mov r15, qword [rdi + 0x30]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [rdi + 0x20]
mov rcx, qword [rdi + 0x18]
mov dword [rdi + 0x20], 1
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rdi]
test ebx, ebx
jne 0x1400f2881
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400f28b6
test rcx, rcx
je 0x1400f28a0
xor r8d, r8d
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi], r13
lea rcx, [rdi + 0x18]
call fcn.1400f2250
mov rcx, qword [rsi + 0xe00]
call qword [0x14025d0c8]
mov rdx, rbp
mov rcx, r15
call fcn.1400e1ea0
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [rsi + 0xdf0]
mov qword [rsi + 0xe00], r13
call qword [0x14025d0c8]
mov qword [rsi + 0xdf0], r13
jmp 0x1400f2791