Function at 0x6400ccb0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
xor ecx, ecx
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
push esi
push edi
mov edi, eax
mov ch, byte [edi + 3]
movzx edx, byte [edi + 1]
mov eax, dword [ebp + 4]
movzx esi, byte [edi + 9]
mov cl, byte [edi + 2]
movzx ebx, byte [edi + 0xd]
add eax, 4
add eax, 4
add eax, 4
shl ecx, 8
or ecx, edx
movzx edx, byte [edi]
shl ecx, 8
or ecx, edx
xor ecx, dword [eax - 0xc]
movzx edx, byte [edi + 5]
mov dword [esp + 0x24], ecx
xor ecx, ecx
mov ch, byte [edi + 7]
add eax, 4
mov cl, byte [edi + 6]
shl ecx, 8
or ecx, edx
movzx edx, byte [edi + 4]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dh, byte [edi + 0xb]
xor ecx, dword [eax - 0xc]
mov dl, byte [edi + 0xa]
shl edx, 8
or edx, esi
movzx esi, byte [edi + 8]
shl edx, 8
or edx, esi
xor edx, dword [eax - 8]
mov esi, edx
xor edx, edx
mov dh, byte [edi + 0xf]
mov dword [esp + 0x10], esi
mov dl, byte [edi + 0xe]
movzx edi, byte [edi + 0xc]
shl edx, 8
or edx, ebx
shl edx, 8
or edx, edi
xor edx, dword [eax - 4]
cmp dword [esp + 0x28], 0
jne 0x6400d1e9
mov ebp, dword [ebp]
sar ebp, 1
sub ebp, 1
test ebp, ebp
jle 0x6400cf8f
mov ebx, esi
movzx edi, dh
mov esi, dword [edi*4 + 0x6402e990]
mov edi, ecx
shr edi, 0x18
shr ebx, 0x10
and ebx, 0xff
xor esi, dword [ebx*4 + 0x6402e568]
add eax, 4
xor esi, dword [edi*4 + 0x6402e168]
mov edi, dword [esp + 0x24]
and edi, 0xff
mov dword [esp + 0x28], esi
xor esi, dword [edi*4 + 0x6402ed90]
movzx edi, byte [esp + 0x25]
xor esi, dword [eax - 4]
add eax, 4
mov dword [esp + 0x14], esi
mov esi, edx
shr esi, 0x10
and esi, 0xff
mov esi, dword [esi*4 + 0x6402e568]
xor esi, dword [edi*4 + 0x6402e990]
mov edi, dword [esp + 0x10]
shr edi, 0x18
mov dword [esp + 0x28], esi
xor esi, dword [edi*4 + 0x6402e168]
mov edi, ecx
and edi, 0xff
xor esi, dword [edi*4 + 0x6402ed90]
mov edi, dword [esp + 0x24]
xor esi, dword [eax - 4]
shr edi, 0x10
mov dword [esp + 0x18], esi
movzx esi, ch
mov esi, dword [esi*4 + 0x6402e990]
and edi, 0xff
xor esi, dword [edi*4 + 0x6402e568]
mov edi, edx
shr edi, 0x18
xor esi, dword [edi*4 + 0x6402e168]
mov edi, dword [esp + 0x10]
and edi, 0xff
mov dword [esp + 0x28], esi
xor esi, dword [edi*4 + 0x6402ed90]
shr ecx, 0x10
xor esi, dword [eax]
and ecx, 0xff
mov dword [esp + 0x28], esi
movzx esi, byte [esp + 0x11]
mov ebx, dword [esi*4 + 0x6402e990]
xor ebx, dword [ecx*4 + 0x6402e568]
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
shr ecx, 0x18
xor ebx, dword [ecx*4 + 0x6402e168]
and edx, 0xff
xor ebx, dword [edx*4 + 0x6402ed90]
add eax, 4
xor ebx, dword [eax]
mov ecx, esi
shr ecx, 0x10
and ecx, 0xff
movzx edx, bh
mov edi, dword [edx*4 + 0x6402e990]
xor edi, dword [ecx*4 + 0x6402e568]
mov edx, dword [esp + 0x18]
mov ecx, edx
shr ecx, 0x18
xor edi, dword [ecx*4 + 0x6402e168]
mov ecx, dword [esp + 0x14]
and ecx, 0xff
xor edi, dword [ecx*4 + 0x6402ed90]
add eax, 4
xor edi, dword [eax]
mov ecx, ebx
shr ecx, 0x10
mov dword [esp + 0x24], edi
movzx edi, byte [esp + 0x15]
add eax, 4
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x6402e568]
xor ecx, dword [edi*4 + 0x6402e990]
shr esi, 0x18
xor ecx, dword [esi*4 + 0x6402e168]
mov esi, edx
and esi, 0xff
xor ecx, dword [esi*4 + 0x6402ed90]
mov esi, dword [esp + 0x14]
xor ecx, dword [eax]
movzx edx, dh
mov edx, dword [edx*4 + 0x6402e990]
mov edi, dword [esp + 0x18]
shr esi, 0x10
and esi, 0xff
xor edx, dword [esi*4 + 0x6402e568]
mov esi, ebx
shr esi, 0x18
xor edx, dword [esi*4 + 0x6402e168]
mov esi, dword [esp + 0x28]
and esi, 0xff
xor edx, dword [esi*4 + 0x6402ed90]
add eax, 4
xor edx, dword [eax]
shr edi, 0x10
mov esi, edx
movzx edx, byte [esp + 0x29]
mov edx, dword [edx*4 + 0x6402e990]
and edi, 0xff
xor edx, dword [edi*4 + 0x6402e568]
mov edi, dword [esp + 0x14]
shr edi, 0x18
xor edx, dword [edi*4 + 0x6402e168]
and ebx, 0xff
xor edx, dword [ebx*4 + 0x6402ed90]
add eax, 4
xor edx, dword [eax]
sub ebp, 1
add eax, 4
test ebp, ebp
mov dword [esp + 0x10], esi
jg 0x6400cd64
mov ebx, esi
movzx edi, dh
mov esi, dword [edi*4 + 0x6402e990]
mov edi, ecx
shr edi, 0x18
shr ebx, 0x10
and ebx, 0xff
xor esi, dword [ebx*4 + 0x6402e568]
add eax, 4
xor esi, dword [edi*4 + 0x6402e168]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x28], esi
and edi, 0xff
xor esi, dword [edi*4 + 0x6402ed90]
movzx edi, byte [esp + 0x25]
xor esi, dword [eax - 4]
add eax, 4
mov dword [esp + 0x14], esi
mov esi, edx
shr esi, 0x10
and esi, 0xff
mov esi, dword [esi*4 + 0x6402e568]
xor esi, dword [edi*4 + 0x6402e990]
mov edi, dword [esp + 0x10]
shr edi, 0x18
mov dword [esp + 0x28], esi
xor esi, dword [edi*4 + 0x6402e168]
mov edi, ecx
and edi, 0xff
xor esi, dword [edi*4 + 0x6402ed90]
mov edi, dword [esp + 0x24]
xor esi, dword [eax - 4]
shr edi, 0x10
mov dword [esp + 0x18], esi
movzx esi, ch
mov esi, dword [esi*4 + 0x6402e990]
and edi, 0xff
xor esi, dword [edi*4 + 0x6402e568]
mov edi, edx
shr edi, 0x18
xor esi, dword [edi*4 + 0x6402e168]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x28], esi
and edi, 0xff
xor esi, dword [edi*4 + 0x6402ed90]
shr ecx, 0x10
xor esi, dword [eax]
and ecx, 0xff
mov dword [esp + 0x28], esi
movzx esi, byte [esp + 0x11]
mov ebx, dword [esi*4 + 0x6402e990]
xor ebx, dword [ecx*4 + 0x6402e568]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
shr ecx, 0x18
xor ebx, dword [ecx*4 + 0x6402e168]
mov ecx, dword [esp + 0x18]
and edx, 0xff
xor ebx, dword [edx*4 + 0x6402ed90]
add eax, 4
xor ebx, dword [eax]
add eax, 4
shr ecx, 0x18
mov dword [esp + 0x1c], eax
xor eax, eax
mov ah, byte [ecx + 0x64030190]
mov edx, edi
shr edx, 0x10
and edx, 0xff
movzx edx, byte [edx + 0x64030190]
movzx ecx, bh
movzx ecx, byte [ecx + 0x64030190]
xor edx, eax
shl edx, 8
xor edx, ecx
mov ecx, dword [esp + 0x14]
and ecx, 0xff
movzx ecx, byte [ecx + 0x64030190]
shl edx, 8
mov dword [esp + 0x24], ebx
xor edx, ecx
xor ecx, ecx
shr edi, 0x18
mov ch, byte [edi + 0x64030190]
mov eax, dword [esp + 0x1c]
xor edx, dword [eax]
shr ebx, 0x10
and ebx, 0xff
movzx esi, byte [ebx + 0x64030190]
xor esi, ecx
mov ecx, dword [esp + 0x14]
shl esi, 8
movzx edi, ch
movzx edi, byte [edi + 0x64030190]
xor esi, edi
mov edi, dword [esp + 0x18]
shl esi, 8
and edi, 0xff
movzx edi, byte [edi + 0x64030190]
xor esi, edi
xor esi, dword [eax + 4]
shr ecx, 0x10
mov dword [esp + 0x1c], esi
and ecx, 0xff
movzx esi, byte [ecx + 0x64030190]
mov ecx, dword [esp + 0x24]
add eax, 4
shr ecx, 0x18
xor ebx, ebx
mov bh, byte [ecx + 0x64030190]
mov ecx, dword [esp + 0x18]
movzx edi, ch
movzx edi, byte [edi + 0x64030190]
xor esi, ebx
shl esi, 8
xor esi, edi
mov edi, dword [esp + 0x28]
shl esi, 8
and edi, 0xff
movzx edi, byte [edi + 0x64030190]
xor esi, edi
xor esi, dword [eax + 4]
add eax, 4
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x14]
shr esi, 0x18
shr ecx, 0x10
xor ebx, ebx
mov bh, byte [esi + 0x64030190]
movzx esi, byte [esp + 0x29]
movzx esi, byte [esi + 0x64030190]
and ecx, 0xff
movzx ecx, byte [ecx + 0x64030190]
xor ecx, ebx
shl ecx, 8
xor ecx, esi
mov esi, dword [esp + 0x24]
and esi, 0xff
movzx esi, byte [esi + 0x64030190]
jmp 0x6400d67c
mov edi, dword [ebp]
sar edi, 1
sub edi, 1
test edi, edi
mov dword [esp + 0x1c], edi
jle 0x6400d433
lea ecx, [ecx]
shr esi, 0x10
and esi, 0xff
mov esi, dword [esi*4 + 0x6402f590]
movzx edi, ch
xor esi, dword [edi*4 + 0x6402f990]
mov edi, edx
shr edi, 0x18
xor esi, dword [edi*4 + 0x6402f190]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x28], esi
and edi, 0xff
xor esi, dword [edi*4 + 0x6402fd90]
movzx edi, byte [esp + 0x11]
xor esi, dword [eax]
add eax, 4
mov dword [esp + 0x14], esi
mov esi, edx
shr esi, 0x10
and esi, 0xff
mov esi, dword [esi*4 + 0x6402f590]
xor esi, dword [edi*4 + 0x6402f990]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x28], esi
shr edi, 0x18
xor esi, dword [edi*4 + 0x6402f190]
mov edi, ecx
and edi, 0xff
xor esi, dword [edi*4 + 0x6402fd90]
mov edi, dword [esp + 0x24]
xor esi, dword [eax]
shr edi, 0x10
mov dword [esp + 0x18], esi
and edi, 0xff
movzx esi, dh
mov esi, dword [esi*4 + 0x6402f990]
xor esi, dword [edi*4 + 0x6402f590]
mov edi, ecx
shr edi, 0x18
xor esi, dword [edi*4 + 0x6402f190]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x28], esi
and edi, 0xff
xor esi, dword [edi*4 + 0x6402fd90]
add eax, 4
xor esi, dword [eax]
shr ecx, 0x10
mov dword [esp + 0x28], esi
movzx esi, byte [esp + 0x25]
and ecx, 0xff
mov ebx, dword [ecx*4 + 0x6402f590]
xor ebx, dword [esi*4 + 0x6402f990]
mov ecx, dword [esp + 0x10]
shr ecx, 0x18
xor ebx, dword [ecx*4 + 0x6402f190]
mov ecx, dword [esp + 0x18]
and edx, 0xff
xor ebx, dword [edx*4 + 0x6402fd90]
mov edx, dword [esp + 0x28]
xor ebx, dword [eax + 4]
add eax, 4
mov esi, edx
shr esi, 0x10
and esi, 0xff
mov ebp, dword [esi*4 + 0x6402f590]
movzx edi, ch
xor ebp, dword [edi*4 + 0x6402f990]
mov esi, ebx
shr esi, 0x18
xor ebp, dword [esi*4 + 0x6402f190]
mov esi, dword [esp + 0x14]
mov edi, esi
and edi, 0xff
xor ebp, dword [edi*4 + 0x6402fd90]
add eax, 4
xor ebp, dword [eax]
mov edi, ebx
shr edi, 0x10
add eax, 4
mov dword [esp + 0x24], ebp
and edi, 0xff
movzx edx, dh
mov edi, dword [edi*4 + 0x6402f590]
xor edi, dword [edx*4 + 0x6402f990]
mov edx, esi
shr edx, 0x18
xor edi, dword [edx*4 + 0x6402f190]
shr esi, 0x10
and esi, 0xff
movzx edx, bh
mov edx, dword [edx*4 + 0x6402f990]
xor edx, dword [esi*4 + 0x6402f590]
mov esi, dword [esp + 0x18]
shr esi, 0x18
xor edx, dword [esi*4 + 0x6402f190]
mov esi, dword [esp + 0x28]
and ecx, 0xff
xor edi, dword [ecx*4 + 0x6402fd90]
and esi, 0xff
xor edi, dword [eax]
xor edx, dword [esi*4 + 0x6402fd90]
mov ecx, edi
xor edx, dword [eax + 4]
mov edi, dword [esp + 0x18]
add eax, 4
shr edi, 0x10
and edi, 0xff
mov ebp, dword [edi*4 + 0x6402f590]
mov edi, dword [esp + 0x28]
mov esi, edx
movzx edx, byte [esp + 0x15]
xor ebp, dword [edx*4 + 0x6402f990]
shr edi, 0x18
xor ebp, dword [edi*4 + 0x6402f190]
mov edi, dword [esp + 0x1c]
and ebx, 0xff
xor ebp, dword [ebx*4 + 0x6402fd90]
add eax, 4
xor ebp, dword [eax]
sub edi, 1
add eax, 4
test edi, edi
mov dword [esp + 0x10], esi
mov edx, ebp
mov dword [esp + 0x1c], edi
jg 0x6400d200
shr esi, 0x10
and esi, 0xff
mov esi, dword [esi*4 + 0x6402f590]
movzx edi, ch
xor esi, dword [edi*4 + 0x6402f990]
mov edi, edx
shr edi, 0x18
xor esi, dword [edi*4 + 0x6402f190]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x28], esi
and edi, 0xff
xor esi, dword [edi*4 + 0x6402fd90]
movzx edi, byte [esp + 0x11]
xor esi, dword [eax]
add eax, 4
mov dword [esp + 0x14], esi
mov esi, edx
shr esi, 0x10
and esi, 0xff
mov esi, dword [esi*4 + 0x6402f590]
xor esi, dword [edi*4 + 0x6402f990]
mov edi, dword [esp + 0x24]
shr edi, 0x18
mov dword [esp + 0x28], esi
xor esi, dword [edi*4 + 0x6402f190]
mov edi, ecx
and edi, 0xff
xor esi, dword [edi*4 + 0x6402fd90]
mov edi, dword [esp + 0x24]
xor esi, dword [eax]
shr edi, 0x10
mov dword [esp + 0x18], esi
movzx esi, dh
mov esi, dword [esi*4 + 0x6402f990]
and edi, 0xff
xor esi, dword [edi*4 + 0x6402f590]
mov edi, ecx
shr edi, 0x18
xor esi, dword [edi*4 + 0x6402f190]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x28], esi
and edi, 0xff
xor esi, dword [edi*4 + 0x6402fd90]
movzx edi, byte [esp + 0x25]
xor esi, dword [eax + 4]
shr ecx, 0x10
and ecx, 0xff
add eax, 4
mov dword [esp + 0x28], esi
mov esi, dword [ecx*4 + 0x6402f590]
xor esi, dword [edi*4 + 0x6402f990]
mov ecx, dword [esp + 0x10]
and edx, 0xff
shr ecx, 0x18
xor esi, dword [ecx*4 + 0x6402f190]
add eax, 4
xor esi, dword [edx*4 + 0x6402fd90]
mov edx, dword [esp + 0x28]
xor esi, dword [eax]
shr edx, 0x10
and edx, 0xff
movzx edx, byte [edx + 0x6402e068]
mov ecx, esi
shr ecx, 0x18
xor ebx, ebx
mov bh, byte [ecx + 0x6402e068]
movzx ecx, byte [esp + 0x19]
movzx ecx, byte [ecx + 0x6402e068]
xor edx, ebx
shl edx, 8
xor edx, ecx
mov ecx, dword [esp + 0x14]
mov edi, ecx
and edi, 0xff
movzx edi, byte [edi + 0x6402e068]
shl edx, 8
add eax, 4
xor edx, edi
xor edx, dword [eax]
mov dword [esp + 0x24], esi
add eax, 4
shr esi, 0x10
and esi, 0xff
movzx esi, byte [esi + 0x6402e068]
shr ecx, 0x18
xor ebx, ebx
mov bh, byte [ecx + 0x6402e068]
movzx ecx, byte [esp + 0x29]
movzx ecx, byte [ecx + 0x6402e068]
xor esi, ebx
shl esi, 8
xor esi, ecx
mov ecx, dword [esp + 0x18]
mov edi, ecx
shl esi, 8
and edi, 0xff
movzx edi, byte [edi + 0x6402e068]
xor esi, edi
xor esi, dword [eax]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x14]
shr ecx, 0x18
shr esi, 0x10
and esi, 0xff
movzx esi, byte [esi + 0x6402e068]
xor ebx, ebx
mov bh, byte [ecx + 0x6402e068]
movzx ecx, byte [esp + 0x25]
movzx ecx, byte [ecx + 0x6402e068]
xor esi, ebx
shl esi, 8
xor esi, ecx
mov ecx, edi
and ecx, 0xff
movzx ecx, byte [ecx + 0x6402e068]
shl esi, 8
xor esi, ecx
xor esi, dword [eax + 4]
mov ecx, dword [esp + 0x18]
shr ecx, 0x10
xor ebx, ebx
add eax, 4
shr edi, 0x18
mov bh, byte [edi + 0x6402e068]
and ecx, 0xff
movzx ecx, byte [ecx + 0x6402e068]
mov dword [esp + 0x10], esi
movzx esi, byte [esp + 0x15]
movzx esi, byte [esi + 0x6402e068]
xor ecx, ebx
shl ecx, 8
xor ecx, esi
mov esi, dword [esp + 0x24]
and esi, 0xff
movzx esi, byte [esi + 0x6402e068]
shl ecx, 8
xor ecx, esi
xor ecx, dword [eax + 4]
mov esi, dword [esp + 0x2c]
mov eax, edx
shr eax, 8
mov byte [esi + 1], al
mov eax, edx
mov byte [esi], dl
shr edx, 0x18
shr eax, 0x10
mov byte [esi + 3], dl
mov byte [esi + 2], al
mov eax, dword [esp + 0x1c]
mov edx, eax
shr edx, 8
mov byte [esi + 5], dl
mov byte [esi + 4], al
mov edx, eax
shr edx, 0x10
shr eax, 0x18
mov byte [esi + 6], dl
mov byte [esi + 7], al
mov eax, dword [esp + 0x10]
mov edx, eax
shr edx, 8
mov byte [esi + 9], dl
mov edx, eax
mov byte [esi + 8], al
shr edx, 0x10
shr eax, 0x18
mov byte [esi + 0xa], dl
mov byte [esi + 0xb], al
mov eax, ecx
mov edx, ecx
mov byte [esi + 0xc], cl
shr eax, 8
shr edx, 0x10
pop edi
shr ecx, 0x18
mov byte [esi + 0xd], al
mov byte [esi + 0xe], dl
mov byte [esi + 0xf], cl
pop esi
pop ebp
pop ebx
add esp, 0x10
ret