Function at 0x10284739
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]
mov dword [ebp - 0x130], eax
xor eax, eax
mov dword [0x1029b594], 0x26a2
mov ecx, eax
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
jmp 0x1028479f
mov eax, dword [ebp - 0x13c]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x10286250]
mov dh, byte [eax + 0x10286221]
sub dh, dl
mov byte [ebp + eax - 0x12c], dh
cmp ecx, 0xe
mov dword [ebp - 0x13c], ecx
je 0x10284819
jmp 0x1028476a
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
lea edx, section..code
imul esi, eax, 0x60
mov edi, edx
add edi, esi
add edi, 0x5c
mov esi, dword [edi]
imul edi, eax, 0x60
add edx, edi
add edx, 4
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x364
mov ecx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
jne 0x1028479f
mov dword [0x1029b598], 0x21ac
xor eax, eax
mov dword [0x1029b594], 0x777
mov dword [ebp - 0x13c], eax
jmp 0x1028476a
lea eax, [ebp - 0x12c]
mov dword [0x1029b594], 0xffffd9f7
mov dword [0x1029b598], 0x20fc
mov dword [ebp - 0x144], eax
call fcn.10285705
mov dword [esp], eax
mov eax, dword [ebp - 0x144]
mov dword [esp + 4], eax
call fcn.102842e8
mov dword [0x1029b5b4], eax
mov dword [0x1029b594], 0x206b
mov ecx, esp
mov edx, dword [ebp - 0x140]
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, 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..code
imul esi, eax, 0x60
mov edi, edx
add edi, esi
add edi, 0x5c
mov esi, dword [ebp - 0x148]
add esi, ecx
imul ebx, eax, 0x60
mov dword [ebp - 0x154], eax
mov eax, edx
add eax, ebx
mov ebx, dword [ebp - 0x154]
add ebx, 1
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x154]
imul eax, eax, 0x60
add edx, eax
add edx, 4
mov eax, dword [edi]
mov edi, dword [ebp - 0x158]
mov edi, dword [edi]
movzx edx, word [edx]
xor edx, eax
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x15c], edx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x164], ebx
call fcn.10284d6f
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0x160]
add eax, ecx
mov edx, dword [ebp - 0x164]
cmp edx, 0x364
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x14c], eax
jne 0x10284899
lea eax, [0x1028622f]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov dword [0x1029b594], 0x1e2
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x168], edx
mov dword [ebp - 0x16c], ecx
call fcn.1028459d
mov dword [0x1029b594], 0xd0e
mov eax, dword [ebp - 0x168]
mov dword [esp], eax
mov ecx, dword [ebp - 0x148]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x140]
mov dword [esp + 0xc], edx
call fcn.10285073
xor eax, eax
mov ecx, dword [ebp - 0x148]
add ecx, 0x87c2d
mov edx, dword [ebp - 0x130]
mov dword [edx], ecx
mov dword [edx + 4], 0x12f400
mov ecx, dword [ebp - 0x148]
add ecx, 0x11666
mov dword [edx + 8], ecx
mov dword [0x1029b594], 0xfffffeae
mov dword [edx + 0xc], 0x1ff0
mov ecx, dword [0x1029b594]
add ecx, 0x1729
mov dword [0x1029b594], ecx
add esp, 0x170
pop esi
pop edi
pop ebx
pop ebp
ret