Function at 0x10006e31
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x110], eax
xor eax, eax
mov ecx, 0x20
mov dword [ebp - 0x114], eax
mov eax, ecx
call fcn.10005c70
mov eax, esp
mov dword [0x102869b0], 0xf5e
mov ecx, dword [ebp - 0x114]
mov edx, dword [ebp - 0x114]
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x120], edx
jmp 0x10006fd2
lea eax, [0x10008453]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov esi, dword [ebp - 0x124]
add esi, 0x12b2c9
mov edi, dword [ebp - 0x124]
add edi, 0x17a134
mov dword [0x102869b0], 0x14c0
sub esp, 0xc
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x128], edi
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x134], esi
call fcn.10006479
add esp, 0xc
sub esp, 0x10
mov eax, dword [ebp - 0x130]
mov dword [esp], eax
mov ecx, dword [ebp - 0x124]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x138]
mov dword [esp + 0xc], edx
call fcn.10005fef
add esp, 0x10
xor eax, eax
mov ecx, dword [0x102869b4]
add ecx, 0x571
mov dword [0x102869b4], ecx
mov ecx, dword [ebp - 0x110]
mov edx, dword [ebp - 0x128]
mov dword [ecx], edx
mov dword [ecx + 4], 0x122e00
mov dword [0x102869b0], 0x733
mov edx, dword [ebp - 0x134]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], 0x2010
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [0x102869b0], 0xfffeb770
call fcn.10006a84
sub esp, 8
mov dword [esp], eax
mov eax, dword [ebp - 0x118]
mov dword [esp + 4], eax
call fcn.10006b5c
add esp, 8
mov ecx, eax
mov dword [0x102869c8], eax
sub esp, 0x10
mov eax, esp
mov edx, dword [ebp - 0x138]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x140], ecx
jmp 0x1000706c
mov eax, dword [ebp - 0x120]
mov ecx, dword [ebp - 0x11c]
xor edx, edx
lea esi, section..data
imul edi, ecx, 0xd4
mov ebx, esi
add ebx, edi
add ebx, 0x90
imul edi, ecx, 0xd4
add esi, edi
add esi, 0xd0
add ecx, 1
mov esi, dword [esi]
movzx edi, word [ebx]
xor edi, esi
add edi, eax
cmp ecx, 0x3ab
mov eax, edi
mov dword [ebp - 0x138], edi
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x144], edx
jne 0x10006fd2
mov eax, dword [ebp - 0x144]
mov cl, byte [eax + 0x10008474]
mov dl, byte [eax + 0x10008445]
sub dl, cl
mov esi, dword [ebp - 0x118]
mov byte [esi + eax], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x144], eax
je 0x10006f65
jmp 0x10007035
mov eax, dword [ebp - 0x140]
mov ecx, dword [ebp - 0x13c]
lea edx, section..data
imul esi, eax, 0xd4
mov edi, edx
add edi, esi
add edi, 0x4c
mov esi, dword [ebp - 0x124]
add esi, ecx
imul ebx, eax, 0xd4
mov dword [ebp - 0x148], eax
mov eax, edx
add eax, ebx
add eax, 0xd0
mov ebx, dword [ebp - 0x148]
add ebx, 1
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x148]
imul eax, eax, 0xd4
add edx, eax
add edx, 0x90
mov eax, dword [ebp - 0x14c]
mov eax, dword [eax]
mov edi, dword [edi]
movzx edx, word [edx]
xor edx, eax
sub esp, 0xc
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x154], ecx
mov dword [ebp - 0x158], ebx
call fcn.100065c0
add esp, 0xc
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x154]
add eax, ecx
mov edx, dword [ebp - 0x158]
cmp edx, 0x3ab
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x13c], eax
je 0x10006e89
jmp 0x1000706c