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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x432830
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x43e460]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea esi, [ebx + 0xe0]
xor edi, edi
mov ecx, esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], edi
call fcn.004199b0
lea eax, [ebp + 8]
push eax
lea edx, [ebp - 0x10]
lea ecx, [ebx + 0xcc]
push edx
mov dword [ebp - 4], edi
call fcn.0040f120
mov edi, dword [ebp - 0x10]
cmp edi, dword [ebx + 0xd0]
jne 0x40fe5b
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x40ffe3
mov ecx, esi
call fcn.004199c0
jmp 0x40ffe3
push 0x1c
call fcn.0041bdc4
add esp, 4
test eax, eax
je 0x40fe7d
mov esi, dword [edi + 0x10]
mov ecx, 7
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
jmp 0x40fe84
mov dword [ebp - 0x10], 0
mov edi, dword [ebp + 8]
push edi
push str.Have_new_dataCreated_a_new_channel_on_socket:__d_n
call fcn.0041c026
add esp, 8
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x40fea7
mov ecx, esi
call fcn.004199c0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
mov ecx, dword [ebx + 0xec]
cmp eax, ecx
jb 0x40feb9
mov eax, ecx
mov ecx, dword [ebx + 0xe8]
push 0
push eax
push ecx
push edi
call dword [sym.imp.WS2_32.dll_recv]
mov esi, eax
test esi, esi
jle 0x40fef6
push edi
push esi
push str.Received__d_bytes_from_socket__d._Sending_to_LME_n
call fcn.0041c026
mov ecx, dword [ebx + 0xe8]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
add esp, 0xc
push ecx
push esi
push eax
mov ecx, ebx
call fcn.00408140
jmp 0x40ff2a
jne 0x40ff08
push edi
push str.Received_0_bytes_from_socket__d._n
call fcn.0041c026
add esp, 8
jmp 0x40ff2a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov dword [ebp - 0x14], eax
call fcn.00404cb0
mov edx, dword [ebp - 0x14]
push eax
push edx
push edi
push str.Receive_error_on_socket__d___d_:__s_n
call fcn.0041c026
add esp, 0x14
lea edi, [ebx + 0xe0]
mov ecx, edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], 0
call fcn.004199b0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebx + 0xcc]
mov dword [ebp - 4], 1
call fcn.0040f120
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebx + 0xd0]
jne 0x40ff86
mov edx, dword [ebp - 0x10]
push edx
call fcn.0041b244
add esp, 4
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x40ffe3
mov ecx, edi
call fcn.004199c0
jmp 0x40ffe3
test esi, esi
jle 0x40ffae
mov edx, dword [ecx + 0x10]
mov eax, esi
neg eax
add dword [edx + 0xc], eax
mov ecx, dword [ecx + 0x10]
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx]
push eax
push esi
push ecx
push str.channel__d_reduces_its_window_size_by__d_and_result_is__d_n
call fcn.0041c026
add esp, 0x10
jmp 0x40ffc5
mov ecx, dword [ecx + 0x10]
mov eax, dword [ebp - 0x10]
mov dword [ecx + 0x14], 2
mov eax, dword [eax]
push eax
mov ecx, ebx
call fcn.004080c0
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x40ffd7
mov ecx, edi
call fcn.004199c0
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0041b244
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4