Function at 0x40e8d0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x549bb8
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0xb8
mov eax, dword [0x599690]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0xb8], ecx
mov dword [ebp - 4], 3
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x18], ax
mov byte [ebp - 0x20], 5
mov byte [ebp - 0x1f], 1
mov ecx, dword [ebp + 0x10]
neg ecx
sbb ecx, ecx
and ecx, 2
mov byte [ebp - 0x1e], cl
lea ecx, [ebp - 0x40]
call fcn.004227d8
mov byte [ebp - 4], 4
mov byte [ebp - 4], 5
push 0
push 3
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax + 0x40]
push ecx
call dword [sym.imp.WS2_32.dll_send]
xor edx, edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov word [ebp - 0x2c], dx
push 5
push 2
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0xb8]
call fcn.00411bc0
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 2
je 0x40e9d7
mov ecx, dword [ebp + 0x28]
mov dword [ecx], 2
mov dword [ebp - 0x74], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.00413120
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.004049f0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x14]
call fcn.004049f0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x18]
call fcn.004049f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.004049f0
mov eax, dword [ebp - 0x74]
jmp 0x40f0ec
jmp 0x40ea09
mov dword [ebp - 4], 4
jmp 0x40ea59
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.00413120
movzx ecx, byte [ebp - 0x33]
cmp ecx, 0xff
jne 0x40eabc
mov edx, dword [ebp + 0x28]
mov dword [edx], 3
mov dword [ebp - 0x7c], 0
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.004049f0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x14]
call fcn.004049f0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x18]
call fcn.004049f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.004049f0
mov eax, dword [ebp - 0x7c]
jmp 0x40f0ec
movzx eax, byte [ebp - 0x33]
test eax, eax
je 0x40edcc
movzx ecx, byte [ebp - 0x33]
cmp ecx, 2
je 0x40eb1c
mov edx, dword [ebp + 0x28]
mov dword [edx], 4
mov dword [ebp - 0x80], 0
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.004049f0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x14]
call fcn.004049f0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x18]
call fcn.004049f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.004049f0
mov eax, dword [ebp - 0x80]
jmp 0x40f0ec
cmp dword [ebp + 0x10], 0
je 0x40ed7b
lea ecx, [ebp + 0x18]
call fcn.004036a0
mov esi, eax
lea ecx, [ebp + 0x14]
call fcn.004036a0
lea eax, [eax + esi + 4]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
push ecx
call fcn.00422360
add esp, 4
mov dword [ebp - 0x84], eax
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push str.___s__s
mov edx, dword [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x4c]
push eax
call fcn.00522267
add esp, 0x14
mov ecx, dword [ebp - 0x4c]
mov byte [ecx], 5
lea ecx, [ebp + 0x14]
call fcn.004036a0
mov edx, dword [ebp - 0x4c]
mov byte [edx + 1], al
lea ecx, [ebp + 0x14]
call fcn.004036a0
mov esi, eax
lea ecx, [ebp + 0x18]
call fcn.004036a0
mov ecx, dword [ebp - 0x4c]
mov byte [ecx + esi + 2], al
mov edx, dword [ebp - 0x50]
sub edx, 1
mov dword [ebp - 0x50], edx
lea ecx, [ebp - 0x58]
call fcn.004227d8
mov byte [ebp - 4], 7
mov byte [ebp - 4], 8
push 0
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0xb8]
mov eax, dword [edx + 0x40]
push eax
call dword [sym.imp.WS2_32.dll_send]
xor ecx, ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov word [ebp - 0x2c], cx
push 5
push 2
lea edx, [ebp - 0x34]
push edx
mov ecx, dword [ebp - 0xb8]
call fcn.00411bc0
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
push ecx
call fcn.0042236b
add esp, 4
cmp dword [ebp - 0x5c], 2
je 0x40ec74
mov edx, dword [ebp + 0x28]
mov dword [edx], 5
mov dword [ebp - 0x8c], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.00413120
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.004049f0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x14]
call fcn.004049f0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x18]
call fcn.004049f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.004049f0
mov eax, dword [ebp - 0x8c]
jmp 0x40f0ec
jmp 0x40ecc1
mov dword [ebp - 4], 7
jmp 0x40ed14
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.00413120
movzx ecx, byte [ebp - 0x33]
test ecx, ecx
je 0x40ed79
mov edx, dword [ebp + 0x28]
mov dword [edx], 5
mov dword [ebp - 0x98], 0
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.004049f0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x14]
call fcn.004049f0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x18]
call fcn.004049f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.004049f0
mov eax, dword [ebp - 0x98]
jmp 0x40f0ec
jmp 0x40edcc
mov eax, dword [ebp + 0x28]
mov dword [eax], 6
mov dword [ebp - 0x9c], 0
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.004049f0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x14]
call fcn.004049f0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x18]
call fcn.004049f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.004049f0
mov eax, dword [ebp - 0x9c]
jmp 0x40f0ec
lea ecx, [ebp + 0x20]
call fcn.004036a0
add eax, 0xb
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.00422360
add esp, 4
mov dword [ebp - 0xa0], eax
mov edx, dword [ebp - 0xa0]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x38]
push eax
push 0
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.00523530
add esp, 0xc
mov edx, dword [ebp - 0x28]
mov byte [edx], 5
mov eax, dword [ebp - 0x28]
mov byte [eax + 1], 1
mov ecx, dword [ebp - 0x28]
mov byte [ecx + 2], 0
xor edx, edx
cmp dword [ebp + 0x1c], 0
sete dl
lea edx, [edx + edx + 1]
mov eax, dword [ebp - 0x28]
mov byte [eax + 3], dl
mov dword [ebp - 0x24], 4
cmp dword [ebp + 0x1c], 0
je 0x40ee54
mov ecx, dword [ebp - 0x28]
add ecx, dword [ebp - 0x24]
mov edx, dword [ebp + 0x1c]
mov dword [ecx], edx
mov eax, dword [ebp - 0x24]
add eax, 4
mov dword [ebp - 0x24], eax
jmp 0x40eee3
lea ecx, [ebp + 0x20]
call fcn.004036a0
mov ecx, dword [ebp - 0x28]
add ecx, dword [ebp - 0x24]
mov byte [ecx], al
lea ecx, [ebp + 0x20]
call fcn.004065e0
mov dword [ebp - 0xbc], eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
lea ecx, [eax + edx + 1]
mov dword [ebp - 0xc0], ecx
mov edx, dword [ebp - 0xc0]
mov dword [ebp - 0xc4], edx
mov eax, dword [ebp - 0xbc]
mov cl, byte [eax]
mov byte [ebp - 0xc5], cl
mov edx, dword [ebp - 0xc0]
mov al, byte [ebp - 0xc5]
mov byte [edx], al
mov ecx, dword [ebp - 0xbc]
add ecx, 1
mov dword [ebp - 0xbc], ecx
mov edx, dword [ebp - 0xc0]
add edx, 1
mov dword [ebp - 0xc0], edx
cmp byte [ebp - 0xc5], 0
jne 0x40ee8e
lea ecx, [ebp + 0x20]
call fcn.004036a0
mov ecx, dword [ebp - 0x24]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x24]
mov cx, word [ebp + 0x24]
mov word [eax], cx
mov edx, dword [ebp - 0x24]
add edx, 2
mov dword [ebp - 0x24], edx
lea ecx, [ebp - 0x68]
call fcn.004227d8
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 0xb
push 0
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0xb8]
mov eax, dword [edx + 0x40]
push eax
call dword [sym.imp.WS2_32.dll_send]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0xa4], ecx
mov edx, dword [ebp - 0xa4]
push edx
call fcn.0042236b
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
push 5
push 0xa
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [ebp - 0xb8]
call fcn.00411bc0
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xa
je 0x40efbf
mov edx, dword [ebp + 0x28]
mov dword [edx], 2
mov dword [ebp - 0xa8], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x68]
call fcn.00413120
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.004049f0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x14]
call fcn.004049f0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x18]
call fcn.004049f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.004049f0
mov eax, dword [ebp - 0xa8]
jmp 0x40f0ec
jmp 0x40eff4
mov dword [ebp - 4], 0xa
jmp 0x40f047
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x68]
call fcn.00413120
movzx edx, byte [ebp - 0x33]
test edx, edx
je 0x40f0a9
mov eax, dword [ebp + 0x28]
mov dword [eax], 2
mov dword [ebp - 0xb0], 0
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.004049f0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x14]
call fcn.004049f0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x18]
call fcn.004049f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.004049f0
mov eax, dword [ebp - 0xb0]
jmp 0x40f0ec
mov dword [ebp - 0xb4], 1
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.004049f0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x14]
call fcn.004049f0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x18]
call fcn.004049f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.004049f0
mov eax, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00520c7a
mov esp, ebp
pop ebp
ret 0x24