Function at 0x110ca3e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x184
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push esi
push 0x28091959
mov dword [ebp - 0x174], esi
mov dword [ebp - 0x170], eax
call fcn.110e3110
push edi
push esi
push 0x95919082
mov dword [ebp - 0x178], eax
call fcn.110e3150
push 0x100
lea ecx, [ebp - 0x114]
push 0
push ecx
mov dword [ebp - 0x17c], eax
call sub.MSVCR100.dll_memset
push 0
call dword [sym.imp.MSVCR100.dll_free]
mov eax, str.Client
add esp, 0x28
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x110ca454
sub eax, ecx
sar eax, 1
push ebx
mov ebx, dword [sym.imp.MSVCR100.dll_malloc]
lea edi, [eax + eax + 1]
push edi
call ebx
push 0xffffffffffffffff
push 0
mov esi, eax
push edi
push esi
push str.Client
call fcn.111b7ed0
lea ecx, [ebp - 0x114]
add esp, 0x18
mov dword [ebp - 0x180], esi
mov eax, esi
sub ecx, esi
mov dl, byte [eax]
mov byte [ecx + eax], dl
inc eax
test dl, dl
jne 0x110ca496
push esi
mov esi, dword [sym.imp.MSVCR100.dll_free]
call esi
lea edi, [ebp - 0x114]
add esp, 4
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x110ca4b3
mov dx, word [0x1121ba88]
push 0
mov word [edi], dx
call esi
mov eax, str.Client
add esp, 4
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x110ca4d4
sub eax, edx
sar eax, 1
lea esi, [eax + eax + 1]
push esi
call ebx
push 0xffffffffffffffff
push 0
mov ebx, eax
push esi
push ebx
push str.Client
call fcn.111b7ed0
mov eax, ebx
add esp, 0x18
mov dword [ebp - 0x184], ebx
mov esi, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x110ca510
lea edi, [ebp - 0x114]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x110ca520
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
cmp byte [ebp - 0x114], 0
lea eax, [ebp - 0x114]
pop ebx
je 0x110ca559
xor byte [eax], 0x22
inc eax
cmp byte [eax], 0
jne 0x110ca550
lea eax, [ebp - 0x114]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x110ca562
mov esi, dword [ebp - 0x178]
sub eax, edx
mov edi, eax
cdq
and edx, 3
add eax, edx
sar eax, 2
xor esi, 0xc3d2e1f9
xor ecx, ecx
test eax, eax
jle 0x110ca5ad
jmp 0x110ca590
mov edx, dword [ebp + ecx*4 - 0x114]
xor edx, esi
xor edx, dword [ebp - 0x17c]
inc ecx
mov dword [ebp + ecx*4 - 0x118], edx
add esi, esi
cmp ecx, eax
jl 0x110ca590
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x174]
push esi
push eax
lea ecx, [ebp + edi - 0x114]
push ecx
call sub.MSVCR100.dll_memcpy
lea edx, [ebp - 0x16c]
push edx
call fcn.1104c0e0
add edi, esi
push edi
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x16c]
push ecx
call fcn.1104c120
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x16c]
push eax
call fcn.1104c200
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x170]
push ecx
lea edx, [ebp - 0x14]
push edx
push eax
call sub.MSVCR100.dll_memcpy
add esp, 0x30
pop edi
mov ecx, 0x100
lea eax, [ebp - 0x114]
pop esi
jmp 0x110ca620
mov byte [eax], 0
inc eax
dec ecx
jne 0x110ca620
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret 0x10