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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov edi, dword [ebp + 8]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov eax, dword [edi + 4]
mov dword [ebp - 0x1c], eax
mov dword [esp], 0x20
call fcn.00409750
test eax, eax
mov esi, eax
je 0x4064a0
mov dword [eax], 0
mov ebx, dword [edi]
mov dword [esp], ebx
call fcn.004047d0
mov dword [ebx + 0x14], eax
lea edx, [esi + 0x10]
mov dword [ebp - 0x20], edx
jmp 0x406334
cdq
add dword [ebp - 0x18], eax
mov eax, dword [esi]
adc dword [ebp - 0x14], edx
test eax, eax
js 0x4063b0
test byte [ecx + 0x41], 8
jne 0x4063d0
test ebx, ebx
jle 0x4063f0
xor eax, eax
mov dword [esp + 0xc], eax
mov edx, dword [edi]
mov eax, dword [edx + 0x34]
mov dword [esp + 8], eax
mov eax, dword [edi + 4]
mov dword [esp + 4], eax
mov eax, dword [edx + 0x2c]
mov dword [esp], eax
call sub.cygwin1.dll_recv
mov ecx, dword [edi]
mov ebx, eax
test byte [ecx + 0x41], 8
je 0x406311
mov dword [esi + 8], ebx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
xchg ah, al
ror eax, 0x10
xchg ah, al
mov dword [esi], eax
mov eax, dword [edx + 4]
xchg ah, al
ror eax, 0x10
xchg ah, al
mov dword [esi + 0x18], eax
mov eax, dword [edx + 8]
xchg ah, al
ror eax, 0x10
xchg ah, al
mov dword [esi + 0x1c], eax
mov eax, ebx
sar eax, 0x1f
mov dword [esi + 0xc], eax
xor eax, eax
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x20]
mov dword [esp], edx
call sub.cygwin1.dll_gettimeofday
mov eax, dword [esi]
mov ecx, dword [edi]
test eax, eax
jns 0x406322
nop
neg eax
mov ebx, 0xffffffff
mov dword [esi], eax
test byte [ecx + 0x41], 8
je 0x40632c
lea esi, [esi]
lea edi, [edi]
mov dword [esp + 4], esi
mov eax, dword [ecx + 0x14]
mov dword [esp], eax
call fcn.00404c10
test ebx, ebx
jg 0x406334
mov esi, esi
lea edi, [edi]
xor ecx, ecx
mov dword [esp + 4], ecx
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sub.cygwin1.dll_gettimeofday
mov ecx, dword [edi]
test byte [ecx + 0x41], 8
je 0x40647e
mov dword [esp + 4], esi
mov eax, dword [ecx + 0x14]
mov dword [esp], eax
call fcn.00404d20
mov eax, dword [edi]
mov eax, dword [eax + 0x40]
test ah, 8
je 0x406430
test ah, 0x40
je 0x4064cd
nop
lea esi, [esi]
mov dword [esp], 0x413004
call sub.cygwin1.dll_pthread_mutex_lock
mov eax, 0x413008
mov dword [esp + 4], eax
mov eax, dword [edi]
add eax, 0x78
mov dword [esp], eax
call fcn.004025e0
mov dword [esp], 0x413004
call fcn.0040d248
test esi, esi
je 0x40646a
mov dword [esp], esi
call fcn.00409730
mov eax, dword [edi]
mov eax, dword [eax + 0x14]
mov dword [ebp + 8], eax
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.00404d90
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
mov dword [esp + 4], esi
mov eax, dword [ecx + 0x14]
mov dword [esp], eax
call fcn.00404c10
mov ecx, dword [edi]
jmp 0x406409
mov dword [esp], 0x410ca0
mov edx, 0x95
mov eax, str._home_Owner_build_iperf_cygport_iperf_2.0.4_1_src_iperf_2.0.4_src_Server.cpp
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004095b0
mov eax, dword [edi]
mov dword [esp], eax
call fcn.00409120
jmp 0x406430
mov dword [esp], edi
call fcn.00406010
jmp 0x406430