Function at 0x10001de1
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x38
push ebx
push ebp
push esi
mov esi, dword [0x1008633c]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov eax, dword [0x10086344]
mov ecx, esi
imul ecx, eax
imul ecx, ecx, 6
push edi
mov edi, dword [0x10086340]
push 3
mov edx, dword [esp + 0x50]
pop ebx
sub ebx, ecx
mov ecx, dword [0x10086348]
imul ebx, eax
lea ebp, [esi + ecx*2]
mov esi, dword [0x1008634c]
imul ebp, ecx
sub ebp, esi
add ebp, edi
imul ebp, ebp, 3
add ebx, edx
add ebp, ebx
mov ebx, edi
imul ebx, ebx, 5
mov dword [esp + 0x24], ebx
add ebx, edx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebp
lea ebx, [eax + 1]
imul ebx, dword [0x1008633c]
lea ebp, [esi + esi]
sub ebx, ebp
sub ebx, ecx
add ebx, eax
imul ebx, ebx, 3
add ebx, edx
mov dword [esp + 0x30], ebx
mov ebx, ecx
imul ebx, esi
mov ebp, eax
sub ebp, ebx
imul ebp, edi
mov ebx, dword [0x1008633c]
sub ebp, ecx
imul ebp, ebp, 3
add ebp, edx
mov dword [esp + 0x34], ebp
push 2
pop ebp
sub ebp, ebx
imul ebp, ecx
mov edx, esi
imul edx, edx, 3
inc ebx
imul ebx, edi
add ebp, ebx
imul ebp, ebp, 3
add ebp, dword [esp + 0x4c]
push 3
pop ebx
sub ebx, edx
imul ebx, eax
add ebx, ebp
mov dword [esp + 0x20], edx
mov edx, dword [0x1008633c]
mov ebp, edx
imul ebp, ecx
sub ebp, edi
dec ebp
mov dword [esp + 0x38], ebx
dec ebp
push 2
imul ebp, edx
pop ebx
sub ebx, eax
sub ebx, esi
imul ebx, ecx
add ebp, ebx
mov ebx, dword [esp + 0x24]
sub ebp, edi
add ebp, dword [esp + 0x20]
add ebx, 5
imul ebp, ebp, 5
imul ebx, eax
sub ebp, ebx
mov ebx, dword [esp + 0x4c]
add ebp, ebx
mov dword [esp + 0x3c], ebp
mov ebp, eax
sub ebp, esi
inc ebp
imul ebp, edi
sub ebp, edx
sub ebp, esi
add ebp, ecx
lea edx, [ebx + ebp*4]
mov dword [esp + 0x20], edx
mov edx, eax
imul edx, eax
imul edx, ecx
add edx, edx
mov ebx, edx
mov edx, edi
imul edx, esi
add edx, edx
mov dword [esp + 0x40], edx
mov edx, ecx
push 4
shl edx, 2
pop ebp
sub ebp, edx
imul ebp, edi
sub ebx, edi
sub ebx, edi
sub ebx, esi
sub ebx, esi
imul ebx, eax
sub ebp, 4
lea eax, [eax*8 + 4]
imul ebp, ecx
imul eax, esi
sub ebp, eax
mov eax, dword [0x1008633c]
shl eax, 2
sub ebp, eax
mov eax, dword [esp + 0x50]
add ebp, eax
mov dword [esp + 0x24], ebp
mov eax, dword [esp + 0x14]
inc eax
xor edx, edx
mov ebp, 0x1d13
div ebp
mov eax, dword [esp + 0x28]
movzx eax, byte [eax + edx]
add eax, dword [esp + 0x1c]
mov dword [esp + 0x14], edx
xor edx, edx
div ebp
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
mov al, byte [eax + ebp]
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x30]
mov al, byte [eax + edx]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x34]
mov byte [edx + ebp], al
mov ebp, dword [esp + 0x1c]
mov al, byte [esp + 0x13]
mov edx, dword [esp + 0x38]
mov byte [edx + ebp], al
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
add eax, edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x20]
movzx eax, byte [eax + edx]
mov edx, dword [esp + 0x3c]
movzx edx, byte [edx + ebp]
add eax, edx
xor edx, edx
mov ebp, 0x1d13
div ebp
mov ebp, dword [esp + 0x44]
mov eax, edi
sub eax, ecx
sub eax, esi
add edx, dword [esp + 0x40]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x4c]
add eax, ebx
mov al, byte [eax + edx]
xor byte [ebp], al
inc dword [esp + 0x18]
cmp dword [esp + 0x18], 0x22600
jb 0x10001f57
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret