Function at 0x10041280
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0xb4]
mov dword [esp + 0x10], edi
mov ebx, dword [esp + 0x10]
mov esi, edx
mov edx, dword [esi + 4]
xor ecx, dword [esi]
xor edx, dword [edi + 0xb8]
mov edi, dword [esi + 8]
xor edi, dword [ebx + 0xbc]
mov esi, dword [esi + 0xc]
mov dword [esp + 0x1c], edi
mov edi, ebx
xor esi, dword [edi + 0xc0]
mov eax, dword [esp + 0x28]
mov ebx, esi
mov dword [esp + 0x20], esi
shr ebx, 8
movzx esi, bl
mov esi, dword [esi*4 + 0x100e5f98]
mov ebx, dword [esp + 0x1c]
shr ebx, 0x10
movzx edi, bl
xor esi, dword [edi*4 + 0x100e5b98]
mov ebx, dword [esp + 0x20]
mov edi, edx
shr edi, 0x18
xor esi, dword [edi*4 + 0x100e5798]
movzx edi, cl
xor esi, dword [edi*4 + 0x100e6398]
mov edi, dword [esp + 0x1c]
mov dword [eax], esi
shr ebx, 0x10
movzx esi, bl
mov esi, dword [esi*4 + 0x100e5b98]
shr edi, 0x18
xor esi, dword [edi*4 + 0x100e5798]
mov ebx, ecx
shr ebx, 8
movzx edi, bl
xor esi, dword [edi*4 + 0x100e5f98]
movzx edi, dl
xor esi, dword [edi*4 + 0x100e6398]
mov ebx, edx
mov dword [eax + 4], esi
mov esi, dword [esp + 0x20]
shr esi, 0x18
mov esi, dword [esi*4 + 0x100e5798]
shr ebx, 8
movzx edi, bl
xor esi, dword [edi*4 + 0x100e5f98]
mov ebx, ecx
shr ebx, 0x10
movzx edi, bl
xor esi, dword [edi*4 + 0x100e5b98]
mov ebx, dword [esp + 0x1c]
movzx edi, bl
xor esi, dword [edi*4 + 0x100e6398]
shr ebx, 8
mov dword [eax + 8], esi
shr edx, 0x10
movzx esi, bl
mov esi, dword [esi*4 + 0x100e5f98]
movzx edx, dl
xor esi, dword [edx*4 + 0x100e5b98]
shr ecx, 0x18
xor esi, dword [ecx*4 + 0x100e5798]
movzx ecx, byte [esp + 0x20]
xor esi, dword [ecx*4 + 0x100e6398]
mov ecx, dword [esp + 0x10]
mov dword [eax + 0xc], esi
add ecx, 0xac
mov edi, 2
mov esi, dword [ecx - 4]
xor esi, dword [eax + 4]
mov edx, dword [ecx - 8]
mov dword [esp + 0x18], esi
mov esi, dword [ecx]
xor esi, dword [eax + 8]
xor edx, dword [eax]
mov dword [esp + 0x1c], esi
mov esi, dword [ecx + 4]
xor esi, dword [eax + 0xc]
mov ebx, esi
mov dword [esp + 0x20], esi
shr ebx, 8
movzx esi, bl
mov esi, dword [esi*4 + 0x100e5f98]
mov ebx, dword [esp + 0x1c]
shr ebx, 0x10
movzx ebx, bl
xor esi, dword [ebx*4 + 0x100e5b98]
mov ebx, dword [esp + 0x18]
shr ebx, 0x18
xor esi, dword [ebx*4 + 0x100e5798]
movzx ebx, dl
xor esi, dword [ebx*4 + 0x100e6398]
mov ebx, dword [esp + 0x20]
mov dword [eax], esi
shr ebx, 0x10
movzx esi, bl
mov esi, dword [esi*4 + 0x100e5b98]
mov ebx, dword [esp + 0x1c]
shr ebx, 0x18
xor esi, dword [ebx*4 + 0x100e5798]
mov ebx, edx
shr ebx, 8
movzx ebx, bl
xor esi, dword [ebx*4 + 0x100e5f98]
movzx ebx, byte [esp + 0x18]
xor esi, dword [ebx*4 + 0x100e6398]
mov ebx, dword [esp + 0x18]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x20]
shr esi, 0x18
mov esi, dword [esi*4 + 0x100e5798]
shr ebx, 8
movzx ebx, bl
xor esi, dword [ebx*4 + 0x100e5f98]
mov ebx, edx
shr ebx, 0x10
movzx ebx, bl
xor esi, dword [ebx*4 + 0x100e5b98]
mov ebx, dword [esp + 0x1c]
movzx ebp, bl
xor esi, dword [ebp*4 + 0x100e6398]
shr ebx, 8
mov dword [eax + 8], esi
movzx esi, bl
mov esi, dword [esi*4 + 0x100e5f98]
mov ebx, dword [esp + 0x18]
shr ebx, 0x10
movzx ebx, bl
xor esi, dword [ebx*4 + 0x100e5b98]
shr edx, 0x18
xor esi, dword [edx*4 + 0x100e5798]
movzx edx, byte [esp + 0x20]
xor esi, dword [edx*4 + 0x100e6398]
mov dword [eax + 0xc], esi
mov esi, dword [ecx - 0x14]
xor esi, dword [eax + 4]
mov edx, dword [ecx - 0x18]
xor edx, dword [eax]
mov dword [esp + 0x18], esi
mov esi, dword [ecx - 0x10]
xor esi, dword [eax + 8]
mov dword [esp + 0x1c], esi
mov esi, dword [ecx - 0xc]
xor esi, dword [eax + 0xc]
mov ebx, esi
shr ebx, 8
mov dword [esp + 0x20], esi
movzx esi, bl
mov ebx, dword [esp + 0x1c]
mov esi, dword [esi*4 + 0x100e5f98]
shr ebx, 0x10
movzx ebx, bl
xor esi, dword [ebx*4 + 0x100e5b98]
mov ebx, dword [esp + 0x18]
shr ebx, 0x18
xor esi, dword [ebx*4 + 0x100e5798]
movzx ebx, dl
xor esi, dword [ebx*4 + 0x100e6398]
mov ebx, dword [esp + 0x20]
mov dword [eax], esi
shr ebx, 0x10
movzx esi, bl
mov esi, dword [esi*4 + 0x100e5b98]
mov ebx, dword [esp + 0x1c]
shr ebx, 0x18
xor esi, dword [ebx*4 + 0x100e5798]
mov ebx, edx
shr ebx, 8
movzx ebx, bl
xor esi, dword [ebx*4 + 0x100e5f98]
movzx ebx, byte [esp + 0x18]
xor esi, dword [ebx*4 + 0x100e6398]
mov ebx, dword [esp + 0x18]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x20]
shr ebx, 8
shr esi, 0x18
mov esi, dword [esi*4 + 0x100e5798]
movzx ebx, bl
xor esi, dword [ebx*4 + 0x100e5f98]
mov ebx, edx
shr ebx, 0x10
movzx ebx, bl
xor esi, dword [ebx*4 + 0x100e5b98]
mov ebx, dword [esp + 0x1c]
movzx ebp, bl
xor esi, dword [ebp*4 + 0x100e6398]
shr ebx, 8
mov dword [eax + 8], esi
movzx esi, bl
mov esi, dword [esi*4 + 0x100e5f98]
mov ebx, dword [esp + 0x18]
shr ebx, 0x10
movzx ebx, bl
xor esi, dword [ebx*4 + 0x100e5b98]
shr edx, 0x18
xor esi, dword [edx*4 + 0x100e5798]
movzx edx, byte [esp + 0x20]
xor esi, dword [edx*4 + 0x100e6398]
mov dword [eax + 0xc], esi
mov esi, dword [ecx - 0x24]
xor esi, dword [eax + 4]
mov edx, dword [ecx - 0x28]
mov dword [esp + 0x18], esi
mov esi, dword [ecx - 0x20]
xor esi, dword [eax + 8]
xor edx, dword [eax]
mov dword [esp + 0x1c], esi
mov esi, dword [ecx - 0x1c]
xor esi, dword [eax + 0xc]
mov ebx, esi
shr ebx, 8
mov dword [esp + 0x20], esi
movzx esi, bl
mov ebx, dword [esp + 0x1c]
mov esi, dword [esi*4 + 0x100e5f98]
shr ebx, 0x10
movzx ebx, bl
xor esi, dword [ebx*4 + 0x100e5b98]
mov ebx, dword [esp + 0x18]
shr ebx, 0x18
xor esi, dword [ebx*4 + 0x100e5798]
movzx ebx, dl
xor esi, dword [ebx*4 + 0x100e6398]
mov ebx, dword [esp + 0x20]
shr ebx, 0x10
mov dword [eax], esi
movzx esi, bl
mov ebx, dword [esp + 0x1c]
shr ebx, 0x18
mov esi, dword [esi*4 + 0x100e5b98]
xor esi, dword [ebx*4 + 0x100e5798]
mov ebx, edx
shr ebx, 8
movzx ebx, bl
xor esi, dword [ebx*4 + 0x100e5f98]
movzx ebx, byte [esp + 0x18]
xor esi, dword [ebx*4 + 0x100e6398]
mov ebx, dword [esp + 0x18]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x20]
shr ebx, 8
shr esi, 0x18
mov esi, dword [esi*4 + 0x100e5798]
movzx ebx, bl
xor esi, dword [ebx*4 + 0x100e5f98]
mov ebx, edx
shr ebx, 0x10
movzx ebx, bl
xor esi, dword [ebx*4 + 0x100e5b98]
mov ebx, dword [esp + 0x1c]
movzx ebp, bl
xor esi, dword [ebp*4 + 0x100e6398]
shr ebx, 8
mov dword [eax + 8], esi
movzx esi, bl
mov esi, dword [esi*4 + 0x100e5f98]
mov ebx, dword [esp + 0x18]
shr ebx, 0x10
movzx ebx, bl
xor esi, dword [ebx*4 + 0x100e5b98]
shr edx, 0x18
xor esi, dword [edx*4 + 0x100e5798]
movzx edx, byte [esp + 0x20]
xor esi, dword [edx*4 + 0x100e6398]
mov dword [eax + 0xc], esi
mov esi, dword [ecx - 0x34]
xor esi, dword [eax + 4]
mov edx, dword [ecx - 0x38]
mov dword [esp + 0x18], esi
mov esi, dword [ecx - 0x30]
xor esi, dword [eax + 8]
xor edx, dword [eax]
mov dword [esp + 0x1c], esi
mov esi, dword [ecx - 0x2c]
xor esi, dword [eax + 0xc]
mov ebx, esi
shr ebx, 8
mov dword [esp + 0x20], esi
movzx esi, bl
mov esi, dword [esi*4 + 0x100e5f98]
mov ebx, dword [esp + 0x1c]
shr ebx, 0x10
movzx ebx, bl
xor esi, dword [ebx*4 + 0x100e5b98]
mov ebx, dword [esp + 0x18]
shr ebx, 0x18
xor esi, dword [ebx*4 + 0x100e5798]
movzx ebx, dl
xor esi, dword [ebx*4 + 0x100e6398]
mov ebx, dword [esp + 0x20]
shr ebx, 0x10
mov dword [eax], esi
movzx esi, bl
mov esi, dword [esi*4 + 0x100e5b98]
mov ebx, dword [esp + 0x1c]
shr ebx, 0x18
xor esi, dword [ebx*4 + 0x100e5798]
mov ebx, edx
shr ebx, 8
movzx ebx, bl
xor esi, dword [ebx*4 + 0x100e5f98]
movzx ebx, byte [esp + 0x18]
xor esi, dword [ebx*4 + 0x100e6398]
mov ebx, dword [esp + 0x18]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x20]
shr esi, 0x18
mov esi, dword [esi*4 + 0x100e5798]
shr ebx, 8
movzx ebx, bl
xor esi, dword [ebx*4 + 0x100e5f98]
mov ebx, edx
shr ebx, 0x10
movzx ebx, bl
xor esi, dword [ebx*4 + 0x100e5b98]
mov ebx, dword [esp + 0x1c]
movzx ebp, bl
xor esi, dword [ebp*4 + 0x100e6398]
shr ebx, 8
mov dword [eax + 8], esi
movzx esi, bl
mov ebx, dword [esp + 0x18]
mov esi, dword [esi*4 + 0x100e5f98]
shr ebx, 0x10
movzx ebx, bl
xor esi, dword [ebx*4 + 0x100e5b98]
shr edx, 0x18
xor esi, dword [edx*4 + 0x100e5798]
movzx edx, byte [esp + 0x20]
xor esi, dword [edx*4 + 0x100e6398]
sub ecx, 0x40
sub edi, 1
mov dword [eax + 0xc], esi
jne 0x100413b6
mov esi, dword [esp + 0x10]
mov edi, dword [esi + 0x2c]
xor edi, dword [eax + 8]
mov edx, dword [esi + 0x28]
mov ecx, dword [eax]
xor ecx, dword [esi + 0x24]
mov dword [esp + 0x1c], edi
mov edi, dword [esi + 0x30]
xor edi, dword [eax + 0xc]
xor edx, dword [eax + 4]
mov dword [esp + 0x20], edi
movzx edi, cl
movzx ebx, byte [edi + 0x100e77b8]
mov byte [eax], bl
mov ebx, dword [esp + 0x20]
shr ebx, 8
movzx edi, bl
movzx ebx, byte [edi + 0x100e77b8]
mov byte [eax + 1], bl
mov ebx, dword [esp + 0x1c]
shr ebx, 0x10
movzx edi, bl
movzx ebx, byte [edi + 0x100e77b8]
mov byte [eax + 2], bl
mov edi, edx
shr edi, 0x18
movzx ebx, byte [edi + 0x100e77b8]
mov byte [eax + 3], bl
movzx edi, dl
movzx ebx, byte [edi + 0x100e77b8]
mov byte [eax + 4], bl
mov ebx, ecx
shr ebx, 8
movzx edi, bl
movzx ebx, byte [edi + 0x100e77b8]
mov byte [eax + 5], bl
mov ebx, dword [esp + 0x20]
shr ebx, 0x10
movzx edi, bl
movzx ebx, byte [edi + 0x100e77b8]
mov edi, dword [esp + 0x1c]
mov byte [eax + 6], bl
shr edi, 0x18
movzx ebx, byte [edi + 0x100e77b8]
movzx edi, byte [esp + 0x1c]
mov byte [eax + 7], bl
movzx ebx, byte [edi + 0x100e77b8]
mov byte [eax + 8], bl
mov ebx, edx
shr ebx, 8
movzx edi, bl
movzx ebx, byte [edi + 0x100e77b8]
mov byte [eax + 9], bl
mov ebx, ecx
shr ebx, 0x10
movzx edi, bl
movzx ebx, byte [edi + 0x100e77b8]
mov edi, dword [esp + 0x20]
mov byte [eax + 0xa], bl
shr edi, 0x18
movzx ebx, byte [edi + 0x100e77b8]
movzx edi, byte [esp + 0x20]
mov byte [eax + 0xb], bl
movzx ebx, byte [edi + 0x100e77b8]
mov byte [eax + 0xc], bl
mov ebx, dword [esp + 0x1c]
shr ebx, 8
movzx edi, bl
movzx ebx, byte [edi + 0x100e77b8]
shr edx, 0x10
movzx edx, dl
mov byte [eax + 0xd], bl
mov dl, byte [edx + 0x100e77b8]
shr ecx, 0x18
mov byte [eax + 0xe], dl
mov cl, byte [ecx + 0x100e77b8]
mov byte [eax + 0xf], cl
mov edx, dword [esi + 0x14]
xor dword [eax], edx
mov ecx, dword [esi + 0x18]
xor dword [eax + 4], ecx
mov edx, dword [esi + 0x1c]
xor dword [eax + 8], edx
mov ecx, dword [esi + 0x20]
xor dword [eax + 0xc], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4