Function at 0x100088dc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x170
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [0x1028b020], 0xa16
mov edx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], ecx
jmp 0x10008a7c
mov eax, dword [ebp - 0x13c]
mov cl, byte [eax + 0x102777a4]
mov dl, byte [eax + 0x10277775]
sub dl, cl
mov byte [ebp + eax - 0x2c], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x13c], eax
je 0x10008a05
jmp 0x10008910
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x140], eax
lea eax, [0x10277783]
mov ecx, 0x20
mov dword [0x1028b01c], 0x10db
mov edx, dword [ebp - 0x140]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x144], ecx
call fcn.10007de6
mov dword [0x1028b01c], 0x2503
mov eax, dword [ebp - 0x140]
mov dword [esp], eax
mov ecx, dword [ebp - 0x148]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x14c]
mov dword [esp + 0xc], edx
call fcn.10007f5f
xor eax, eax
mov ecx, dword [ebp - 0x148]
add ecx, 0x15178c
mov edx, dword [ebp - 0x130]
mov dword [edx], ecx
mov dword [edx + 4], 0x117c00
mov ecx, dword [ebp - 0x148]
add ecx, 0x148dcc
mov dword [edx + 8], ecx
mov dword [0x1028b01c], 0x14b
mov dword [edx + 0xc], 0x1ff0
mov dword [0x1028b020], 0x112e
add esp, 0x170
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [ebp - 0x2c]
mov dword [0x1028b020], 0xde3
mov dword [0x1028b01c], 0x18b3
mov dword [ebp - 0x150], eax
call fcn.100084d4
mov dword [esp], eax
mov eax, dword [ebp - 0x150]
mov dword [esp + 4], eax
call fcn.100085e5
mov ecx, eax
mov dword [0x1028b034], eax
mov eax, esp
mov edx, dword [ebp - 0x14c]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x154], edx
mov dword [ebp - 0x158], ecx
jmp 0x10008aec
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
lea edx, section..data
imul esi, eax, 0x5c
mov edi, edx
add edi, esi
add edi, 0x38
mov esi, dword [edi]
imul edi, eax, 0x5c
add edx, edi
add edx, 4
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x34e
mov ecx, edx
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
jne 0x10008a7c
xor eax, eax
mov dword [0x1028b01c], 0xccc
mov dword [ebp - 0x13c], eax
jmp 0x10008910
mov eax, dword [ebp - 0x158]
mov ecx, dword [ebp - 0x154]
lea edx, section..data
mov esi, dword [ebp - 0x148]
add esi, ecx
imul edi, eax, 0x5c
mov ebx, edx
add ebx, edi
mov edi, eax
add edi, 1
mov dword [ebp - 0x15c], eax
imul eax, eax, 0x5c
mov dword [ebp - 0x160], eax
mov eax, edx
mov dword [ebp - 0x164], ecx
mov ecx, dword [ebp - 0x160]
add eax, ecx
add eax, 0x38
mov ecx, dword [ebp - 0x15c]
imul ecx, ecx, 0x5c
add edx, ecx
add edx, 4
mov eax, dword [eax]
mov ecx, dword [ebx]
movzx edx, word [edx]
xor edx, eax
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [ebp - 0x168], edx
mov dword [ebp - 0x16c], edi
call fcn.10007d08
mov eax, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add eax, ecx
mov edx, dword [ebp - 0x16c]
cmp edx, 0x34e
mov dword [ebp - 0x158], edx
mov dword [ebp - 0x154], eax
je 0x10008942
jmp 0x10008aec