Function at 0x1027e494
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x140
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.1026b980
mov eax, esp
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 0x1027e556
mov dword [0x102a4880], 0x14aa
call fcn.1027f488
sub esp, 8
mov dword [esp], eax
mov eax, dword [ebp - 0x118]
mov dword [esp + 4], eax
call fcn.1027e8e0
add esp, 8
mov ecx, eax
mov dword [0x102a489c], 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 [0x102a4880], 0xa
mov edx, ecx
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x12c], edx
mov dword [ebp - 0x130], ecx
jmp 0x1027e5fc
mov eax, dword [ebp - 0x120]
mov ecx, dword [ebp - 0x11c]
lea edx, section..data
imul esi, eax, 0x9c
mov edi, edx
add edi, esi
add edi, 0x98
mov esi, dword [edi]
imul edi, eax, 0x9c
add edx, edi
add edx, 0x74
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x356
mov ecx, edx
mov dword [ebp - 0x124], edx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x120], eax
jne 0x1027e556
xor eax, eax
mov dword [0x102a4880], 0x2000
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x134]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x10280500]
mov dh, byte [eax + 0x102804d1]
sub dh, dl
mov esi, dword [ebp - 0x118]
mov byte [esi + eax], dh
cmp ecx, 0xe
mov dword [ebp - 0x134], ecx
je 0x1027e4df
jmp 0x1027e5c1
mov eax, dword [ebp - 0x130]
mov ecx, dword [ebp - 0x12c]
lea edx, section..data
imul esi, eax, 0x9c
mov edi, edx
add edi, esi
add edi, 0x98
mov esi, dword [edi]
imul edi, eax, 0x9c
mov ebx, edx
add ebx, edi
add ebx, 0x40
mov edi, dword [ebx]
imul ebx, eax, 0x9c
add edx, ebx
add edx, 0x74
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x128]
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.1027ebff
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, 0x356
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x130], edx
jne 0x1027e5fc
lea eax, [0x102804df]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov esi, dword [ebp - 0x128]
add esi, 0x95fcb
mov edi, dword [0x102a487c]
add edi, 0xffffd95d
mov dword [0x102a4880], edi
sub esp, 0xc
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x144], esi
mov dword [ebp - 0x148], ecx
mov dword [ebp - 0x14c], edx
call fcn.1027f050
add esp, 0xc
sub esp, 0x10
mov eax, dword [ebp - 0x14c]
mov dword [esp], eax
mov ecx, dword [ebp - 0x128]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x124]
mov dword [esp + 0xc], edx
call fcn.1027f335
add esp, 0x10
mov dword [0x102a4880], 0xe94
mov eax, dword [ebp - 0x110]
mov ecx, dword [ebp - 0x144]
mov dword [eax], ecx
mov dword [eax + 4], 0x130a00
xor eax, eax
mov ecx, dword [ebp - 0x128]
add ecx, 0x54b6f
mov edx, dword [ebp - 0x110]
mov dword [edx + 8], ecx
mov dword [0x102a487c], 0xf18
mov dword [edx + 0xc], 0x1f50
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret