Function at 0x100a2cc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, dword [edi + 0x1c]
shl esi, 3
push esi
call fcn.101c8213
push esi
mov dword [ebp - 4], eax
call fcn.101c8213
mov ebx, eax
push esi
mov dword [ebp - 8], ebx
call fcn.101c8213
mov esi, eax
add esp, 0xc
mov eax, dword [edi + 0x24]
mov dword [ebp - 0xc], esi
sub eax, 0
je 0x100a2e89
dec eax
jne 0x100a2fa1
lea esi, [eax + 8]
mov ecx, 4
mov eax, dword [ebp - 4]
sub ecx, eax
mov dword [ebp + 8], ecx
mov ecx, 0xfffffff8
mov ebx, dword [ebp + 8]
sub ecx, eax
mov dword [ebp + 0x10], ecx
lea edx, [eax + 8]
mov dword [ebp - 0x14], edx
lea ebx, [ebx]
mov eax, dword [edi]
add ecx, edx
mov eax, dword [ecx + eax]
mov dword [edx - 8], eax
mov eax, dword [edi]
mov eax, dword [ecx + eax + 4]
lea ecx, [ebx + edx]
mov dword [edx - 4], eax
mov eax, dword [edi]
mov eax, dword [esi + eax]
add esi, 0x10
mov dword [edx], eax
mov eax, dword [edi]
mov eax, dword [ecx + eax]
mov ecx, dword [ebp + 0x10]
mov dword [edx + 4], eax
add edx, 0x10
cmp esi, 0x48
jl 0x100a2d30
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
cmp eax, 1
jl 0x100a2d82
push 0
push ebx
push dword [ebp - 4]
call fcn.100a1df0
mov eax, dword [ebp + 0xc]
add esp, 0xc
cmp eax, 2
jl 0x100a2d99
push 0x1000000
push esi
push ebx
call fcn.100a1df0
mov eax, dword [ebp + 0xc]
add esp, 0xc
cmp eax, 3
jl 0x100a2db0
push 0x2000000
push ebx
push esi
call fcn.100a1df0
mov eax, dword [ebp + 0xc]
add esp, 0xc
cmp eax, 4
jl 0x100a2dc7
push 0x3000000
push esi
push ebx
call fcn.100a1df0
mov eax, dword [ebp + 0xc]
add esp, 0xc
cmp eax, 5
jl 0x100a2dde
push 0x4000000
push ebx
push esi
call fcn.100a1df0
mov eax, dword [ebp + 0xc]
add esp, 0xc
cmp eax, 6
jl 0x100a2df5
push 0x5000000
push esi
push ebx
call fcn.100a1df0
mov eax, dword [ebp + 0xc]
add esp, 0xc
cmp eax, 7
jl 0x100a2e0c
push 0x6000000
push ebx
push esi
call fcn.100a1df0
mov eax, dword [ebp + 0xc]
add esp, 0xc
cmp eax, 8
jl 0x100a2e23
push 0x7000000
push esi
push ebx
call fcn.100a1df0
mov eax, dword [ebp + 0xc]
add esp, 0xc
cmp eax, 9
jl 0x100a2e37
push 0x8000000
push ebx
push esi
call fcn.100a1df0
add esp, 0xc
push 0x9000000
push dword [ebp - 4]
push ebx
call fcn.100a1df0
mov esi, dword [ebp - 0x14]
add esp, 0xc
mov ebx, 8
mov ecx, dword [edi]
mov edx, dword [ebp + 0x10]
mov eax, dword [esi - 8]
add edx, esi
xor dword [ecx + edx], eax
mov ecx, dword [edi]
mov eax, dword [esi - 4]
xor dword [ecx + edx + 4], eax
mov ecx, dword [edi]
mov eax, dword [esi]
xor dword [ecx + ebx], eax
add ebx, 0x10
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 4]
add ecx, esi
add ecx, dword [edi]
add esi, 0x10
xor dword [ecx], eax
cmp ebx, 0x48
jl 0x100a2e50
jmp 0x100a2f9b
mov eax, dword [ebp - 4]
mov ecx, 4
sub ecx, eax
mov esi, 8
mov dword [ebp - 0x10], ecx
mov ecx, 0xfffffff8
mov ebx, dword [ebp - 0x10]
sub ecx, eax
lea edx, [eax + 8]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov edi, edi
mov eax, dword [edi]
add ecx, edx
mov eax, dword [ecx + eax]
mov dword [edx - 8], eax
mov eax, dword [edi]
mov eax, dword [eax + ecx + 4]
mov ecx, dword [ebp - 0x14]
mov dword [edx - 4], eax
mov eax, dword [edi]
mov eax, dword [esi + eax]
add esi, 0x10
mov dword [edx], eax
mov eax, dword [edi]
add eax, ebx
mov eax, dword [eax + edx]
mov dword [edx + 4], eax
add edx, 0x10
cmp esi, 0x88
jl 0x100a2eb0
mov ebx, dword [ebp - 8]
push 0
push ebx
push dword [ebp - 4]
call fcn.100a0250
mov eax, dword [ebp + 0x10]
mov esi, 1
dec eax
add esp, 0xc
cmp eax, esi
jle 0x100a2f3f
mov edi, dword [ebp - 0xc]
mov dword [ebp + 0xc], 0x2000000
lea ecx, [ecx]
mov eax, esi
shl eax, 0x18
push eax
push edi
push ebx
call fcn.100a0250
push dword [ebp + 0xc]
push ebx
push edi
call fcn.100a0250
mov eax, dword [ebp + 0x10]
add esi, 2
add dword [ebp + 0xc], 0x2000000
dec eax
add esp, 0x18
cmp esi, eax
jl 0x100a2f10
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
dec eax
shl eax, 0x18
push eax
push dword [ebp - 4]
push ebx
call fcn.100a0250
mov esi, dword [ebp - 0x18]
add esp, 0xc
mov ebx, dword [ebp - 0x10]
mov dword [ebp + 0xc], 8
mov ecx, dword [edi]
mov edx, dword [ebp - 0x14]
mov eax, dword [esi - 8]
add edx, esi
xor dword [ecx + edx], eax
mov ecx, dword [edi]
mov eax, dword [esi - 4]
xor dword [ecx + edx + 4], eax
mov ecx, dword [edi]
mov edx, dword [ebp + 0xc]
mov eax, dword [esi]
xor dword [ecx + edx], eax
lea ecx, [ebx + esi]
add ecx, dword [edi]
add edx, 0x10
mov eax, dword [esi + 4]
add esi, 0x10
mov dword [ebp + 0xc], edx
xor dword [ecx], eax
cmp edx, 0x88
jl 0x100a2f60
mov esi, dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
push dword [ebp - 4]
call fcn.101c78e4
push ebx
call fcn.101c78e4
push esi
call fcn.101c78e4
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc