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

Disassembly:
push rbp
sub rsp, 0x230
mov rbp, rsp
mov qword [rbp + 0x240], rcx
mov rcx, qword [rbp + 0x240]
lea rdx, [rbp + 0x30]
lea r8, [0x007434c4]
mov rax, qword [rbp + 0x240]
lea rax, [rax + rbp + 0x3c]
mov r9, rbp
neg r9
mov r9d, dword [rax + r9]
call fcn.00491720
mov dword [rbp + 0x24], 0
movsxd rax, dword [rbp + 0x24]
lea rcx, [0x007434c4]
movsxd rdx, dword [rbp + 0x24]
movzx rdx, byte [rdx + rbp + 0x30]
movzx rcx, byte [rcx + rdx]
mov byte [rax + rbp + 0x130], cl
add dword [rbp + 0x24], 1
cmp dword [rbp + 0x24], 0x100
jne 0x491df6
nop
mov rcx, qword [rbp + 0x240]
lea rdx, [rbp + 0x130]
lea r8, [rbp + 0x130]
mov rax, qword [rbp + 0x240]
lea rax, [rax + rbp + 0x38]
mov r9, rbp
neg r9
mov r9d, dword [rax + r9]
call fcn.00491720
mov rax, qword [rbp + 0x240]
lea rax, [rax + rbp + 0x30]
mov rcx, rbp
neg rcx
movzx rax, byte [rax + rcx]
mov dword [rbp + 0x2c], eax
mov rax, qword [rbp + 0x240]
lea rax, [rax + rbp + 0x34]
mov rcx, rbp
neg rcx
movzx rax, byte [rax + rcx]
mov dword [rbp + 0x28], eax
mov dword [rbp + 0x24], 0
mov rax, qword [rbp + 0x240]
lea rax, [rax + rbp + 0x20]
mov rcx, rbp
neg rcx
mov rax, qword [rax + rcx]
movsxd rcx, dword [rbp + 0x24]
lea rdx, [0x007435c4]
lea r8, [0x007433c4]
lea r9, [0x007433c4]
movsxd r10, dword [rbp + 0x24]
movzx r10, byte [r10 + rbp + 0x130]
movzx r9, byte [r9 + r10]
xor r9d, dword [rbp + 0x28]
movsxd r9, r9d
movzx r8, byte [r8 + r9]
xor r8d, dword [rbp + 0x2c]
movsxd r8, r8d
mov edx, dword [rdx + r8*4]
mov dword [rax + rcx*4], edx
add dword [rbp + 0x24], 1
cmp dword [rbp + 0x24], 0x100
jne 0x491e90
nop
mov rcx, qword [rbp + 0x240]
lea rdx, [rbp + 0x30]
lea r8, [0x007433c4]
mov rax, qword [rbp + 0x240]
lea rax, [rax + rbp + 0x3c]
mov r9, rbp
neg r9
mov r9d, dword [rax + r9]
shr r9d, 8
call fcn.00491720
mov dword [rbp + 0x24], 0
movsxd rax, dword [rbp + 0x24]
lea rcx, [0x007434c4]
movsxd rdx, dword [rbp + 0x24]
movzx rdx, byte [rdx + rbp + 0x30]
movzx rcx, byte [rcx + rdx]
mov byte [rax + rbp + 0x130], cl
add dword [rbp + 0x24], 1
cmp dword [rbp + 0x24], 0x100
jne 0x491f31
nop
mov rcx, qword [rbp + 0x240]
lea rdx, [rbp + 0x130]
lea r8, [rbp + 0x130]
mov rax, qword [rbp + 0x240]
lea rax, [rax + rbp + 0x38]
mov r9, rbp
neg r9
mov r9d, dword [rax + r9]
shr r9d, 8
call fcn.00491720
mov rax, qword [rbp + 0x240]
lea rax, [rax + rbp + 0x31]
mov rcx, rbp
neg rcx
movzx rax, byte [rax + rcx]
mov dword [rbp + 0x2c], eax
mov rax, qword [rbp + 0x240]
lea rax, [rax + rbp + 0x35]
mov rcx, rbp
neg rcx
movzx rax, byte [rax + rcx]
mov dword [rbp + 0x28], eax
mov dword [rbp + 0x24], 0
mov rax, qword [rbp + 0x240]
lea rax, [rax + rbp + 0x20]
mov rcx, rbp
neg rcx
mov rax, qword [rax + rcx]
movsxd rcx, dword [rbp + 0x24]
lea rdx, [0x007439c4]
lea r8, [0x007433c4]
lea r9, [0x007434c4]
movsxd r10, dword [rbp + 0x24]
movzx r10, byte [r10 + rbp + 0x130]
movzx r9, byte [r9 + r10]
xor r9d, dword [rbp + 0x28]
movsxd r9, r9d
movzx r8, byte [r8 + r9]
xor r8d, dword [rbp + 0x2c]
movsxd r8, r8d
mov edx, dword [rdx + r8*4]
mov dword [rax + rcx*4 + 0x400], edx
add dword [rbp + 0x24], 1
cmp dword [rbp + 0x24], 0x100
jne 0x491fcf
nop
mov rcx, qword [rbp + 0x240]
lea rdx, [rbp + 0x30]
lea r8, [0x007433c4]
mov rax, qword [rbp + 0x240]
lea rax, [rax + rbp + 0x3c]
mov r9, rbp
neg r9
mov r9d, dword [rax + r9]
shr r9d, 0x10
call fcn.00491720
mov dword [rbp + 0x24], 0
movsxd rax, dword [rbp + 0x24]
lea rcx, [0x007433c4]
movsxd rdx, dword [rbp + 0x24]
movzx rdx, byte [rdx + rbp + 0x30]
movzx rcx, byte [rcx + rdx]
mov byte [rax + rbp + 0x130], cl
add dword [rbp + 0x24], 1
cmp dword [rbp + 0x24], 0x100
jne 0x492074
nop
mov rcx, qword [rbp + 0x240]
lea rdx, [rbp + 0x130]
lea r8, [rbp + 0x130]
mov rax, qword [rbp + 0x240]
lea rax, [rax + rbp + 0x38]
mov r9, rbp
neg r9
mov r9d, dword [rax + r9]
shr r9d, 0x10
call fcn.00491720
mov rax, qword [rbp + 0x240]
lea rax, [rax + rbp + 0x32]
mov rcx, rbp
neg rcx
movzx rax, byte [rax + rcx]
mov dword [rbp + 0x2c], eax
mov rax, qword [rbp + 0x240]
lea rax, [rax + rbp + 0x36]
mov rcx, rbp
neg rcx
movzx rax, byte [rax + rcx]
mov dword [rbp + 0x28], eax
mov dword [rbp + 0x24], 0
mov rax, qword [rbp + 0x240]
lea rax, [rax + rbp + 0x20]
mov rcx, rbp
neg rcx
mov rax, qword [rax + rcx]
movsxd rcx, dword [rbp + 0x24]
lea rdx, [0x00743dc4]
lea r8, [0x007434c4]
lea r9, [0x007433c4]
movsxd r10, dword [rbp + 0x24]
movzx r10, byte [r10 + rbp + 0x130]
movzx r9, byte [r9 + r10]
xor r9d, dword [rbp + 0x28]
movsxd r9, r9d
movzx r8, byte [r8 + r9]
xor r8d, dword [rbp + 0x2c]
movsxd r8, r8d
mov edx, dword [rdx + r8*4]
mov dword [rax + rcx*4 + 0x800], edx
add dword [rbp + 0x24], 1
cmp dword [rbp + 0x24], 0x100
jne 0x492112
nop
mov rcx, qword [rbp + 0x240]
lea rdx, [rbp + 0x30]
lea r8, [0x007434c4]
mov rax, qword [rbp + 0x240]
lea rax, [rax + rbp + 0x3c]
mov r9, rbp
neg r9
mov r9d, dword [rax + r9]
shr r9d, 0x18
call fcn.00491720
mov dword [rbp + 0x24], 0
movsxd rax, dword [rbp + 0x24]
lea rcx, [0x007433c4]
movsxd rdx, dword [rbp + 0x24]
movzx rdx, byte [rdx + rbp + 0x30]
movzx rcx, byte [rcx + rdx]
mov byte [rax + rbp + 0x130], cl
add dword [rbp + 0x24], 1
cmp dword [rbp + 0x24], 0x100
jne 0x4921b7
nop
mov rcx, qword [rbp + 0x240]
lea rdx, [rbp + 0x130]
lea r8, [rbp + 0x130]
mov rax, qword [rbp + 0x240]
lea rax, [rax + rbp + 0x38]
mov r9, rbp
neg r9
mov r9d, dword [rax + r9]
shr r9d, 0x18
call fcn.00491720
mov rax, qword [rbp + 0x240]
lea rax, [rax + rbp + 0x33]
mov rcx, rbp
neg rcx
movzx rax, byte [rax + rcx]
mov dword [rbp + 0x2c], eax
mov rax, qword [rbp + 0x240]
lea rax, [rax + rbp + 0x37]
mov rcx, rbp
neg rcx
movzx rax, byte [rax + rcx]
mov dword [rbp + 0x28], eax
mov dword [rbp + 0x24], 0
mov rax, qword [rbp + 0x240]
lea rax, [rax + rbp + 0x20]
mov rcx, rbp
neg rcx
mov rax, qword [rax + rcx]
movsxd rcx, dword [rbp + 0x24]
lea rdx, str.9g
lea r8, [0x007434c4]
lea r9, [0x007434c4]
movsxd r10, dword [rbp + 0x24]
movzx r10, byte [r10 + rbp + 0x130]
movzx r9, byte [r9 + r10]
xor r9d, dword [rbp + 0x28]
movsxd r9, r9d
movzx r8, byte [r8 + r9]
xor r8d, dword [rbp + 0x2c]
movsxd r8, r8d
mov edx, dword [rdx + r8*4]
mov dword [rax + rcx*4 + 0xc00], edx
add dword [rbp + 0x24], 1
cmp dword [rbp + 0x24], 0x100
jne 0x492255
nop
lea rsp, [rbp + 0x230]
pop rbp
ret