Function at 0x6400c5c0
Capabilities:
Encode data using xor

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