Function at 0x408d10
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 0x408d29
xor al, al
jmp 0x40901d
mov byte [ebp - 1], 0
mov ecx, dword [ebp - 0x3c]
cmp dword [ecx + 0x2c], 0xffffffff
je 0x40900d
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 0x408d77
mov dword [ebp - 0xc], 0x19000
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0xc]
jle 0x408d85
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
push eax
call fcn.00425067
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.00425067
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 0x408f27
mov ecx, dword [ebp - 0x3c]
call fcn.00408cc0
movzx eax, al
test eax, eax
jne 0x408dd6
jmp 0x408f27
mov ecx, dword [ebp - 8]
push ecx
push 0
mov edx, dword [ebp - 0x14]
push edx
call fcn.0042a860
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 0x408e1b
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 0x68], 1
mov byte [ebp - 1], 0
jmp 0x408f27
cmp dword [ebp - 0x20], 0
jne 0x408e30
mov edx, dword [ebp - 0x3c]
mov dword [edx + 0x68], 3
jmp 0x408f27
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.00427ec0
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 0x408e82
push 0
mov ecx, dword [ebp - 0x3c]
call fcn.00408b20
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 [0x4427f0]
fdivp st(1)
fmul qword [0x442830]
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 0x408f16
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x18]
cmp ecx, 0x400
jle 0x408f0b
mov dword [ebp - 8], 0x400
jmp 0x408f14
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x408f22
mov eax, dword [ebp - 0x3c]
mov dword [eax + 0x68], 3
jmp 0x408f27
jmp 0x408db5
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.00408760
cmp dword [ebp - 0x14], 0
je 0x408f66
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00425dd3
add esp, 4
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0xc], 0
je 0x408f8e
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
push eax
call fcn.00425dd3
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.00425067
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.0042a860
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.00427ec0
add esp, 0xc
push 0
mov ecx, dword [ebp - 0x3c]
call fcn.00408b20
cmp dword [ebp - 0x1c], 0
je 0x409001
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.00425dd3
add esp, 4
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x3c]
call fcn.00408760
push str.__________
call fcn.00426411
add esp, 4
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret