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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
mov qword [rsp + 0x60], rdx
mov r14, rcx
lea r12, [rsp + 0x72]
lea rbx, [rsp + 0x42]
lea r15, [rcx + 0x18]
xor eax, eax
cmp qword [rcx + 0x18], 0xffffffffffffffff
cmove r15, rax
mov rbp, qword [r8 + 8]
mov rdi, qword [r8 + 0x10]
mov rcx, rbp
sub rcx, rdi
mov qword [rsp + 0x48], r8
mov rax, qword [r8]
add rax, rdi
mov qword [rsp + 0x50], rax
mov eax, 0x7fffffff
cmp rcx, rax
cmovae rcx, rax
mov qword [rsp + 0x58], rcx
lea r13, [rsp + 0x68]
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r14
mov rdx, qword [r14 + 0x10]
mov rcx, r13
mov r8, qword [rsp + 0x60]
xor r9d, r9d
call fcn.0059c2a4
mov al, byte [rsp + 0x71]
cmp al, 3
je 0x59c69b
mov rsi, qword [rsp + 0x68]
cmp al, 2
je 0x59c6d3
mov cl, byte [rsp + 0x70]
movzx edx, word [r12 + 4]
mov word [rbx + 4], dx
mov edx, dword [r12]
mov dword [rbx], edx
mov qword [rsp + 0x38], rsi
mov byte [rsp + 0x40], cl
mov byte [rsp + 0x41], al
cmp rbp, rdi
jb 0x59c6ec
mov rcx, r15
lea rdx, str._usr_local_cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.32.0_src_io_poll_evented.rs
call fcn.0059b064
mov rcx, qword [r15]
mov rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
xor r9d, r9d
call sub.WS2_32.dll_recv
cmp eax, 0xffffffff
jne 0x59c6a2
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x274a
je 0x59c6a7
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov rcx, rsi
call fcn.004a28a0
cmp al, 0xd
jne 0x59c670
mov rax, qword [r15 + 8]
test rax, rax
je 0x59c670
mov rcx, qword [rax]
mov rdx, qword [rax + 8]
lock inc qword [rdx]
jle 0x59c700
add rcx, 0x10
mov r8, qword [rax + 0x10]
mov r9b, byte [rax + 0x18]
call fcn.004a2778
mov r15, rax
xor ecx, ecx
call fcn.0055b978
test r15, r15
je 0x59c666
mov ecx, 1
mov rdx, rsi
call fcn.004a28fc
mov rsi, r15
mov r14, qword [rsp + 0x28]
mov r15, qword [rsp + 0x30]
mov rcx, rsi
call fcn.0044d3d8
cmp al, 0xd
jne 0x59c6d3
mov qword [rsp + 0x68], rsi
mov rcx, r14
lea rdx, [rsp + 0x38]
call fcn.0059c23f
mov rcx, r13
call fcn.00596b39
jmp 0x59c572
mov eax, 1
jmp 0x59c6d5
movsxd r8, eax
jmp 0x59c6aa
xor r8d, r8d
lea rax, [rdi + r8]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rdx + 0x18]
cmp rax, rcx
jbe 0x59c6c3
mov qword [rdx + 0x18], rax
mov rcx, rax
add rdi, r8
jb 0x59c704
cmp rcx, rax
jb 0x59c71e
mov qword [rdx + 0x10], rax
xor esi, esi
xor eax, eax
mov rdx, rsi
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r8, str._usr_local_cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.32.0_src_io_read_buf.rs
mov rcx, rdi
mov rdx, rbp
call fcn.004642d0
ud2
ud2
lea rcx, str.filled_overflowfilled_must_not_become_larger_than_initialized
lea r8, str._usr_local_cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.32.0_src_io_poll_evented.rs
mov edx, 0xf
call fcn.004683f0
ud2
lea rax, [0x00677fc8]
lea rcx, [rsp + 0x68]
mov qword [rcx], rax
mov qword [rcx + 8], 1
lea rax, str.unknownassertion_failed:_success_usr_local_cargo_registry_src_index.crates.io_6f17d22bba15001f_whoami_1.4.1_src_windows.rs
mov qword [rcx + 0x10], rax
xorps xmm0, xmm0
movups xmmword [rcx + 0x18], xmm0
lea rdx, str._usr_local_cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.32.0_src_io_poll_evented.rs
call fcn.00463750
ud2