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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bdee8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x68683c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [ebp + 0x14], 0xabcd0123
jne 0x550b7e
mov byte [ebp + 0x10], 1
mov dword [ebp + 0x14], 1
cmp dword [ebp + 8], 0
je 0x550e88
mov ebx, dword [ebp + 0x18]
mov ecx, ebx
call fcn.004babe0
or esi, 0xffffffff
cmp dword [edi + 0x294], esi
jne 0x550bbe
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
push str.This_socket_is_not_connected
call edx
mov byte [ebx + 0x16], 1
mov word [edi + 0x290], 0
jmp 0x550e88
cmp byte [edi + 0xd5], 0
lea eax, [edi + 0xd5]
je 0x550be1
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
push str.Another_thread_is_already_receiving_on_this_socket.
call edx
jmp 0x550e88
cmp byte [edi + 0xd6], 0
je 0x550c00
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ecx]
mov edx, dword [str.Another_thread_is_closing_this_socket.]
mov eax, dword [eax + 0x14]
push edx
call eax
jmp 0x550e88
push eax
lea ecx, [ebp - 0x18]
call fcn.0044d750
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax]
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], ebx
mov dword [eax], 0
test ebx, ebx
jne 0x550c43
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], esi
call fcn.0044d770
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp dword [ebp + 0x14], 0
jne 0x550c50
mov dword [ebp + 0x14], 0xc042c00
mov edx, dword [ebp + 0x18]
mov esi, dword [ebp + 0x1c]
mov eax, dword [edx + 4]
push esi
push eax
lea ecx, [edi + 0x200]
push 0x1000
call fcn.0059d450
test al, al
je 0x550c89
mov ecx, dword [ebp + 0x18]
mov byte [ecx + 0x15], 1
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.Aborted_by_application_while_download_throttling__2_
mov ecx, esi
call eax
jmp 0x550e79
cmp byte [edi + 0xd6], 0
je 0x550ca6
mov edx, dword [esi]
mov eax, dword [str.Another_thread_is_closing_this_socket.]
mov edx, dword [edx + 0x14]
push eax
mov ecx, esi
call edx
jmp 0x550e79
cmp dword [edi + 0x294], 0xffffffff
jne 0x550cc2
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push str.The_socket_is_already_closed.__Cannot_recv.
mov ecx, esi
call edx
jmp 0x550e79
cmp ebx, 0x100000
jbe 0x550cd4
mov dword [ebp - 0x10], 0x100000
mov ebx, dword [ebp - 0x10]
mov byte [ebp + 0x1f], 1
jmp 0x550ce0
mov eax, dword [ebp + 8]
mov ecx, dword [edi + 0x294]
push 0
push ebx
push eax
push ecx
call dword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
test ebx, ebx
jg 0x550d5f
je 0x550dd6
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x550e0e
cmp byte [ebp + 0x1f], 0
je 0x550e72
cmp byte [ebp + 0x10], 0
jne 0x550e72
mov ecx, dword [ebp + 0x18]
push esi
call fcn.004bac10
test al, al
jne 0x550e79
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
push esi
push edx
push eax
mov ecx, edi
call fcn.0054f510
test al, al
je 0x550e43
mov byte [ebp + 0x1f], 0
test ebx, ebx
jns 0x550e79
mov ebx, dword [ebp - 0x10]
jmp 0x550ce0
mov ecx, dword [ebp + 0xc]
lea edx, [ebx - 0x1000]
mov dword [ecx], ebx
push edx
lea ecx, [edi + 0x200]
call fcn.0059d650
cmp byte [edi + 0x342], 0
je 0x550d93
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 4]
push esi
push ecx
push ebx
lea ecx, [edi + 0xe0]
call fcn.004fb120
cmp byte [edi + 0x339], 0
je 0x550db1
mov edx, dword [ebp + 0x18]
mov ecx, dword [edx + 4]
test ecx, ecx
je 0x550db1
mov eax, ebx
cdq
push esi
push edx
push eax
call fcn.0046f290
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.0044d770
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp byte [esi + 0x125], 0
je 0x550dfd
mov eax, dword [ebp - 0x10]
push eax
push str.maxToReceive
mov ecx, esi
call fcn.00459e10
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.005506d0
mov ecx, dword [ebp + 0x18]
mov byte [ecx + 0x17], 1
jmp 0x550e79
mov ecx, esi
call fcn.00459fd0
mov edx, dword [ebp - 0x10]
push edx
push str.maxToReceive
mov ecx, esi
call fcn.00459e10
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push str.Failed_to_receive_data_on_the_TCP_socket
mov ecx, esi
call edx
mov eax, dword [ebp + 0x18]
mov byte [eax + 0x16], 1
mov byte [edi + 0x290], 0
jmp 0x550e79
mov eax, dword [ebp + 0x18]
cmp byte [eax + 0x15], 0
je 0x550e5c
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.Socket_recv_aborted_by_application
mov ecx, esi
call eax
jmp 0x550e79
cmp byte [eax + 0x14], 0
jne 0x550e79
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.Socket_recv_failed.
mov ecx, esi
call eax
jmp 0x550e79
mov ecx, dword [ebp + 0x18]
mov byte [ecx + 0x14], 1
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.0044d770
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18