Function at 0x6400ccb0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
sub ecx, ecx
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
push esi
push edi
push eax
pop edi
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
sub eax, 0xfffffffc
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
sub ecx, ecx
mov ch, byte [edi + 7]
sub eax, 0xfffffffc
mov cl, byte [edi + 6]
shl ecx, 8
or ecx, edx
movzx edx, byte [edi + 4]
shl ecx, 8
or ecx, edx
sub 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]
push edx
pop esi
sub 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
push esi
pop ebx
movzx edi, dh
mov esi, dword [edi*4 + 0x6402e990]
push ecx
pop edi
shr edi, 0x18
shr ebx, 0x10
and ebx, 0xff
xor esi, dword [ebx*4 + 0x6402e568]
sub eax, 0xfffffffc
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]
sub eax, 0xfffffffc
mov dword [esp + 0x14], esi
push edx
pop esi
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]
push ecx
pop edi
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]
push edx
pop edi
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]
push esi
pop ecx
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]
push edx
pop ecx
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]
push ebx
pop ecx
shr ecx, 0x10
mov dword [esp + 0x24], edi
movzx edi, byte [esp + 0x15]
sub eax, 0xfffffffc
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x6402e568]
xor ecx, dword [edi*4 + 0x6402e990]
shr esi, 0x18
xor ecx, dword [esi*4 + 0x6402e168]
push edx
pop esi
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]
push ebx
pop esi
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
push edx
pop esi
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
sub eax, 0xfffffffc
test ebp, ebp
mov dword [esp + 0x10], esi
jg 0x6400cd64
push esi
pop ebx
movzx edi, dh
mov esi, dword [edi*4 + 0x6402e990]
push ecx
pop edi
shr edi, 0x18
shr ebx, 0x10
and ebx, 0xff
xor esi, dword [ebx*4 + 0x6402e568]
sub eax, 0xfffffffc
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]
sub eax, 0xfffffffc
mov dword [esp + 0x14], esi
push edx
pop esi
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]
push ecx
pop edi
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]
push edx
pop edi
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
sub eax, eax
mov ah, byte [ecx + 0x64030190]
push edi
pop edx
shr edx, 0x10
and edx, 0xff
movzx edx, byte [edx + 0x64030190]
movzx ecx, bh
movzx ecx, byte [ecx + 0x64030190]
sub edx, eax
shl edx, 8
sub edx, ecx
mov ecx, dword [esp + 0x14]
and ecx, 0xff
movzx ecx, byte [ecx + 0x64030190]
shl edx, 8
mov dword [esp + 0x24], ebx
sub edx, ecx
sub 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]
sub esi, ecx
mov ecx, dword [esp + 0x14]
shl esi, 8
movzx edi, ch
movzx edi, byte [edi + 0x64030190]
sub esi, edi
mov edi, dword [esp + 0x18]
shl esi, 8
and edi, 0xff
movzx edi, byte [edi + 0x64030190]
sub 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]
sub eax, 0xfffffffc
shr ecx, 0x18
sub ebx, ebx
mov bh, byte [ecx + 0x64030190]
mov ecx, dword [esp + 0x18]
movzx edi, ch
movzx edi, byte [edi + 0x64030190]
sub esi, ebx
shl esi, 8
sub esi, edi
mov edi, dword [esp + 0x28]
shl esi, 8
and edi, 0xff
movzx edi, byte [edi + 0x64030190]
sub esi, edi
xor esi, dword [eax + 4]
sub eax, 0xfffffffc
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x14]
shr esi, 0x18
shr ecx, 0x10
sub 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]
sub ecx, ebx
shl ecx, 8
sub 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
or 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]
push edx
pop edi
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]
sub eax, 0xfffffffc
mov dword [esp + 0x14], esi
push edx
pop esi
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]
push ecx
pop edi
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]
push ecx
pop edi
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]
sub eax, 0xfffffffc
push edx
pop esi
shr esi, 0x10
and esi, 0xff
mov ebp, dword [esi*4 + 0x6402f590]
movzx edi, ch
xor ebp, dword [edi*4 + 0x6402f990]
push ebx
pop esi
shr esi, 0x18
xor ebp, dword [esi*4 + 0x6402f190]
mov esi, dword [esp + 0x14]
push esi
pop edi
and edi, 0xff
xor ebp, dword [edi*4 + 0x6402fd90]
add eax, 4
xor ebp, dword [eax]
push ebx
pop edi
shr edi, 0x10
sub eax, 0xfffffffc
mov dword [esp + 0x24], ebp
and edi, 0xff
movzx edx, dh
mov edi, dword [edi*4 + 0x6402f590]
xor edi, dword [edx*4 + 0x6402f990]
push esi
pop edx
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]
push edi
pop ecx
xor edx, dword [eax + 4]
mov edi, dword [esp + 0x18]
sub eax, 0xfffffffc
shr edi, 0x10
and edi, 0xff
mov ebp, dword [edi*4 + 0x6402f590]
mov edi, dword [esp + 0x28]
push edx
pop esi
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
sub eax, 0xfffffffc
or 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]
push edx
pop edi
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]
sub eax, 0xfffffffc
mov dword [esp + 0x14], esi
push edx
pop esi
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]
push ecx
pop edi
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]
push ecx
pop edi
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
sub eax, 0xfffffffc
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]
push esi
pop ecx
shr ecx, 0x18
sub ebx, ebx
mov bh, byte [ecx + 0x6402e068]
movzx ecx, byte [esp + 0x19]
movzx ecx, byte [ecx + 0x6402e068]
sub edx, ebx
shl edx, 8
sub edx, ecx
mov ecx, dword [esp + 0x14]
push ecx
pop edi
and edi, 0xff
movzx edi, byte [edi + 0x6402e068]
shl edx, 8
add eax, 4
sub edx, edi
xor edx, dword [eax]
mov dword [esp + 0x24], esi
sub eax, 0xfffffffc
shr esi, 0x10
and esi, 0xff
movzx esi, byte [esi + 0x6402e068]
shr ecx, 0x18
sub ebx, ebx
mov bh, byte [ecx + 0x6402e068]
movzx ecx, byte [esp + 0x29]
movzx ecx, byte [ecx + 0x6402e068]
sub esi, ebx
shl esi, 8
sub esi, ecx
mov ecx, dword [esp + 0x18]
push ecx
pop edi
shl esi, 8
and edi, 0xff
movzx edi, byte [edi + 0x6402e068]
sub 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]
sub ebx, ebx
mov bh, byte [ecx + 0x6402e068]
movzx ecx, byte [esp + 0x25]
movzx ecx, byte [ecx + 0x6402e068]
sub esi, ebx
shl esi, 8
sub esi, ecx
push edi
pop ecx
and ecx, 0xff
movzx ecx, byte [ecx + 0x6402e068]
shl esi, 8
sub esi, ecx
xor esi, dword [eax + 4]
mov ecx, dword [esp + 0x18]
shr ecx, 0x10
sub ebx, ebx
sub eax, 0xfffffffc
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]
sub ecx, ebx
shl ecx, 8
sub ecx, esi
mov esi, dword [esp + 0x24]
and esi, 0xff
movzx esi, byte [esi + 0x6402e068]
shl ecx, 8
sub ecx, esi
xor ecx, dword [eax + 4]
mov esi, dword [esp + 0x2c]
push edx
pop eax
shr eax, 8
mov byte [esi + 1], al
push edx
pop eax
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]
push eax
pop edx
shr edx, 8
mov byte [esi + 5], dl
mov byte [esi + 4], al
push eax
pop edx
shr edx, 0x10
shr eax, 0x18
mov byte [esi + 6], dl
mov byte [esi + 7], al
mov eax, dword [esp + 0x10]
push eax
pop edx
shr edx, 8
mov byte [esi + 9], dl
push eax
pop edx
mov byte [esi + 8], al
shr edx, 0x10
shr eax, 0x18
mov byte [esi + 0xa], dl
mov byte [esi + 0xb], al
push ecx
pop eax
push ecx
pop edx
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