Function at 0x100026ef
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x16c
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [0x1001c958], 0x87b
mov dword [0x1001c954], 0x112f
mov edx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], ecx
jmp 0x10002879
lea eax, [ebp - 0x12c]
mov dword [0x1001c958], 0x14b9
mov dword [0x1001c954], 0xffffecb9
mov dword [ebp - 0x13c], eax
call fcn.10002df2
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x140]
mov dword [esp], eax
mov ecx, dword [ebp - 0x13c]
mov dword [esp + 4], ecx
call fcn.10001ee4
mov dword [0x1001c974], eax
mov ecx, dword [0x1001c958]
add ecx, 0xffffee44
mov dword [0x1001c954], ecx
mov ecx, esp
mov edx, dword [ebp - 0x144]
mov dword [ecx + 4], edx
mov dword [ecx + 0xc], 4
mov dword [ecx + 8], 0x1000
mov dword [ecx], 0
call eax
sub esp, 0x10
xor ecx, ecx
mov edx, dword [0x1001c954]
add edx, 0x698
mov dword [0x1001c958], edx
mov edx, ecx
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x150], ecx
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x14c]
lea edx, section..data
imul esi, eax, 0x110
mov edi, edx
add edi, esi
add edi, 0x50
imul esi, eax, 0x110
mov ebx, edx
add ebx, esi
add ebx, 0x4c
mov esi, eax
add esi, 1
imul eax, eax, 0x110
add edx, eax
mov eax, dword [ebp - 0x148]
add eax, ecx
mov edi, dword [edi]
mov edx, dword [edx]
movzx ebx, word [ebx]
xor ebx, edi
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [ebp - 0x154], esi
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x15c], ebx
call fcn.100032a1
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0x158]
add eax, ecx
mov edx, dword [ebp - 0x154]
cmp edx, 0x154
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x14c], eax
je 0x10002923
jmp 0x100027d3
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
lea edx, section..data
imul esi, eax, 0x110
mov edi, edx
add edi, esi
add edi, 0x4c
mov esi, eax
add esi, 1
imul eax, eax, 0x110
add edx, eax
add edx, 0x50
mov eax, dword [edx]
movzx edx, word [edi]
xor edx, eax
add edx, ecx
cmp esi, 0x154
mov eax, edx
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x138], esi
jne 0x10002879
mov dword [0x1001c958], 0x1c22
xor eax, eax
mov dword [ebp - 0x160], eax
jmp 0x100028ea
mov eax, dword [ebp - 0x160]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x10005535]
mov dh, byte [eax + 0x10005506]
sub dh, dl
mov byte [ebp + eax - 0x12c], dh
cmp ecx, 0xe
mov dword [ebp - 0x160], ecx
je 0x1000272d
jmp 0x100028ea
lea eax, [0x10005514]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov esi, dword [0x1001c954]
add esi, 0xfffffb63
mov dword [0x1001c958], esi
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x164], edx
mov dword [ebp - 0x168], ecx
call fcn.10002f37
mov dword [0x1001c954], 0x763
mov eax, dword [ebp - 0x164]
mov dword [esp], eax
mov ecx, dword [ebp - 0x148]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x144]
mov dword [esp + 0xc], edx
call fcn.10002b9a
xor eax, eax
mov ecx, dword [ebp - 0x148]
add ecx, 0x5b1ad
mov edx, dword [ebp - 0x130]
mov dword [edx], ecx
mov dword [0x1001c954], 0xded
mov dword [edx + 4], 0x141a00
mov ecx, dword [ebp - 0x148]
add ecx, 0x54632
mov dword [edx + 8], ecx
mov dword [edx + 0xc], 0x1f40
mov dword [0x1001c958], 0x1db0
add esp, 0x16c
pop esi
pop edi
pop ebx
pop ebp
ret