Function at 0x10c2ca9
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 0x10c3315
cmp dword [ebp + 0xc], esi
je 0x10c3315
cmp dword [ebp + 0x10], esi
je 0x10c3315
cmp dword [ebp + 0x14], esi
je 0x10c3315
push esi
push 0x104
mov dword [ebp - 0x20], esi
call fcn.010c22bd
mov ebx, eax
cmp ebx, esi
mov dword [ebp - 4], ebx
jne 0x10c2d09
mov dword [ebp - 0x20], 0x80000002
jmp 0x10c2ff2
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 0x10c2d3a
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 0x10c2d5b
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 0x10c2d7d
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 0x10c2da4
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 0x10c2dc9
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 0x10c2e49
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 0x10c2e4b
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 0x10c2e88
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 0x10c2efc
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 0x10c2efe
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 0x10c2f3b
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 0x10c2faf
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 0x10c2fb1
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 0x10c2fef
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 0x10c331c
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.010c22bd
test eax, eax
mov dword [ebp - 0x24], eax
jne 0x10c3034
mov dword [ebp - 0x18], 0x80000002
jmp 0x10c331c
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 0x10c305d
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 0x10c305d
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 0x10c3078
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
lea eax, [ebp - 0x3c]
mov byte [eax], 0
inc eax
dec ecx
jne 0x10c307d
lea eax, [ebp - 0x90]
cmp eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
je 0x10c30ab
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 0x10c30ab
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.010c22bd
test eax, eax
mov dword [ebp - 4], eax
je 0x10c3115
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 0x10c30e4
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.010ca716
mov eax, dword [ebp - 4]
mov ecx, ebx
mov byte [eax], 0
inc eax
dec ecx
jne 0x10c3100
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.010c22dd
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.010c22bd
test eax, eax
mov dword [ebp - 4], eax
je 0x10c3179
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 0x10c3148
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.010ca716
mov eax, dword [ebp - 4]
mov ecx, ebx
mov byte [eax], 0
inc eax
dec ecx
jne 0x10c3164
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.010c22dd
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.010c22bd
test eax, eax
mov dword [ebp - 4], eax
je 0x10c31d9
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 0x10c31ac
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.010ca716
mov eax, dword [ebp - 4]
mov ecx, ebx
mov byte [eax], 0
inc eax
dec ecx
jne 0x10c31c4
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.010c22dd
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.010c22bd
test eax, eax
mov dword [ebp - 4], eax
je 0x10c323d
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 0x10c320c
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.010ca716
mov eax, dword [ebp - 4]
mov ecx, ebx
mov byte [eax], 0
inc eax
dec ecx
jne 0x10c3228
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.010c22dd
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.010c77e9
test eax, eax
jne 0x10c3264
mov dword [ebp - 0x18], 0x800480d5
jmp 0x10c331c
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.010c9584
test eax, eax
je 0x10c3258
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.010c7a17
test eax, eax
je 0x10c3258
push dword [ebp + 8]
push 0x28
call fcn.010c22bd
test eax, eax
mov dword [ebp - 0x20], eax
je 0x10c3258
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.010ca849
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 0x10c32dd
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebp - 0x20]
cmp dword [ebp + 0x14], edx
je 0x10c32fe
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 0x10c32fe
rep movsb byte es:[edi], byte [esi]
push 0x28
pop ecx
mov eax, edx
mov byte [eax], 0
inc eax
dec ecx
jne 0x10c3303
push dword [ebp + 8]
push edx
call fcn.010c22dd
jmp 0x10c331c
mov dword [ebp - 0x18], 0x80070057
mov edx, dword [ebp - 0x28]
test edx, edx
pop edi
pop esi
pop ebx
je 0x10c335b
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 0x10c3331
mov eax, dword [edx + 4]
push 0x14
pop ecx
mov byte [eax], 0
inc eax
dec ecx
jne 0x10c333e
mov eax, dword [edx + 8]
push 0x14
pop ecx
mov byte [eax], 0
inc eax
dec ecx
jne 0x10c334b
push dword [ebp - 0x40]
push edx
call fcn.010c22dd
cmp dword [ebp + 8], 0
je 0x10c3381
cmp dword [ebp - 0x24], 0
je 0x10c3376
mov eax, dword [ebp - 0x24]
mov ecx, 0xb4
mov byte [eax], 0
inc eax
dec ecx
jne 0x10c336f
push dword [ebp - 0x40]
push dword [ebp - 0x24]
call fcn.010c22dd
mov eax, dword [ebp - 0x18]
leave
ret