Function at 0x1000ec70
Capabilities:
Encode data using xor
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10014734
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x10019008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x10
call fcn.1001301a
mov esi, eax
mov dword [ebp - 0x3c], esi
mov dword [ebp - 4], 0
push 0x3bec
mov dword [esi + 8], 1
mov dword [esi], 0
mov dword [esi + 4], 4
call fcn.10013265
mov ebx, eax
add esp, 8
mov dword [esi + 0xc], ebx
mov eax, dword [esi + 4]
mov dword [ebp - 0x24], eax
lea ecx, [eax + 1]
cmp ecx, 0x3bea
jae 0x1000ecf9
mov byte [eax + ebx], 0x32
inc dword [esi + 4]
mov ecx, dword [esi + 4]
inc dword [esi]
mov ebx, dword [esi + 0xc]
mov dword [ebp - 0x24], ecx
jmp 0x1000ecfb
mov ecx, eax
mov edx, dword [esi]
lea eax, [ecx + 1]
cmp eax, 0x3bea
jae 0x1000ed1b
mov byte [ecx + ebx], 0xc9
inc dword [esi + 4]
mov ecx, dword [esi + 4]
inc dword [esi]
mov edx, dword [esi]
mov ebx, dword [esi + 0xc]
mov dword [ebp - 0x24], ecx
mov edi, dword [ebp + 0xc]
movzx eax, dx
mov edx, edi
mov dword [ebp - 0x2c], eax
lea eax, [edx + 1]
mov dword [ebp - 0x28], eax
lea esp, [esp]
mov al, byte [edx]
inc edx
test al, al
jne 0x1000ed30
sub edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
movzx eax, ax
mov dword [ebp - 0x28], eax
lea eax, [edx + 2]
add eax, ecx
cmp eax, 0x3bea
jae 0x1000ed9e
mov eax, dword [esi]
movzx eax, ax
cmp edx, 0x2000
ja 0x1000eda1
lea eax, [ecx + 2]
cmp eax, 0x3bea
jae 0x1000ed79
mov eax, dword [esi + 0xc]
mov word [ecx + eax], dx
add dword [esi + 4], 2
mov eax, dword [esi + 4]
add dword [esi], 2
jmp 0x1000ed7c
mov eax, dword [ebp - 0x24]
mov ecx, dword [esi + 0xc]
add ecx, eax
mov al, byte [edi]
lea edi, [edi + 1]
mov byte [ecx], al
lea ecx, [ecx + 1]
test al, al
jne 0x1000ed81
add dword [esi + 4], edx
add dword [esi], edx
mov eax, dword [esi]
mov ebx, dword [esi + 0xc]
movzx eax, ax
jmp 0x1000eda1
mov eax, dword [ebp - 0x28]
movzx edx, ax
movzx ecx, ax
mov eax, dword [esi + 8]
cmp eax, 1
jne 0x1000edb5
mov word [ebx + 2], cx
jmp 0x1000edd0
cmp eax, 2
jne 0x1000edcd
mov dword [ebx + 2], 0x75bcd15
mov ecx, dword [esi + 0xc]
mov ax, word [esi]
mov word [ecx + 6], ax
jmp 0x1000edd0
mov word [ebx], dx
mov eax, dword [0x7637ac]
xor edx, edx
cmp dword [esi + 8], 2
mov ebx, dword [esi]
sete dl
mov dword [ebp - 0x20], eax
mov eax, dword [0x7637b0]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x7637b4]
lea edx, [edx*4 + 2]
mov dword [ebp - 0x18], eax
mov eax, dword [0x7637b8]
add ebx, edx
mov ecx, ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x28], ebx
and ecx, 0x80000007
jns 0x1000ee1b
dec ecx
or ecx, 0xfffffff8
add ecx, 1
je 0x1000ee29
mov eax, 8
sub eax, ecx
add ebx, eax
mov dword [ebp - 0x28], ebx
mov edi, dword [esi + 0xc]
mov eax, ebx
add edi, edx
cdq
and edx, 3
mov dword [ebp - 0x2c], edi
lea ecx, [edx + eax]
xor eax, eax
sar ecx, 2
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x24], eax
test ecx, ecx
jle 0x1000eedd
lea ecx, [ecx]
lea ecx, [edi + eax*4]
xor edx, edx
mov edi, dword [ecx]
lea eax, [eax + 1]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x2c]
mov ebx, dword [ecx + eax*4]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x34], eax
lea esi, [edx + 0x20]
lea esp, [esp]
mov ecx, ebx
mov eax, ebx
shl eax, 4
shr ecx, 5
xor ecx, eax
mov eax, edx
and eax, 3
add ecx, ebx
mov eax, dword [ebp + eax*4 - 0x20]
add eax, edx
sub edx, 0x61c88647
xor ecx, eax
add edi, ecx
mov ecx, edi
mov eax, edi
shl eax, 4
shr ecx, 5
xor ecx, eax
mov eax, edx
shr eax, 0xd
add ecx, edi
and eax, 3
mov eax, dword [ebp + eax*4 - 0x20]
add eax, edx
xor ecx, eax
add ebx, ecx
sub esi, 1
jne 0x1000ee70
mov eax, dword [ebp - 0x30]
mov dword [eax], edi
mov eax, dword [ebp - 0x34]
mov edi, dword [ebp - 0x2c]
mov dword [eax], ebx
mov eax, dword [ebp - 0x24]
add eax, 2
mov dword [ebp - 0x24], eax
cmp eax, dword [ebp - 0x38]
jl 0x1000ee50
mov esi, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x28]
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp - 0x40]
add ecx, 0xfffffffe
add ecx, ebx
mov word [eax], cx
mov ecx, dword [esi + 0xc]
mov dword [esi], ebx
push 0
movzx eax, word [ecx]
add eax, 2
push eax
push ecx
push dword [0x1001977c]
call dword [sym.imp.WS2_32.dll_send]
push dword [esi + 0xc]
call fcn.10013260
push 0x10
push esi
call fcn.1001304a
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10012e0f
mov esp, ebp
pop ebp
ret 8