Function at 0x410800
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
mov ebx, eax
movzx edx, byte [ebx + 3]
movzx ecx, byte [ebx + 2]
shl edx, 8
or edx, ecx
movzx ecx, byte [ebx + 1]
shl edx, 8
or edx, ecx
movzx ecx, byte [ebx]
shl edx, 8
or edx, ecx
movzx ecx, byte [ebx + 7]
push ebp
push esi
movzx esi, byte [ebx + 6]
shl ecx, 8
or ecx, esi
movzx esi, byte [ebx + 5]
movzx ebp, byte [ebx + 0xe]
shl ecx, 8
or ecx, esi
movzx esi, byte [ebx + 4]
push edi
movzx edi, byte [ebx + 0xa]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
xor edx, dword [eax]
shl ecx, 8
or ecx, esi
movzx esi, byte [ebx + 0xb]
xor ecx, dword [eax + 4]
shl esi, 8
or esi, edi
movzx edi, byte [ebx + 9]
shl esi, 8
or esi, edi
movzx edi, byte [ebx + 8]
shl esi, 8
or esi, edi
movzx edi, byte [ebx + 0xf]
shl edi, 8
or edi, ebp
movzx ebp, byte [ebx + 0xd]
movzx ebx, byte [ebx + 0xc]
shl edi, 8
or edi, ebp
add eax, 4
xor esi, dword [eax + 4]
shl edi, 8
or edi, ebx
mov ebx, dword [esp + 0x1c]
mov ebx, dword [ebx]
add eax, 4
xor edi, dword [eax + 4]
add eax, 4
sar ebx, 1
dec ebx
add eax, 4
cmp dword [esp + 0x20], 0
mov dword [esp + 0x10], ebx
jne 0x410d6b
test ebx, ebx
jle 0x410b00
mov ebx, edi
shr ebx, 8
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x4478a8]
mov ebp, esi
shr ebp, 0x10
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x447480]
mov ebp, ecx
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x447080]
mov ebp, edx
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x447ca8]
mov ebp, edx
xor ebx, dword [eax]
shr ebp, 8
mov dword [esp + 0x20], ebx
and ebp, 0xff
mov ebx, edi
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x447480]
xor ebx, dword [ebp*4 + 0x4478a8]
mov ebp, esi
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x447080]
mov ebp, ecx
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x447ca8]
add eax, 4
xor ebx, dword [eax]
mov ebp, edx
mov dword [esp + 0x1c], ebx
mov ebx, ecx
shr ebp, 0x10
shr ebx, 8
and ebp, 0xff
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x4478a8]
xor ebx, dword [ebp*4 + 0x447480]
mov ebp, edi
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x447080]
shr ecx, 0x10
and ecx, 0xff
mov ebp, esi
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x447ca8]
shr esi, 8
xor ebx, dword [eax + 4]
shr edx, 0x18
and esi, 0xff
mov ebp, dword [esi*4 + 0x4478a8]
xor ebp, dword [ecx*4 + 0x447480]
mov esi, dword [esp + 0x20]
xor ebp, dword [edx*4 + 0x447080]
add eax, 4
and edi, 0xff
xor ebp, dword [edi*4 + 0x447ca8]
add eax, 4
xor ebp, dword [eax]
mov ecx, ebx
shr ecx, 0x10
mov edx, ebp
shr edx, 8
and edx, 0xff
mov edx, dword [edx*4 + 0x4478a8]
and ecx, 0xff
xor edx, dword [ecx*4 + 0x447480]
mov ecx, dword [esp + 0x1c]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x447080]
mov ecx, esi
and ecx, 0xff
xor edx, dword [ecx*4 + 0x447ca8]
add eax, 4
xor edx, dword [eax]
mov ecx, ebp
add eax, 4
shr ecx, 0x10
mov edi, esi
shr edi, 8
and edi, 0xff
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x447480]
xor ecx, dword [edi*4 + 0x4478a8]
mov edi, ebx
shr edi, 0x18
xor ecx, dword [edi*4 + 0x447080]
mov edi, dword [esp + 0x1c]
and edi, 0xff
xor ecx, dword [edi*4 + 0x447ca8]
mov edi, dword [esp + 0x1c]
xor ecx, dword [eax]
shr edi, 8
and edi, 0xff
mov edi, dword [edi*4 + 0x4478a8]
shr esi, 0x10
and esi, 0xff
xor edi, dword [esi*4 + 0x447480]
mov esi, ebp
shr esi, 0x18
xor edi, dword [esi*4 + 0x447080]
mov esi, ebx
and esi, 0xff
xor edi, dword [esi*4 + 0x447ca8]
add eax, 4
xor edi, dword [eax]
shr ebx, 8
mov esi, edi
mov edi, dword [esp + 0x1c]
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x4478a8]
shr edi, 0x10
and edi, 0xff
xor ebx, dword [edi*4 + 0x447480]
mov edi, dword [esp + 0x20]
shr edi, 0x18
xor ebx, dword [edi*4 + 0x447080]
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x447ca8]
add eax, 4
xor ebx, dword [eax]
add eax, 4
mov edi, ebx
mov ebx, dword [esp + 0x10]
dec ebx
mov dword [esp + 0x10], ebx
test ebx, ebx
jg 0x4108c2
mov ebp, esi
shr ebp, 0x10
and ebp, 0xff
mov ebx, edi
shr ebx, 8
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x4478a8]
xor ebx, dword [ebp*4 + 0x447480]
mov ebp, ecx
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x447080]
mov ebp, edx
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x447ca8]
mov ebp, edx
xor ebx, dword [eax]
shr ebp, 8
mov dword [esp + 0x20], ebx
and ebp, 0xff
mov ebx, edi
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x447480]
xor ebx, dword [ebp*4 + 0x4478a8]
mov ebp, esi
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x447080]
mov ebp, ecx
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x447ca8]
add eax, 4
xor ebx, dword [eax]
mov ebp, edx
mov dword [esp + 0x1c], ebx
mov ebx, ecx
shr ebp, 0x10
shr ebx, 8
and ebp, 0xff
and ebx, 0xff
mov dword [esp + 0x14], ebp
mov ebp, dword [ebx*4 + 0x4478a8]
mov ebx, dword [esp + 0x14]
xor ebp, dword [ebx*4 + 0x447480]
mov ebx, edi
shr ebx, 0x18
xor ebp, dword [ebx*4 + 0x447080]
mov ebx, esi
shr ecx, 0x10
shr esi, 8
and ecx, 0xff
and esi, 0xff
mov esi, dword [esi*4 + 0x4478a8]
xor esi, dword [ecx*4 + 0x447480]
mov ecx, dword [esp + 0x1c]
shr edx, 0x18
xor esi, dword [edx*4 + 0x447080]
and ebx, 0xff
xor ebp, dword [ebx*4 + 0x447ca8]
add eax, 4
xor ebp, dword [eax]
shr ecx, 0x18
movzx ecx, byte [ecx + 0x4490a8]
mov edx, ebp
shr edx, 0x10
and edx, 0xff
movzx edx, byte [edx + 0x4490a8]
and edi, 0xff
xor esi, dword [edi*4 + 0x447ca8]
mov edi, dword [esp + 0x20]
xor esi, dword [eax + 4]
shl ecx, 8
add eax, 4
xor edx, ecx
mov ecx, esi
shr ecx, 8
and ecx, 0xff
movzx ecx, byte [ecx + 0x4490a8]
shl edx, 8
xor edx, ecx
add eax, 4
shl edx, 8
mov ecx, edi
and ecx, 0xff
movzx ecx, byte [ecx + 0x4490a8]
xor edx, ecx
mov ecx, esi
shr ecx, 0x10
and ecx, 0xff
movzx ecx, byte [ecx + 0x4490a8]
mov ebx, ebp
shr ebx, 0x18
movzx ebx, byte [ebx + 0x4490a8]
shl ebx, 8
xor ecx, ebx
mov ebx, edi
shr ebx, 8
and ebx, 0xff
movzx ebx, byte [ebx + 0x4490a8]
shl ecx, 8
xor ecx, ebx
mov ebx, dword [esp + 0x1c]
and ebx, 0xff
movzx ebx, byte [ebx + 0x4490a8]
shr edi, 0x10
and edi, 0xff
movzx edi, byte [edi + 0x4490a8]
xor edx, dword [eax]
shl ecx, 8
xor ecx, ebx
xor ecx, dword [eax + 4]
mov ebx, esi
shr ebx, 0x18
movzx ebx, byte [ebx + 0x4490a8]
shl ebx, 8
xor edi, ebx
mov ebx, dword [esp + 0x1c]
shr ebx, 8
shl edi, 8
and ebx, 0xff
movzx ebx, byte [ebx + 0x4490a8]
xor edi, ebx
shl edi, 8
mov ebx, ebp
and ebx, 0xff
movzx ebx, byte [ebx + 0x4490a8]
xor edi, ebx
add eax, 4
xor edi, dword [eax + 4]
add eax, 4
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x1c]
shr edi, 0x10
and edi, 0xff
movzx ebx, byte [edi + 0x4490a8]
mov edi, dword [esp + 0x20]
shr edi, 0x18
movzx edi, byte [edi + 0x4490a8]
shl edi, 8
shr ebp, 8
xor ebx, edi
and ebp, 0xff
movzx edi, byte [ebp + 0x4490a8]
shl ebx, 8
xor ebx, edi
and esi, 0xff
movzx esi, byte [esi + 0x4490a8]
jmp 0x411220
test ebx, ebx
jle 0x410fb6
mov ebp, ecx
shr ebp, 8
and ebp, 0xff
mov ebx, esi
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x4484a8]
xor ebx, dword [ebp*4 + 0x4488a8]
mov ebp, edi
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x4480a8]
mov ebp, edx
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x448ca8]
mov ebp, esi
xor ebx, dword [eax]
shr ebp, 8
mov dword [esp + 0x20], ebx
and ebp, 0xff
mov ebx, edi
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x4484a8]
xor ebx, dword [ebp*4 + 0x4488a8]
mov ebp, edx
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x4480a8]
mov ebp, ecx
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x448ca8]
add eax, 4
xor ebx, dword [eax]
mov ebp, edx
mov dword [esp + 0x1c], ebx
shr ebp, 0x10
and ebp, 0xff
mov ebx, edi
shr ebx, 8
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x4488a8]
xor ebx, dword [ebp*4 + 0x4484a8]
mov ebp, ecx
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x4480a8]
shr ecx, 0x10
and ecx, 0xff
shr edx, 8
and edx, 0xff
mov ebp, esi
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x448ca8]
mov ebp, dword [ecx*4 + 0x4484a8]
xor ebp, dword [edx*4 + 0x4488a8]
xor ebx, dword [eax + 4]
mov ecx, dword [esp + 0x1c]
add eax, 4
shr esi, 0x18
xor ebp, dword [esi*4 + 0x4480a8]
shr ecx, 8
and edi, 0xff
xor ebp, dword [edi*4 + 0x448ca8]
mov edi, dword [esp + 0x20]
xor ebp, dword [eax + 4]
mov edx, ebx
shr edx, 0x10
and edx, 0xff
mov edx, dword [edx*4 + 0x4484a8]
and ecx, 0xff
xor edx, dword [ecx*4 + 0x4488a8]
add eax, 4
mov ecx, ebp
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x4480a8]
mov ecx, edi
and ecx, 0xff
xor edx, dword [ecx*4 + 0x448ca8]
add eax, 4
xor edx, dword [eax]
mov dword [esp + 0x14], ebp
add eax, 4
mov ecx, ebp
shr ecx, 0x10
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4484a8]
mov esi, ebx
shr esi, 8
and esi, 0xff
xor ecx, dword [esi*4 + 0x4488a8]
mov esi, edi
shr esi, 0x18
xor ecx, dword [esi*4 + 0x4480a8]
mov esi, dword [esp + 0x1c]
shr ebp, 8
and esi, 0xff
xor ecx, dword [esi*4 + 0x448ca8]
and ebp, 0xff
mov ebp, dword [ebp*4 + 0x4488a8]
xor ecx, dword [eax]
mov esi, edi
shr esi, 0x10
and esi, 0xff
xor ebp, dword [esi*4 + 0x4484a8]
mov esi, dword [esp + 0x1c]
shr esi, 0x18
xor ebp, dword [esi*4 + 0x4480a8]
mov esi, ebx
and esi, 0xff
xor ebp, dword [esi*4 + 0x448ca8]
add eax, 4
xor ebp, dword [eax]
shr edi, 8
mov esi, ebp
mov ebp, dword [esp + 0x1c]
shr ebp, 0x10
and ebp, 0xff
mov ebp, dword [ebp*4 + 0x4484a8]
and edi, 0xff
xor ebp, dword [edi*4 + 0x4488a8]
mov edi, dword [esp + 0x14]
shr ebx, 0x18
xor ebp, dword [ebx*4 + 0x4480a8]
mov ebx, dword [esp + 0x10]
and edi, 0xff
xor ebp, dword [edi*4 + 0x448ca8]
add eax, 4
xor ebp, dword [eax]
dec ebx
add eax, 4
mov edi, ebp
mov dword [esp + 0x10], ebx
test ebx, ebx
jg 0x410d73
mov ebx, esi
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x4484a8]
mov ebp, ecx
shr ebp, 8
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x4488a8]
mov ebp, edi
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x4480a8]
mov ebp, edx
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x448ca8]
mov ebp, esi
xor ebx, dword [eax]
shr ebp, 8
mov dword [esp + 0x20], ebx
and ebp, 0xff
mov ebx, edi
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x4484a8]
xor ebx, dword [ebp*4 + 0x4488a8]
mov ebp, edx
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x4480a8]
mov ebp, ecx
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x448ca8]
add eax, 4
xor ebx, dword [eax]
mov ebp, edx
mov dword [esp + 0x1c], ebx
mov ebx, edi
shr ebp, 0x10
shr ebx, 8
and ebp, 0xff
and ebx, 0xff
mov dword [esp + 0x14], ebp
mov ebp, dword [ebx*4 + 0x4488a8]
mov ebx, dword [esp + 0x14]
xor ebp, dword [ebx*4 + 0x4484a8]
mov ebx, ecx
shr ecx, 0x10
shr edx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4484a8]
and edx, 0xff
xor ecx, dword [edx*4 + 0x4488a8]
shr ebx, 0x18
xor ebp, dword [ebx*4 + 0x4480a8]
mov ebx, esi
shr esi, 0x18
xor ecx, dword [esi*4 + 0x4480a8]
and edi, 0xff
xor ecx, dword [edi*4 + 0x448ca8]
and ebx, 0xff
xor ebp, dword [ebx*4 + 0x448ca8]
add eax, 4
xor ebp, dword [eax]
xor ecx, dword [eax + 4]
add eax, 4
mov edx, ebp
shr edx, 0x10
mov esi, ecx
shr esi, 0x18
movzx esi, byte [esi + 0x446f80]
and edx, 0xff
movzx edx, byte [edx + 0x446f80]
shl esi, 8
xor edx, esi
mov esi, dword [esp + 0x1c]
mov edi, esi
shr edi, 8
and edi, 0xff
movzx edi, byte [edi + 0x446f80]
shl edx, 8
add eax, 4
mov dword [esp + 0x14], ecx
xor edx, edi
mov edi, dword [esp + 0x20]
mov ebx, edi
and ebx, 0xff
movzx ebx, byte [ebx + 0x446f80]
shr ecx, 0x10
shl edx, 8
xor edx, ebx
and ecx, 0xff
movzx ecx, byte [ecx + 0x446f80]
mov ebx, edi
shr ebx, 0x18
movzx ebx, byte [ebx + 0x446f80]
shl ebx, 8
xor ecx, ebx
and esi, 0xff
movzx esi, byte [esi + 0x446f80]
mov ebx, ebp
shr ebx, 8
and ebx, 0xff
movzx ebx, byte [ebx + 0x446f80]
shl ecx, 8
xor ecx, ebx
mov ebx, dword [esp + 0x1c]
shr ebx, 0x18
movzx ebx, byte [ebx + 0x446f80]
xor edx, dword [eax]
shl ecx, 8
xor ecx, esi
xor ecx, dword [eax + 4]
shl ebx, 8
mov esi, edi
shr esi, 0x10
and esi, 0xff
movzx esi, byte [esi + 0x446f80]
xor esi, ebx
mov ebx, dword [esp + 0x14]
shr ebx, 8
shl esi, 8
and ebx, 0xff
movzx ebx, byte [ebx + 0x446f80]
xor esi, ebx
shl esi, 8
mov ebx, ebp
and ebx, 0xff
movzx ebx, byte [ebx + 0x446f80]
xor esi, ebx
add eax, 4
xor esi, dword [eax + 4]
add eax, 4
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x1c]
shr esi, 0x10
and esi, 0xff
movzx ebx, byte [esi + 0x446f80]
shr ebp, 0x18
movzx esi, byte [ebp + 0x446f80]
shl esi, 8
xor ebx, esi
shr edi, 8
and edi, 0xff
movzx esi, byte [edi + 0x446f80]
shl ebx, 8
xor ebx, esi
mov esi, dword [esp + 0x14]
and esi, 0xff
movzx esi, byte [esi + 0x446f80]
shl ebx, 8
xor ebx, esi
xor ebx, dword [eax + 4]
mov esi, dword [esp + 0x24]
mov eax, edx
shr eax, 8
mov byte [esi + 1], al
mov eax, edx
shr eax, 0x10
mov byte [esi + 2], al
mov byte [esi], dl
shr edx, 0x18
mov eax, ecx
shr eax, 0x10
mov byte [esi + 3], dl
mov byte [esi + 4], cl
mov edx, ecx
shr ecx, 0x18
mov byte [esi + 6], al
mov eax, dword [esp + 0x10]
shr edx, 8
mov byte [esi + 7], cl
mov ecx, eax
mov byte [esi + 5], dl
mov byte [esi + 8], al
mov edx, eax
shr ecx, 8
shr eax, 0x18
mov byte [esi + 9], cl
mov byte [esi + 0xb], al
mov eax, ebx
mov ecx, ebx
mov byte [esi + 0xc], bl
shr edx, 0x10
shr eax, 8
shr ecx, 0x10
shr ebx, 0x18
pop edi
mov byte [esi + 0xf], bl
mov byte [esi + 0xa], dl
mov byte [esi + 0xd], al
mov byte [esi + 0xe], cl
pop esi
pop ebp
pop ebx
add esp, 8
ret