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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r13
push r14
lea rbp, [rax - 0x208]
sub rsp, 0x2f0
mov rax, qword [0x14001d008]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov rax, qword [rcx + 0x38]
mov rdi, rcx
mov r8, qword [rax]
mov rax, qword [rcx + 0x50]
movsxd rdx, dword [rax]
add rdx, r8
cmp r8, rdx
jne 0x140009059
lea rsi, [rcx + 0x150]
mov r14d, 1
movabs r13, 0x4800144005b3
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
mov r8, rax
cmp rbx, 0x989680
jne 0x140008cbc
imul rcx, r8, 0x64
jmp 0x140008ce2
cqo
idiv rbx
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
mov rcx, rax
mov rax, r8
cqo
idiv rbx
imul rdx, rax, 0x3b9aca00
add rcx, rdx
cmp qword [rdi + 0x168], rcx
jl 0x14000904c
test byte [rdi + 0xc0], 2
jne 0x140008d0c
lea rcx, [rdi + 0xb0]
mov r9, rsi
lea rdx, [rsp + 0x58]
call fcn.14000a3ac
mov rax, qword [rdi + 0x78]
mov rcx, qword [rdi + 0x80]
sub rcx, rax
je 0x140008d29
cmp rcx, 8
jbe 0x140008d2b
mov edx, 8
jmp 0x140008d2e
xor eax, eax
mov rdx, rcx
sub rcx, rdx
add rax, rdx
cmp byte [rdi + 0xf4], 0
mov dword [rbp - 0x48], ecx
mov qword [rbp - 0x38], rcx
mov rcx, qword [rdi + 0xb8]
mov qword [rbp - 0x40], rax
jne 0x140008d62
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x64], xmm0
mov qword [rsp + 0x74], rax
mov dword [rsp + 0x7c], eax
and qword [rsp + 0x30], 0
lea rax, [rbp - 0x54]
and qword [rsp + 0x28], 0
lea r9, [rbp - 0x58]
and dword [rbp - 0x58], 0
lea rdx, [rbp - 0x48]
and dword [rbp - 0x54], 0
mov r8d, r14d
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_WSARecv]
mov dl, r14b
mov rcx, rsi
mov ebx, eax
call fcn.140004bb0
mov r9, qword [rsi + 0x10]
lea r10, [rsi + 8]
cmp r9, r14
je 0x140008db1
mov ecx, dword [rsi]
mov r8d, ecx
jmp 0x140008de0
mov rcx, qword [r10]
mov rax, r13
mov r8d, dword [rsi]
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 0x14
imul rax, rax, 0x1ffff7
sub rcx, rax
imul ecx, ecx, 0x3e8
add ecx, r8d
cmp ecx, 0x40
jne 0x140008dec
mov edx, 0x2746
jmp 0x140008e2e
cmp r9, r14
je 0x140008df6
mov eax, r8d
jmp 0x140008e22
mov rcx, qword [r10]
mov rax, r13
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 0x14
imul rax, rax, 0x1ffff7
sub rcx, rax
imul eax, ecx, 0x3e8
add eax, r8d
cmp eax, 0x4d2
jne 0x140008e38
mov edx, 0x274d
mov rcx, rsi
call fcn.14000aab8
jmp 0x140008eaf
cmp r9, r14
je 0x140008e42
mov eax, r8d
jmp 0x140008e6e
mov rcx, qword [r10]
mov rax, r13
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 0x14
imul rax, rax, 0x1ffff7
sub rcx, rax
imul eax, ecx, 0x3e8
add eax, r8d
cmp eax, 0x2738
je 0x140008eb3
cmp r9, r14
jne 0x140008ea6
mov rcx, qword [r10]
mov rax, r13
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 0x14
imul rax, rax, 0x1ffff7
sub rcx, rax
imul eax, ecx, 0x3e8
add r8d, eax
cmp r8d, 0xea
je 0x140008eb3
test ebx, ebx
jne 0x140008edd
and qword [rsp + 0x50], 0
xorps xmm0, xmm0
mov r8d, dword [rbp - 0x58]
movups xmmword [rsi], xmm0
movsd xmm0, qword [rsp + 0x50]
movsd qword [rsi + 0x10], xmm0
test r8d, r8d
jg 0x14000901b
je 0x140008fb5
mov edx, 0x2733
lea rcx, [rsp + 0x40]
call fcn.14000ab44
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.14000265c
test al, al
jne 0x140008f21
mov edx, 0x4d5
lea rcx, [rsp + 0x58]
call fcn.14000ab44
lea rdx, [rsp + 0x58]
mov rcx, rsi
call fcn.14000265c
test al, al
je 0x140009059
mov rcx, rdi
call fcn.14000a2b0
mov ecx, eax
mov rax, qword [rdi + 0xb8]
mov qword [rbp - 0x80], rax
cmp rax, 0xffffffffffffffff
je 0x140008fab
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x30], r14d
test ecx, ecx
js 0x140008f73
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x3e8
mov dword [rbp - 0x50], edx
sub ecx, eax
imul eax, ecx, 0x3e8
mov dword [rbp - 0x4c], eax
lea rax, [rbp - 0x50]
jmp 0x140008f75
xor eax, eax
mov ecx, dword [rbp - 0x80]
lea rdx, [rbp - 0x30]
inc ecx
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
mov rcx, rsi
mov ebx, eax
sets dl
call fcn.140004bb0
test ebx, ebx
js 0x140009059
jmp 0x140008c9b
mov edx, 0x2719
jmp 0x140009051
and dword [rsp + 0x44], 0
lea rbx, [0x14001d068]
movabs rcx, 0x4d54ee85da812030
add rcx, qword [0x14001d070]
cmp rcx, r14
jbe 0x140008fec
mov rax, qword [0x14001d068]
mov edx, 2
mov rcx, rbx
call qword [rax + 0x30]
mov r14b, al
movzx ecx, r14b
mov dword [rsp + 0x40], 2
add rcx, 2
mov qword [rsp + 0x48], rbx
movups xmm0, xmmword [rsp + 0x40]
mov qword [rsp + 0x50], rcx
movsd xmm1, qword [rsp + 0x50]
movups xmmword [rsi], xmm0
movsd qword [rsi + 0x10], xmm1
jmp 0x140009059
mov rdx, qword [rdi + 0x78]
mov rax, qword [rdi + 0x18]
lea rcx, [rdx + 8]
mov qword [rax], rdx
sub r8d, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
lea ecx, [rdx + 8]
mov rax, qword [rdi + 0x50]
add ecx, r8d
mov dword [rax], ecx
mov rax, qword [rdi + 0x38]
mov rcx, qword [rax]
movzx eax, byte [rcx]
jmp 0x14000905c
mov edx, 0x274c
mov rcx, rsi
call fcn.14000aab8
or eax, 0xffffffff
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.140011270
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop rbp
ret