Function at 0x1003bab0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x168
push ebx
xor eax, eax
mov dword [ebp - 0x28], ecx
xor edx, edx
mov dword [ebp - 0x2c], eax
push esi
push edi
mov dword [ebp - 0x30], edx
cmp dword [ebp + 0x10], eax
jb 0x1003bd09
ja 0x1003bae0
cmp dword [ebp + 0xc], eax
jbe 0x1003bd09
lea ecx, [ecx]
mov ecx, eax
mov eax, edx
shld eax, ecx, 6
shl ecx, 6
add ecx, dword [ebp + 8]
xor esi, esi
lea edx, [ecx + 2]
movzx ecx, byte [edx - 2]
lea edx, [edx + 4]
movzx eax, byte [edx - 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 3]
shl ecx, 8
or ecx, eax
mov dword [ebp + esi*4 - 0x164], ecx
inc esi
cmp esi, 0x10
jl 0x1003baf3
lea eax, [ebp - 0x12c]
mov ebx, 0x30
lea ecx, [ecx]
mov edx, dword [eax - 0x34]
lea eax, [eax + 4]
mov esi, dword [eax - 4]
mov edi, edx
mov ecx, edx
ror edi, 0x12
ror ecx, 7
xor edi, ecx
shr edx, 3
xor edi, edx
mov ecx, esi
mov edx, esi
ror ecx, 0x11
ror edx, 0x13
xor edx, ecx
shr esi, 0xa
xor edx, esi
add edi, edx
add edi, dword [eax - 0x3c]
add edi, dword [eax - 0x18]
mov dword [eax + 4], edi
sub ebx, 1
jne 0x1003bb30
mov ebx, dword [ebp - 0x28]
mov edx, dword [ebx + 0x9c]
mov eax, dword [ebx + 0x90]
mov ecx, dword [ebx + 0x98]
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x20], edx
mov edx, dword [ebx + 0xa0]
mov edi, edx
mov dword [ebp - 0x4c], edx
mov edx, dword [ebx + 0xa4]
mov esi, edx
mov dword [ebp - 0x50], edx
mov edx, dword [ebx + 0xa8]
mov dword [ebp - 0x58], edx
mov dword [ebp - 8], edx
mov edx, dword [ebx + 0xac]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x94]
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x1c], edx
xor edx, edx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x40], eax
mov eax, edi
ror eax, 0xb
mov dword [ebp - 0x5c], esi
mov esi, edi
ror esi, 0x19
xor esi, eax
mov dword [ebp - 0x48], ecx
mov eax, edi
mov dword [ebp - 0x38], ebx
ror eax, 6
mov ecx, edi
xor esi, eax
mov dword [ebp - 0x54], edi
mov eax, dword [ebp - 0x14]
not ecx
and ecx, dword [ebp - 8]
and eax, edi
xor ecx, eax
mov eax, ebx
add esi, ecx
ror eax, 0xd
add esi, dword [edx + 0x100afaf0]
add esi, dword [ebp + edx - 0x164]
mov edx, ebx
add esi, dword [ebp - 0x1c]
ror edx, 0x16
xor edx, eax
mov eax, ebx
ror eax, 2
xor edx, eax
mov eax, dword [ebp - 0x10]
mov ecx, eax
and eax, dword [ebp - 0xc]
xor ecx, dword [ebp - 0xc]
and ecx, ebx
xor ecx, eax
mov eax, dword [ebp - 8]
add edx, ecx
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], edi
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x10], ebx
add edi, esi
lea ebx, [edx + esi]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
add edx, 4
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x24], edx
cmp edx, 0x100
jl 0x1003bbd4
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x30]
add dword [ebx + 0x90], eax
mov eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x38]
mov dword [ebx + 0x94], eax
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x40]
mov dword [ebx + 0x98], eax
mov eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x48]
mov dword [ebx + 0x9c], eax
mov eax, dword [ebp - 0x4c]
add eax, edi
mov dword [ebx + 0xa0], eax
mov eax, dword [ebp - 0x50]
add eax, dword [ebp - 0x54]
mov dword [ebx + 0xa4], eax
mov eax, dword [ebp - 0x58]
add eax, dword [ebp - 0x5c]
mov dword [ebx + 0xa8], eax
mov eax, dword [ebp - 0x60]
add eax, dword [ebp - 0x64]
mov dword [ebx + 0xac], eax
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
adc edx, 0
mov dword [ebp - 0x30], edx
cmp edx, dword [ebp + 0x10]
jb 0x1003bae0
ja 0x1003bd09
cmp eax, dword [ebp + 0xc]
jb 0x1003bae0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc