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

Disassembly:
push 0xffffffffffffffff
push 0x101a32f8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1026d48c]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [esp + 0x38], 0xabcd0123
jne 0x10111940
mov byte [esp + 0x34], 1
mov dword [esp + 0x38], 1
cmp dword [esp + 0x2c], 0
je 0x10111c33
mov ebx, dword [esp + 0x3c]
mov ecx, ebx
call fcn.10095ac0
or esi, 0xffffffff
cmp dword [edi + 0x294], esi
jne 0x10111988
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
push str.This_socket_is_not_connected
call edx
mov byte [ebx + 0x16], 1
mov byte [edi + 0x290], 0
mov byte [edi + 0x291], 0
jmp 0x10111c33
cmp byte [edi + 0xd5], 0
lea eax, [edi + 0xd5]
je 0x101119ac
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
push str.Another_thread_is_already_receiving_on_this_socket.
call edx
jmp 0x10111c33
cmp byte [edi + 0xd6], 0
je 0x101119cc
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx]
mov edx, dword [str.Another_thread_is_closing_this_socket.]
mov eax, dword [eax + 0x14]
push edx
call eax
jmp 0x10111c33
push eax
lea ecx, [esp + 0x18]
call fcn.10061af0
mov eax, dword [esp + 0x30]
mov ebp, dword [eax]
test ebp, ebp
mov dword [esp + 0x24], 0
mov dword [esp + 0x3c], ebp
mov dword [eax], 0
jne 0x10111a06
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], esi
call fcn.10061b10
mov al, 1
jmp 0x10111c35
cmp dword [esp + 0x38], 0
jne 0x10111a15
mov dword [esp + 0x38], 0xc042c00
mov esi, dword [esp + 0x40]
mov edx, dword [ebx + 4]
push esi
push edx
lea ecx, [edi + 0x200]
push 0x1000
call fcn.10188a50
test al, al
je 0x10111a49
mov byte [ebx + 0x15], 1
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push str.Aborted_by_application_while_download_throttling__2_
mov ecx, esi
call edx
jmp 0x10111c22
cmp byte [edi + 0xd6], 0
je 0x10111a67
mov ecx, dword [str.Another_thread_is_closing_this_socket.]
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push ecx
mov ecx, esi
call edx
jmp 0x10111c22
cmp dword [edi + 0x294], 0xffffffff
jne 0x10111a83
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push str.The_socket_is_already_closed.__Cannot_recv.
mov ecx, esi
call edx
jmp 0x10111c22
cmp ebp, 0x100000
jbe 0x10111a97
mov dword [esp + 0x3c], 0x100000
mov ebp, dword [esp + 0x3c]
mov byte [esp + 0x40], 1
lea esp, [esp]
mov eax, dword [esp + 0x2c]
mov ecx, dword [edi + 0x294]
push 0
push ebp
push eax
push ecx
call dword [sym.imp.WS2_32.dll_recv]
mov ebp, eax
test ebp, ebp
jg 0x10111b24
je 0x10111b89
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x10111bbf
cmp byte [esp + 0x40], 0
je 0x10111c1e
cmp byte [esp + 0x34], 0
jne 0x10111c1e
push esi
mov ecx, ebx
call fcn.10095b00
test al, al
jne 0x10111c22
mov edx, dword [esp + 0x38]
push esi
push ebx
push edx
mov ecx, edi
call fcn.10110370
test al, al
je 0x10111bf2
test ebp, ebp
mov byte [esp + 0x40], 0
jge 0x10111c22
mov ebp, dword [esp + 0x3c]
jmp 0x10111aa0
mov eax, dword [esp + 0x30]
lea ecx, [ebp - 0x1000]
push ecx
lea ecx, [edi + 0x200]
mov dword [eax], ebp
call fcn.10188c60
cmp byte [edi + 0x342], 0
je 0x10111b56
mov edx, dword [ebx + 4]
push esi
push edx
push ebp
lea ecx, [edi + 0xe0]
call fcn.100eea50
cmp byte [edi + 0x339], 0
je 0x10111b71
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x10111b71
mov eax, ebp
cdq
push esi
push edx
push eax
call fcn.1007ad80
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], 0xffffffff
call fcn.10061b10
mov al, 1
jmp 0x10111c35
cmp byte [esi + 0x125], 0
je 0x10111bb1
mov eax, dword [esp + 0x3c]
push eax
push str.maxToReceive
mov ecx, esi
call fcn.100612a0
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.Connection_closed_by_peer.
mov ecx, esi
call eax
push esi
mov ecx, edi
call fcn.101114b0
mov byte [ebx + 0x17], 1
jmp 0x10111c22
mov ecx, esi
call fcn.10061460
mov ecx, dword [esp + 0x3c]
push ecx
push str.maxToReceive
mov ecx, esi
call fcn.100612a0
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.Failed_to_receive_data_on_the_TCP_socket
mov ecx, esi
call eax
mov byte [ebx + 0x16], 1
mov byte [edi + 0x290], 0
jmp 0x10111c22
cmp byte [ebx + 0x15], 0
je 0x10111c08
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.Socket_recv_aborted_by_application
mov ecx, esi
call eax
jmp 0x10111c22
cmp byte [ebx + 0x14], 0
jne 0x10111c22
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.Socket_recv_failed.
mov ecx, esi
call eax
jmp 0x10111c22
mov byte [ebx + 0x14], 1
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], 0xffffffff
call fcn.10061b10
xor al, al
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0x18