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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x413ddb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x20]
push eax
mov ebx, ecx
call fcn.004052b0
lea ecx, [esp + 0x20]
mov dword [esp + 0x134], 0
call fcn.00405800
mov esi, eax
mov ecx, 0x20
lea edi, [esp + 0xa8]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0xc]
mov edx, dword [ecx + 0x1c]
lea eax, [edx*4 + 4]
push eax
call fcn.00409097
mov ecx, dword [ebx + 0xc]
mov edx, dword [ecx + 0x1c]
mov edi, eax
add esp, 4
xor eax, eax
test edx, edx
jl 0x403452
lea esp, [esp]
mov dword [edi + eax*4], 0
mov edx, dword [ebx + 0xc]
mov ecx, dword [edx + 0x1c]
inc eax
cmp eax, ecx
jle 0x403440
mov ecx, ebx
call fcn.00402f10
lea ebp, [ebx + 0x38]
lea esp, [esp]
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 4]
push 0
push ecx
push edx
push eax
call dword [sym.imp.WS2_32.dll_recv]
push 0
push ebp
mov esi, eax
call fcn.00406c20
add esp, 8
mov ecx, ebx
call fcn.00403050
mov ecx, dword [ebx + 0x18]
mov eax, esi
cdq
add ecx, eax
mov dword [ebx + 0x18], ecx
adc dword [ebx + 0x1c], edx
mov ecx, dword [ebx + 0xc]
cmp esi, dword [ecx + 0x1c]
jg 0x4034a4
inc dword [edi + esi*4]
test esi, esi
jle 0x4034b1
mov al, byte [0x41af48]
test al, al
je 0x403460
lea esi, [ebx + 0x48]
push 0
push esi
call fcn.00406c20
mov edx, dword [0x41af50]
add esp, 8
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebx + 0x44]
mov edx, dword [esi + 4]
mov eax, dword [ebx + 0x40]
sub edx, ecx
mov ecx, dword [esi]
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
mov edx, dword [ebx + 0x1c]
sub ecx, eax
mov eax, dword [ebx + 0x18]
fmul qword [0x415378]
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
sub esp, 8
mov ecx, ebx
faddp st(1)
fstp qword [esp]
push 0
push 0
push edx
push eax
call fcn.004023a0
mov ecx, dword [0x41af50]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov edx, dword [ebx + 0xc]
mov al, byte [edx + 0x48]
test al, al
je 0x4035d4
mov eax, dword [ebx + 4]
push eax
call fcn.00408850
add esp, 4
push eax
mov ecx, ebx
call fcn.004029c0
mov edx, dword [ebx + 0xc]
mov edx, dword [edx + 0x1c]
xor ecx, ecx
xor eax, eax
inc edx
test edx, edx
mov dword [esp + 0x14], ecx
jle 0x403563
mov edx, dword [ebx + 0xc]
mov edx, dword [edx + 0x1c]
inc edx
add ecx, dword [edi + eax*4]
inc eax
cmp eax, edx
jl 0x403557
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
fst qword [esp + 0x18]
fmul qword [0x4158a8]
call fcn.00409a50
mov ebp, eax
mov eax, dword [ebx + 4]
push eax
push str.__3d__Read_lengths_occurring_in_more_than_5___of_reads:_n
call fcn.004090a5
mov ecx, dword [ebx + 0xc]
mov edx, dword [ecx + 0x1c]
add esp, 8
xor esi, esi
inc edx
test edx, edx
jle 0x4035d4
mov eax, dword [edi + esi*4]
cmp eax, ebp
mov dword [esp + 0x14], eax
jle 0x4035c8
fild dword [esp + 0x14]
sub esp, 8
fmul qword [0x4156f8]
fdiv qword [esp + 0x20]
fstp qword [esp]
push eax
mov eax, dword [ebx + 4]
push esi
push eax
push str.__3d___5d_bytes_read__5d_times___.3g____n
call fcn.004090a5
add esp, 0x18
mov ecx, dword [ebx + 0xc]
mov edx, dword [ecx + 0x1c]
inc esi
inc edx
cmp esi, edx
jl 0x403596
test edi, edi
je 0x4035e1
push edi
call fcn.00409092
add esp, 4
mov eax, dword [0x41af44]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [esp + 0xa8]
push 0x41af40
push ecx
call fcn.00401640
mov edx, dword [0x41af44]
add esp, 8
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
lea ecx, [esp + 0x20]
mov dword [esp + 0x134], 0xffffffff
call fcn.00408840
mov ecx, dword [esp + 0x12c]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret