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

Disassembly:
enter 0, 2
pushal
mov esi, dword [ebp - 4]
mov dword [esi - 0x34], 1
mov dword [esi - 0x38], 0
cmp dword [esi - 0x34], 0
je 0x4c0bec
mov dword [esi - 0x34], 0
cmp dword [0x53b664], 1
jne 0x4c0647
cmp dword [0x53b678], 1
jne 0x4c0647
lea ecx, [esi - 8]
mov eax, 0x4000
mov ebx, 0x58ecd4
call fcn.004c86a4
mov dword [esi - 0x70], eax
cmp dword [esi - 0x70], 0
jge 0x4c0673
mov eax, dword [esi - 0x70]
mov dword [esi - 0x84], eax
jmp 0x4c0673
push 0
push 0x4000
mov eax, 0x58ecd4
push eax
push dword [0x53b4f8]
call sub.WSOCK32.dll_recv
mov dword [esi - 0x70], eax
cmp dword [esi - 0x70], 0
jge 0x4c0673
call sub.WSOCK32.dll_WSAGetLastError
mov dword [esi - 0x84], eax
cmp dword [esi - 0x70], 0
jle 0x4c0938
inc dword [esi - 0x38]
mov dword [esi - 0x34], 1
mov eax, dword [esi - 0x70]
add dword [0x5c29f4], eax
cmp dword [0x5c2cdc], 0
je 0x4c06b6
cmp dword [0x53b650], 0
je 0x4c06b6
call fcn.00426eac
mov dword [0x53b654], eax
mov eax, 0x5c2648
call fcn.00426254
mov eax, 0x53fd84
mov ebx, 0x5c237c
mov ecx, 0
call fcn.00423ae0
cmp dword [esi - 0x70], 0x4000
jle 0x4c071b
mov eax, str.NetTalk_Error:_Read_more_data_than_we_can_cope_with._Read__bytes___Client_FD_READ._Message_
mov ebx, 0x44
call fcn.00425f5c
mov eax, dword [esi - 0x70]
call fcn.00425c64
call fcn.00425618
mov al, 0
call fcn.00518f8c
mov eax, 0x53fd90
mov ebx, 0x4000
mov ecx, 0x58ecd4
mov edx, 0x4000
call fcn.004208b6
mov dword [0x543d90], 0x4000
jmp 0x4c073a
mov ebx, dword [esi - 0x70]
mov ebx, dword [esi - 0x70]
mov edx, ebx
mov eax, 0x53fd90
mov ecx, 0x58ecd4
call fcn.004208b6
mov eax, dword [esi - 0x70]
mov dword [0x543d90], eax
mov eax, dword [0x53b504]
mov dword [0x53fd84], eax
mov eax, dword [0x53b4f8]
mov dword [0x53fd88], eax
mov eax, dword [0x53b4fc]
mov dword [0x53fd8c], eax
mov dword [0x543d94], 3
inc dword [0x5c2974]
mov eax, dword [0x5c2974]
mov dword [0x543da4], eax
cmp dword [0x5c290c], 0
je 0x4c0840
mov eax, 0x5b97a8
mov ebx, 0x1a
call fcn.00425f5c
mov eax, dword [0x53b520]
call fcn.00425c64
call fcn.00425618
mov eax, 0x5b97c4
mov ebx, 0xa
call fcn.00425f5c
call fcn.00425618
mov eax, dword [0x53b4f8]
call fcn.00425c64
call fcn.00425618
mov eax, 0x5b97d0
mov ebx, 0xa
call fcn.00425f5c
call fcn.00425618
mov eax, dword [0x53b4fc]
call fcn.00425c64
call fcn.00425618
mov eax, str._Total_read_now_
mov ebx, 0x12
call fcn.00425f5c
call fcn.00425618
mov eax, dword [esi - 0x70]
call fcn.00425c64
call fcn.00425618
mov eax, 0x5b97f0
mov ebx, 0x16
call fcn.00425f5c
call fcn.00425618
mov eax, dword [0x543da4]
call fcn.00425c64
call fcn.00425618
mov eax, 0x5b9808
mov ebx, 0x1d
call fcn.00425f5c
mov eax, 0
call fcn.004a7a20
mov eax, 0x5c25f8
call fcn.00426380
cmp dword [0x59a778], 0
je 0x4c08ad
mov eax, str.Client_FD_READ____Could_not_write_to_qSimpleInData._Error_
mov ebx, 0x3c
call fcn.00425f5c
mov eax, dword [0x59a778]
call fcn.00425c64
call fcn.00425618
mov eax, 0x5b9864
mov ebx, 1
call fcn.00425f5c
call fcn.00425618
call fcn.00425ac0
call fcn.004206fb
call fcn.00425618
mov eax, 0x5b9868
mov ebx, 0x1d
call fcn.00425f5c
mov eax, 0x64
call fcn.004a7a20
mov eax, dword [0x53b528]
mov ebx, 0
mov ecx, dword [0x53b524]
mov edx, 0
call fcn.00519018
call fcn.004bff20
cmp dword [0x5c290c], 0
je 0x4c0bd1
mov eax, str.Posted_Notification_to_Thread___Event_
mov ebx, 0x20
call fcn.00425f5c
mov eax, dword [0x53b524]
call fcn.00425c64
call fcn.00425618
mov eax, 0x5b98a8
mov ebx, 9
call fcn.00425f5c
call fcn.00425618
mov eax, dword [0x53b528]
call fcn.00425c64
call fcn.00425618
mov eax, 0x5b98b4
mov ebx, 0x1d
call fcn.00425f5c
mov eax, 0
call fcn.004a7a20
jmp 0x4c0bd1
cmp dword [esi - 0x70], 0
jne 0x4c0978
cmp dword [0x5c290c], 0
je 0x4c0bd1
mov eax, str.Nothing_more_to_read__connection_has_probably_been_closed_
mov ebx, 0x3a
call fcn.00425f5c
mov eax, 0x5b9910
mov ebx, 0x1d
call fcn.00425f5c
mov eax, 0
call fcn.004a7a20
jmp 0x4c0bd1
cmp dword [esi - 0x38], 0
jne 0x4c0bd1
cmp dword [0x53b664], 0
je 0x4c0996
mov eax, dword [esi - 8]
mov dword [esi - 0x84], eax
jmp 0x4c09a1
call sub.WSOCK32.dll_WSAGetLastError
mov dword [esi - 0x84], eax
mov eax, dword [esi - 0x84]
cmp eax, 0x2733
jne 0x4c09e8
cmp dword [0x5c290c], 0
je 0x4c0bd1
mov eax, str.Nothing_more_to_read_for_now__WSAEWOULDBLOCK_.
mov ebx, 0x2e
call fcn.00425f5c
mov eax, 0x5b9960
mov ebx, 0x1d
call fcn.00425f5c
mov eax, 0
call fcn.004a7a20
jmp 0x4c0bd1
cmp eax, 0x2746
je 0x4c09f6
cmp eax, 0x2745
jne 0x4c0a54
cmp dword [0x5c290c], 0
je 0x4c0bd1
mov eax, str.Connection_was_closed__hard__from_the_Remote_Side._Can_not_read_from_it.__
mov ebx, 0x4a
call fcn.00425f5c
mov eax, dword [esi - 0x84]
call fcn.00425c64
call fcn.00425618
mov eax, 0x5b99cc
mov ebx, 1
call fcn.00425f5c
call fcn.00425618
mov eax, 0x5b99d0
mov ebx, 0x1d
call fcn.00425f5c
mov eax, 0
call fcn.004a7a20
jmp 0x4c0bd1
cmp eax, 0x86
jne 0x4c0a95
cmp dword [0x5c290c], 0
je 0x4c0bd1
mov eax, str.SSL_Remote_Certificate_Verification_Failed
mov ebx, 0x2a
call fcn.00425f5c
mov eax, 0x5b9a1c
mov ebx, 0x1d
call fcn.00425f5c
mov eax, 0
call fcn.004a7a20
jmp 0x4c0bd1
cmp dword [0x53b664], 0
je 0x4c0b22
mov eax, str.Error_trying_to_read_Data_from_SSL_Socket.__loc:rc_
mov ebx, 0x35
call fcn.00425f5c
mov eax, dword [esi - 0x70]
call fcn.00425c64
call fcn.00425618
mov eax, 0x5b9a74
mov ebx, 0xa
call fcn.00425f5c
call fcn.00425618
mov eax, dword [esi - 0x84]
call fcn.00425c64
call fcn.00425618
mov eax, 0x5b9a80
mov ebx, 4
call fcn.00425f5c
call fcn.00425618
mov eax, dword [esi - 0x84]
push eax
call fcn.004a5630
call fcn.00425618
mov eax, 0x5b9a84
mov ebx, 0x1d
call fcn.00425f5c
mov eax, 0x64
call fcn.004a7a20
jmp 0x4c0ba0
mov eax, str.Error_trying_to_read_Data_from_Socket.__loc:rc_
mov ebx, 0x31
call fcn.00425f5c
mov eax, dword [esi - 0x70]
call fcn.00425c64
call fcn.00425618
mov eax, str.__Error_
mov ebx, 0xa
call fcn.00425f5c
call fcn.00425618
mov eax, dword [esi - 0x84]
call fcn.00425c64
call fcn.00425618
mov eax, str.___SimpleClient_Async___ReadData
mov ebx, 4
call fcn.00425f5c
call fcn.00425618
mov eax, dword [esi - 0x84]
push eax
call fcn.004a5630
call fcn.00425618
mov eax, 0x5b9ae8
mov ebx, 0x1d
call fcn.00425f5c
mov eax, 0x64
call fcn.004a7a20
cmp dword [0x5c290c], 0
je 0x4c0bd1
mov eax, str.Nothing_to_read._Could_not_read.SimpleClient_Async
mov ebx, 0x20
call fcn.00425f5c
mov eax, 0x5b9b28
mov ebx, 0x12
call fcn.00425f5c
mov eax, 0
call fcn.004a7a20
cmp dword [0x5c274c], 1
jne 0x4c05fe
cmp word [esi - 0x88], 1
jne 0x4c05fe
cmp dword [0x5c290c], 0
je 0x4c0c2a
mov eax, str.Number_of_Reads_
mov ebx, 0x12
call fcn.00425f5c
mov eax, dword [esi - 0x38]
call fcn.00425c64
call fcn.00425618
mov eax, str.SimpleClient_Async___ReadData
mov ebx, 0x1d
call fcn.00425f5c
mov eax, 0
call fcn.004a7a20
popal
leave
ret