Function at 0x10c2a54
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
push esi
xor esi, esi
cmp dword [ebp + 8], esi
push edi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x28], esi
je 0x10c30c0
cmp dword [ebp + 0xc], esi
je 0x10c30c0
cmp dword [ebp + 0x10], esi
je 0x10c30c0
cmp dword [ebp + 0x14], esi
je 0x10c30c0
push esi
push 0x104
mov dword [ebp - 0x20], esi
call fcn.010c2068
mov ebx, eax
cmp ebx, esi
mov dword [ebp - 4], ebx
jne 0x10c2ab4
mov dword [ebp - 0x20], 0x80000002
jmp 0x10c2d9d
lea edx, [ebx + 0x34]
lea eax, [edx + 0x58]
mov dword [ebp - 0x14], eax
add eax, 0x3c
mov dword [ebp - 0xc], eax
add eax, 0x14
mov dword [ebp - 8], eax
add eax, 0x14
mov dword [ebp - 0x10], eax
mov edi, dword [ebp - 4]
mov esi, 0x10ef958
mov ecx, 0x34
mov eax, edi
cld
or ecx, ecx
je 0x10c2ae5
rep movsb byte es:[edi], byte [esi]
mov dword [ebx], edx
mov eax, dword [0x10ef958]
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], edx
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 4]
mov ecx, 0x58
mov eax, edi
cld
or ecx, ecx
je 0x10c2b06
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebx]
add eax, 0x30
mov dword [ebp - 0x18], eax
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 4]
mov ecx, 4
mov eax, edi
cld
or ecx, ecx
je 0x10c2b28
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x10ef958]
mov eax, dword [eax + 0x30]
mov dword [ebp - 4], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x18], eax
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 4]
mov ecx, 0x3c
mov eax, edi
cld
or ecx, ecx
je 0x10c2b4f
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x30]
add eax, 0x20
mov dword [ebp - 0x18], eax
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 4]
mov ecx, 4
mov eax, edi
cld
or ecx, ecx
je 0x10c2b74
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x20]
and dword [ebp - 0xb8], 0
mov dword [ebp - 0x1c], eax
mov eax, dword [0x10ef958]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x18], eax
xor eax, eax
lea edi, [ebp - 0xb4]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0xb8]
mov dword [ebp - 0x108], 0x123174bb
mov dword [ebp - 0x104], 0x86521ff8
mov dword [ebp - 0x100], 0x98d2438b
mov dword [ebp - 0xfc], 0x7966ce12
mov dword [ebp - 0xf8], 0xc5d92014
mov dword [ebp - 4], 0x14
mov dword [ebp - 0x28], eax
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
mov eax, edi
cld
or ecx, ecx
je 0x10c2bf4
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 - 0x108]
xor dword [ebp + ecx*4 - 0xb8], eax
inc ecx
cmp ecx, esi
jb 0x10c2bf6
push 0x14
pop edx
lea eax, [ebp - 0xb8]
mov dword [ebp - 4], edx
mov dword [ebp - 0x18], eax
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
mov eax, edi
cld
or ecx, ecx
je 0x10c2c33
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0xc]
and dword [ebp - 0xa4], 0
mov dword [ebx + 4], eax
mov dword [ebp - 0x18], eax
mov eax, dword [0x10ef95c]
mov dword [ebp - 0x1c], eax
xor eax, eax
lea edi, [ebp - 0xa0]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xe0], 0x123174bb
mov dword [ebp - 0xdc], 0x86521ff8
mov dword [ebp - 0xd8], 0x98d2438b
mov dword [ebp - 0xd4], 0x7966ce12
mov dword [ebp - 0xd0], 0xc5d92014
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp - 4]
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov eax, edi
cld
or ecx, ecx
je 0x10c2ca7
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 - 0xe0]
xor dword [ebp + ecx*4 - 0xa4], eax
inc ecx
cmp ecx, esi
jb 0x10c2ca9
push 0x14
pop edx
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x1c], eax
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov eax, edi
cld
or ecx, ecx
je 0x10c2ce6
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 8]
and dword [ebp - 0xcc], 0
mov dword [ebx + 8], eax
mov dword [ebp - 4], eax
mov eax, dword [0x10ef960]
mov dword [ebp - 0xc], eax
xor eax, eax
lea edi, [ebp - 0xc8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0xcc]
mov dword [ebp - 0xf4], 0x123174bb
mov dword [ebp - 0xf0], 0x86521ff8
mov dword [ebp - 0xec], 0x98d2438b
mov dword [ebp - 0xe8], 0x7966ce12
mov dword [ebp - 0xe4], 0xc5d92014
mov dword [ebp - 8], edx
mov dword [ebp - 0x1c], eax
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov eax, edi
cld
or ecx, ecx
je 0x10c2d5a
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 - 0xf4]
xor dword [ebp + ecx*4 - 0xcc], eax
inc ecx
cmp ecx, esi
jb 0x10c2d5c
lea eax, [ebp - 0xcc]
mov dword [ebp - 8], 0x14
mov dword [ebp - 0xc], eax
mov edi, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov eax, edi
cld
or ecx, ecx
je 0x10c2d9a
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x28], ebx
mov eax, dword [ebp - 0x20]
test eax, eax
mov dword [ebp - 0x18], eax
jl 0x10c30c7
mov eax, dword [ebp + 8]
and dword [eax], 0
push eax
lea ecx, [eax + 0xc]
push 0xb4
mov dword [eax + 4], 0x157c
mov dword [eax + 8], ecx
mov dword [ebp - 0x40], eax
call fcn.010c2068
test eax, eax
mov dword [ebp - 0x24], eax
jne 0x10c2ddf
mov dword [ebp - 0x18], 0x80000002
jmp 0x10c30c7
add eax, 0x3c
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x3c]
cmp eax, dword [ebp + 0xc]
push 0x14
mov dword [ebp - 0xc], eax
pop ebx
je 0x10c2e08
mov dword [ebp - 8], ebx
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov eax, edi
cld
or ecx, ecx
je 0x10c2e08
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x3c]
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], eax
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov eax, edi
cld
or ecx, ecx
je 0x10c2e23
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
lea eax, [ebp - 0x3c]
mov byte [eax], 0
inc eax
dec ecx
jne 0x10c2e28
lea eax, [ebp - 0x90]
cmp eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
je 0x10c2e56
mov dword [ebp - 8], 0x50
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp - 8]
mov eax, edi
cld
or ecx, ecx
je 0x10c2e56
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x28]
mov eax, dword [esi]
push dword [ebp + 8]
mov eax, dword [eax + 0x30]
push ebx
mov dword [ebp - 0x1c], eax
call fcn.010c2068
test eax, eax
mov dword [ebp - 4], eax
je 0x10c2ec0
lea eax, [ebp - 0x90]
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], eax
mov edi, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov eax, edi
cld
or ecx, ecx
je 0x10c2e8f
rep movsb byte es:[edi], byte [esi]
push dword [ebp + 8]
mov eax, dword [ebp - 0x24]
push dword [ebp - 0x1c]
add eax, 0x14
push eax
push 5
push dword [ebp - 4]
call fcn.010ca4cc
mov eax, dword [ebp - 4]
mov ecx, ebx
mov byte [eax], 0
inc eax
dec ecx
jne 0x10c2eab
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.010c2088
mov esi, dword [ebp - 0x28]
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
push dword [ebp + 8]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x7c]
push ebx
mov dword [ebp - 0xc], eax
call fcn.010c2068
test eax, eax
mov dword [ebp - 4], eax
je 0x10c2f24
mov dword [ebp - 8], ebx
mov edi, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov eax, edi
cld
or ecx, ecx
je 0x10c2ef3
rep movsb byte es:[edi], byte [esi]
push dword [ebp + 8]
mov eax, dword [ebp - 0x24]
push dword [ebp - 0x1c]
add eax, 0x28
push eax
push 5
push dword [ebp - 4]
call fcn.010ca4cc
mov eax, dword [ebp - 4]
mov ecx, ebx
mov byte [eax], 0
inc eax
dec ecx
jne 0x10c2f0f
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.010c2088
mov esi, dword [ebp - 0x28]
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
push dword [ebp + 8]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x68]
push ebx
mov dword [ebp - 0xc], eax
call fcn.010c2068
test eax, eax
mov dword [ebp - 4], eax
je 0x10c2f84
mov dword [ebp - 8], ebx
mov edi, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov eax, edi
cld
or ecx, ecx
je 0x10c2f57
rep movsb byte es:[edi], byte [esi]
push dword [ebp + 8]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push 5
push dword [ebp - 4]
call fcn.010ca4cc
mov eax, dword [ebp - 4]
mov ecx, ebx
mov byte [eax], 0
inc eax
dec ecx
jne 0x10c2f6f
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.010c2088
mov esi, dword [ebp - 0x28]
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
push dword [ebp + 8]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x54]
push ebx
mov dword [ebp - 0xc], eax
call fcn.010c2068
test eax, eax
mov dword [ebp - 4], eax
je 0x10c2fe8
mov dword [ebp - 8], ebx
mov edi, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov eax, edi
cld
or ecx, ecx
je 0x10c2fb7
rep movsb byte es:[edi], byte [esi]
push dword [ebp + 8]
mov eax, dword [ebp - 0x20]
push dword [ebp - 0x1c]
add eax, 0x14
push eax
push 5
push dword [ebp - 4]
call fcn.010ca4cc
mov eax, dword [ebp - 4]
mov ecx, ebx
mov byte [eax], 0
inc eax
dec ecx
jne 0x10c2fd3
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.010c2088
mov esi, dword [ebp - 0x28]
push dword [ebp + 8]
mov eax, dword [ebp - 0x24]
push 0
push 0
add eax, 0x14
push esi
push eax
mov dword [ebp - 8], eax
call fcn.010c759f
test eax, eax
jne 0x10c300f
mov dword [ebp - 0x18], 0x800480d5
jmp 0x10c30c7
push dword [ebp + 8]
mov edi, dword [ebp - 0x20]
push esi
add edi, 0x28
push edi
push 5
push dword [ebp - 0x24]
push 0
push 4
push dword [ebp - 8]
call fcn.010c933a
test eax, eax
je 0x10c3003
push dword [ebp + 8]
lea eax, [edi + 0x28]
push 0
push esi
push 0xffffffffffffffff
push eax
push edi
push dword [ebp - 0x20]
mov dword [ebp - 8], eax
call fcn.010c77cd
test eax, eax
je 0x10c3003
push dword [ebp + 8]
push 0x28
call fcn.010c2068
test eax, eax
mov dword [ebp - 0x20], eax
je 0x10c3003
push dword [ebp + 8]
mov ecx, dword [esi]
push dword [ecx + 0x30]
add eax, 0x14
push eax
push dword [ebp - 8]
mov dword [ebp - 0xc], eax
call fcn.010ca5ff
mov dword [ebp - 8], ebx
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov eax, edi
cld
or ecx, ecx
je 0x10c3088
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebp - 0x20]
cmp dword [ebp + 0x14], edx
je 0x10c30a9
mov dword [ebp - 8], 0x10
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 8]
mov eax, edi
cld
or ecx, ecx
je 0x10c30a9
rep movsb byte es:[edi], byte [esi]
push 0x28
pop ecx
mov eax, edx
mov byte [eax], 0
inc eax
dec ecx
jne 0x10c30ae
push dword [ebp + 8]
push edx
call fcn.010c2088
jmp 0x10c30c7
mov dword [ebp - 0x18], 0x80070057
mov edx, dword [ebp - 0x28]
test edx, edx
pop edi
pop esi
pop ebx
je 0x10c3106
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 0x10c30dc
mov eax, dword [edx + 4]
push 0x14
pop ecx
mov byte [eax], 0
inc eax
dec ecx
jne 0x10c30e9
mov eax, dword [edx + 8]
push 0x14
pop ecx
mov byte [eax], 0
inc eax
dec ecx
jne 0x10c30f6
push dword [ebp - 0x40]
push edx
call fcn.010c2088
cmp dword [ebp + 8], 0
je 0x10c312c
cmp dword [ebp - 0x24], 0
je 0x10c3121
mov eax, dword [ebp - 0x24]
mov ecx, 0xb4
mov byte [eax], 0
inc eax
dec ecx
jne 0x10c311a
push dword [ebp - 0x40]
push dword [ebp - 0x24]
call fcn.010c2088
mov eax, dword [ebp - 0x18]
leave
ret