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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jne 0x10194d1a
cmp edx, 0xffffffff
je 0x10194e7f
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
cmp dword [edi + 0x78], 0
jle 0x10194e7e
xor ecx, ecx
mov dword [ebp - 0xc], ecx
push esi
mov esi, dword [edi + 0x74]
add esi, ecx
mov ecx, dword [esi + 0x20]
cmp ecx, 0xffffffff
je 0x10194f35
cmp dword [esi + 0x54], 0
jne 0x10194f35
test ebx, ebx
je 0x10194db2
push ebx
push ecx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x10194f32
mov edi, dword [ebx]
xor eax, eax
mov edx, dword [esi + 0x20]
test edi, edi
je 0x10194daa
lea ecx, [ebx + 4]
cmp dword [ecx], edx
je 0x10194d85
inc eax
add ecx, 4
cmp eax, edi
jb 0x10194d71
mov ecx, dword [esi + 0x20]
mov edi, dword [ebp + 8]
jmp 0x10194dba
lea ecx, [edi - 1]
cmp eax, ecx
jae 0x10194da5
lea edx, [eax + 1]
lea edx, [ebx + edx*4]
mov ecx, dword [edx + 4]
lea edx, [edx + 4]
mov dword [edx - 4], ecx
inc eax
mov edi, dword [ebx]
lea ecx, [edi - 1]
cmp eax, ecx
jb 0x10194d92
lea eax, [edi - 1]
mov dword [ebx], eax
mov ecx, dword [esi + 0x20]
mov edi, dword [ebp + 8]
jmp 0x10194dba
cmp ecx, edx
jne 0x10194f35
mov edx, dword [esi + 0x28]
cmp edx, 2
je 0x10194e84
mov eax, 2
sub eax, edx
add edx, 0x24
add edx, esi
cmp dword [edi + 0x91b8], 0
je 0x10194dfa
push dword [edi + 0x91bc]
push 0
push 0
push 0
push eax
mov eax, dword [edi + 0x91b8]
push edx
push ecx
mov eax, dword [eax + 0xc]
call eax
add esp, 0x1c
jmp 0x10194e05
push 0
push eax
push edx
push ecx
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jg 0x10194e3c
cmp eax, 0xffffffff
jne 0x10194e28
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0xb
je 0x10194f32
cmp eax, 0x2733
je 0x10194f32
push dword [ebp + 0x14]
push dword [ebp - 4]
push edi
call fcn.10194460
add esp, 0xc
jmp 0x10194f32
add dword [esi + 0x28], eax
cmp dword [esi + 0x28], 2
jne 0x10194f32
movzx ecx, byte [esi + 0x24]
movzx eax, byte [esi + 0x25]
shl ecx, 8
or ecx, eax
push ecx
mov dword [esi + 0x2c], ecx
call dword [0x1026eabc]
add esp, 4
mov dword [esi + 0x30], eax
test eax, eax
jne 0x10194f2b
push dword [ebp + 0x14]
push dword [ebp - 4]
push edi
call fcn.10194460
add esp, 0xc
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [esi + 0x30]
add ebx, dword [esi + 0x34]
mov edx, dword [esi + 0x2c]
sub edx, dword [esi + 0x34]
mov eax, dword [edi + 0x91b8]
mov dword [ebp - 8], ebx
mov ebx, dword [ebp + 0xc]
test eax, eax
je 0x10194ebb
push dword [edi + 0x91bc]
mov eax, dword [eax + 0xc]
push 0
push 0
push 0
push edx
push dword [ebp - 8]
push ecx
call eax
add esp, 0x1c
jmp 0x10194ec8
push 0
push edx
push dword [ebp - 8]
push ecx
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jg 0x10194ef4
cmp eax, 0xffffffff
jne 0x10194ee3
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0xb
je 0x10194f32
cmp eax, 0x2733
je 0x10194f32
push dword [ebp + 0x14]
push dword [ebp - 4]
push edi
call fcn.10194460
add esp, 0xc
jmp 0x10194f32
add dword [esi + 0x34], eax
mov eax, dword [esi + 0x2c]
cmp dword [esi + 0x34], eax
jne 0x10194f32
push dword [ebp + 0x14]
push 1
push dword [ebp - 4]
push eax
push dword [esi + 0x30]
push edi
call fcn.10194a00
push dword [esi + 0x30]
call dword [0x1026eac4]
add esp, 0x1c
mov dword [esi + 0x30], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
inc eax
add ecx, 0x58
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
cmp eax, dword [edi + 0x78]
jl 0x10194d35
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret