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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x4c0
mov rax, qword [0x140204480]
xor rax, rsp
mov qword [rsp + 0x4b0], rax
xor edi, edi
mov r13d, r8d
mov rsi, rdx
mov rbx, rcx
test rdx, rdx
je 0x14000e68a
mov dword [rdx], edi
mov qword [rdx + 8], rdi
mov qword [rdx + 0x18], rdi
call fcn.14000bc50
cmp eax, 0xffffffff
je 0x14000e98f
cmp eax, 1
je 0x14000e7eb
call qword [sym.imp.WINMM.dll_timeGetTime]
mov edx, eax
sub edx, dword [0x140244380]
mov dword [rbx + 0x40], edx
add r13d, edx
nop
mov ecx, dword [rbx + 0x18]
mov eax, edx
sub eax, ecx
sub ecx, edx
cmp eax, 0x5265c00
cmovb ecx, eax
cmp ecx, 0x3e8
jb 0x14000e6c1
mov rcx, rbx
call fcn.14000a4b0
mov r8d, 1
mov rcx, rbx
call fcn.14000dd60
cmp eax, 0xffffffff
je 0x14000e98f
cmp eax, 1
je 0x14000e7eb
xor eax, eax
lea rdi, [rbx + 0x2ab8]
test rdi, rdi
lea r15, [rsp + 0x64]
lea r12, [rsp + 0x78]
mov ebp, eax
cmove r15, rax
lea r14, [rbx + 0xab8]
cmove r12, rax
nop dword [rax + rax]
mov rcx, qword [rbx]
lea r9, [rsp + 0x68]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov r8d, 1
mov dword [rsp + 0x60], eax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], 0x1000
mov dword [rsp + 0x64], reloc.WS2_32.dll_recv
call qword [sym.imp.WS2_32.dll_WSARecvFrom]
cmp eax, 0xffffffff
je 0x14000e823
test dword [rsp + 0x60], 0x8000
jne 0x14000e98f
test rdi, rdi
je 0x14000e792
mov eax, dword [rsp + 0x7c]
movzx ecx, word [rsp + 0x7a]
mov dword [rdi], eax
call qword [sym.imp.WS2_32.dll_ntohs]
mov word [rdi + 4], ax
movsxd rcx, dword [rsp + 0x68]
test ecx, ecx
js 0x14000e98f
je 0x14000e83c
add dword [rbx + 0x2ad8], ecx
inc dword [rbx + 0x2adc]
mov rax, qword [rbx + 0x2ae0]
mov qword [rbx + 0x2ac0], r14
mov qword [rbx + 0x2ac8], rcx
test rax, rax
je 0x14000e7f5
mov rdx, rsi
mov rcx, rbx
call rax
cmp eax, 0xffffffff
je 0x14000e98f
cmp eax, 1
jne 0x14000e7f5
test rsi, rsi
je 0x14000e80e
cmp dword [rsi], 0
je 0x14000e80e
mov eax, 1
jmp 0x14000e994
mov rdx, rsi
mov rcx, rbx
call fcn.14000cdc0
cmp eax, 0xffffffff
je 0x14000e98f
cmp eax, 1
je 0x14000e7eb
inc ebp
cmp ebp, 0x100
jge 0x14000e98f
xor eax, eax
jmp 0x14000e710
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
sub ecx, 0x2733
je 0x14000e83c
cmp ecx, 0x13
jne 0x14000e98f
mov r8d, 1
mov rcx, rbx
call fcn.14000dd60
cmp eax, 0xffffffff
je 0x14000e98f
cmp eax, 1
je 0x14000e7eb
test rsi, rsi
je 0x14000e87a
mov rdx, rsi
mov rcx, rbx
call fcn.14000bc50
cmp eax, 0xffffffff
je 0x14000e98f
cmp eax, 1
je 0x14000e7eb
mov eax, dword [rbx + 0x40]
sub eax, r13d
cmp eax, 0x5265c00
jb 0x14000e98b
call qword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, eax
sub ecx, dword [0x140244380]
mov r8d, ecx
mov dword [rbx + 0x40], ecx
sub r8d, r13d
cmp r8d, 0x5265c00
jb 0x14000e98b
mov rbp, qword [rbx]
mov eax, r13d
sub eax, ecx
mov qword [rsp + 0x98], rbp
cmp eax, 0x5265c00
mov dword [rsp + 0x90], 1
cmovb r8d, eax
lea ecx, [rbp + 1]
mov eax, 0x10624dd3
xor edi, edi
mul r8d
xor r9d, r9d
mov dword [rsp + 0x2a0], edi
shr edx, 6
imul eax, edx, 0x3e8
mov dword [rsp + 0x70], edx
lea rdx, [rsp + 0x90]
sub r8d, eax
imul eax, r8d, 0x3e8
lea r8, [rsp + 0x2a0]
mov dword [rsp + 0x74], eax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
js 0x14000e98f
je 0x14000e97c
lea rdx, [rsp + 0x2a0]
mov rcx, rbp
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
lea rdx, [rsp + 0x90]
mov rcx, rbp
test eax, eax
setne dil
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
mov eax, 2
cmovne edi, eax
call qword [sym.imp.WINMM.dll_timeGetTime]
mov edx, eax
sub edx, dword [0x140244380]
mov dword [rbx + 0x40], edx
test dil, 2
jne 0x14000e6a0
xor eax, eax
jmp 0x14000e994
call qword [sym.imp.WINMM.dll_timeGetTime]
sub eax, dword [0x140244380]
mov dword [rbx + 0x40], eax
xor eax, eax
jmp 0x14000e994
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x4b0]
xor rcx, rsp
call fcn.140183920
mov rbx, qword [rsp + 0x518]
add rsp, 0x4c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret