Function at 0x100ecc40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffe0
sub esp, 0x158
mov eax, dword [ebp + 8]
xor edx, edx
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
mov dword [esp + 0x15c], eax
xor eax, eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
add esi, 0x40
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa0], edi
mov dword [esp + 0xac], edi
mov dword [esp + 0xb0], edi
mov dword [esp + 0xcc], edi
mov dword [esp + 0xd0], edi
mov dword [esp + 0xdc], edi
mov dword [esp + 0xe0], edi
mov dword [esp + 0x11c], edi
mov dword [esp + 0x120], edi
mov dword [esp + 0x12c], edi
mov dword [esp + 0x130], edi
mov dword [esp + 0x14c], edi
mov dword [esp + 0x150], edi
inc edx
mov ecx, edx
mov dword [esp + 0x158], edx
xor ecx, dword [ebp + 0x10]
lea edx, [ecx - 1]
not ecx
shr ecx, 0x1f
shr edx, 0x1f
and edx, ecx
mov ecx, dword [esi - 0x40]
neg edx
and ecx, edx
or edi, ecx
mov ecx, dword [esi - 0x20]
and ecx, edx
or dword [esp + 0x60], ecx
mov ecx, edx
and ecx, dword [esi]
or dword [esp + 0xe0], ecx
mov ecx, dword [esi - 0x3c]
and ecx, edx
or dword [esp + 0x1c], ecx
mov ecx, dword [esi - 0x1c]
and ecx, edx
or dword [esp + 0x9c], ecx
mov ecx, dword [esi + 4]
and ecx, edx
or dword [esp + 0x11c], ecx
mov ecx, dword [esi - 0x38]
and ecx, edx
or dword [esp + 0x20], ecx
mov ecx, dword [esi - 0x18]
and ecx, edx
or dword [esp + 0xa0], ecx
mov ecx, dword [esi + 8]
and ecx, edx
or dword [esp + 0x120], ecx
mov ecx, dword [esi - 0x34]
and ecx, edx
or dword [esp + 0x2c], ecx
mov ecx, dword [esi - 0x14]
and ecx, edx
or dword [esp + 0xac], ecx
mov ecx, dword [esi + 0xc]
and ecx, edx
or dword [esp + 0x12c], ecx
mov ecx, dword [esi - 0x30]
and ecx, edx
or dword [esp + 0x30], ecx
mov ecx, dword [esi - 0x10]
and ecx, edx
or dword [esp + 0xb0], ecx
mov ecx, dword [esi + 0x10]
and ecx, edx
or dword [esp + 0x130], ecx
mov ecx, dword [esi - 0x2c]
and ecx, edx
or dword [esp + 0x4c], ecx
mov ecx, dword [esi - 0xc]
and ecx, edx
or dword [esp + 0xcc], ecx
mov ecx, dword [esi + 0x14]
and ecx, edx
or dword [esp + 0x14c], ecx
mov ecx, dword [esi - 0x28]
and ecx, edx
or dword [esp + 0x50], ecx
mov ecx, dword [esi - 8]
and ecx, edx
or dword [esp + 0xd0], ecx
mov ecx, dword [esi + 0x18]
and ecx, edx
or dword [esp + 0x150], ecx
mov ecx, dword [esi - 0x24]
and ecx, edx
or dword [esp + 0x5c], ecx
mov ecx, dword [esi - 4]
and ecx, edx
or dword [esp + 0xdc], ecx
mov ecx, dword [esi + 0x1c]
and ecx, edx
mov edx, dword [esp + 0x158]
lea esi, [esi + 0x60]
or eax, ecx
cmp edx, 0x10
jb 0x100ecce6
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x158], eax
mov eax, dword [esp + 0x15c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 0x18], ecx
mov ecx, dword [esp + 0x5c]
mov dword [eax + 0x1c], ecx
mov ecx, dword [esp + 0x60]
mov dword [eax], edi
mov dword [eax + 0x20], ecx
mov ecx, dword [esp + 0x9c]
mov dword [eax + 0x24], ecx
mov ecx, dword [esp + 0xa0]
mov dword [eax + 0x28], ecx
mov ecx, dword [esp + 0xac]
mov dword [eax + 0x2c], ecx
mov ecx, dword [esp + 0xb0]
mov dword [eax + 0x30], ecx
mov ecx, dword [esp + 0xcc]
mov dword [eax + 0x34], ecx
mov ecx, dword [esp + 0xd0]
mov dword [eax + 0x38], ecx
mov ecx, dword [esp + 0xdc]
mov dword [eax + 0x3c], ecx
mov ecx, dword [esp + 0xe0]
mov dword [eax + 0x40], ecx
mov ecx, dword [esp + 0x11c]
mov dword [eax + 0x44], ecx
mov ecx, dword [esp + 0x120]
mov dword [eax + 0x48], ecx
mov ecx, dword [esp + 0x12c]
mov dword [eax + 0x4c], ecx
mov ecx, dword [esp + 0x130]
mov dword [eax + 0x50], ecx
mov ecx, dword [esp + 0x14c]
mov dword [eax + 0x54], ecx
mov ecx, dword [esp + 0x150]
mov dword [eax + 0x58], ecx
mov ecx, dword [esp + 0x158]
pop edi
mov dword [eax + 0x5c], ecx
pop esi
mov esp, ebp
pop ebp
ret