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

Disassembly:
enter 0, 2
pushal
mov esi, dword [ebp - 4]
mov dword [esi - 0xc], 1
mov dword [esi - 0x10], 0
cmp dword [esi - 0xc], 0
je 0x4ba9a6
mov dword [esi - 0xc], 0
cmp dword [0x53b9d0], 1
jne 0x4ba438
cmp dword [0x53bd50], 1
jne 0x4ba438
lea ecx, [esi - 8]
mov eax, 0x4000
mov ebx, 0x58acd4
call fcn.004c75e0
mov dword [esi - 0x14], eax
jmp 0x4ba461
push 0
push 0x4000
mov eax, 0x58acd4
push eax
push dword [0x53bcf4]
call sub.WSOCK32.dll_recv
mov dword [esi - 0x14], eax
cmp dword [esi - 0x14], 0
jge 0x4ba461
call sub.WSOCK32.dll_WSAGetLastError
mov dword [esi - 0x28], eax
cmp dword [0x5c290c], 0
je 0x4ba49f
mov eax, str.SimpleServer_Async_loc:ret__A__
mov ebx, 0x21
call fcn.00425f5c
mov eax, dword [esi - 0x28]
call fcn.00425c64
call fcn.00425618
mov eax, 0x5b5ae0
mov ebx, 0x1d
call fcn.00425f5c
mov eax, 0
call fcn.004a7a20
cmp dword [esi - 0x14], 0
jle 0x4ba783
inc dword [esi - 0x10]
mov dword [esi - 0xc], 1
mov eax, dword [esi - 0x14]
add dword [0x5c29f4], eax
cmp dword [0x5c2cdc], 0
je 0x4ba4e2
cmp dword [0x53bd40], 0
je 0x4ba4e2
call fcn.00426eac
mov dword [0x53bd44], eax
mov eax, 0x5c2628
call fcn.00426254
mov eax, 0x53fd84
mov ebx, 0x5c237c
mov ecx, 0
call fcn.00423ae0
cmp dword [esi - 0x14], 0x4000
jle 0x4ba547
mov eax, str.NetTalk_Error:_Read_more_data_than_we_can_cope_with._Read__bytes___Server_FD_READ._Total_bytes_read_
mov ebx, 0x44
call fcn.00425f5c
mov eax, dword [esi - 0x14]
call fcn.00425c64
call fcn.00425618
mov al, 0
call fcn.00518f8c
mov eax, 0x53fd90
mov ebx, 0x4000
mov ecx, 0x58acd4
mov edx, 0x4000
call fcn.004208b6
mov dword [0x543d90], 0x4000
jmp 0x4ba566
mov ebx, dword [esi - 0x14]
mov ebx, dword [esi - 0x14]
mov edx, ebx
mov eax, 0x53fd90
mov ecx, 0x58acd4
call fcn.004208b6
mov eax, dword [esi - 0x14]
mov dword [0x543d90], eax
mov eax, dword [0x53bd08]
mov dword [0x53fd84], eax
mov eax, dword [0x53bcf4]
mov dword [0x53fd88], eax
mov eax, dword [0x53bcf8]
mov dword [0x53fd8c], eax
mov dword [0x543d94], 3
movzx eax, word [0x53b99e]
push eax
call sub.WSOCK32.dll_ntohs
mov word [0x543d98], ax
mov eax, dword [0x53b998]
mov dword [0x543da0], eax
mov eax, dword [0x53b994]
mov dword [0x543d9c], eax
inc dword [0x5c2974]
mov eax, dword [0x5c2974]
mov dword [0x543da4], eax
cmp dword [0x5c290c], 0
je 0x4ba68b
cmp word [esi - 0x2c], 1
jne 0x4ba633
mov eax, 0x5b5b44
mov ebx, 0x23
call fcn.00425f5c
mov eax, dword [esi - 0x14]
call fcn.00425c64
call fcn.00425618
mov eax, 0x5b5b68
mov ebx, 0x16
call fcn.00425f5c
call fcn.00425618
mov eax, dword [0x543da4]
call fcn.00425c64
call fcn.00425618
mov eax, 0x5b5b80
mov ebx, 0x1d
call fcn.00425f5c
mov eax, 0
call fcn.004a7a20
jmp 0x4ba68b
mov eax, str.Server_read._Total_bytes_read____DebugPacketNumber_
mov ebx, 0x20
call fcn.00425f5c
mov eax, dword [esi - 0x14]
call fcn.00425c64
call fcn.00425618
mov eax, 0x5b5bc0
mov ebx, 0x16
call fcn.00425f5c
call fcn.00425618
mov eax, dword [0x543da4]
call fcn.00425c64
call fcn.00425618
mov eax, 0x5b5bd8
mov ebx, 0x1d
call fcn.00425f5c
mov eax, 0
call fcn.004a7a20
mov eax, 0x5c25f8
call fcn.00426380
cmp dword [0x59a778], 0
je 0x4ba6f8
mov eax, 0x5b5bf8
mov ebx, 0x42
call fcn.00425f5c
mov eax, dword [0x59a778]
call fcn.00425c64
call fcn.00425618
mov eax, 0x5b5c3c
mov ebx, 1
call fcn.00425f5c
call fcn.00425618
call fcn.00425ac0
call fcn.004206fb
call fcn.00425618
mov eax, 0x5b5c40
mov ebx, 0x1d
call fcn.00425f5c
mov eax, 0x64
call fcn.004a7a20
mov eax, dword [0x53bd28]
mov ebx, 0
mov ecx, dword [0x53bd24]
mov edx, 0
call fcn.00519018
call fcn.004b9d2c
cmp dword [0x5c290c], 0
je 0x4ba98e
mov eax, 0x5b5c60
mov ebx, 0x20
call fcn.00425f5c
mov eax, dword [0x53bd24]
call fcn.00425c64
call fcn.00425618
mov eax, 0x5b5c80
mov ebx, 9
call fcn.00425f5c
call fcn.00425618
mov eax, dword [0x53bd28]
call fcn.00425c64
call fcn.00425618
mov eax, 0x5b5c8c
mov ebx, 0x1d
call fcn.00425f5c
mov eax, 0
call fcn.004a7a20
jmp 0x4ba98e
cmp dword [esi - 0x14], 0
jne 0x4ba7c3
cmp dword [0x5c290c], 0
je 0x4ba98e
mov eax, 0x5b5cac
mov ebx, 0x3a
call fcn.00425f5c
mov eax, 0x5b5ce8
mov ebx, 0x1d
call fcn.00425f5c
mov eax, 0
call fcn.004a7a20
jmp 0x4ba98e
cmp dword [esi - 0x10], 0
jne 0x4ba98e
cmp dword [0x53b9d0], 0
je 0x4ba7de
mov eax, dword [esi - 8]
mov dword [esi - 0x28], eax
jmp 0x4ba7e6
call sub.WSOCK32.dll_WSAGetLastError
mov dword [esi - 0x28], eax
cmp dword [0x5c290c], 0
je 0x4ba824
mov eax, str.SimpleServer_Async_loc:ret__B__
mov ebx, 0x21
call fcn.00425f5c
mov eax, dword [esi - 0x28]
call fcn.00425c64
call fcn.00425618
mov eax, str.SimpleServer_Async___ReadData
mov ebx, 0x1d
call fcn.00425f5c
mov eax, 0
call fcn.004a7a20
mov eax, dword [esi - 0x28]
cmp eax, 0x2733
jne 0x4ba868
cmp dword [0x5c290c], 0
je 0x4ba98e
mov eax, 0x5b5d4c
mov ebx, 0x2e
call fcn.00425f5c
mov eax, 0x5b5d7c
mov ebx, 0x12
call fcn.00425f5c
mov eax, 0
call fcn.004a7a20
jmp 0x4ba98e
cmp eax, 0x2746
je 0x4ba876
cmp eax, 0x2745
jne 0x4ba8d1
cmp dword [0x5c290c], 0
je 0x4ba98e
mov eax, str.This_connection_was_closed__hard_._Can_not_read_from_it.__
mov ebx, 0x3a
call fcn.00425f5c
mov eax, dword [esi - 0x28]
call fcn.00425c64
call fcn.00425618
mov eax, 0x5b5dcc
mov ebx, 1
call fcn.00425f5c
call fcn.00425618
mov eax, 0x5b5dd0
mov ebx, 0x12
call fcn.00425f5c
mov eax, 0
call fcn.004a7a20
jmp 0x4ba98e
mov eax, 0x5b5de4
mov ebx, 0x31
call fcn.00425f5c
mov eax, dword [esi - 0x14]
call fcn.00425c64
call fcn.00425618
mov eax, 0x5b5e18
mov ebx, 1
call fcn.00425f5c
call fcn.00425618
mov eax, 0x5b5e1c
mov ebx, 9
call fcn.00425f5c
call fcn.00425618
mov eax, dword [esi - 0x28]
call fcn.00425c64
call fcn.00425618
mov eax, str.___SimpleServer_Async___Do_ReadNothing_to_read._Could_not_read.SimpleServer_Async___ReadData
mov ebx, 4
call fcn.00425f5c
call fcn.00425618
mov eax, dword [esi - 0x28]
push eax
call fcn.004a5630
call fcn.00425618
mov eax, 0x5b5e2c
mov ebx, 0x1c
call fcn.00425f5c
mov eax, 0x64
call fcn.004a7a20
cmp dword [0x5c290c], 0
je 0x4ba98e
mov eax, 0x5b5e48
mov ebx, 0x20
call fcn.00425f5c
mov eax, 0x5b5e68
mov ebx, 0x1d
call fcn.00425f5c
mov eax, 0
call fcn.004a7a20
cmp dword [0x5c2750], 1
jne 0x4ba3fe
cmp word [esi - 0x2c], 1
jne 0x4ba3fe
cmp dword [0x5c290c], 0
je 0x4ba9e4
mov eax, str.ReadCount__SimpleServer_Async
mov ebx, 0xc
call fcn.00425f5c
mov eax, dword [esi - 0x10]
call fcn.00425c64
call fcn.00425618
mov eax, 0x5b5e94
mov ebx, 0x12
call fcn.00425f5c
mov eax, 0
call fcn.004a7a20
popal
leave
ret