Function at 0x14031b1e0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0x80]
mov qword [rbp], 0xfffffffffffffffe
mov rdi, r8
mov rbx, qword [rcx + 0x10]
mov rax, qword [rcx + 0x18]
mov qword [rbp - 0x28], rax
mov rax, qword [rdx]
mov qword [rbp - 0x30], rax
mov r12, qword [rcx + 0x20]
lea r14, [rbp - 0x60]
jmp 0x14031b23c
mov byte [rbp - 1], 1
mov rcx, r14
call fcn.140077a10
mov rcx, r14
mov rdx, rbx
mov r8, qword [rbp - 0x30]
xor r9d, r9d
call fcn.14031a7d0
movzx eax, byte [rbp - 0x57]
cmp al, 3
je 0x14031b508
mov r13, qword [rbp - 0x60]
cmp al, 2
je 0x14031b50f
mov rdx, qword [rdi + 8]
mov rsi, qword [rdi + 0x10]
mov r8, rdx
sub r8, rsi
jb 0x14031b566
mov rcx, qword [rbp - 0x28]
cmp rcx, 0xffffffffffffffff
je 0x14031b577
movzx r15d, byte [rbp - 0x58]
mov rdx, qword [rdi]
add rdx, rsi
cmp r8, 0x7fffffff
mov eax, 0x7fffffff
cmovae r8, rax
xor r9d, r9d
call sub.ws2_32.dll_recv
cmp eax, 0xffffffff
jne 0x14031b513
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x274a
je 0x14031b518
mov rcx, rax
shl rcx, 0x20
or rcx, 2
mov qword [rbp - 0x10], rcx
mov ecx, eax
call fcn.1402ff3a0
cmp al, 0xd
jne 0x14031b350
test r12, r12
je 0x14031b350
mov rcx, qword [r12]
mov rax, qword [r12 + 8]
lock inc qword [rax]
jle 0x14031b591
add rcx, 0x10
mov rdx, qword [r12 + 8]
mov r8, qword [r12 + 0x10]
movzx r9d, byte [r12 + 0x18]
call fcn.140292210
mov rsi, rax
test rax, rax
je 0x14031b350
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x20], 1
mov rcx, qword [rbp - 0x10]
call fcn.140290870
mov eax, esi
and eax, 3
lea rcx, [0x14031b6b8]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov qword [rbp - 0x20], 1
mov rsi, qword [rbp - 0x10]
mov qword [rbp - 0x18], rsi
mov eax, esi
and eax, 3
lea rcx, [0x14031b6b8]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
movzx eax, byte [rsi + 0x10]
jmp case.0x14031b3b0.0
mov rcx, rsi
shr rcx, 0x20
call fcn.1402ff3a0
jmp case.0x14031b3b0.0
mov rcx, rsi
shr rcx, 0x20
cmp ecx, 0x28
ja case.default.0x14031b3b0
xor eax, eax
lea rdx, [0x14031b6c8]
movsxd rcx, dword [rdx + rcx*4]
add rcx, rdx
jmp rcx
mov al, 1
jmp case.0x14031b3b0.0
movzx eax, byte [rsi + 0xf]
cmp al, 0xd
jne 0x14031b54a
movzx ecx, r15b
mov qword [rbp - 0x60], rsi
and r13d, 3
mov rax, qword [rbx]
shl rcx, 0x10
xor r13, 0x7f00000f
nop word cs:[rax + rax]
mov rdx, rax
shr rdx, 0x10
cmp r15b, dl
jne 0x14031b230
mov edx, eax
and edx, r13d
or rdx, rcx
lock cmpxchg qword [rbx], rdx
jne 0x14031b3f0
adc esi, dword [rbp - 0x1f]
jmp 0x14031b230
sbb al, 0xfe
invalid
mov al, 0x25
jmp case.0x14031b3b0.0
mov al, 0x23
jmp case.0x14031b3b0.0
mov al, 0x24
jmp case.0x14031b3b0.0
mov al, 0x1b
jmp case.0x14031b3b0.0
mov al, 0x22
jmp case.0x14031b3b0.0
mov al, 0x10
jmp case.0x14031b3b0.0
mov al, 0xe
jmp case.0x14031b3b0.0
mov al, 0x21
jmp case.0x14031b3b0.0
mov al, 0xb
jmp case.0x14031b3b0.0
mov al, 4
jmp case.0x14031b3b0.0
invalid
mov byte [rax - 0x4f7b14d8], dh
or al, 0xeb
jmp case.0x14031b3b0.0
mov al, 9
jmp case.0x14031b3b0.0
invalid
push qword [rax - 0x8d16e7]
mov al, 0x19
invalid
jb 0x14031b44f
mov al, 0x28
jmp case.0x14031b3b0.0
mov al, 0xc
jmp case.0x14031b3b0.0
mov al, 9
jmp case.0x14031b3b0.0
invalid
invalid
invalid
mov al, 0x19
jmp case.0x14031b3b0.0
invalid
invalid
invalid
mov al, 0x18
jmp case.0x14031b3b0.0
invalid
invalid
invalid
mov al, 2
jmp case.0x14031b3b0.0
invalid
invalid
invalid
mov al, 0xf
jmp case.0x14031b3b0.0
invalid
invalid
invalid
mov al, 3
jmp case.0x14031b3b0.0
invalid
invalid
invalid
mov al, 7
jmp case.0x14031b3b0.0
mov al, 0x1f
jmp case.0x14031b3b0.0
invalid
invalid
invalid
mov al, 0x11
jmp case.0x14031b3b0.0
invalid
invalid
invalid
mov al, 0x29
jmp case.0x14031b3b0.0
invalid
invalid
invalid
mov al, 0x14
jmp case.0x14031b3b0.0
invalid
invalid
invalid
mov al, 5
jmp case.0x14031b3b0.0
invalid
invalid
invalid
mov al, 0x15
jmp case.0x14031b3b0.0
invalid
invalid
invalid
mov al, 0xd
jmp case.0x14031b3b0.0
invalid
invalid
invalid
mov al, 6
jmp case.0x14031b3b0.0
invalid
invalid
invalid
mov al, 0x12
jmp case.0x14031b3b0.0
invalid
invalid
invalid
mov al, 0xa
jmp case.0x14031b3b0.0
invalid
invalid
invalid
mov al, 8
jmp case.0x14031b3b0.0
invalid
invalid
invalid
mov al, 0x1e
jmp case.0x14031b3b0.0
mov al, 0x20
jmp case.0x14031b3b0.0
invalid
invalid
invalid
mov al, 0x16
jmp case.0x14031b3b0.0
invalid
invalid
invalid
mov al, 0x27
jmp case.0x14031b3b0.0
invalid
invalid
invalid
mov al, 0x13
jmp case.0x14031b3b0.0
invalid
invalid
invalid
mov al, 0x17
jmp case.0x14031b3b0.0
mov al, 0x1c
jmp case.0x14031b3b0.0
invalid
invalid
invalid
mov al, 0x1d
jmp case.0x14031b3b0.0
mov al, 0x26
jmp case.0x14031b3b0.0
mov al, 0x1a
jmp case.0x14031b3b0.0
mov eax, 1
jmp 0x14031b54f
xor eax, eax
jmp 0x14031b54f
movsxd rdx, eax
jmp 0x14031b51a
xor edx, edx
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], rdx
lea rax, [rdx + rsi]
mov rcx, qword [rdi + 0x18]
cmp rax, rcx
jbe 0x14031b53a
mov qword [rdi + 0x18], rax
mov rcx, rax
add rdx, rsi
jb 0x14031b595
cmp rax, rcx
ja 0x14031b5b3
mov qword [rdi + 0x10], rax
xor esi, esi
xor eax, eax
mov r13, rsi
mov rdx, r13
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea r8, str.C:Usersidofi.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.29.1_srcio_read_buf.rs
mov rcx, rsi
call fcn.140354ef0
ud2
lea rcx, str.called__Option::unwrap____on_a__None__valueC:Usersidofi.cargo_registry_srcindex.crates.io_6f17d22bba15001fwinapi_util_0.1.5_srcwin.rs
lea r8, str.C:Usersidofi.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.29.1_srciopoll_evented.rs
mov edx, 0x2b
call fcn.140354ff0
ud2
ud2
mov byte [rbp - 1], 0
lea rcx, str.filled_overflowfilled_must_not_become_larger_than_initialized
lea r8, str.C:Usersidofi.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.29.1_srciopoll_evented.rs
mov edx, 0xf
call fcn.140355390
jmp 0x14031b5ec
lea rax, [0x1403a85c0]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 1
lea rax, str.internal_error:_entered_unreachable_code:_unknown_state:
mov qword [rbp - 0x50], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov byte [rbp - 1], 0
lea rdx, str.C:Usersidofi.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.29.1_srciopoll_evented.rs
lea rcx, [rbp - 0x60]
call fcn.140354e30
ud2