Function at 0x1009acc1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x13c
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.1009a700
mov eax, esp
mov dword [0x100ac0f4], 0xd90
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
mov eax, dword [ebp - 0x120]
mov ecx, dword [ebp - 0x11c]
lea edx, section..data
imul esi, ecx, 0xa0
mov edi, edx
add edi, esi
add edi, 0x8c
imul esi, ecx, 0xa0
add edx, esi
add edx, 0x88
add ecx, 1
mov esi, dword [edi]
movzx edx, word [edx]
xor edx, esi
add edx, eax
cmp ecx, 0x11b
mov eax, edx
mov dword [ebp - 0x124], edx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x120], eax
jne 0x1009ad14
xor eax, eax
mov dword [0x100ac0f4], 0x2680
mov dword [0x100ac0f8], 0x840
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x128]
mov cl, byte [eax + 0x1009f794]
mov dl, byte [eax + 0x1009f765]
sub dl, cl
mov esi, dword [ebp - 0x118]
mov byte [esi + eax], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x128], eax
jne 0x1009ad8b
mov dword [0x100ac0f8], 0x184dd
mov dword [0x100ac0f4], 0x4b4
call fcn.1009b8f2
sub esp, 8
mov dword [esp], eax
mov eax, dword [ebp - 0x118]
mov dword [esp + 4], eax
call fcn.1009b3b3
add esp, 8
mov ecx, eax
mov dword [0x100ac114], eax
sub esp, 0x10
mov eax, esp
mov edx, dword [ebp - 0x124]
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 dword [0x100ac0f4], 0x1402
mov edx, ecx
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x134], ecx
mov eax, dword [ebp - 0x134]
mov ecx, dword [ebp - 0x130]
lea edx, section..data
imul esi, eax, 0xa0
mov edi, edx
add edi, esi
add edi, 0x8c
mov esi, dword [edi]
imul edi, eax, 0xa0
mov ebx, edx
add ebx, edi
add ebx, 0x34
mov edi, dword [ebx]
imul ebx, eax, 0xa0
add edx, ebx
add edx, 0x88
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x12c]
add esi, ecx
sub esp, 0xc
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x13c], ecx
mov dword [ebp - 0x140], edx
call fcn.1009bd2d
add esp, 0xc
mov eax, dword [ebp - 0x140]
mov ecx, dword [ebp - 0x13c]
add eax, ecx
mov edx, dword [ebp - 0x138]
add edx, 1
cmp edx, 0x11b
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
jne 0x1009ae38
lea eax, [0x1009f773]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov dword [0x100ac0f8], 0xb83
mov esi, dword [0x100ac0f4]
add esi, 0x1cea
mov dword [0x100ac0f4], esi
sub esp, 0xc
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x148], ecx
call fcn.1009b049
add esp, 0xc
mov dword [0x100ac0f4], 0x317
mov dword [0x100ac0f8], 0x11e7
sub esp, 0x10
mov eax, dword [ebp - 0x144]
mov dword [esp], eax
mov ecx, dword [ebp - 0x12c]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x124]
mov dword [esp + 0xc], edx
call fcn.1009c026
add esp, 0x10
xor eax, eax
mov ecx, dword [ebp - 0x12c]
add ecx, 0x5ed95
mov edx, dword [ebp - 0x110]
mov dword [edx], ecx
mov dword [edx + 4], 0x13d000
mov ecx, dword [ebp - 0x12c]
add ecx, 0x5cda3
mov dword [edx + 8], ecx
mov dword [edx + 0xc], 0x1f10
mov ecx, dword [0x100ac0f8]
add ecx, 0x5f5
mov dword [0x100ac0f4], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret