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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6acee5
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x73a280]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x58], edi
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x54], eax
cmp esi, 0x10
ja 0x5eb7e5
mov ebx, 2
jmp 0x5eb7f3
mov eax, 0x18
cmp eax, esi
sbb ebx, ebx
neg ebx
add ebx, 3
lea eax, [ebx + ebx]
push eax
lea ecx, [ebp - 0x6c]
call fcn.005eaad0
mov dword [ebp - 4], 0
lea ecx, [ebx*8]
test esi, esi
je 0x5eb87e
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x5eb825
call fcn.00657fdb
mov dword [eax], 0x16
jmp 0x5eb872
mov edx, dword [ebp - 0x54]
test edx, edx
je 0x5eb83d
cmp ecx, esi
jb 0x5eb83d
push esi
push edx
push eax
call fcn.00643a30
add esp, 0xc
jmp 0x5eb877
push ecx
push 0
push eax
call fcn.006430f0
add esp, 0xc
cmp dword [ebp - 0x54], 0
jne 0x5eb85c
call fcn.00657fdb
mov dword [eax], 0x16
jmp 0x5eb872
lea ecx, [ebx*8]
cmp ecx, esi
jae 0x5eb87e
call fcn.00657fdb
mov dword [eax], 0x22
call fcn.0064e35a
lea ecx, [ebx*8]
mov eax, dword [ebp - 0x60]
sub ecx, esi
push ecx
add eax, esi
push 0
push eax
call fcn.006430f0
add esp, 0xc
cmp esi, 0xfffffffc
ja 0x5ebbd2
mov eax, dword [ebp - 0x60]
xor edx, edx
mov dword [ebp - 0x54], edx
lea ecx, [eax + 4]
mov dword [ebp - 0x5c], ecx
push ebx
push eax
push edx
call fcn.005ebc00
mov ecx, eax
shr ecx, 0x10
movzx edx, cl
mov ecx, eax
shr ecx, 8
movzx ecx, cl
push ebx
mov esi, dword [edx*4 + 0x6e4f10]
push dword [ebp - 0x5c]
xor esi, dword [ecx*4 + 0x6e4b10]
mov ecx, eax
shr ecx, 0x18
movzx eax, al
xor esi, dword [ecx*4 + str.9g]
xor esi, dword [eax*4 + 0x6e4710]
mov eax, dword [ebp - 0x54]
inc eax
push eax
call fcn.005ebc00
mov ecx, eax
add esp, 0x18
shr ecx, 0x10
movzx edx, cl
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x6e4f10]
xor edx, dword [ecx*4 + 0x6e4b10]
mov ecx, eax
shr ecx, 0x18
movzx eax, al
xor edx, dword [ecx*4 + str.9g]
xor edx, dword [eax*4 + 0x6e4710]
mov eax, dword [edi + 0xc0]
mov edi, dword [ebp - 0x54]
rol edx, 8
lea ecx, [edx + esi]
mov dword [eax + edi*4], ecx
lea ecx, [esi + edx*2]
mov edi, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
rol ecx, 9
mov eax, dword [edi + 0xc0]
mov dword [eax + edx*4 + 4], ecx
add edx, 2
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x54], edx
cmp edx, 0x28
jb 0x5eb8a8
lea eax, [ebx + ebx]
push eax
lea ecx, [ebp - 0x20]
call fcn.005eaad0
mov edi, dword [ebp - 0x14]
lea eax, [ebx*8]
add edi, 0xfffffff8
xor esi, esi
add edi, eax
mov eax, dword [ebp - 0x60]
push dword [eax + esi*8]
mov eax, dword [ebp - 0x5c]
push dword [eax + esi*8]
call fcn.005eb510
inc esi
mov dword [edi], eax
add esp, 8
lea edi, [edi - 8]
cmp esi, ebx
jb 0x5eb980
xor esi, esi
mov edi, 0x800
mov eax, esi
mov ecx, ebx
shl eax, 8
or eax, esi
shl eax, 8
or eax, esi
shl eax, 8
or eax, esi
sub ecx, 2
je 0x5eba65
sub ecx, 1
je 0x5eba1a
sub ecx, 1
jne 0x5ebaf6
mov ecx, eax
shr ecx, 0x18
movzx edx, byte [ecx + 0x6e4610]
mov ecx, eax
shr ecx, 0x10
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + 0x6e4510]
xor edx, ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
shl edx, 8
movzx eax, al
movzx ecx, byte [ecx + 0x6e4510]
xor edx, ecx
movzx eax, byte [eax + 0x6e4610]
shl edx, 8
xor edx, eax
mov eax, dword [ebp - 0x14]
xor edx, dword [eax + 0x18]
mov eax, edx
mov ecx, eax
shr ecx, 0x18
movzx edx, byte [ecx + 0x6e4510]
mov ecx, eax
shr ecx, 0x10
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + 0x6e4510]
xor edx, ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
shl edx, 8
movzx eax, al
movzx ecx, byte [ecx + 0x6e4610]
xor edx, ecx
movzx eax, byte [eax + 0x6e4610]
shl edx, 8
xor edx, eax
mov eax, dword [ebp - 0x14]
xor edx, dword [eax + 0x10]
mov eax, edx
mov ecx, eax
shr ecx, 0x18
movzx edx, byte [ecx + 0x6e4610]
mov ecx, eax
shr ecx, 0x10
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + 0x6e4510]
xor edx, ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
movzx eax, al
shl edx, 8
movzx ecx, byte [ecx + 0x6e4610]
movzx eax, byte [eax + 0x6e4510]
xor edx, ecx
shl edx, 8
xor edx, eax
mov eax, dword [ebp - 0x14]
xor edx, dword [eax + 8]
mov eax, edx
mov ecx, edx
shr ecx, 0x10
shr eax, 0x18
movzx ecx, cl
movzx eax, byte [eax + 0x6e4610]
movzx ecx, byte [ecx + 0x6e4610]
shl eax, 8
xor eax, ecx
mov ecx, edx
shr ecx, 8
movzx ecx, cl
shl eax, 8
movzx ecx, byte [ecx + 0x6e4510]
xor eax, ecx
movzx ecx, dl
shl eax, 8
movzx ecx, byte [ecx + 0x6e4510]
xor eax, ecx
mov ecx, dword [ebp - 0x14]
xor eax, dword [ecx]
mov edx, dword [ebp - 0x58]
inc esi
movzx ecx, al
mov edx, dword [edx + 0x10d8]
mov ecx, dword [ecx*4 + 0x6e4710]
mov dword [edi + edx - 0x800], ecx
mov ecx, eax
mov edx, dword [ebp - 0x58]
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx + 0x10d8]
mov ecx, dword [ecx*4 + 0x6e4b10]
mov dword [edi + edx - 0x400], ecx
mov ecx, eax
mov edx, dword [ebp - 0x58]
shr ecx, 0x10
movzx ecx, cl
shr eax, 0x18
mov edx, dword [edx + 0x10d8]
mov ecx, dword [ecx*4 + 0x6e4f10]
mov dword [edi + edx], ecx
mov ecx, dword [ebp - 0x58]
mov eax, dword [eax*4 + str.9g]
mov ecx, dword [ecx + 0x10d8]
mov dword [edi + ecx + 0x400], eax
add edi, 4
cmp edi, 0xc00
jb 0x5eb9a5
mov ecx, dword [ebp - 0x18]
cmp dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x14]
mov edi, edx
cmovb ecx, dword [ebp - 0x1c]
xor eax, eax
rep stosd dword es:[edi], eax
push edx
mov byte [ebp - 4], 2
call fcn.005c8a80
mov ecx, dword [ebp - 0x64]
cmp dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x60]
mov edi, edx
cmovb ecx, dword [ebp - 0x68]
xor eax, eax
rep stosd dword es:[edi], eax
push edx
mov dword [ebp - 4], 3
call fcn.005c8a80
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c8a4d
mov esp, ebp
pop ebp
ret 0xc
push str.RoundUpToMultipleOf:_integer_overflow
lea ecx, [ebp - 0x28]
call fcn.0043ef30
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x50]
call fcn.00544ff0
push 0x71a70c
lea eax, [ebp - 0x50]
push eax
call fcn.0064390d
int3