Function at 0x5ee9f4
Capabilities:
Encode data using xor

Disassembly:
test dword [0x7eeab0], 0xffffff80
jne 0x5eea1c
test dword [0x7eeab0], 0xffffffff
jne 0x5eef24
call fcn.006a7b4c
jmp fcn.005ee9f4
push edi
push esi
push ebx
sub esp, 0x18
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
test ecx, ecx
je 0x5eea39
test esi, esi
je 0x5eea39
mov eax, edi
and eax, 7
je 0x5eea47
mov eax, 0xffffffff
add esp, 0x18
pop ebx
pop esi
pop edi
ret 8
test edi, edi
jl 0x5eea39
lea ebx, [esi + 4]
lea edi, [edi + esi]
test edx, edx
je 0x5eef15
mov eax, dword [edx]
mov dword [esp + 4], eax
mov edx, dword [edx + 4]
mov dword [esp + 8], edx
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
xchg al, ah
rol eax, 0x10
xchg al, ah
xchg dl, dh
ror edx, 0x10
xchg dl, dh
mov dword [esp + 4], edx
mov dword [esp + 8], eax
cmp esi, edi
jae 0x5eef0a
mov dword [esp + 0x14], edi
mov dword [esp], ebp
mov eax, dword [esi]
mov dword [esp + 0xc], eax
mov edx, dword [ebx]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
xchg al, ah
rol eax, 0x10
xchg al, ah
xchg dl, dh
ror edx, 0x10
xchg dl, dh
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0xc]
xor edx, dword [esp + 4]
mov eax, dword [esp + 0x10]
xor eax, dword [esp + 8]
xor edx, dword [ecx + 0xc00]
mov edi, edx
shr edi, 0x18
mov ebp, edx
shr ebp, 0x10
and ebp, 0xff
mov edi, dword [ecx + edi*4 + 0x400]
add edi, dword [ecx + ebp*4]
mov ebp, edx
shr ebp, 8
and ebp, 0xff
xor edi, dword [ecx + ebp*4 + 0xc48]
movzx ebp, dl
add edi, dword [ecx + ebp*4 + 0x800]
xor eax, edi
xor eax, dword [ecx + 0xc04]
mov ebp, eax
shr ebp, 0x18
mov edi, eax
shr edi, 0x10
and edi, 0xff
mov ebp, dword [ecx + ebp*4 + 0x400]
add ebp, dword [ecx + edi*4]
mov edi, eax
shr edi, 8
and edi, 0xff
xor ebp, dword [ecx + edi*4 + 0xc48]
movzx edi, al
add ebp, dword [ecx + edi*4 + 0x800]
xor edx, ebp
xor edx, dword [ecx + 0xc08]
mov edi, edx
shr edi, 0x18
mov ebp, edx
shr ebp, 0x10
and ebp, 0xff
mov edi, dword [ecx + edi*4 + 0x400]
add edi, dword [ecx + ebp*4]
mov ebp, edx
shr ebp, 8
and ebp, 0xff
xor edi, dword [ecx + ebp*4 + 0xc48]
movzx ebp, dl
add edi, dword [ecx + ebp*4 + 0x800]
xor eax, edi
xor eax, dword [ecx + 0xc0c]
mov edi, eax
shr edi, 0x18
mov ebp, eax
shr ebp, 0x10
and ebp, 0xff
mov edi, dword [ecx + edi*4 + 0x400]
add edi, dword [ecx + ebp*4]
mov ebp, eax
shr ebp, 8
and ebp, 0xff
xor edi, dword [ecx + ebp*4 + 0xc48]
movzx ebp, al
add edi, dword [ecx + ebp*4 + 0x800]
xor edx, edi
xor edx, dword [ecx + 0xc10]
mov edi, edx
shr edi, 0x18
mov ebp, edx
shr ebp, 0x10
and ebp, 0xff
mov edi, dword [ecx + edi*4 + 0x400]
add edi, dword [ecx + ebp*4]
mov ebp, edx
shr ebp, 8
and ebp, 0xff
xor edi, dword [ecx + ebp*4 + 0xc48]
movzx ebp, dl
add edi, dword [ecx + ebp*4 + 0x800]
xor eax, edi
xor eax, dword [ecx + 0xc14]
mov edi, eax
shr edi, 0x18
mov ebp, eax
shr ebp, 0x10
and ebp, 0xff
mov edi, dword [ecx + edi*4 + 0x400]
add edi, dword [ecx + ebp*4]
mov ebp, eax
shr ebp, 8
and ebp, 0xff
xor edi, dword [ecx + ebp*4 + 0xc48]
movzx ebp, al
add edi, dword [ecx + ebp*4 + 0x800]
xor edx, edi
xor edx, dword [ecx + 0xc18]
mov edi, edx
shr edi, 0x18
mov ebp, edx
shr ebp, 0x10
and ebp, 0xff
mov edi, dword [ecx + edi*4 + 0x400]
add edi, dword [ecx + ebp*4]
mov ebp, edx
shr ebp, 8
and ebp, 0xff
xor edi, dword [ecx + ebp*4 + 0xc48]
movzx ebp, dl
add edi, dword [ecx + ebp*4 + 0x800]
xor eax, edi
xor eax, dword [ecx + 0xc1c]
mov edi, eax
shr edi, 0x18
mov ebp, eax
shr ebp, 0x10
and ebp, 0xff
mov edi, dword [ecx + edi*4 + 0x400]
add edi, dword [ecx + ebp*4]
mov ebp, eax
shr ebp, 8
and ebp, 0xff
xor edi, dword [ecx + ebp*4 + 0xc48]
movzx ebp, al
add edi, dword [ecx + ebp*4 + 0x800]
xor edx, edi
xor edx, dword [ecx + 0xc20]
mov edi, edx
shr edi, 0x18
mov ebp, edx
shr ebp, 0x10
and ebp, 0xff
mov edi, dword [ecx + edi*4 + 0x400]
add edi, dword [ecx + ebp*4]
mov ebp, edx
shr ebp, 8
and ebp, 0xff
xor edi, dword [ecx + ebp*4 + 0xc48]
movzx ebp, dl
add edi, dword [ecx + ebp*4 + 0x800]
xor eax, edi
xor eax, dword [ecx + 0xc24]
mov edi, eax
shr edi, 0x18
mov ebp, eax
shr ebp, 0x10
and ebp, 0xff
mov edi, dword [ecx + edi*4 + 0x400]
add edi, dword [ecx + ebp*4]
mov ebp, eax
shr ebp, 8
and ebp, 0xff
xor edi, dword [ecx + ebp*4 + 0xc48]
movzx ebp, al
add edi, dword [ecx + ebp*4 + 0x800]
xor edx, edi
xor edx, dword [ecx + 0xc28]
mov edi, edx
shr edi, 0x18
mov ebp, edx
shr ebp, 0x10
and ebp, 0xff
mov edi, dword [ecx + edi*4 + 0x400]
add edi, dword [ecx + ebp*4]
mov ebp, edx
shr ebp, 8
and ebp, 0xff
xor edi, dword [ecx + ebp*4 + 0xc48]
movzx ebp, dl
add edi, dword [ecx + ebp*4 + 0x800]
xor eax, edi
xor eax, dword [ecx + 0xc2c]
mov edi, eax
shr edi, 0x18
mov ebp, eax
shr ebp, 0x10
and ebp, 0xff
mov edi, dword [ecx + edi*4 + 0x400]
add edi, dword [ecx + ebp*4]
mov ebp, eax
shr ebp, 8
and ebp, 0xff
xor edi, dword [ecx + ebp*4 + 0xc48]
movzx ebp, al
add edi, dword [ecx + ebp*4 + 0x800]
xor edx, edi
xor edx, dword [ecx + 0xc30]
mov edi, edx
shr edi, 0x18
mov ebp, edx
shr ebp, 0x10
and ebp, 0xff
mov edi, dword [ecx + edi*4 + 0x400]
add edi, dword [ecx + ebp*4]
mov ebp, edx
shr ebp, 8
and ebp, 0xff
xor edi, dword [ecx + ebp*4 + 0xc48]
movzx ebp, dl
add edi, dword [ecx + ebp*4 + 0x800]
xor eax, edi
xor eax, dword [ecx + 0xc34]
mov edi, eax
shr edi, 0x18
mov ebp, eax
shr ebp, 0x10
and ebp, 0xff
mov edi, dword [ecx + edi*4 + 0x400]
add edi, dword [ecx + ebp*4]
mov ebp, eax
shr ebp, 8
and ebp, 0xff
xor edi, dword [ecx + ebp*4 + 0xc48]
movzx ebp, al
add edi, dword [ecx + ebp*4 + 0x800]
xor edx, edi
xor edx, dword [ecx + 0xc38]
mov edi, edx
shr edi, 0x18
mov ebp, edx
shr ebp, 0x10
and ebp, 0xff
mov edi, dword [ecx + edi*4 + 0x400]
add edi, dword [ecx + ebp*4]
mov ebp, edx
shr ebp, 8
and ebp, 0xff
xor edi, dword [ecx + ebp*4 + 0xc48]
movzx ebp, dl
add edi, dword [ecx + ebp*4 + 0x800]
xor eax, edi
xor eax, dword [ecx + 0xc3c]
mov edi, eax
shr edi, 0x18
mov ebp, eax
shr ebp, 0x10
and ebp, 0xff
mov edi, dword [ecx + edi*4 + 0x400]
add edi, dword [ecx + ebp*4]
mov ebp, eax
shr ebp, 8
and ebp, 0xff
xor edi, dword [ecx + ebp*4 + 0xc48]
movzx ebp, al
add edi, dword [ecx + ebp*4 + 0x800]
xor edx, edi
xor edx, dword [ecx + 0xc40]
mov dword [esp + 0xc], edx
mov dword [esp + 8], edx
mov edx, dword [ecx + 0xc44]
xor eax, edx
mov dword [esp + 0x10], eax
mov dword [esp + 4], eax
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
xchg al, ah
rol eax, 0x10
xchg al, ah
xchg dl, dh
ror edx, 0x10
xchg dl, dh
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov dword [esi], eax
mov edx, dword [esp + 0xc]
mov dword [ebx], edx
add esi, 8
add ebx, 8
mov ebp, dword [esp + 0x14]
cmp esi, ebp
jb 0x5eea93
mov ebp, dword [esp]
xor eax, eax
add esp, 0x18
pop ebx
pop esi
pop edi
ret 8
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
jmp 0x5eea84
push edi
push esi
push ebx
sub esp, 0x18
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
test ecx, ecx
je 0x5eef41
test esi, esi
je 0x5eef41
mov eax, edi
and eax, 7
je 0x5eef4f
mov eax, 0xffffffff
add esp, 0x18
pop ebx
pop esi
pop edi
ret 8
test edi, edi
jl 0x5eef41
lea ebx, [esi + 4]
lea edi, [edi + esi]
test edx, edx
je 0x5ef41d
mov eax, dword [edx]
mov dword [esp + 4], eax
mov edx, dword [edx + 4]
mov dword [esp + 8], edx
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
xchg al, ah
rol eax, 0x10
xchg al, ah
xchg dl, dh
ror edx, 0x10
xchg dl, dh
mov dword [esp + 4], edx
mov dword [esp + 8], eax
cmp esi, edi
jae 0x5ef412
mov dword [esp + 0x14], edi
mov dword [esp], ebp
mov eax, dword [esi]
mov dword [esp + 0xc], eax
mov edx, dword [ebx]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
xchg al, ah
rol eax, 0x10
xchg al, ah
xchg dl, dh
ror edx, 0x10
xchg dl, dh
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0xc]
xor edx, dword [esp + 4]
mov eax, dword [esp + 0x10]
xor eax, dword [esp + 8]
xor edx, dword [ecx + 0xc00]
mov ebp, edx
shr ebp, 0x18
mov ebp, dword [ecx + ebp*4 + 0x400]
mov edi, edx
shr edi, 0x10
and edi, 0xff
add ebp, dword [ecx + edi*4]
mov edi, edx
shr edi, 8
and edi, 0xff
xor ebp, dword [ecx + edi*4 + 0xc48]
movzx edi, dl
add ebp, dword [ecx + edi*4 + 0x800]
xor eax, ebp
xor eax, dword [ecx + 0xc04]
mov ebp, eax
shr ebp, 0x18
mov ebp, dword [ecx + ebp*4 + 0x400]
mov edi, eax
shr edi, 0x10
and edi, 0xff
add ebp, dword [ecx + edi*4]
mov edi, eax
shr edi, 8
and edi, 0xff
xor ebp, dword [ecx + edi*4 + 0xc48]
movzx edi, al
add ebp, dword [ecx + edi*4 + 0x800]
xor edx, ebp
xor edx, dword [ecx + 0xc08]
mov ebp, edx
shr ebp, 0x18
mov ebp, dword [ecx + ebp*4 + 0x400]
mov edi, edx
shr edi, 0x10
and edi, 0xff
add ebp, dword [ecx + edi*4]
mov edi, edx
shr edi, 8
and edi, 0xff
xor ebp, dword [ecx + edi*4 + 0xc48]
movzx edi, dl
add ebp, dword [ecx + edi*4 + 0x800]
xor eax, ebp
xor eax, dword [ecx + 0xc0c]
mov ebp, eax
shr ebp, 0x18
mov ebp, dword [ecx + ebp*4 + 0x400]
mov edi, eax
shr edi, 0x10
and edi, 0xff
add ebp, dword [ecx + edi*4]
mov edi, eax
shr edi, 8
and edi, 0xff
xor ebp, dword [ecx + edi*4 + 0xc48]
movzx edi, al
add ebp, dword [ecx + edi*4 + 0x800]
xor edx, ebp
xor edx, dword [ecx + 0xc10]
mov ebp, edx
shr ebp, 0x18
mov ebp, dword [ecx + ebp*4 + 0x400]
mov edi, edx
shr edi, 0x10
and edi, 0xff
add ebp, dword [ecx + edi*4]
mov edi, edx
shr edi, 8
and edi, 0xff
xor ebp, dword [ecx + edi*4 + 0xc48]
movzx edi, dl
add ebp, dword [ecx + edi*4 + 0x800]
xor eax, ebp
xor eax, dword [ecx + 0xc14]
mov ebp, eax
shr ebp, 0x18
mov ebp, dword [ecx + ebp*4 + 0x400]
mov edi, eax
shr edi, 0x10
and edi, 0xff
add ebp, dword [ecx + edi*4]
mov edi, eax
shr edi, 8
and edi, 0xff
xor ebp, dword [ecx + edi*4 + 0xc48]
movzx edi, al
add ebp, dword [ecx + edi*4 + 0x800]
xor edx, ebp
xor edx, dword [ecx + 0xc18]
mov ebp, edx
shr ebp, 0x18
mov ebp, dword [ecx + ebp*4 + 0x400]
mov edi, edx
shr edi, 0x10
and edi, 0xff
add ebp, dword [ecx + edi*4]
mov edi, edx
shr edi, 8
and edi, 0xff
xor ebp, dword [ecx + edi*4 + 0xc48]
movzx edi, dl
add ebp, dword [ecx + edi*4 + 0x800]
xor eax, ebp
xor eax, dword [ecx + 0xc1c]
mov ebp, eax
shr ebp, 0x18
mov ebp, dword [ecx + ebp*4 + 0x400]
mov edi, eax
shr edi, 0x10
and edi, 0xff
add ebp, dword [ecx + edi*4]
mov edi, eax
shr edi, 8
and edi, 0xff
xor ebp, dword [ecx + edi*4 + 0xc48]
movzx edi, al
add ebp, dword [ecx + edi*4 + 0x800]
xor edx, ebp
xor edx, dword [ecx + 0xc20]
mov ebp, edx
shr ebp, 0x18
mov ebp, dword [ecx + ebp*4 + 0x400]
mov edi, edx
shr edi, 0x10
and edi, 0xff
add ebp, dword [ecx + edi*4]
mov edi, edx
shr edi, 8
and edi, 0xff
xor ebp, dword [ecx + edi*4 + 0xc48]
movzx edi, dl
add ebp, dword [ecx + edi*4 + 0x800]
xor eax, ebp
xor eax, dword [ecx + 0xc24]
mov ebp, eax
shr ebp, 0x18
mov ebp, dword [ecx + ebp*4 + 0x400]
mov edi, eax
shr edi, 0x10
and edi, 0xff
add ebp, dword [ecx + edi*4]
mov edi, eax
shr edi, 8
and edi, 0xff
xor ebp, dword [ecx + edi*4 + 0xc48]
movzx edi, al
add ebp, dword [ecx + edi*4 + 0x800]
xor edx, ebp
xor edx, dword [ecx + 0xc28]
mov ebp, edx
shr ebp, 0x18
mov ebp, dword [ecx + ebp*4 + 0x400]
mov edi, edx
shr edi, 0x10
and edi, 0xff
add ebp, dword [ecx + edi*4]
mov edi, edx
shr edi, 8
and edi, 0xff
xor ebp, dword [ecx + edi*4 + 0xc48]
movzx edi, dl
add ebp, dword [ecx + edi*4 + 0x800]
xor eax, ebp
xor eax, dword [ecx + 0xc2c]
mov ebp, eax
shr ebp, 0x18
mov ebp, dword [ecx + ebp*4 + 0x400]
mov edi, eax
shr edi, 0x10
and edi, 0xff
add ebp, dword [ecx + edi*4]
mov edi, eax
shr edi, 8
and edi, 0xff
xor ebp, dword [ecx + edi*4 + 0xc48]
movzx edi, al
add ebp, dword [ecx + edi*4 + 0x800]
xor edx, ebp
xor edx, dword [ecx + 0xc30]
mov ebp, edx
shr ebp, 0x18
mov ebp, dword [ecx + ebp*4 + 0x400]
mov edi, edx
shr edi, 0x10
and edi, 0xff
add ebp, dword [ecx + edi*4]
mov edi, edx
shr edi, 8
and edi, 0xff
xor ebp, dword [ecx + edi*4 + 0xc48]
movzx edi, dl
add ebp, dword [ecx + edi*4 + 0x800]
xor eax, ebp
xor eax, dword [ecx + 0xc34]
mov ebp, eax
shr ebp, 0x18
mov ebp, dword [ecx + ebp*4 + 0x400]
mov edi, eax
shr edi, 0x10
and edi, 0xff
add ebp, dword [ecx + edi*4]
mov edi, eax
shr edi, 8
and edi, 0xff
xor ebp, dword [ecx + edi*4 + 0xc48]
movzx edi, al
add ebp, dword [ecx + edi*4 + 0x800]
xor edx, ebp
xor edx, dword [ecx + 0xc38]
mov ebp, edx
shr ebp, 0x18
mov ebp, dword [ecx + ebp*4 + 0x400]
mov edi, edx
shr edi, 0x10
and edi, 0xff
add ebp, dword [ecx + edi*4]
mov edi, edx
shr edi, 8
and edi, 0xff
xor ebp, dword [ecx + edi*4 + 0xc48]
movzx edi, dl
add ebp, dword [ecx + edi*4 + 0x800]
xor eax, ebp
xor eax, dword [ecx + 0xc3c]
mov edi, eax
shr edi, 0x18
mov ebp, eax
shr ebp, 0x10
and ebp, 0xff
mov ebp, dword [ecx + ebp*4]
add ebp, dword [ecx + edi*4 + 0x400]
mov edi, eax
shr edi, 8
and edi, 0xff
xor ebp, dword [ecx + edi*4 + 0xc48]
movzx edi, al
add ebp, dword [ecx + edi*4 + 0x800]
xor edx, ebp
xor edx, dword [ecx + 0xc40]
mov dword [esp + 0xc], edx
mov dword [esp + 8], edx
mov edx, dword [ecx + 0xc44]
xor eax, edx
mov dword [esp + 0x10], eax
mov dword [esp + 4], eax
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
xchg al, ah
rol eax, 0x10
xchg al, ah
xchg dl, dh
ror edx, 0x10
xchg dl, dh
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov dword [esi], eax
mov edx, dword [esp + 0xc]
mov dword [ebx], edx
add esi, 8
add ebx, 8
mov ebp, dword [esp + 0x14]
cmp esi, ebp
jb 0x5eef9b
mov ebp, dword [esp]
xor eax, eax
add esp, 0x18
pop ebx
pop esi
pop edi
ret 8
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
jmp 0x5eef8c