Function at 0x110ca110
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x111e21cb
mov eax, dword fs:[0]
push eax
sub esp, 0x334
mov eax, dword [0x11279148]
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
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, dword [esi + 0x134]
mov dword [ebp - 0x324], esi
call fcn.110c7040
push eax
push edi
push edx
lea ecx, [ebp - 0x340]
call fcn.1111aaf0
mov edx, dword [ebp - 0x340]
lea eax, [ebp - 0x320]
push eax
mov eax, dword [edx + 0x58]
lea ecx, [ebp - 0x340]
mov dword [ebp - 4], 0
call eax
mov edx, dword [eax]
mov edx, dword [edx + 0x58]
lea ecx, [ebp - 0x310]
push ecx
mov ecx, eax
call edx
test byte [ebp - 0x310], 1
je 0x110ca3aa
mov edx, dword [ebp - 0x340]
lea eax, [ebp - 0x30c]
push eax
mov eax, dword [edx + 0x58]
lea ecx, [ebp - 0x340]
call eax
movzx ecx, word [ebp - 0x30c]
push ecx
lea edx, [ebp - 0x2b0]
push edx
lea ecx, [ebp - 0x340]
call fcn.110e3c70
movzx eax, word [ebp - 0x30c]
push eax
mov dword [esi + 0x68c], eax
lea eax, [ebp - 0x2b0]
push eax
call fcn.111ba520
movzx ecx, word [ebp - 0x30c]
push ecx
lea edx, [ebp - 0x2b0]
push edx
push 0x23031963
mov dword [esi + 0x690], eax
call fcn.110e3110
mov dword [ebp - 0x318], eax
movzx eax, word [ebp - 0x30c]
push eax
lea ecx, [ebp - 0x2b0]
push ecx
push 0x36913032
call fcn.110e3150
push 0x100
lea edx, [ebp - 0x120]
push 0
push edx
mov dword [ebp - 0x314], eax
call sub.MSVCR100.dll_memset
mov eax, dword [0x112130c4]
mov ecx, dword [0x112130c8]
mov dx, word [0x112130cc]
add esp, 0x2c
mov dword [ebp - 0x120], eax
mov al, byte [0x112130ce]
mov dword [ebp - 0x11c], ecx
push str._debug
lea ecx, [ebp - 0x31c]
mov word [ebp - 0x118], dx
mov byte [ebp - 0x116], al
call fcn.11040b90
mov eax, dword [eax]
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x110ca288
lea edi, [ebp - 0x120]
sub eax, ecx
mov esi, ecx
dec edi
lea ebx, [ebx]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x110ca2a0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x31c]
push ecx
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
cmp byte [ebp - 0x120], 0
lea eax, [ebp - 0x120]
je 0x110ca2de
xor byte [eax], 0x20
inc eax
cmp byte [eax], 0
jne 0x110ca2d5
lea eax, [ebp - 0x120]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x110ca2e7
mov esi, dword [ebp - 0x318]
sub eax, edx
mov ebx, eax
cdq
and edx, 3
add eax, edx
sar eax, 2
xor esi, 0x97a5b4c3
xor ecx, ecx
test eax, eax
jle 0x110ca32d
lea ecx, [ecx]
mov edx, dword [ebp + ecx*4 - 0x120]
xor edx, esi
xor edx, dword [ebp - 0x314]
inc ecx
mov dword [ebp + ecx*4 - 0x124], edx
shr esi, 1
cmp ecx, eax
jl 0x110ca310
lea eax, [ebp - 0x308]
lea edi, [ebp + ebx - 0x120]
mov ecx, 8
lea esi, [ebp - 0x2b0]
push eax
rep movsd dword es:[edi], dword [esi]
add ebx, 0x20
call fcn.1104c0e0
push ebx
lea ecx, [ebp - 0x120]
push ecx
lea edx, [ebp - 0x308]
push edx
call fcn.1104c120
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x308]
push ecx
call fcn.1104c200
mov esi, dword [ebp - 0x324]
lea edx, [ebp - 0x20]
push 0x10
push edx
mov dword [esi + 0x684], 0x10
call fcn.111ba520
mov dword [esi + 0x688], eax
add esp, 0x20
mov ecx, 0x100
lea eax, [ebp - 0x120]
mov byte [eax], 0
inc eax
dec ecx
jne 0x110ca3a3
lea ecx, [ebp - 0x340]
mov dword [ebp - 4], 0xffffffff
call fcn.1111ab70
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.111d9022
mov esp, ebp
pop ebp
ret