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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x6c], 5
je 0x40e0b9
xor al, al
jmp 0x40e3ad
mov byte [ebp - 1], 0
mov ecx, dword [ebp - 0x3c]
cmp dword [ecx + 0x2c], 0xffffffff
je 0x40e39d
mov byte [ebp - 1], 1
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0x400
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0xc], 0
jg 0x40e107
mov dword [ebp - 0xc], 0x19000
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0xc]
jle 0x40e115
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
push eax
call fcn.004494ce
add esp, 4
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.004494ce
add esp, 4
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], ecx
mov edx, 1
test edx, edx
je 0x40e2b7
mov ecx, dword [ebp - 0x3c]
call fcn.0040e020
movzx eax, al
test eax, eax
jne 0x40e166
jmp 0x40e2b7
mov ecx, dword [ebp - 8]
push ecx
push 0
mov edx, dword [ebp - 0x14]
push edx
call fcn.00453010
add esp, 0xc
push 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x2c]
push eax
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jne 0x40e1ab
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 0x68], 1
mov byte [ebp - 1], 0
jmp 0x40e2b7
cmp dword [ebp - 0x20], 0
jne 0x40e1c0
mov edx, dword [ebp - 0x3c]
mov dword [edx + 0x68], 3
jmp 0x40e2b7
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.0044fb00
add esp, 0xc
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0x20]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x60]
add eax, 1
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 0x60], eax
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x60]
xor edx, edx
mov ecx, 0x64
div ecx
test edx, edx
jne 0x40e212
push 0
mov ecx, dword [ebp - 0x3c]
call fcn.0040de00
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x18]
mov dword [edx + 0x40], eax
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x3c]
mov dword [edx + 0x48], ecx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 0x40]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], 0
fild qword [ebp - 0x44]
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 0
fild qword [ebp - 0x4c]
fmul qword [0x4857d0]
fdivp st(1)
fmul qword [0x4857f8]
fnstcw word [ebp - 0x4e]
movzx eax, word [ebp - 0x4e]
or eax, 0xc00
mov dword [ebp - 0x54], eax
fldcw word [ebp - 0x54]
fistp qword [ebp - 0x5c]
fldcw word [ebp - 0x4e]
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x3c]
mov dword [edx + 0x44], ecx
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0xc]
jge 0x40e2a6
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x18]
cmp ecx, 0x400
jle 0x40e29b
mov dword [ebp - 8], 0x400
jmp 0x40e2a4
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x40e2b2
mov eax, dword [ebp - 0x3c]
mov dword [eax + 0x68], 3
jmp 0x40e2b7
jmp 0x40e145
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 0x48], 0
mov edx, dword [ebp - 0x3c]
mov dword [edx + 0x44], 0x64
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x3c]
call fcn.0040da40
cmp dword [ebp - 0x14], 0
je 0x40e2f6
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0044ad2a
add esp, 4
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0xc], 0
je 0x40e31e
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
push eax
call fcn.0044ad2a
add esp, 4
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 0x18]
add edx, 1
push edx
call fcn.004494ce
add esp, 4
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x34]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp - 0x18]
add edx, 1
push edx
push 0
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 0xc]
push ecx
call fcn.00453010
add esp, 0xc
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + 0xc]
push edx
call fcn.0044fb00
add esp, 0xc
push 0
mov ecx, dword [ebp - 0x3c]
call fcn.0040de00
cmp dword [ebp - 0x1c], 0
je 0x40e391
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.0044ad2a
add esp, 4
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x3c]
call fcn.0040da40
push str.__________
call fcn.0044b4a1
add esp, 4
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret