Function at 0x458d60
Capabilities:
Encode data using xor
Encrypt data using twofish

Disassembly:
xor eax, eax
sub esp, 0xc
cmp dword [0x5a0280], eax
je 0x4592c8
push ebx
mov dword [0x5a0280], eax
push esi
jmp 0x458d80
mov bl, byte [eax + 0x5a0080]
mov cl, bl
and cl, 2
neg cl
sbb cl, cl
and cl, 0xb4
mov dl, bl
and dl, 1
mov byte [esp + 0xb], dl
neg dl
sbb dl, dl
and dl, 0x5a
mov byte [esp + 9], dl
mov dl, bl
shr dl, 2
xor dl, byte [esp + 9]
xor dl, cl
xor dl, bl
mov byte [esp + 0xc], dl
mov dl, bl
shr dl, 1
xor dl, bl
mov bl, byte [esp + 0xb]
shr dl, 1
neg bl
sbb bl, bl
and bl, 0xb4
xor dl, bl
xor dl, byte [esp + 9]
mov bl, byte [eax + 0x5a0180]
xor dl, cl
xor dl, byte [eax + 0x5a0080]
mov cl, bl
and cl, 2
neg cl
sbb cl, cl
and cl, 0xb4
mov byte [esp + 0xa], cl
mov cl, bl
and cl, 1
mov byte [esp + 0xb], cl
neg cl
sbb cl, cl
and cl, 0x5a
mov byte [esp + 9], cl
mov cl, bl
shr cl, 2
xor cl, byte [esp + 9]
xor cl, byte [esp + 0xa]
xor cl, bl
mov byte [esp + 0xd], cl
mov cl, bl
shr cl, 1
xor cl, bl
mov bl, byte [esp + 0xb]
shr cl, 1
neg bl
sbb bl, bl
and bl, 0xb4
xor cl, bl
xor cl, byte [esp + 9]
mov bl, byte [eax + 0x5a0180]
xor cl, byte [esp + 0xa]
mov byte [esp + 0x10], bl
xor cl, bl
movzx ebx, byte [esp + 0xd]
mov byte [esp + 0x11], bl
movzx ebx, byte [esp + 0xc]
mov byte [esp + 0x12], cl
mov byte [esp + 0x13], cl
mov esi, dword [esp + 0x10]
mov byte [esp + 0x12], bl
mov bl, byte [eax + 0x5a0080]
mov byte [esp + 0x13], bl
movzx ebx, byte [esp + 0xd]
mov byte [esp + 0x10], dl
mov byte [esp + 0x11], dl
mov dword [eax*4 + 0x6040a0], esi
mov esi, dword [esp + 0x10]
mov dword [eax*4 + 0x6044a0], esi
mov byte [esp + 0x10], bl
mov bl, byte [eax + 0x5a0180]
mov byte [esp + 0x11], cl
mov byte [esp + 0x13], cl
mov byte [esp + 0x12], bl
mov ecx, dword [esp + 0x10]
mov bl, byte [esp + 0xc]
mov dword [eax*4 + 0x6048a0], ecx
mov cl, byte [eax + 0x5a0080]
mov byte [esp + 0x11], cl
mov cl, byte [eax + 0x5a0081]
mov byte [esp + 0x12], dl
mov byte [esp + 0x10], bl
mov byte [esp + 0x13], bl
mov edx, dword [esp + 0x10]
mov dword [eax*4 + 0x604ca0], edx
mov dl, cl
and dl, 2
neg dl
sbb dl, dl
and dl, 0xb4
mov byte [esp + 0xa], dl
mov dl, cl
and dl, 1
mov byte [esp + 0xb], dl
neg dl
sbb dl, dl
and dl, 0x5a
mov bl, byte [esp + 0xb]
mov byte [esp + 9], dl
mov dl, cl
shr dl, 2
xor dl, byte [esp + 9]
xor dl, byte [esp + 0xa]
xor dl, cl
mov byte [esp + 0xc], dl
mov dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
neg bl
sbb bl, bl
and bl, 0xb4
xor dl, bl
xor dl, byte [esp + 9]
mov bl, byte [eax + 0x5a0181]
xor dl, byte [esp + 0xa]
xor dl, cl
mov cl, bl
and cl, 2
neg cl
sbb cl, cl
and cl, 0xb4
mov byte [esp + 0xa], cl
mov cl, bl
and cl, 1
mov byte [esp + 0xb], cl
neg cl
sbb cl, cl
and cl, 0x5a
mov byte [esp + 9], cl
mov cl, bl
shr cl, 2
xor cl, byte [esp + 9]
xor cl, byte [esp + 0xa]
xor cl, bl
mov byte [esp + 0xd], cl
mov cl, bl
shr cl, 1
xor cl, bl
mov bl, byte [esp + 0xb]
shr cl, 1
neg bl
sbb bl, bl
and bl, 0xb4
xor cl, bl
xor cl, byte [esp + 9]
mov bl, byte [eax + 0x5a0181]
xor cl, byte [esp + 0xa]
mov byte [esp + 0x10], bl
xor cl, bl
movzx ebx, byte [esp + 0xd]
mov byte [esp + 0x12], cl
mov byte [esp + 0x13], cl
mov byte [esp + 0x11], bl
mov esi, dword [esp + 0x10]
movzx ebx, byte [esp + 0xc]
mov byte [esp + 0x10], dl
mov byte [esp + 0x11], dl
mov byte [esp + 0x12], bl
mov bl, byte [eax + 0x5a0081]
mov byte [esp + 0x13], bl
movzx ebx, byte [esp + 0xd]
mov dword [eax*4 + 0x6040a4], esi
mov esi, dword [esp + 0x10]
mov byte [esp + 0x11], cl
mov byte [esp + 0x13], cl
mov byte [esp + 0x10], bl
mov bl, byte [eax + 0x5a0181]
mov byte [esp + 0x12], bl
mov ecx, dword [esp + 0x10]
mov bl, byte [esp + 0xc]
mov byte [esp + 0x12], dl
mov dword [eax*4 + 0x6048a4], ecx
mov cl, byte [eax + 0x5a0081]
mov byte [esp + 0x11], cl
mov cl, byte [eax + 0x5a0082]
mov byte [esp + 0x10], bl
mov byte [esp + 0x13], bl
mov edx, dword [esp + 0x10]
mov dword [eax*4 + 0x604ca4], edx
mov dl, cl
and dl, 2
neg dl
sbb dl, dl
and dl, 0xb4
mov byte [esp + 0xa], dl
mov dl, cl
and dl, 1
mov byte [esp + 0xb], dl
neg dl
sbb dl, dl
and dl, 0x5a
mov bl, byte [esp + 0xb]
mov byte [esp + 9], dl
mov dl, cl
shr dl, 2
xor dl, byte [esp + 9]
mov dword [eax*4 + 0x6044a4], esi
xor dl, byte [esp + 0xa]
xor dl, cl
mov byte [esp + 0xc], dl
mov dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
neg bl
sbb bl, bl
and bl, 0xb4
xor dl, bl
xor dl, byte [esp + 9]
mov bl, byte [eax + 0x5a0182]
xor dl, byte [esp + 0xa]
xor dl, cl
mov cl, bl
and cl, 2
neg cl
sbb cl, cl
and cl, 0xb4
mov byte [esp + 0xa], cl
mov cl, bl
and cl, 1
mov byte [esp + 0xb], cl
neg cl
sbb cl, cl
and cl, 0x5a
mov byte [esp + 9], cl
mov cl, bl
shr cl, 2
xor cl, byte [esp + 9]
xor cl, byte [esp + 0xa]
xor cl, bl
mov byte [esp + 0xd], cl
mov cl, bl
shr cl, 1
xor cl, bl
mov bl, byte [esp + 0xb]
shr cl, 1
neg bl
sbb bl, bl
and bl, 0xb4
xor cl, bl
xor cl, byte [esp + 9]
mov bl, byte [eax + 0x5a0182]
xor cl, byte [esp + 0xa]
mov byte [esp + 0x10], bl
xor cl, bl
movzx ebx, byte [esp + 0xd]
mov byte [esp + 0x11], bl
movzx ebx, byte [esp + 0xc]
mov byte [esp + 0x12], cl
mov byte [esp + 0x13], cl
mov esi, dword [esp + 0x10]
mov byte [esp + 0x10], dl
mov byte [esp + 0x11], dl
mov byte [esp + 0x12], bl
mov bl, byte [eax + 0x5a0082]
mov byte [esp + 0x13], bl
movzx ebx, byte [esp + 0xd]
mov dword [eax*4 + 0x6040a8], esi
mov esi, dword [esp + 0x10]
mov byte [esp + 0x10], bl
mov bl, byte [eax + 0x5a0182]
mov byte [esp + 0x11], cl
mov byte [esp + 0x12], bl
mov bl, byte [esp + 0xc]
mov byte [esp + 0x13], cl
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x12], dl
mov dword [eax*4 + 0x6048a8], ecx
mov cl, byte [eax + 0x5a0082]
mov byte [esp + 0x10], bl
mov byte [esp + 0x11], cl
mov cl, byte [eax + 0x5a0083]
mov byte [esp + 0x13], bl
mov edx, dword [esp + 0x10]
mov dword [eax*4 + 0x604ca8], edx
mov dl, cl
and dl, 2
neg dl
sbb dl, dl
and dl, 0xb4
mov byte [esp + 0xa], dl
mov dl, cl
and dl, 1
mov byte [esp + 0xb], dl
neg dl
sbb dl, dl
and dl, 0x5a
mov bl, byte [esp + 0xb]
mov byte [esp + 9], dl
mov dl, cl
shr dl, 2
xor dl, byte [esp + 9]
mov dword [eax*4 + 0x6044a8], esi
xor dl, byte [esp + 0xa]
xor dl, cl
mov byte [esp + 0xc], dl
mov dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
neg bl
sbb bl, bl
and bl, 0xb4
xor dl, bl
xor dl, byte [esp + 9]
mov bl, byte [eax + 0x5a0183]
xor dl, byte [esp + 0xa]
xor dl, cl
mov cl, bl
and cl, 2
neg cl
sbb cl, cl
and cl, 0xb4
mov byte [esp + 0xa], cl
mov cl, bl
and cl, 1
mov byte [esp + 0xb], cl
neg cl
sbb cl, cl
and cl, 0x5a
mov byte [esp + 9], cl
mov cl, bl
shr cl, 2
xor cl, byte [esp + 9]
xor cl, byte [esp + 0xa]
xor cl, bl
mov byte [esp + 0xd], cl
mov cl, bl
shr cl, 1
xor cl, bl
mov bl, byte [esp + 0xb]
shr cl, 1
neg bl
sbb bl, bl
and bl, 0xb4
xor cl, bl
xor cl, byte [esp + 9]
mov bl, byte [eax + 0x5a0183]
xor cl, byte [esp + 0xa]
mov byte [esp + 0x10], bl
xor cl, bl
movzx ebx, byte [esp + 0xd]
mov byte [esp + 0x11], bl
movzx ebx, byte [esp + 0xc]
mov byte [esp + 0x12], cl
mov byte [esp + 0x13], cl
mov esi, dword [esp + 0x10]
mov byte [esp + 0x12], bl
mov bl, byte [eax + 0x5a0083]
mov byte [esp + 0x13], bl
movzx ebx, byte [esp + 0xd]
mov byte [esp + 0x10], dl
mov byte [esp + 0x11], dl
mov dword [eax*4 + 0x6040ac], esi
mov esi, dword [esp + 0x10]
mov byte [esp + 0x10], bl
mov bl, byte [eax + 0x5a0183]
mov byte [esp + 0x11], cl
mov byte [esp + 0x12], bl
mov bl, byte [esp + 0xc]
mov byte [esp + 0x13], cl
mov ecx, dword [esp + 0x10]
mov dword [eax*4 + 0x6048ac], ecx
mov cl, byte [eax + 0x5a0083]
mov byte [esp + 0x10], bl
mov byte [esp + 0x11], cl
mov byte [esp + 0x12], dl
mov byte [esp + 0x13], bl
mov edx, dword [esp + 0x10]
mov dword [eax*4 + 0x6044ac], esi
mov dword [eax*4 + 0x604cac], edx
add eax, 4
cmp eax, 0x100
jl 0x458d80
pop esi
pop ebx
add esp, 0xc
ret