Function at 0x10288569
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 [0x102d7e8c], 0xeb4
mov ecx, eax
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
jmp 0x10288658
lea eax, [0x1028a45e]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov dword [0x102d7e90], 0xe6d
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x140], ecx
call fcn.102883df
mov eax, dword [ebp - 0x13c]
mov dword [esp], eax
mov ecx, dword [ebp - 0x144]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x148]
mov dword [esp + 0xc], edx
call fcn.10288eca
xor eax, eax
mov dword [0x102d7e8c], 0x1e27
mov ecx, dword [ebp - 0x144]
add ecx, 0x124ee5
mov edx, dword [ebp - 0x130]
mov dword [edx], ecx
mov dword [edx + 4], 0x12b000
mov ecx, dword [ebp - 0x144]
add ecx, 0xed079
mov dword [edx + 8], ecx
mov ecx, dword [0x102d7e8c]
add ecx, 0xffffe53e
mov dword [0x102d7e8c], ecx
mov dword [edx + 0xc], 0x2000
add esp, 0x170
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
xor edx, edx
lea esi, section..data
imul edi, eax, 0xb4
mov ebx, esi
add ebx, edi
add ebx, 0x48
mov edi, dword [ebx]
imul ebx, eax, 0xb4
add esi, ebx
add esi, 0x44
movzx esi, word [esi]
xor esi, edi
add esi, ecx
add eax, 1
cmp eax, 0x6d6
mov ecx, esi
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x148], esi
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x14c], edx
jne 0x10288658
mov eax, dword [ebp - 0x14c]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x1028a47f]
mov dh, byte [eax + 0x1028a450]
sub dh, dl
mov byte [ebp + eax - 0x12c], dh
cmp ecx, 0xe
mov dword [ebp - 0x14c], ecx
jne 0x102886b9
lea eax, [ebp - 0x12c]
mov dword [0x102d7e8c], 0xf0b
mov dword [ebp - 0x150], eax
call fcn.10289388
mov dword [esp], eax
mov eax, dword [ebp - 0x150]
mov dword [esp + 4], eax
call fcn.10288139
mov ecx, eax
mov dword [0x102d7eac], eax
mov eax, esp
mov edx, dword [ebp - 0x148]
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, dword [0x102d7e90]
add edx, 0xffffd942
mov dword [0x102d7e8c], edx
mov edx, ecx
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x154], edx
mov dword [ebp - 0x158], ecx
mov eax, dword [ebp - 0x158]
mov ecx, dword [ebp - 0x154]
lea edx, section..data
imul esi, ecx, 0xb4
mov edi, edx
add edi, esi
mov esi, ecx
add esi, 1
mov ebx, dword [ebp - 0x144]
add ebx, eax
mov dword [ebp - 0x15c], eax
imul eax, ecx, 0xb4
mov dword [ebp - 0x160], eax
mov eax, edx
mov dword [ebp - 0x164], ecx
mov ecx, dword [ebp - 0x160]
add eax, ecx
add eax, 0x44
mov ecx, dword [ebp - 0x164]
imul ecx, ecx, 0xb4
add edx, ecx
add edx, 0x48
mov ecx, dword [edx]
mov edx, dword [edi]
movzx eax, word [eax]
xor eax, ecx
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [ebp - 0x168], esi
mov dword [ebp - 0x16c], eax
call fcn.10288904
mov eax, dword [ebp - 0x16c]
mov ecx, dword [ebp - 0x15c]
add eax, ecx
mov edx, dword [ebp - 0x168]
cmp edx, 0x6d6
mov dword [ebp - 0x154], edx
mov dword [ebp - 0x158], eax
je 0x1028859d
jmp 0x1028876c