Function at 0x10c22fb
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 0x10c29d7
cmp dword [ebp + 0xc], esi
je 0x10c29d7
cmp dword [ebp + 0x10], esi
je 0x10c29d7
cmp dword [ebp + 0x14], esi
je 0x10c29d7
push esi
push 0x104
mov dword [ebp - 0x40], esi
call fcn.010c2068
mov ebx, eax
cmp ebx, esi
mov dword [ebp - 8], ebx
jne 0x10c235b
mov dword [ebp - 0x40], 0x80000002
jmp 0x10c2641
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 0x10c238c
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 0x10c23ad
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 0x10c23cf
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 0x10c23f6
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 0x10c241b
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 0x10c249b
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 0x10c249d
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 0x10c24da
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 0x10c254e
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 0x10c2550
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 0x10c258d
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 0x10c25fe
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 0x10c2600
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 0x10c263e
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 0x10c29de
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 0x10c26b8
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 0x10c26ba
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 0x10c26fe
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.010c2068
test eax, eax
mov dword [ebp - 0x48], eax
jne 0x10c2732
mov dword [ebp - 0x1c], 0x80000002
jmp 0x10c29de
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 0x10c276e
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 0x10c276e
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.010c2068
test eax, eax
mov dword [ebp - 4], eax
je 0x10c27d2
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 0x10c27a5
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.010ca4cc
mov eax, dword [ebp - 4]
push 0x14
pop ecx
mov byte [eax], 0
inc eax
dec ecx
jne 0x10c27bc
push ebx
push dword [ebp - 4]
call fcn.010c2088
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.010c2068
test eax, eax
mov dword [ebp - 4], eax
je 0x10c2831
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 0x10c2803
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.010ca4cc
mov eax, dword [ebp - 4]
push 0x14
pop ecx
mov byte [eax], 0
inc eax
dec ecx
jne 0x10c281e
push ebx
push dword [ebp - 4]
call fcn.010c2088
mov esi, dword [ebp - 0x24]
push ebx
push 0
push 0
push esi
push dword [ebp - 0x20]
call fcn.010c759f
test eax, eax
jne 0x10c284f
mov dword [ebp - 0x1c], 0x800480d5
jmp 0x10c29de
mov edx, dword [ebp + 0x14]
cmp edx, dword [ebp + 0x10]
je 0x10c2873
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 0x10c2870
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.010c20ae
test eax, eax
je 0x10c2843
push ebx
push 0
push 5
push dword [ebp - 0x48]
lea eax, [ebp - 0x3c]
push eax
call fcn.010caa9f
push ebx
push esi
push dword [ebp - 8]
push 5
push dword [ebp - 0x48]
push 0x3c
push 4
push 0x10eef94
call fcn.010c9a7c
test eax, eax
je 0x10c2843
push ebx
push 0
push 0
push esi
push dword [ebp - 0x20]
call fcn.010c759f
test eax, eax
je 0x10c2843
push ebx
push esi
push dword [ebp + 8]
push 5
push dword [ebp - 0x48]
push 0
push 4
push dword [ebp - 0x20]
call fcn.010c9a7c
test eax, eax
je 0x10c2843
push ebx
push 0
push esi
push 1
push dword [ebp - 0x40]
push edi
push dword [ebp + 8]
call fcn.010c77cd
test eax, eax
je 0x10c2843
mov eax, dword [esi]
push ebx
push dword [eax + 0x30]
push dword [ebp + 8]
push dword [ebp - 8]
call fcn.010ca5ff
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 0x10c292b
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.010ca5ff
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 0x10c2965
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.010ca5ff
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 0x10c299b
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.010ca5ff
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 0x10c29d5
rep movsb byte es:[edi], byte [esi]
jmp 0x10c29de
mov dword [ebp - 0x1c], 0x80070057
mov edx, dword [ebp - 0x24]
test edx, edx
pop edi
pop esi
pop ebx
je 0x10c2a1d
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 0x10c29f3
mov eax, dword [edx + 4]
push 0x14
pop ecx
mov byte [eax], 0
inc eax
dec ecx
jne 0x10c2a00
mov eax, dword [edx + 8]
push 0x14
pop ecx
mov byte [eax], 0
inc eax
dec ecx
jne 0x10c2a0d
push dword [ebp - 0x44]
push edx
call fcn.010c2088
push 0x14
pop ecx
lea eax, [ebp - 0x3c]
mov byte [eax], 0
inc eax
dec ecx
jne 0x10c2a23
cmp dword [ebp - 0x48], 0
je 0x10c2a3f
mov eax, dword [ebp - 0x48]
mov ecx, 0xdc
mov byte [eax], 0
inc eax
dec ecx
jne 0x10c2a38
push dword [ebp - 0x44]
push dword [ebp - 0x48]
call fcn.010c2088
mov eax, dword [ebp - 0x1c]
leave
ret