Function at 0x100c1a30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x454
mov eax, dword [0x10206f54]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x454], esi
mov esi, dword [esi + 0x18]
mov dword [ebp - 0x444], esi
cmp esi, 4
jge 0x100c1a7b
cmp esi, 1
jge 0x100c1a80
push 0x93
push str.C:coretech_sourcegreen_aide_source_aideexternalwebpenc_analysis_enc.c
push str.nb___1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
jmp 0x100c1a86
mov esi, 4
mov dword [ebp - 0x444], esi
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
lea eax, [ecx + 8]
nop
cmp dword [eax - 8], 0
jne 0x100c1acd
cmp dword [eax - 4], 0
jne 0x100c1acc
cmp dword [eax], 0
jne 0x100c1ac7
cmp dword [eax + 4], 0
jne 0x100c1ac2
add ebx, 4
add eax, 0x10
mov dword [ebp - 0x450], ebx
cmp ebx, 0xff
jle 0x100c1a90
mov eax, 0xff
jmp 0x100c1aed
add ebx, 3
jmp 0x100c1acd
add ebx, 2
jmp 0x100c1acd
inc ebx
mov eax, 0xff
mov dword [ebp - 0x450], ebx
mov dword [ebp - 0x448], eax
cmp ebx, eax
jge 0x100c1af3
cmp dword [ecx + eax*4], 0
jne 0x100c1aed
dec eax
cmp eax, ebx
jg 0x100c1ae2
mov dword [ebp - 0x448], eax
mov ecx, eax
mov eax, 1
push edi
sub ecx, ebx
mov dword [ebp - 0x440], eax
xor edi, edi
mov dword [ebp - 0x43c], ecx
test esi, esi
jle 0x100c1b7b
lea edx, [esi + esi]
lea esi, [ecx + ecx]
mov dword [ebp - 0x44c], edx
mov dword [ebp - 0x438], esi
mov esi, dword [ebp - 0x444]
cmp eax, edx
jl 0x100c1b49
push 0x9f
push str.C:coretech_sourcegreen_aide_source_aideexternalwebpenc_analysis_enc.c
push str.n___2__nb
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ecx, dword [ebp - 0x43c]
add esp, 0xc
mov eax, ecx
add ecx, dword [ebp - 0x438]
cdq
idiv dword [ebp - 0x44c]
mov dword [ebp - 0x43c], ecx
lea edx, [esi + esi]
add eax, ebx
mov dword [ebp + edi*4 - 0x14], eax
inc edi
mov eax, dword [ebp - 0x440]
add eax, 2
mov dword [ebp - 0x440], eax
cmp edi, esi
jl 0x100c1b27
mov dword [ebp - 0x44c], 0
test esi, esi
jle 0x100c1ba6
lea edx, [esi*4]
xor eax, eax
mov ecx, edx
lea edi, [ebp - 0x24]
shr ecx, 2
rep stosd dword es:[edi], eax
shr edx, 2
lea edi, [ebp - 0x34]
mov ecx, edx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x448]
xor edi, edi
cmp dword [ebp - 0x450], eax
jg 0x100c1c24
mov ecx, dword [ebp + 0xc]
nop dword [eax]
mov edx, dword [ecx + ebx*4]
mov dword [ebp - 0x438], edx
test edx, edx
je 0x100c1c1f
lea ecx, [edi + 1]
cmp ecx, esi
jge 0x100c1c02
mov eax, ebx
sub eax, dword [ebp + edi*4 - 0x10]
cdq
mov esi, eax
mov eax, ebx
sub eax, dword [ebp + edi*4 - 0x14]
xor esi, edx
sub esi, edx
cdq
xor eax, edx
sub eax, edx
cmp esi, eax
mov esi, dword [ebp - 0x444]
jge 0x100c1bfc
inc ecx
inc edi
cmp ecx, esi
jl 0x100c1bd4
mov edx, dword [ebp - 0x438]
mov ecx, dword [ebp + 0xc]
mov eax, edx
imul eax, ebx
mov dword [ebp + ebx*4 - 0x434], edi
add dword [ebp + edi*4 - 0x34], eax
add dword [ebp + edi*4 - 0x24], edx
mov eax, dword [ebp - 0x448]
inc ebx
cmp ebx, eax
jle 0x100c1bc0
xor ebx, ebx
xor ecx, ecx
xor edi, edi
mov dword [ebp - 0x43c], ebx
mov dword [ebp - 0x440], ebx
mov dword [ebp - 0x438], ecx
test esi, esi
jle 0x100c1c95
mov ebx, dword [ebp + edi*4 - 0x24]
test ebx, ebx
je 0x100c1c8a
mov eax, ebx
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebp + edi*4 - 0x34]
sar ecx, 1
add eax, ecx
cdq
idiv ebx
mov ecx, eax
mov eax, dword [ebp + edi*4 - 0x14]
sub eax, ecx
mov dword [ebp + edi*4 - 0x14], ecx
cdq
xor eax, edx
sub eax, edx
add dword [ebp - 0x43c], eax
mov eax, ebx
imul eax, ecx
mov ecx, dword [ebp - 0x438]
add dword [ebp - 0x440], eax
add ecx, ebx
mov dword [ebp - 0x438], ecx
inc edi
cmp edi, esi
jl 0x100c1c40
mov ebx, dword [ebp - 0x43c]
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x440]
cdq
idiv ecx
mov dword [ebp - 0x438], eax
cmp ebx, 5
jl 0x100c1ccc
mov eax, dword [ebp - 0x44c]
mov ebx, dword [ebp - 0x450]
inc eax
mov dword [ebp - 0x44c], eax
cmp eax, 6
jl 0x100c1b85
mov ebx, dword [ebp - 0x454]
xor edi, edi
mov eax, dword [ebx + 0x28]
imul eax, dword [ebx + 0x2c]
test eax, eax
jle 0x100c1d13
nop
mov eax, dword [ebx + 0x588c]
lea edx, [eax + edi*8]
inc edi
movzx eax, byte [edx + 4]
mov ecx, dword [ebp + eax*4 - 0x434]
mov eax, ecx
shl eax, 5
xor eax, dword [edx]
and eax, 0x60
xor dword [edx], eax
mov al, byte [ebp + ecx*4 - 0x14]
mov byte [edx + 4], al
mov eax, dword [ebx + 0x2c]
imul eax, dword [ebx + 0x28]
cmp edi, eax
jl 0x100c1ce0
pop edi
cmp esi, 1
jle 0x100c1d2a
mov eax, dword [ebx]
test byte [eax + 0x44], 1
je 0x100c1d2a
push ebx
call fcn.100c23b0
add esp, 4
push dword [ebp - 0x438]
lea eax, [ebp - 0x14]
push eax
push ebx
call fcn.100c2200
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
pop esi
pop ebx
call fcn.101a8b60
mov esp, ebp
pop ebp
ret