Function at 0x140007d80
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push rbp
push rbx
push rdi
push r15
lea rbp, [rsp - 0x1e8]
sub rsp, 0x2e8
mov rax, qword [0x140028040]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rbx, qword [rbp + 0x240]
mov r11, r9
mov qword [rsp + 0x78], r9
mov r10, r8
mov qword [rsp + 0x70], r8
mov rdi, rcx
mov byte [rsp + 0x40], dl
mov qword [rsp + 0x68], rcx
cmp rcx, 0xffffffffffffffff
jne 0x140007e3a
mov rax, qword gs:[0x58]
mov edx, 4
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140029514], eax
jle 0x140007e17
lea rcx, [0x140029514]
call fcn.14001ce34
cmp dword [0x140029514], edi
jne 0x140007e17
lea rcx, [0x14001e810]
call fcn.14001cdb0
lea rcx, [0x140029514]
call fcn.14001cdc8
lea r15, [0x1400280d8]
mov dword [rsp + 0x58], 0x2719
mov qword [rsp + 0x60], r15
xor eax, eax
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rbx], xmm0
jmp 0x1400081da
mov qword [rsp + 0x318], rsi
mov qword [rsp + 0x2e0], r12
movzx r12d, dl
and r12b, 0x10
cmp byte [rbp + 0x238], 0
je 0x140007e6b
test r12b, r12b
je 0x140007e6b
xor esi, esi
mov dword [rbx], esi
xor eax, eax
jmp 0x1400081ca
mov rax, qword gs:[0x58]
lea r15, [0x1400280d8]
mov qword [rsp + 0x2d8], r13
xor esi, esi
mov qword [rsp + 0x2d0], r14
mov r14d, 4
mov r13, qword [rax]
lea rax, [r14 + r13]
mov qword [rsp + 0x58], rax
nop
mov qword [rsp + 0x30], rsi
lea rax, [rbp - 0x5c]
mov qword [rsp + 0x28], rsi
lea r9, [rbp - 0x60]
mov r8d, r11d
mov qword [rsp + 0x20], rax
mov rdx, r10
mov dword [rbp - 0x60], esi
mov rcx, rdi
mov dword [rbp - 0x5c], esi
call qword [sym.imp.WS2_32.dll_WSARecv]
mov ecx, dword [r14 + r13]
mov edi, eax
cmp dword [0x140029514], ecx
jle 0x140007f07
lea rcx, [0x140029514]
call fcn.14001ce34
cmp dword [0x140029514], 0xffffffff
jne 0x140007f07
lea rcx, [0x14001e810]
call fcn.14001cdb0
lea rcx, [0x140029514]
call fcn.14001cdc8
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rbp - 0x80], eax
mov qword [rbp - 0x78], r15
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rbx], xmm0
mov eax, dword [rbx]
cmp eax, 0x40
jne 0x140007f6f
mov eax, dword [r14 + r13]
cmp dword [0x140029514], eax
jle 0x140007f5b
lea rcx, [0x140029514]
call fcn.14001ce34
cmp dword [0x140029514], 0xffffffff
jne 0x140007f5b
lea rcx, [0x14001e810]
call fcn.14001cdb0
lea rcx, [0x140029514]
call fcn.14001cdc8
mov dword [rbp - 0x70], 0x2746
mov qword [rbp - 0x68], r15
movups xmm0, xmmword [rbp - 0x70]
movups xmmword [rbx], xmm0
jmp 0x140007fd4
cmp eax, 0x4d2
jne 0x140007fc6
mov eax, dword [r14 + r13]
cmp dword [0x140029514], eax
jle 0x140007faf
lea rcx, [0x140029514]
call fcn.14001ce34
cmp dword [0x140029514], 0xffffffff
jne 0x140007faf
lea rcx, [0x14001e810]
call fcn.14001cdb0
lea rcx, [0x140029514]
call fcn.14001cdc8
mov dword [rsp + 0x48], 0x274d
mov qword [rsp + 0x50], r15
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rbx], xmm0
jmp 0x140007fd4
cmp eax, 0x2738
je 0x140007fdf
cmp eax, 0xea
je 0x140007fdf
test edi, edi
je 0x140007fdf
mov eax, 0xffffffff
jmp 0x140007fe4
mov eax, dword [rbp - 0x60]
mov dword [rbx], esi
test r12b, r12b
je 0x140007ff1
test eax, eax
je 0x1400080f8
test eax, eax
jns 0x1400081b8
test byte [rsp + 0x40], 1
jne 0x1400081b4
mov edx, dword [0x140029514]
mov r8, r14
cmp edx, dword [r14 + r13]
jle 0x14000804e
lea rcx, [0x140029514]
call fcn.14001ce34
mov edx, dword [0x140029514]
mov r8, r14
cmp edx, 0xffffffff
jne 0x14000804e
lea rcx, [0x14001e810]
call fcn.14001cdb0
lea rcx, [0x140029514]
call fcn.14001cdc8
mov edx, dword [0x140029514]
mov r8, r14
mov rcx, qword [rbx + 8]
mov rax, qword [0x1400280e0]
cmp qword [rcx + 8], rax
jne 0x140008067
cmp dword [rbx], 0x2733
je 0x1400080bb
cmp edx, dword [r8 + r13]
jle 0x14000809a
lea rcx, [0x140029514]
call fcn.14001ce34
cmp dword [0x140029514], 0xffffffff
jne 0x14000809a
lea rcx, [0x14001e810]
call fcn.14001cdb0
lea rcx, [0x140029514]
call fcn.14001cdc8
mov rcx, qword [rbx + 8]
mov rax, qword [0x1400280e0]
cmp qword [rcx + 8], rax
jne 0x1400081b4
cmp dword [rbx], 0x4d5
jne 0x1400081b4
mov rdi, qword [rsp + 0x68]
lea rdx, [rbp - 0x50]
xor r9d, r9d
mov qword [rbp - 0x48], rdi
xor r8d, r8d
mov dword [rbp - 0x50], 1
mov qword [rsp + 0x20], rsi
lea ecx, [rdi + 1]
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
js 0x140008161
mov r10, qword [rsp + 0x70]
mov r11, qword [rsp + 0x78]
mov dword [rbx], esi
jmp 0x140007ea0
mov rax, qword gs:[0x58]
mov edx, 4
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140029510], eax
jle 0x140008141
lea rcx, [0x140029510]
call fcn.14001ce34
cmp dword [0x140029510], 0xffffffff
jne 0x140008141
lea rcx, [0x14001e820]
call fcn.14001cdb0
lea rcx, [0x140029510]
call fcn.14001cdc8
lea rax, [0x1400280e8]
mov dword [rsp + 0x48], 2
mov qword [rsp + 0x50], rax
xor eax, eax
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rbx], xmm0
jmp 0x1400081ba
mov rax, qword [rsp + 0x58]
mov eax, dword [rax]
cmp dword [0x140029514], eax
jle 0x14000819d
lea rcx, [0x140029514]
call fcn.14001ce34
cmp dword [0x140029514], 0xffffffff
jne 0x14000819d
lea rcx, [0x14001e810]
call fcn.14001cdb0
lea rcx, [0x140029514]
call fcn.14001cdc8
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x50], r15
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rbx], xmm0
xor eax, eax
jmp 0x1400081ba
cdqe
mov r13, qword [rsp + 0x2d8]
mov r14, qword [rsp + 0x2d0]
mov rsi, qword [rsp + 0x318]
mov r12, qword [rsp + 0x2e0]
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.14001ca20
add rsp, 0x2e8
pop r15
pop rdi
pop rbx
pop rbp
ret