Function at 0x1000829d
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]
mov ecx, dword [0x10024620]
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], ecx
xor eax, eax
mov ecx, dword [ebp - 0x134]
add ecx, 0x127b
mov dword [0x10024620], ecx
mov dword [0x1002461c], 0x1dc2
mov ecx, eax
mov dword [ebp - 0x138], ecx
mov dword [ebp - 0x13c], eax
jmp 0x1000839b
lea eax, [ebp - 0x12c]
mov dword [0x1002461c], 0x1a41
mov dword [ebp - 0x140], eax
call fcn.10007ed7
mov dword [esp], eax
mov eax, dword [ebp - 0x140]
mov dword [esp + 4], eax
call fcn.10007fea
mov ecx, eax
mov dword [0x10024634], eax
mov eax, esp
mov edx, dword [ebp - 0x144]
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 - 0x14c], edx
mov dword [ebp - 0x150], ecx
jmp 0x1000840b
mov eax, dword [ebp - 0x154]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x100094ec]
mov dh, byte [eax + 0x100094bd]
sub dh, dl
mov byte [ebp + eax - 0x12c], dh
cmp ecx, 0xe
mov dword [ebp - 0x154], ecx
je 0x100082ef
jmp 0x10008362
mov eax, dword [ebp - 0x13c]
mov ecx, dword [ebp - 0x138]
lea edx, section..data
imul esi, eax, 0x124
mov edi, edx
add edi, esi
add edi, 0x48
mov esi, dword [edi]
imul edi, eax, 0x124
add edx, edi
add edx, 0x44
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x172
mov ecx, edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x138], ecx
mov dword [ebp - 0x13c], eax
jne 0x1000839b
xor eax, eax
mov dword [0x10024620], 0x2124
mov dword [ebp - 0x154], eax
jmp 0x10008362
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x14c]
lea edx, section..data
mov esi, dword [ebp - 0x148]
add esi, eax
imul edi, ecx, 0x124
mov ebx, edx
add ebx, edi
add ebx, 0x44
imul edi, ecx, 0x124
mov dword [ebp - 0x158], eax
mov eax, edx
add eax, edi
add eax, 0x48
mov edi, ecx
add edi, 1
imul ecx, ecx, 0x124
add edx, ecx
mov eax, dword [eax]
mov ecx, dword [edx]
movzx edx, word [ebx]
xor edx, eax
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [ebp - 0x15c], edx
mov dword [ebp - 0x160], edi
call fcn.100075a3
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0x158]
add eax, ecx
mov edx, dword [ebp - 0x160]
cmp edx, 0x172
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x150], eax
jne 0x1000840b
lea eax, [0x100094cb]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
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.1000794e
mov dword [0x1002461c], 0x1114
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.1000725a
xor eax, eax
mov ecx, dword [ebp - 0x148]
add ecx, 0x6a394
mov edx, dword [ebp - 0x130]
mov dword [edx], ecx
mov dword [edx + 4], 0x114800
mov ecx, dword [0x1002461c]
add ecx, 0xffffeec3
mov dword [0x1002461c], ecx
mov ecx, dword [ebp - 0x148]
add ecx, 0x22fef
mov dword [edx + 8], ecx
mov dword [edx + 0xc], 0x1fe0
mov dword [0x10024620], 0x1bd3
add esp, 0x16c
pop esi
pop edi
pop ebx
pop ebp
ret