Function at 0x408b30
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
movzx edx, byte [ecx + 2]
push ebx
push ebp
push esi
movzx esi, byte [ecx + 6]
push edi
movzx edi, byte [ecx + 3]
movzx ebx, byte [ecx + 0xb]
shl edi, 8
or edi, edx
movzx edx, byte [ecx + 1]
shl edi, 8
or edi, edx
movzx edx, byte [ecx]
shl edi, 8
or edi, edx
movzx edx, byte [ecx + 7]
movzx ebp, byte [ecx + 0xe]
shl edx, 8
or edx, esi
movzx esi, byte [ecx + 5]
shl edx, 8
or edx, esi
movzx esi, byte [ecx + 4]
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 4]
xor edi, dword [eax]
shl edx, 8
or edx, esi
movzx esi, byte [ecx + 0xa]
xor edx, dword [eax + 4]
shl ebx, 8
or ebx, esi
movzx esi, byte [ecx + 9]
shl ebx, 8
or ebx, esi
movzx esi, byte [ecx + 8]
shl ebx, 8
or ebx, esi
movzx esi, byte [ecx + 0xf]
shl esi, 8
or esi, ebp
movzx ebp, byte [ecx + 0xd]
movzx ecx, byte [ecx + 0xc]
shl esi, 8
or esi, ebp
add eax, 4
xor ebx, dword [eax + 4]
shl esi, 8
or esi, ecx
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx]
add eax, 4
xor esi, dword [eax + 4]
add eax, 4
sar ecx, 1
dec ecx
add eax, 4
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ecx
test ecx, ecx
jle 0x408e3b
lea ecx, [ecx]
mov ecx, ebx
shr edx, 8
and edx, 0xff
shr ecx, 0x10
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x42ca68]
xor ecx, dword [edx*4 + 0x42ce68]
mov edx, esi
shr edx, 0x18
xor ecx, dword [edx*4 + 0x42c668]
mov edx, edi
and edx, 0xff
xor ecx, dword [edx*4 + 0x42d268]
mov ebp, ebx
shr ebp, 8
and ebp, 0xff
mov edx, esi
shr edx, 0x10
and edx, 0xff
mov edx, dword [edx*4 + 0x42ca68]
xor edx, dword [ebp*4 + 0x42ce68]
mov ebp, edi
shr ebp, 0x18
xor edx, dword [ebp*4 + 0x42c668]
mov ebp, dword [esp + 0x10]
and ebp, 0xff
xor edx, dword [ebp*4 + 0x42d268]
xor ecx, dword [eax]
xor edx, dword [eax + 4]
mov ebp, edi
shr ebp, 0x10
and ebp, 0xff
shr esi, 8
and esi, 0xff
mov esi, dword [esi*4 + 0x42ce68]
xor esi, dword [ebp*4 + 0x42ca68]
mov ebp, dword [esp + 0x10]
shr ebp, 0x18
xor esi, dword [ebp*4 + 0x42c668]
mov ebp, ebx
and ebp, 0xff
xor esi, dword [ebp*4 + 0x42d268]
mov ebp, dword [esp + 0x10]
shr ebp, 0x10
and ebp, 0xff
shr edi, 8
and edi, 0xff
shr ebx, 0x18
mov dword [esp + 0x20], edi
mov edi, dword [ebp*4 + 0x42ca68]
mov ebp, dword [esp + 0x20]
xor edi, dword [ebp*4 + 0x42ce68]
add eax, 4
xor edi, dword [ebx*4 + 0x42c668]
xor esi, dword [eax + 4]
mov ebx, dword [esp + 0x14]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x42d268]
add eax, 4
xor edi, dword [eax + 4]
mov ebx, esi
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x42ca68]
add eax, 4
mov ebp, edx
shr ebp, 8
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x42ce68]
mov ebp, edi
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x42c668]
mov ebp, ecx
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x42d268]
add eax, 4
xor ebx, dword [eax]
add eax, 4
mov dword [esp + 0x20], ebx
mov ebx, edi
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x42ca68]
mov ebp, esi
shr ebp, 8
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x42ce68]
mov ebp, ecx
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x42c668]
mov ebp, edx
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x42d268]
mov ebp, ecx
xor ebx, dword [eax]
shr ebp, 0x10
mov dword [esp + 0x10], ebx
mov ebx, edi
shr ebx, 8
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x42ce68]
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x42ca68]
mov ebp, edx
shr edx, 0x10
and edx, 0xff
mov edx, dword [edx*4 + 0x42ca68]
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x42c668]
shr ecx, 8
and ecx, 0xff
xor edx, dword [ecx*4 + 0x42ce68]
mov ecx, dword [esp + 0x18]
mov ebp, esi
shr esi, 0x18
xor edx, dword [esi*4 + 0x42c668]
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x42d268]
add eax, 4
xor ebx, dword [eax]
and edi, 0xff
xor edx, dword [edi*4 + 0x42d268]
mov edi, dword [esp + 0x20]
xor edx, dword [eax + 4]
add eax, 4
dec ecx
mov esi, edx
mov edx, dword [esp + 0x10]
add eax, 4
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ecx
test ecx, ecx
jg 0x408bf0
shr edx, 8
and edx, 0xff
mov ecx, ebx
shr ecx, 0x10
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x42ca68]
xor ecx, dword [edx*4 + 0x42ce68]
mov edx, esi
shr edx, 0x18
xor ecx, dword [edx*4 + 0x42c668]
mov edx, edi
and edx, 0xff
xor ecx, dword [edx*4 + 0x42d268]
mov edx, esi
shr edx, 0x10
xor ecx, dword [eax]
and edx, 0xff
mov edx, dword [edx*4 + 0x42ca68]
mov ebp, ebx
shr ebp, 8
and ebp, 0xff
xor edx, dword [ebp*4 + 0x42ce68]
mov ebp, edi
shr ebp, 0x18
xor edx, dword [ebp*4 + 0x42c668]
mov ebp, dword [esp + 0x10]
and ebp, 0xff
xor edx, dword [ebp*4 + 0x42d268]
add eax, 4
xor edx, dword [eax]
mov ebp, edi
mov dword [esp + 0x18], edx
mov edx, esi
shr edx, 8
and edx, 0xff
shr ebp, 0x10
and ebp, 0xff
mov dword [esp + 0x20], ebp
mov ebp, dword [edx*4 + 0x42ce68]
mov edx, dword [esp + 0x20]
xor ebp, dword [edx*4 + 0x42ca68]
mov edx, dword [esp + 0x10]
shr edx, 0x18
xor ebp, dword [edx*4 + 0x42c668]
mov edx, ebx
and edx, 0xff
xor ebp, dword [edx*4 + 0x42d268]
mov edx, dword [esp + 0x10]
xor ebp, dword [eax + 4]
shr edx, 0x10
shr edi, 8
and edx, 0xff
mov edx, dword [edx*4 + 0x42ca68]
and edi, 0xff
xor edx, dword [edi*4 + 0x42ce68]
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x42c668]
and esi, 0xff
xor edx, dword [esi*4 + 0x42d268]
add eax, 4
xor edx, dword [eax + 4]
add eax, 4
mov esi, ebp
shr esi, 0x10
and esi, 0xff
movzx esi, byte [esi + 0x42b540]
mov edi, edx
shr edi, 0x18
movzx edi, byte [edi + 0x42b540]
shl edi, 8
xor esi, edi
mov edi, dword [esp + 0x18]
mov ebx, edi
shr ebx, 8
and ebx, 0xff
movzx ebx, byte [ebx + 0x42b540]
shl esi, 8
xor esi, ebx
add eax, 4
shl esi, 8
mov ebx, ecx
and ebx, 0xff
movzx ebx, byte [ebx + 0x42b540]
xor esi, ebx
xor esi, dword [eax]
mov ebx, ecx
shr ebx, 0x18
movzx ebx, byte [ebx + 0x42b540]
mov dword [esp + 0x20], esi
shl ebx, 8
mov esi, edx
shr esi, 0x10
and esi, 0xff
movzx esi, byte [esi + 0x42b540]
xor esi, ebx
shl esi, 8
mov ebx, ebp
shr ebx, 8
and ebx, 0xff
movzx ebx, byte [ebx + 0x42b540]
xor esi, ebx
shl esi, 8
mov ebx, edi
and ebx, 0xff
movzx ebx, byte [ebx + 0x42b540]
xor esi, ebx
xor esi, dword [eax + 4]
add eax, 4
mov dword [esp + 0x10], esi
mov esi, ecx
shr esi, 0x10
and esi, 0xff
movzx esi, byte [esi + 0x42b540]
mov ebx, edi
shr ebx, 0x18
movzx ebx, byte [ebx + 0x42b540]
shl ebx, 8
xor esi, ebx
mov ebx, edx
shr ebx, 8
and ebx, 0xff
movzx ebx, byte [ebx + 0x42b540]
shl esi, 8
xor esi, ebx
mov ebx, ebp
and ebx, 0xff
movzx ebx, byte [ebx + 0x42b540]
shl esi, 8
xor esi, ebx
xor esi, dword [eax + 4]
add eax, 4
shr edi, 0x10
shr ebp, 0x18
mov dword [esp + 0x18], esi
movzx esi, byte [ebp + 0x42b540]
shr ecx, 8
and edi, 0xff
movzx ebx, byte [edi + 0x42b540]
and ecx, 0xff
movzx ecx, byte [ecx + 0x42b540]
shl esi, 8
xor ebx, esi
and edx, 0xff
movzx edx, byte [edx + 0x42b540]
shl ebx, 8
xor ebx, ecx
mov ecx, dword [esp + 0x20]
shl ebx, 8
xor ebx, edx
xor ebx, dword [eax + 4]
mov eax, dword [esp + 0x24]
mov edx, ecx
shr edx, 8
mov byte [eax + 1], dl
mov edx, ecx
mov byte [eax], cl
shr edx, 0x10
shr ecx, 0x18
mov byte [eax + 3], cl
mov ecx, dword [esp + 0x10]
mov byte [eax + 2], dl
mov byte [eax + 4], cl
mov edx, ecx
shr edx, 8
mov byte [eax + 5], dl
mov edx, ecx
shr edx, 0x10
shr ecx, 0x18
mov byte [eax + 6], dl
mov byte [eax + 7], cl
mov ecx, dword [esp + 0x18]
mov edx, ecx
shr edx, 8
mov byte [eax + 9], dl
mov edx, ecx
mov byte [eax + 8], cl
shr edx, 0x10
shr ecx, 0x18
mov byte [eax + 0xa], dl
mov byte [eax + 0xb], cl
pop edi
mov ecx, ebx
mov edx, ebx
mov byte [eax + 0xc], bl
shr ebx, 0x18
pop esi
shr ecx, 8
shr edx, 0x10
mov byte [eax + 0xf], bl
pop ebp
mov byte [eax + 0xd], cl
mov byte [eax + 0xe], dl
xor eax, eax
pop ebx
add esp, 0xc
ret