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

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x68
mov eax, dword [rdx + 0x58]
mov rbp, rcx
mov rbx, rdx
test ah, 0x10
je 0x6dcd92
test eax, 0x10000
jne 0x6dcd70
mov edx, eax
lea rsi, [rbx + 0xc0]
lea rcx, [0x010a6320]
mov qword [rbx + 0xc0], 0
or edx, 0x40000
lea rdi, [rbx + 0x80]
mov qword [rbx + 0xc8], 0
mov dword [rbx + 0x58], edx
mov qword [rsp + 0x58], rcx
mov dword [rsp + 0x50], 0
mov qword [rsi + 0x10], 0
mov qword [rsi + 0x18], 0
test eax, 0x80000
je 0x6dcc7a
mov rax, qword [rbx + 0xf0]
test rax, rax
je 0x6dce10
or rax, 1
mov qword [rbx + 0xd8], rax
lea rax, [rsp + 0x4c]
mov dword [rsp + 0x4c], 0
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx + 0x110]
mov qword [rsp + 0x28], rsi
lea r9, [rsp + 0x48]
mov r8d, 1
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_WSARecv]
test eax, eax
jne 0x6dcd20
mov edx, dword [rbx + 0x58]
mov eax, dword [rbx + 0x78]
mov ecx, edx
add eax, 1
or ecx, 0x10000
test edx, 0x20000
je 0x6dcd42
mov esi, dword [rsp + 0x48]
mov dword [rbx + 0x78], eax
mov rax, qword [rbp + 0x48]
mov dword [rbx + 0x58], ecx
mov qword [rbx + 0xc8], rsi
mov qword [rbx + 0xe8], 0
test rax, rax
je 0x6dceb0
mov rdx, qword [rax + 0x68]
mov qword [rbx + 0xe8], rdx
mov qword [rax + 0x68], rdi
mov qword [rbp + 0x48], rdi
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
ret
call qword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x3e5
jne 0x6dcdb4
mov edx, dword [rbx + 0x58]
mov eax, dword [rbx + 0x78]
mov ecx, edx
add eax, 1
or ecx, 0x10000
and edx, 0x80000
mov dword [rbx + 0x58], ecx
mov dword [rbx + 0x78], eax
je 0x6dcd5e
cmp qword [rbx + 0xf8], 0xffffffffffffffff
je 0x6dce40
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov r8d, 0x1e3
lea rdx, str.src_win_tcp.c
lea rcx, [0x00d12f88]
call qword [sym.imp.msvcrt.dll__assert]
mov eax, dword [rbx + 0x58]
jmp 0x6dcc05
mov r8d, 0x1e2
lea rdx, str.src_win_tcp.c
lea rcx, [0x00d12f60]
call qword [sym.imp.msvcrt.dll__assert]
mov eax, dword [rbx + 0x58]
jmp 0x6dcbfa
mov rsi, qword [sym.imp.WS2_32.dll_WSAGetLastError]
call rsi
test eax, eax
jle 0x6dcec0
call rsi
movzx eax, ax
or eax, 0x80070000
cdqe
mov qword [rbx + 0xc0], rax
mov rax, qword [rbp + 0x48]
mov qword [rbx + 0xe8], 0
test rax, rax
je 0x6dced0
mov rdx, qword [rax + 0x68]
mov qword [rbx + 0xe8], rdx
mov qword [rax + 0x68], rdi
mov qword [rbp + 0x48], rdi
add dword [rbx + 0x78], 1
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov r8d, 0x200
lea rdx, str.src_win_tcp.c
lea rcx, str.req__event_handle
call qword [sym.imp.msvcrt.dll__assert]
mov rax, qword [rbx + 0xf0]
jmp 0x6dcc6f
mov rdx, qword [rbx + 0xf0]
lea rcx, [rbx + 0xf8]
mov r9, rdi
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0xffffffff
lea r8, [0x006dd300]
call qword [sym.imp.KERNEL32.DLL_RegisterWaitForSingleObject]
test eax, eax
jne 0x6dcd5e
mov rsi, qword [sym.imp.KERNEL32.DLL_GetLastError]
call rsi
test eax, eax
jle 0x6dcee0
call rsi
movzx eax, ax
or eax, 0x80070000
cdqe
mov qword [rbx + 0xc0], rax
mov rax, qword [rbp + 0x48]
mov qword [rbx + 0xe8], 0
test rax, rax
jne 0x6dccfd
nop
mov qword [rbx + 0xe8], rdi
mov qword [rbp + 0x48], rdi
jmp 0x6dcd5e
call rsi
cdqe
jmp 0x6dcdd1
mov qword [rbx + 0xe8], rdi
mov qword [rbp + 0x48], rdi
jmp 0x6dce03
call rsi
cdqe
jmp 0x6dce8f