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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x50d174]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
call fcn.004dc540
add esp, 4
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x9c], 0xffffffff
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0xa4], 0
cmp dword [ebp - 0x88], 0
jne 0x4dbbee
or eax, 0xffffffff
jmp 0x4dbf32
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x18], 0
je 0x4dbc08
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
push eax
push 0
call fcn.00442400
add esp, 8
xor ecx, ecx
jne 0x4dbbee
xor edx, edx
jne 0x4dbbee
mov eax, dword [ebp - 0x88]
mov ecx, dword [eax + 0x4c]
shr ecx, 1
and ecx, 1
je 0x4dbc77
push 0x51cdf4
push 0x51ce0c
push 0x104
push 0x51ce28
push 0x51ce38
push 0xdeaddead
call fcn.00441370
add esp, 0x18
push 0x51ce5c
push str._buf_o__write_in_progress
push 0x104
push 0x51ce90
push 0x51cea0
push 2
call fcn.004a3929
add esp, 4
push eax
call fcn.00429fa0
add esp, 0x18
call fcn.004a7d51
xor edx, edx
jne 0x4dbc10
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
shr ecx, 2
and ecx, 1
jne 0x4dbc97
mov edx, dword [ebp - 0x88]
mov eax, dword [edx + 0x4c]
and eax, 1
je 0x4dbc9c
jmp 0x4dbf0a
mov ecx, dword [ebp - 0x88]
mov dword [ecx + 0x50], 0
mov edx, dword [ebp - 0x88]
mov dword [edx + 0x54], 0
push 0x80
push 0
mov eax, dword [ebp - 0x88]
add eax, 0x58
push eax
call fcn.0049d330
add esp, 0xc
push 0x10
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004394d0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x4dbceb
jmp 0x4dbf0a
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.00438d20
add esp, 8
push 1
lea ecx, [ebp - 0xa0]
push ecx
push 0x10
lea edx, [ebp - 0x84]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00439a30
add esp, 0x18
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x8c], 0
jmp 0x4dbd3c
mov edx, dword [ebp - 0x8c]
add edx, 1
mov dword [ebp - 0x8c], edx
mov eax, dword [ebp - 0x8c]
cmp eax, dword [ebp - 0x98]
jge 0x4dbd87
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x88]
mov eax, dword [ebp - 0x8c]
mov eax, dword [ebp + eax*8 - 0x84]
mov dword [edx + ecx*8 + 0x5c], eax
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x88]
mov eax, dword [ebp - 0x8c]
mov eax, dword [ebp + eax*8 - 0x80]
mov dword [edx + ecx*8 + 0x58], eax
xor ecx, ecx
jne 0x4dbd4a
jmp 0x4dbd2d
mov edx, dword [ebp - 0x88]
mov eax, dword [ebp - 0x98]
mov dword [edx + 0x54], eax
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ecx]
mov dword [ebp - 0x90], edx
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x90]
mov dword [eax + 0x50], ecx
mov dword [ebp - 0x94], 0
jmp 0x4dbdcd
mov edx, dword [ebp - 0x90]
mov eax, dword [edx]
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
je 0x4dbdf8
push 0x10
mov ecx, dword [ebp - 0x90]
push ecx
call fcn.004391c0
add esp, 8
mov edx, dword [ebp - 0x94]
add edx, 1
mov dword [ebp - 0x94], edx
jmp 0x4dbdbf
mov eax, dword [ebp - 0x94]
cmp eax, dword [ebp - 0x98]
je 0x4dbe5d
push 0x51cec4
push 0x51cedc
push pe_nt_image_headers32
push 0x51ceec
push 0x51cefc
push 0xdeaddead
call fcn.00441370
add esp, 0x18
push str.evbuffer_launch_read_
push str.npin__nvecs
push pe_nt_image_headers32
push str.buffer_iocp.c
push str._s:_d:_Assertion__s_failed_in__s
push 2
call fcn.004a3929
add esp, 4
push eax
call fcn.00429fa0
add esp, 0x18
call fcn.004a7d51
xor ecx, ecx
jne 0x4dbdf8
mov edx, dword [ebp + 8]
push edx
call fcn.00439120
add esp, 4
push 0
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0xa4]
push ecx
lea edx, [ebp - 0xac]
push edx
mov eax, dword [ebp - 0x98]
push eax
mov ecx, dword [ebp - 0x88]
add ecx, 0x58
push ecx
mov edx, dword [ebp - 0x88]
mov eax, dword [edx + 0x48]
push eax
call dword [sym.imp.WS2_32.dll_WSARecv]
test eax, eax
je 0x4dbeeb
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0x3e5
je 0x4dbeeb
push 0x10
mov ecx, dword [ebp - 0x88]
push ecx
call fcn.004dc560
add esp, 8
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.00438da0
add esp, 8
mov eax, dword [ebp + 8]
push eax
call fcn.00435180
add esp, 4
jmp 0x4dbf0a
mov ecx, dword [ebp - 0x88]
mov edx, dword [ecx + 0x4c]
or edx, 1
mov eax, dword [ebp - 0x88]
mov dword [eax + 0x4c], edx
mov dword [ebp - 0x9c], 0
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x18], 0
je 0x4dbf24
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
push eax
push 0
call fcn.00442430
add esp, 8
xor ecx, ecx
jne 0x4dbf0a
xor edx, edx
jne 0x4dbf0a
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042a04a
mov esp, ebp
pop ebp
ret