Function at 0x101867e7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [0x102d4a48]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0xf4]
and dword [ebp - 0x144], 0
push ebx
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp + 0x10]
push esi
push edi
lea edi, [ecx + 2]
mov dword [ebp - 0x130], 8
lea esi, [eax + 1]
mov dword [ebp - 0x110], edi
sub ecx, eax
mov dword [ebp - 0x108], esi
mov dword [ebp + 0xc], ecx
movzx edx, byte [esi - 1]
movzx edi, byte [ecx + esi]
mov dword [ebp - 0x11c], edx
movzx edx, byte [esi + 2]
mov dword [ebp - 0x148], edx
mov edx, dword [ebp - 0x108]
movzx ecx, byte [esi]
mov dword [ebp - 0x128], edi
mov edi, dword [ebp - 0x110]
movzx edx, byte [edx + 1]
mov dword [ebp - 0x114], edx
movzx edx, byte [edi + 3]
movzx eax, byte [edi - 2]
movzx esi, byte [edi]
movzx ebx, byte [edi + 1]
mov dword [ebp - 0x140], edx
mov edx, dword [ebp - 0x108]
movzx edx, byte [edx + 4]
mov dword [ebp - 0x134], edx
movzx edx, byte [edi + 2]
mov edi, dword [ebp - 0x108]
mov dword [ebp - 0x14c], edx
movzx edx, byte [edi + 3]
mov edi, dword [ebp - 0x110]
mov dword [ebp - 0x120], edx
movzx edx, byte [edi + 5]
mov dword [ebp - 0x12c], edx
mov edx, dword [ebp - 0x108]
movzx edx, byte [edx + 6]
mov dword [ebp - 0x13c], edx
movzx edx, byte [edi + 4]
mov edi, dword [ebp - 0x108]
mov dword [ebp - 0x138], edx
movzx edx, byte [edi + 5]
mov edi, dword [ebp - 0x128]
mov dword [ebp - 0x118], edx
mov edx, dword [ebp - 0x11c]
sub dword [ebp - 0x11c], eax
sub edx, eax
mov eax, dword [ebp - 0x11c]
sub edx, edi
sub eax, ecx
add edx, ecx
mov ecx, dword [ebp - 0x120]
add eax, edi
mov dword [ebp - 0x128], edx
mov edx, dword [ebp - 0x114]
mov dword [ebp - 0x11c], eax
sub edx, ebx
mov eax, dword [ebp - 0x114]
sub edx, esi
mov dword [ebp - 0x124], edx
mov edx, dword [ebp - 0x148]
sub eax, edx
add dword [ebp - 0x124], edx
sub eax, esi
mov edx, dword [ebp - 0x134]
add eax, ebx
mov esi, dword [ebp - 0x118]
sub esi, dword [ebp - 0x138]
sub esi, dword [ebp - 0x12c]
add esi, dword [ebp - 0x13c]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x14c]
sub ecx, eax
sub dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x120]
sub ecx, dword [ebp - 0x140]
sub eax, edx
add eax, dword [ebp - 0x140]
add ecx, edx
mov edx, dword [ebp - 0x124]
mov edi, ecx
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x118]
sub eax, dword [ebp - 0x138]
sub eax, dword [ebp - 0x13c]
add eax, dword [ebp - 0x12c]
add edx, dword [ebp - 0x128]
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x118], eax
mov ebx, dword [ebp - 0x10c]
lea ecx, [esi + edi]
lea eax, [ecx + edx]
sub edi, esi
sub edx, ecx
mov esi, dword [ebp - 0x108]
mov ecx, dword [ebp - 0x118]
add ecx, dword [ebp - 0x120]
mov dword [ebx - 0x10], eax
mov eax, ebx
mov dword [eax], edx
mov edx, dword [ebp - 0x114]
add edx, dword [ebp - 0x11c]
lea eax, [ecx + edx]
sub edx, ecx
mov ecx, dword [ebp - 0x128]
sub ecx, dword [ebp - 0x124]
mov dword [ebx - 0xc], eax
mov eax, ebx
mov dword [eax + 4], edx
lea eax, [edi + ecx]
mov edx, dword [ebp - 0x11c]
sub ecx, edi
sub edx, dword [ebp - 0x114]
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x120]
sub ecx, dword [ebp - 0x118]
mov dword [ebx - 8], eax
lea eax, [ecx + edx]
sub edx, ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebx - 4], eax
mov eax, dword [ebp + 0x14]
add esi, eax
add dword [ebp - 0x110], eax
mov dword [ebx + 0xc], edx
add ebx, 0x20
sub dword [ebp - 0x130], 1
mov dword [ebp - 0x108], esi
mov dword [ebp - 0x10c], ebx
jne 0x10186837
xor edi, edi
mov dword [ebp - 0x108], edi
mov eax, dword [ebp + edi*4 - 0x104]
mov edx, dword [ebp + edi*4 - 0xe4]
mov ecx, dword [ebp + edi*4 - 0xa4]
mov esi, dword [ebp + edi*4 - 0xc4]
mov ebx, dword [ebp + edi*4 - 0x64]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp + edi*4 - 0x84]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp + edi*4 - 0x44]
mov edi, dword [ebp + edi*4 - 0x24]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x114]
add eax, edx
mov dword [ebp - 0x13c], ebx
mov ebx, dword [ebp - 0x108]
mov dword [ebp - 0x10c], eax
lea eax, [ecx + esi]
mov dword [ebp - 0x130], edi
sub esi, ecx
mov edi, dword [ebp - 0x10c]
sub dword [ebp - 0x10c], eax
add edi, eax
mov eax, dword [ebp - 0x10c]
mov ecx, dword [ebp - 0x138]
mov dword [ebp + ebx*4 - 0x104], edi
mov dword [ebp - 0x124], edi
mov edi, ebx
mov ebx, dword [ebp - 0x114]
sub ebx, edx
mov dword [ebp + edi*4 - 0xc4], eax
lea eax, [esi + ebx]
sub ebx, esi
mov esi, dword [ebp - 0x118]
add esi, dword [ebp - 0x13c]
mov dword [ebp + edi*4 - 0xe4], eax
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x130]
add eax, ecx
mov dword [ebp + edi*4 - 0xa4], ebx
sub ecx, dword [ebp - 0x130]
mov dword [ebp - 0x114], ebx
mov ebx, edi
lea edx, [eax + esi]
sub esi, eax
mov eax, edi
mov dword [ebp + edi*4 - 0x84], edx
mov dword [ebp - 0x12c], edx
mov dword [ebp - 0x110], esi
mov dword [ebp + eax*4 - 0x44], esi
mov eax, dword [ebp - 0x118]
sub eax, dword [ebp - 0x13c]
lea edx, [ecx + eax]
sub eax, ecx
mov ecx, dword [ebp - 0x124]
mov edi, ecx
mov dword [ebp + ebx*4 - 0x24], eax
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x12c]
sub edi, eax
mov dword [ebp + ebx*4 - 0x64], edx
lea ebx, [eax + ecx]
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x13c], ebx
mov ebx, dword [ebp - 0x10c]
lea ecx, [edx + eax]
mov dword [ebp - 0x140], ecx
mov ecx, eax
lea eax, [esi + ebx]
sub ecx, edx
mov dword [ebp - 0x134], eax
mov eax, ebx
mov ebx, dword [ebp - 0x114]
sub eax, esi
mov esi, dword [ebp - 0x118]
add esi, ebx
mov dword [ebp - 0x138], esi
mov esi, dword [ebp - 0x118]
sub ebx, esi
sub esi, dword [ebp - 0x114]
test ebx, ebx
cmovs ebx, esi
mov esi, dword [ebp - 0x10c]
sub dword [ebp - 0x110], esi
test eax, eax
cmovs eax, dword [ebp - 0x110]
sub edx, dword [ebp - 0x128]
add ebx, eax
mov eax, dword [ebp - 0x12c]
test ecx, ecx
mov dword [ebp - 0x110], ebx
cmovs ecx, edx
sub eax, dword [ebp - 0x124]
add dword [ebp - 0x110], ecx
test edi, edi
mov ecx, dword [ebp - 0x110]
cmovs edi, eax
mov eax, dword [ebp - 0x13c]
cdq
add ecx, edi
xor eax, edx
mov edi, dword [ebp - 0x108]
sub eax, edx
add ecx, eax
mov eax, dword [ebp - 0x138]
cdq
xor eax, edx
sub eax, edx
add ecx, eax
mov eax, dword [ebp - 0x134]
cdq
xor eax, edx
sub eax, edx
add ecx, eax
mov eax, dword [ebp - 0x140]
cdq
xor eax, edx
sub eax, edx
add eax, dword [ebp - 0x144]
add eax, ecx
inc edi
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x108], edi
cmp edi, 8
jl 0x10186a71
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008a9cb
leave
ret