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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x549c0b
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0xbc
mov eax, dword [0x599690]
xor eax, ebp
mov dword [ebp - 0x1c], 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 - 0xbc], ecx
mov dword [ebp - 4], 3
lea ecx, [ebp + 0x20]
call fcn.004036a0
add eax, 0xa
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
push eax
call fcn.00422360
add esp, 4
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x8c]
push edx
push 0
mov eax, dword [ebp - 0x14]
push eax
call fcn.00523530
add esp, 0xc
mov ecx, dword [ebp - 0x14]
mov byte [ecx], 4
mov edx, dword [ebp - 0x14]
mov byte [edx + 1], 1
mov eax, dword [ebp - 0x14]
mov cx, word [ebp + 0x24]
mov word [eax + 2], cx
mov dword [ebp - 0x18], 9
cmp dword [ebp + 0x1c], 0
jne 0x40e675
mov edx, dword [ebp - 0x14]
mov byte [edx + 4], 0
mov eax, dword [ebp - 0x14]
mov byte [eax + 5], 0
mov ecx, dword [ebp - 0x14]
mov byte [ecx + 6], 0
mov edx, dword [ebp - 0x14]
mov byte [edx + 7], 1
lea ecx, [ebp + 0x20]
call fcn.004065e0
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x14]
add eax, 9
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0xc4]
mov dword [ebp - 0xc8], ecx
mov edx, dword [ebp - 0xc0]
mov al, byte [edx]
mov byte [ebp - 0xc9], al
mov ecx, dword [ebp - 0xc4]
mov dl, byte [ebp - 0xc9]
mov byte [ecx], dl
mov eax, dword [ebp - 0xc0]
add eax, 1
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xc4]
add ecx, 1
mov dword [ebp - 0xc4], ecx
cmp byte [ebp - 0xc9], 0
jne 0x40e61e
lea ecx, [ebp + 0x20]
call fcn.004036a0
mov edx, dword [ebp - 0x18]
lea eax, [edx + eax + 1]
mov dword [ebp - 0x18], eax
jmp 0x40e67e
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 0x1c]
mov dword [ecx + 4], edx
lea ecx, [ebp - 0x94]
call fcn.004227d8
mov byte [ebp - 4], 4
mov byte [ebp - 4], 5
push 0
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0xbc]
mov eax, dword [edx + 0x40]
push eax
call dword [sym.imp.WS2_32.dll_send]
push 0x64
push 0
lea ecx, [ebp - 0x88]
push ecx
call fcn.00523530
add esp, 0xc
push 5
push 8
lea edx, [ebp - 0x88]
push edx
mov ecx, dword [ebp - 0xbc]
call fcn.00411bc0
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 8
je 0x40e743
mov eax, dword [ebp + 0x28]
mov dword [eax], 2
mov dword [ebp - 0xa4], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x94]
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 - 0xa4]
jmp 0x40e8a7
jmp 0x40e78d
mov dword [ebp - 4], 4
jmp 0x40e7e3
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x94]
call fcn.00413120
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xb0], ecx
mov edx, dword [ebp - 0xb0]
push edx
call fcn.0042236b
add esp, 4
movzx eax, byte [ebp - 0x87]
cmp eax, 0x5a
je 0x40e864
mov ecx, dword [ebp + 0x28]
mov dword [ecx], 2
mov dword [ebp - 0xb4], 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 - 0xb4]
jmp 0x40e8a7
mov dword [ebp - 0xb8], 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 - 0xb8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00520c7a
mov esp, ebp
pop ebp
ret 0x24