Function at 0x5b39e0
Capabilities:
Encrypt data using twofish

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], 0
call fcn.0047a1a0
movzx eax, al
test eax, eax
jne 0x5b3a00
mov dword [ebp - 0x18], 3
mov dword [ebp - 4], 0
jmp 0x5b3a12
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x100
jge 0x5b3c33
mov edx, dword [ebp - 4]
mov al, byte [edx + 0x6f6d18]
mov byte [ebp - 0xc], al
movzx ecx, byte [ebp - 0xc]
movzx edx, byte [ebp - 0xc]
sar edx, 2
movzx eax, byte [ebp - 0xc]
and eax, 2
neg eax
sbb eax, eax
and eax, 0xb4
xor edx, eax
movzx eax, byte [ebp - 0xc]
and eax, 1
neg eax
sbb eax, eax
and eax, 0x5a
xor edx, eax
xor ecx, edx
mov byte [ebp - 8], cl
movzx ecx, byte [ebp - 0xc]
movzx edx, byte [ebp - 0xc]
sar edx, 1
movzx eax, byte [ebp - 0xc]
and eax, 1
neg eax
sbb eax, eax
and eax, 0xb4
xor edx, eax
xor ecx, edx
movzx edx, byte [ebp - 0xc]
sar edx, 2
movzx eax, byte [ebp - 0xc]
and eax, 2
neg eax
sbb eax, eax
and eax, 0xb4
xor edx, eax
movzx eax, byte [ebp - 0xc]
and eax, 1
neg eax
sbb eax, eax
and eax, 0x5a
xor edx, eax
xor ecx, edx
mov byte [ebp - 0x14], cl
mov ecx, dword [ebp - 4]
mov dl, byte [ecx + 0x6f6e18]
mov byte [ebp - 0xb], dl
movzx eax, byte [ebp - 0xb]
movzx ecx, byte [ebp - 0xb]
sar ecx, 2
movzx edx, byte [ebp - 0xb]
and edx, 2
neg edx
sbb edx, edx
and edx, 0xb4
xor ecx, edx
movzx edx, byte [ebp - 0xb]
and edx, 1
neg edx
sbb edx, edx
and edx, 0x5a
xor ecx, edx
xor eax, ecx
mov byte [ebp - 7], al
movzx eax, byte [ebp - 0xb]
movzx ecx, byte [ebp - 0xb]
sar ecx, 1
movzx edx, byte [ebp - 0xb]
and edx, 1
neg edx
sbb edx, edx
and edx, 0xb4
xor ecx, edx
xor eax, ecx
movzx ecx, byte [ebp - 0xb]
sar ecx, 2
movzx edx, byte [ebp - 0xb]
and edx, 2
neg edx
sbb edx, edx
and edx, 0xb4
xor ecx, edx
movzx edx, byte [ebp - 0xb]
and edx, 1
neg edx
sbb edx, edx
and edx, 0x5a
xor ecx, edx
xor eax, ecx
mov byte [ebp - 0x13], al
mov eax, dword [ebp - 0x18]
mov cl, byte [ebp - 0xb]
mov byte [ebp + eax - 0x10], cl
mov edx, dword [ebp - 0x18]
xor edx, 1
mov al, byte [ebp - 7]
mov byte [ebp + edx - 0x10], al
mov ecx, dword [ebp - 0x18]
xor ecx, 2
mov dl, byte [ebp - 0x13]
mov byte [ebp + ecx - 0x10], dl
mov eax, dword [ebp - 0x18]
xor eax, 3
mov cl, byte [ebp - 0x13]
mov byte [ebp + eax - 0x10], cl
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov dword [edx*4 + 0x839190], eax
mov ecx, dword [ebp - 0x18]
mov dl, byte [ebp - 0x14]
mov byte [ebp + ecx - 0x10], dl
mov eax, dword [ebp - 0x18]
xor eax, 1
mov cl, byte [ebp - 0x14]
mov byte [ebp + eax - 0x10], cl
mov edx, dword [ebp - 0x18]
xor edx, 2
mov al, byte [ebp - 8]
mov byte [ebp + edx - 0x10], al
mov ecx, dword [ebp - 0x18]
xor ecx, 3
mov dl, byte [ebp - 0xc]
mov byte [ebp + ecx - 0x10], dl
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dword [eax*4 + 0x839590], ecx
mov edx, dword [ebp - 0x18]
mov al, byte [ebp - 7]
mov byte [ebp + edx - 0x10], al
mov ecx, dword [ebp - 0x18]
xor ecx, 1
mov dl, byte [ebp - 0x13]
mov byte [ebp + ecx - 0x10], dl
mov eax, dword [ebp - 0x18]
xor eax, 2
mov cl, byte [ebp - 0xb]
mov byte [ebp + eax - 0x10], cl
mov edx, dword [ebp - 0x18]
xor edx, 3
mov al, byte [ebp - 0x13]
mov byte [ebp + edx - 0x10], al
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov dword [ecx*4 + 0x839990], edx
mov eax, dword [ebp - 0x18]
mov cl, byte [ebp - 8]
mov byte [ebp + eax - 0x10], cl
mov edx, dword [ebp - 0x18]
xor edx, 1
mov al, byte [ebp - 0xc]
mov byte [ebp + edx - 0x10], al
mov ecx, dword [ebp - 0x18]
xor ecx, 2
mov dl, byte [ebp - 0x14]
mov byte [ebp + ecx - 0x10], dl
mov eax, dword [ebp - 0x18]
xor eax, 3
mov cl, byte [ebp - 8]
mov byte [ebp + eax - 0x10], cl
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov dword [edx*4 + 0x839d90], eax
jmp 0x5b3a09
mov dword [0x6f6f18], 0
mov esp, ebp
pop ebp
ret