Function at 0x6400c5c0
Capabilities:
Encode data using xor

Disassembly:
cmp dword [0x64030294], 0
push ebx
push esi
push edi
mov edi, eax
jne 0x6400c5dd
call fcn.6400c3b0
mov dword [0x64030294], 1
lea eax, [edi + 8]
mov ecx, 0x6402d38a
mov esi, eax
mov dword [edi], 0xa
mov dword [edi + 4], eax
sub esi, ecx
movzx ebx, byte [ecx - 1]
xor edx, edx
mov dh, byte [ecx + 1]
add ecx, 4
mov dl, byte [ecx - 4]
shl edx, 8
or edx, ebx
movzx ebx, byte [ecx - 6]
shl edx, 8
or edx, ebx
cmp ecx, 0x6402d39a
mov dword [esi + ecx - 4], edx
jl 0x6400c5f2
mov edi, dword [edi]
sub edi, 0xa
je 0x6400c8dc
sub edi, 2
je 0x6400c70f
sub edi, 2
jne 0x6400cabf
push ebp
mov ebp, 0x6402e968
mov edi, edi
mov edi, dword [eax + 0x1c]
xor edx, edx
mov ecx, edi
and ecx, 0xff
mov dh, byte [ecx + 0x6402e068]
movzx ecx, byte [eax + 0x1f]
movzx ecx, byte [ecx + 0x6402e068]
xor edx, ecx
movzx ecx, byte [eax + 0x1e]
movzx ecx, byte [ecx + 0x6402e068]
shl edx, 8
xor edx, ecx
movzx ecx, byte [eax + 0x1d]
movzx ecx, byte [ecx + 0x6402e068]
mov esi, dword [eax + 8]
shl edx, 8
xor edx, ecx
xor edx, dword [eax]
xor ebx, ebx
mov ecx, edx
xor ecx, dword [ebp]
mov edx, dword [eax + 4]
xor edx, ecx
mov dword [eax + 0x20], ecx
mov ecx, dword [eax + 0xc]
xor esi, edx
xor ecx, esi
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x24], edx
movzx edx, byte [eax + 0x2f]
mov dword [eax + 0x28], esi
mov bh, byte [edx + 0x6402e068]
movzx edx, byte [eax + 0x2e]
movzx edx, byte [edx + 0x6402e068]
xor ebx, edx
movzx edx, byte [eax + 0x2d]
movzx edx, byte [edx + 0x6402e068]
and ecx, 0xff
movzx ecx, byte [ecx + 0x6402e068]
shl ebx, 8
xor ebx, edx
mov edx, dword [eax + 0x14]
shl ebx, 8
xor ecx, ebx
xor ecx, dword [eax + 0x10]
add ebp, 4
xor edx, ecx
mov dword [eax + 0x30], ecx
mov ecx, dword [eax + 0x18]
xor ecx, edx
mov dword [eax + 0x38], ecx
xor ecx, edi
mov dword [eax + 0x34], edx
mov dword [eax + 0x3c], ecx
add eax, 0x20
cmp ebp, 0x6402e984
jl 0x6400c640
pop ebp
pop edi
pop esi
pop ebx
ret
mov esi, 0x6402e96c
mov edi, dword [eax + 0x14]
xor ecx, ecx
mov edx, edi
and edx, 0xff
mov ch, byte [edx + 0x6402e068]
movzx edx, byte [eax + 0x17]
movzx edx, byte [edx + 0x6402e068]
xor ecx, edx
movzx edx, byte [eax + 0x16]
movzx edx, byte [edx + 0x6402e068]
shl ecx, 8
xor ecx, edx
movzx edx, byte [eax + 0x15]
movzx edx, byte [edx + 0x6402e068]
shl ecx, 8
xor ecx, edx
xor ecx, dword [esi - 4]
mov edx, dword [eax + 4]
xor ecx, dword [eax]
xor edx, ecx
mov dword [eax + 0x18], ecx
mov ecx, dword [eax + 8]
xor ecx, edx
mov dword [eax + 0x1c], edx
mov edx, dword [eax + 0xc]
xor edx, ecx
mov dword [eax + 0x20], ecx
mov ecx, dword [eax + 0x10]
xor ecx, edx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x24], edx
xor ecx, edi
mov dword [eax + 0x2c], ecx
and ecx, 0xff
xor edx, edx
mov dh, byte [ecx + 0x6402e068]
movzx ecx, byte [eax + 0x2f]
movzx ecx, byte [ecx + 0x6402e068]
xor edx, ecx
movzx ecx, byte [eax + 0x2e]
movzx ecx, byte [ecx + 0x6402e068]
shl edx, 8
xor edx, ecx
movzx ecx, byte [eax + 0x2d]
movzx ecx, byte [ecx + 0x6402e068]
mov edi, dword [eax + 0x28]
shl edx, 8
xor edx, ecx
xor edx, dword [eax + 0x18]
mov ecx, edx
xor ecx, dword [esi]
mov edx, dword [eax + 0x1c]
xor edx, ecx
mov dword [eax + 0x30], ecx
mov ecx, dword [eax + 0x20]
xor ecx, edx
mov dword [eax + 0x34], edx
mov edx, dword [eax + 0x24]
xor edx, ecx
mov dword [eax + 0x38], ecx
mov ecx, dword [eax + 0x2c]
xor edi, edx
mov dword [eax + 0x3c], edx
xor ecx, edi
mov dword [eax + 0x44], ecx
and ecx, 0xff
xor edx, edx
mov dword [eax + 0x40], edi
mov dh, byte [ecx + 0x6402e068]
movzx ecx, byte [eax + 0x47]
movzx ecx, byte [ecx + 0x6402e068]
xor edx, ecx
movzx ecx, byte [eax + 0x46]
movzx ecx, byte [ecx + 0x6402e068]
shl edx, 8
xor edx, ecx
movzx ecx, byte [eax + 0x45]
movzx ecx, byte [ecx + 0x6402e068]
shl edx, 8
xor edx, ecx
xor edx, dword [esi + 4]
mov ecx, edx
xor ecx, dword [eax + 0x30]
mov edx, dword [eax + 0x34]
xor edx, ecx
mov dword [eax + 0x48], ecx
mov ecx, dword [eax + 0x38]
xor ecx, edx
mov dword [eax + 0x4c], edx
mov edx, dword [eax + 0x3c]
xor edx, ecx
mov dword [eax + 0x50], ecx
mov ecx, dword [eax + 0x44]
xor edi, edx
mov dword [eax + 0x54], edx
xor ecx, edi
mov dword [eax + 0x5c], ecx
and ecx, 0xff
xor edx, edx
mov dword [eax + 0x58], edi
mov dh, byte [ecx + 0x6402e068]
movzx ecx, byte [eax + 0x5f]
movzx ecx, byte [ecx + 0x6402e068]
xor edx, ecx
movzx ecx, byte [eax + 0x5e]
movzx ecx, byte [ecx + 0x6402e068]
shl edx, 8
xor edx, ecx
movzx ecx, byte [eax + 0x5d]
movzx ecx, byte [ecx + 0x6402e068]
shl edx, 8
xor edx, ecx
xor edx, dword [esi + 8]
add esi, 0x10
mov ecx, edx
xor ecx, dword [eax + 0x48]
mov edx, dword [eax + 0x4c]
xor edx, ecx
mov dword [eax + 0x60], ecx
mov ecx, dword [eax + 0x50]
xor ecx, edx
mov dword [eax + 0x64], edx
mov edx, dword [eax + 0x54]
xor edx, ecx
mov dword [eax + 0x68], ecx
mov dword [eax + 0x6c], edx
mov ecx, edi
xor ecx, edx
mov edx, dword [eax + 0x5c]
xor edx, ecx
mov dword [eax + 0x70], ecx
mov dword [eax + 0x74], edx
add eax, 0x60
cmp esi, 0x6402e98c
jl 0x6400c714
pop edi
pop esi
pop ebx
ret
mov ecx, 0x6402e96c
mov esi, dword [eax + 0xc]
mov edx, esi
and edx, 0xff
xor ebx, ebx
mov bh, byte [edx + 0x6402e068]
movzx edx, byte [eax + 0xf]
movzx edx, byte [edx + 0x6402e068]
xor ebx, edx
movzx edx, byte [eax + 0xe]
movzx edx, byte [edx + 0x6402e068]
mov edi, dword [eax + 4]
shl ebx, 8
xor ebx, edx
movzx edx, byte [eax + 0xd]
movzx edx, byte [edx + 0x6402e068]
shl ebx, 8
xor ebx, edx
xor ebx, dword [ecx - 4]
mov edx, ebx
xor edx, dword [eax]
mov dword [eax + 0x10], edx
xor edi, edx
mov edx, dword [eax + 8]
xor edx, edi
xor esi, edx
mov dword [eax + 0x18], edx
mov dword [eax + 0x1c], esi
and esi, 0xff
xor edx, edx
mov dword [eax + 0x14], edi
mov dh, byte [esi + 0x6402e068]
movzx esi, byte [eax + 0x1f]
movzx esi, byte [esi + 0x6402e068]
xor edx, esi
movzx esi, byte [eax + 0x1e]
movzx esi, byte [esi + 0x6402e068]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 0x1d]
movzx esi, byte [esi + 0x6402e068]
shl edx, 8
xor edx, esi
xor edx, dword [ecx]
mov esi, edi
xor edx, dword [eax + 0x10]
xor esi, edx
mov dword [eax + 0x20], edx
mov edx, dword [eax + 0x18]
xor edx, esi
mov dword [eax + 0x24], esi
mov esi, dword [eax + 0x1c]
xor esi, edx
mov dword [eax + 0x28], edx
mov dword [eax + 0x2c], esi
and esi, 0xff
xor edx, edx
mov dh, byte [esi + 0x6402e068]
movzx esi, byte [eax + 0x2f]
movzx esi, byte [esi + 0x6402e068]
xor edx, esi
movzx esi, byte [eax + 0x2e]
movzx esi, byte [esi + 0x6402e068]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 0x2d]
movzx esi, byte [esi + 0x6402e068]
shl edx, 8
xor edx, esi
xor edx, dword [ecx + 4]
mov esi, dword [eax + 0x24]
xor edx, dword [eax + 0x20]
xor esi, edx
mov dword [eax + 0x30], edx
mov edx, dword [eax + 0x28]
xor edx, esi
mov dword [eax + 0x34], esi
mov esi, dword [eax + 0x2c]
xor esi, edx
mov dword [eax + 0x3c], esi
mov dword [eax + 0x38], edx
and esi, 0xff
xor edx, edx
mov dh, byte [esi + 0x6402e068]
movzx esi, byte [eax + 0x3f]
movzx esi, byte [esi + 0x6402e068]
xor edx, esi
movzx esi, byte [eax + 0x3e]
movzx esi, byte [esi + 0x6402e068]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 0x3d]
movzx esi, byte [esi + 0x6402e068]
shl edx, 8
xor edx, esi
xor edx, dword [ecx + 8]
mov esi, dword [eax + 0x34]
xor edx, dword [eax + 0x30]
add ecx, 0x14
xor esi, edx
mov dword [eax + 0x40], edx
mov edx, dword [eax + 0x38]
xor edx, esi
mov dword [eax + 0x44], esi
mov esi, dword [eax + 0x3c]
xor esi, edx
mov dword [eax + 0x48], edx
mov dword [eax + 0x4c], esi
and esi, 0xff
xor edx, edx
mov dh, byte [esi + 0x6402e068]
movzx esi, byte [eax + 0x4f]
movzx esi, byte [esi + 0x6402e068]
xor edx, esi
movzx esi, byte [eax + 0x4e]
movzx esi, byte [esi + 0x6402e068]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 0x4d]
movzx esi, byte [esi + 0x6402e068]
shl edx, 8
xor edx, esi
xor edx, dword [ecx - 8]
mov esi, dword [eax + 0x44]
xor edx, dword [eax + 0x40]
add eax, 0x50
xor esi, edx
mov dword [eax], edx
mov edx, dword [eax - 8]
xor edx, esi
mov dword [eax + 4], esi
mov esi, dword [eax - 4]
xor esi, edx
cmp ecx, 0x6402e994
mov dword [eax + 8], edx
mov dword [eax + 0xc], esi
jl 0x6400c8e1
pop edi
pop esi
pop ebx
ret