Function at 0x10006e36
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x144
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.10005cc0
mov eax, esp
mov dword [0x10239968], 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 0x10006f6a
lea eax, [0x10008463]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov esi, dword [ebp - 0x124]
add esi, 0x1144cb
mov edi, dword [ebp - 0x124]
add edi, 0xf4a86
mov dword [0x10239968], 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.10006729
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.10005d71
add esp, 0x10
xor eax, eax
mov ecx, dword [0x1023996c]
add ecx, 0x571
mov dword [0x1023996c], ecx
mov ecx, dword [ebp - 0x110]
mov edx, dword [ebp - 0x134]
mov dword [ecx], edx
mov dword [ecx + 4], 0x137c00
mov dword [0x10239968], 0x733
mov edx, dword [ebp - 0x128]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], 0x1ff0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x120]
mov ecx, dword [ebp - 0x11c]
xor edx, edx
lea esi, section..data
imul edi, eax, 0xd4
mov ebx, esi
add ebx, edi
add ebx, 0xd0
mov edi, dword [ebx]
imul ebx, eax, 0xd4
add esi, ebx
add esi, 0x90
movzx esi, word [esi]
xor esi, edi
add esi, ecx
add eax, 1
cmp eax, 0x1a1
mov ecx, esi
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x138], esi
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x13c], edx
jne 0x10006f6a
mov eax, dword [ebp - 0x13c]
mov cl, byte [eax + 0x10008484]
mov dl, byte [eax + 0x10008455]
sub dl, cl
mov esi, dword [ebp - 0x118]
mov byte [esi + eax], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x13c], eax
jne 0x10006fcb
mov dword [0x10239968], 0xfffeb770
call fcn.10006a9f
sub esp, 8
mov dword [esp], eax
mov eax, dword [ebp - 0x118]
mov dword [esp + 4], eax
call fcn.10006b83
add esp, 8
mov ecx, eax
mov dword [0x10239980], 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 - 0x140], edx
mov dword [ebp - 0x144], ecx
mov eax, dword [ebp - 0x144]
mov ecx, dword [ebp - 0x140]
lea edx, section..data
imul esi, eax, 0xd4
mov edi, edx
add edi, esi
add edi, 0xd0
mov esi, dword [edi]
imul edi, eax, 0xd4
mov ebx, edx
add ebx, edi
add ebx, 0x4c
mov edi, dword [ebx]
imul ebx, eax, 0xd4
add edx, ebx
add edx, 0x90
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x124]
add esi, ecx
sub esp, 0xc
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 0x150], edx
call fcn.10006151
add esp, 0xc
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x14c]
add eax, ecx
mov edx, dword [ebp - 0x148]
add edx, 1
cmp edx, 0x1a1
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x144], edx
je 0x10006e8e
jmp 0x10007064