Function at 0x10186d12
Capabilities:
Encode data using xor

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