Function at 0x10c2550
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
push esi
xor esi, esi
cmp dword [ebp + 8], esi
push edi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x24], esi
je 0x10c2c2c
cmp dword [ebp + 0xc], esi
je 0x10c2c2c
cmp dword [ebp + 0x10], esi
je 0x10c2c2c
cmp dword [ebp + 0x14], esi
je 0x10c2c2c
push esi
push 0x104
mov dword [ebp - 0x40], esi
call fcn.010c22bd
mov ebx, eax
cmp ebx, esi
mov dword [ebp - 8], ebx
jne 0x10c25b0
mov dword [ebp - 0x40], 0x80000002
jmp 0x10c2896
lea edx, [ebx + 0x34]
lea eax, [edx + 0x58]
mov dword [ebp - 0xc], eax
add eax, 0x3c
mov dword [ebp - 0x24], eax
add eax, 0x14
mov dword [ebp - 0x14], eax
add eax, 0x14
mov dword [ebp - 0x10], eax
mov edi, dword [ebp - 8]
mov esi, 0x10ef958
mov ecx, 0x34
mov eax, edi
cld
or ecx, ecx
je 0x10c25e1
rep movsb byte es:[edi], byte [esi]
mov dword [ebx], edx
mov eax, dword [0x10ef958]
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov edi, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov ecx, 0x58
mov eax, edi
cld
or ecx, ecx
je 0x10c2602
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebx]
add eax, 0x30
mov dword [ebp - 4], eax
mov edi, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov ecx, 4
mov eax, edi
cld
or ecx, ecx
je 0x10c2624
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x10ef958]
mov eax, dword [eax + 0x30]
mov dword [ebp - 8], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 4], eax
mov edi, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov ecx, 0x3c
mov eax, edi
cld
or ecx, ecx
je 0x10c264b
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x30]
add eax, 0x20
mov dword [ebp - 4], eax
mov edi, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov ecx, 4
mov eax, edi
cld
or ecx, ecx
je 0x10c2670
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x20]
and dword [ebp - 0xc0], 0
mov dword [ebp - 0x1c], eax
mov eax, dword [0x10ef958]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x20]
mov dword [ebp - 4], eax
xor eax, eax
lea edi, [ebp - 0xbc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0xc0]
mov dword [ebp - 0x110], 0x123174bb
mov dword [ebp - 0x10c], 0x86521ff8
mov dword [ebp - 0x108], 0x98d2438b
mov dword [ebp - 0x104], 0x7966ce12
mov dword [ebp - 0x100], 0xc5d92014
mov dword [ebp - 8], 0x14
mov dword [ebp - 0x20], eax
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov eax, edi
cld
or ecx, ecx
je 0x10c26f0
rep movsb byte es:[edi], byte [esi]
xor ecx, ecx
xor edx, edx
push 5
mov eax, ecx
pop esi
div esi
mov eax, dword [ebp + edx*4 - 0x110]
xor dword [ebp + ecx*4 - 0xc0], eax
inc ecx
cmp ecx, esi
jb 0x10c26f2
push 0x14
pop edx
lea eax, [ebp - 0xc0]
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov eax, edi
cld
or ecx, ecx
je 0x10c272f
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x24]
and dword [ebp - 0xac], 0
mov dword [ebx + 4], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [0x10ef95c]
mov dword [ebp - 4], eax
xor eax, eax
lea edi, [ebp - 0xa8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0xac]
mov dword [ebp - 0xd4], 0x123174bb
mov dword [ebp - 0xd0], 0x86521ff8
mov dword [ebp - 0xcc], 0x98d2438b
mov dword [ebp - 0xc8], 0x7966ce12
mov dword [ebp - 0xc4], 0xc5d92014
mov dword [ebp - 8], edx
mov dword [ebp - 0x20], eax
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov eax, edi
cld
or ecx, ecx
je 0x10c27a3
rep movsb byte es:[edi], byte [esi]
xor ecx, ecx
xor edx, edx
push 5
mov eax, ecx
pop esi
div esi
mov eax, dword [ebp + edx*4 - 0xd4]
xor dword [ebp + ecx*4 - 0xac], eax
inc ecx
cmp ecx, esi
jb 0x10c27a5
push 0x14
pop edx
lea eax, [ebp - 0xac]
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov eax, edi
cld
or ecx, ecx
je 0x10c27e2
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x14]
and dword [ebp - 0x84], 0
mov dword [ebx + 8], eax
mov dword [ebp - 0x20], eax
mov eax, dword [0x10ef960]
mov dword [ebp - 8], eax
xor eax, eax
lea edi, [ebp - 0x80]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x84]
mov dword [ebp - 0xfc], 0x123174bb
mov dword [ebp - 0xf8], 0x86521ff8
mov dword [ebp - 0xf4], 0x98d2438b
mov dword [ebp - 0xf0], 0x7966ce12
mov dword [ebp - 0xec], 0xc5d92014
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
mov eax, edi
cld
or ecx, ecx
je 0x10c2853
rep movsb byte es:[edi], byte [esi]
xor ecx, ecx
xor edx, edx
push 5
mov eax, ecx
pop esi
div esi
mov eax, dword [ebp + edx*4 - 0xfc]
xor dword [ebp + ecx*4 - 0x84], eax
inc ecx
cmp ecx, esi
jb 0x10c2855
lea eax, [ebp - 0x84]
mov dword [ebp - 0x14], 0x14
mov dword [ebp - 8], eax
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
mov eax, edi
cld
or ecx, ecx
je 0x10c2893
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp - 0x40]
test eax, eax
mov dword [ebp - 0x1c], eax
jl 0x10c2c33
and dword [ebp - 0x98], 0
xor eax, eax
lea edi, [ebp - 0x94]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x98]
mov dword [ebp - 0xe8], 0x123174bb
mov dword [ebp - 0xe4], 0x86521ff8
mov dword [ebp - 0xe0], 0x98d2438b
mov dword [ebp - 0xdc], 0x7966ce12
mov dword [ebp - 0xd8], 0xc5d92014
mov dword [ebp - 0x14], 0x14
mov dword [ebp - 0x44], eax
mov edi, dword [ebp - 0x44]
mov esi, 0x10eef18
mov ecx, dword [ebp - 0x14]
mov eax, edi
cld
or ecx, ecx
je 0x10c290d
rep movsb byte es:[edi], byte [esi]
xor ecx, ecx
xor edx, edx
push 5
mov eax, ecx
pop esi
div esi
mov eax, dword [ebp + edx*4 - 0xe8]
xor dword [ebp + ecx*4 - 0x98], eax
inc ecx
cmp ecx, esi
jb 0x10c290f
lea eax, [ebp - 0x98]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x14], 0x14
mov dword [ebp - 0x40], eax
mov edi, dword [ebp - 0x40]
mov esi, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x14]
mov eax, edi
cld
or ecx, ecx
je 0x10c2953
rep movsb byte es:[edi], byte [esi]
mov ebx, dword [ebp + 8]
and dword [ebx], 0
push ebx
lea eax, [ebx + 0xc]
push 0xdc
mov dword [ebx + 4], 0x157c
mov dword [ebx + 8], eax
mov dword [ebp - 0x44], ebx
call fcn.010c22bd
test eax, eax
mov dword [ebp - 0x48], eax
jne 0x10c2987
mov dword [ebp - 0x1c], 0x80000002
jmp 0x10c2c33
add eax, 0x14
mov dword [ebp - 8], eax
add eax, 0x28
mov dword [ebp - 0x40], eax
add eax, 0x28
mov dword [ebp + 8], eax
add eax, 0x50
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x70]
cmp eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
je 0x10c29c3
mov dword [ebp - 0x14], 0x28
mov edi, dword [ebp - 4]
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
mov eax, edi
cld
or ecx, ecx
je 0x10c29c3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x24]
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
push ebx
push 0x14
pop edi
push edi
mov dword [ebp - 0x18], eax
call fcn.010c22bd
test eax, eax
mov dword [ebp - 4], eax
je 0x10c2a27
lea eax, [ebp - 0x70]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x28], eax
mov edi, dword [ebp - 4]
mov esi, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov eax, edi
cld
or ecx, ecx
je 0x10c29fa
rep movsb byte es:[edi], byte [esi]
push ebx
push dword [ebp - 0x18]
push dword [ebp - 0x20]
push 5
push dword [ebp - 4]
call fcn.010ca716
mov eax, dword [ebp - 4]
push 0x14
pop ecx
mov byte [eax], 0
inc eax
dec ecx
jne 0x10c2a11
push ebx
push dword [ebp - 4]
call fcn.010c22dd
mov esi, dword [ebp - 0x24]
push 0x14
pop edi
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
push ebx
lea eax, [ebp - 0x5c]
push edi
mov dword [ebp - 0x28], eax
call fcn.010c22bd
test eax, eax
mov dword [ebp - 4], eax
je 0x10c2a86
mov dword [ebp - 0x18], edi
mov edi, dword [ebp - 4]
mov esi, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
mov eax, edi
cld
or ecx, ecx
je 0x10c2a58
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x20]
push ebx
push dword [ebp - 0x14]
add eax, 0x14
push eax
push 5
push dword [ebp - 4]
call fcn.010ca716
mov eax, dword [ebp - 4]
push 0x14
pop ecx
mov byte [eax], 0
inc eax
dec ecx
jne 0x10c2a73
push ebx
push dword [ebp - 4]
call fcn.010c22dd
mov esi, dword [ebp - 0x24]
push ebx
push 0
push 0
push esi
push dword [ebp - 0x20]
call fcn.010c77e9
test eax, eax
jne 0x10c2aa4
mov dword [ebp - 0x1c], 0x800480d5
jmp 0x10c2c33
mov edx, dword [ebp + 0x14]
cmp edx, dword [ebp + 0x10]
je 0x10c2ac8
mov dword [ebp - 0x18], 0x10
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x18]
mov eax, edi
cld
or ecx, ecx
je 0x10c2ac5
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x24]
mov edi, dword [ebp + 8]
push ebx
push esi
add edi, 0x28
push edi
push edx
call fcn.010c2303
test eax, eax
je 0x10c2a98
push ebx
push 0
push 5
push dword [ebp - 0x48]
lea eax, [ebp - 0x3c]
push eax
call fcn.010cace9
push ebx
push esi
push dword [ebp - 8]
push 5
push dword [ebp - 0x48]
push 0x3c
push 4
push 0x10eef94
call fcn.010c9cc6
test eax, eax
je 0x10c2a98
push ebx
push 0
push 0
push esi
push dword [ebp - 0x20]
call fcn.010c77e9
test eax, eax
je 0x10c2a98
push ebx
push esi
push dword [ebp + 8]
push 5
push dword [ebp - 0x48]
push 0
push 4
push dword [ebp - 0x20]
call fcn.010c9cc6
test eax, eax
je 0x10c2a98
push ebx
push 0
push esi
push 1
push dword [ebp - 0x40]
push edi
push dword [ebp + 8]
call fcn.010c7a17
test eax, eax
je 0x10c2a98
mov eax, dword [esi]
push ebx
push dword [eax + 0x30]
push dword [ebp + 8]
push dword [ebp - 8]
call fcn.010ca849
mov dword [ebp - 0x18], 0x14
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
mov eax, edi
cld
or ecx, ecx
je 0x10c2b80
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
push ebx
push dword [eax + 0x30]
mov eax, dword [ebp - 8]
push dword [ebp + 8]
add eax, 0x14
push eax
call fcn.010ca849
mov eax, dword [ebp + 0x14]
add eax, 0x14
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], 0x14
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
mov eax, edi
cld
or ecx, ecx
je 0x10c2bba
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
push ebx
push dword [eax + 0x30]
push dword [ebp + 8]
push dword [ebp - 0x40]
call fcn.010ca849
mov eax, dword [ebp + 0x14]
add eax, 0x28
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], 0x14
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
mov eax, edi
cld
or ecx, ecx
je 0x10c2bf0
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
push ebx
push dword [eax + 0x30]
mov eax, dword [ebp - 0x40]
push dword [ebp + 8]
add eax, 0x14
push eax
call fcn.010ca849
mov eax, dword [ebp + 0x14]
add eax, 0x3c
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], 0x14
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
mov eax, edi
cld
or ecx, ecx
je 0x10c2c2a
rep movsb byte es:[edi], byte [esi]
jmp 0x10c2c33
mov dword [ebp - 0x1c], 0x80070057
mov edx, dword [ebp - 0x24]
test edx, edx
pop edi
pop esi
pop ebx
je 0x10c2c72
mov eax, dword [edx]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x20]
push 0x14
pop ecx
mov byte [eax], 0
inc eax
dec ecx
jne 0x10c2c48
mov eax, dword [edx + 4]
push 0x14
pop ecx
mov byte [eax], 0
inc eax
dec ecx
jne 0x10c2c55
mov eax, dword [edx + 8]
push 0x14
pop ecx
mov byte [eax], 0
inc eax
dec ecx
jne 0x10c2c62
push dword [ebp - 0x44]
push edx
call fcn.010c22dd
push 0x14
pop ecx
lea eax, [ebp - 0x3c]
mov byte [eax], 0
inc eax
dec ecx
jne 0x10c2c78
cmp dword [ebp - 0x48], 0
je 0x10c2c94
mov eax, dword [ebp - 0x48]
mov ecx, 0xdc
mov byte [eax], 0
inc eax
dec ecx
jne 0x10c2c8d
push dword [ebp - 0x44]
push dword [ebp - 0x48]
call fcn.010c22dd
mov eax, dword [ebp - 0x1c]
leave
ret