Function at 0x1800bc380
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xa0
mov qword [rbp - 0x51], 0xfffffffffffffffe
mov qword [rsp + 0xe8], rbx
mov rax, qword [0x18017a408]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov qword [rbp - 0x59], r9
mov r13, r8
mov rbx, rcx
mov rdx, qword [rbp + 0x7f]
xor eax, eax
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x39], rax
lea r8, str.initCrypt_blowfish
lea rcx, [rbp - 0x49]
call fcn.180039180
nop
mov eax, dword [r13 + 0x10]
cdq
and edx, 7
lea r15d, [rdx + rax]
sar r15d, 3
xor eax, eax
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x11], rax
mov qword [rbp - 9], rax
mov qword [rbp - 1], rax
mov qword [rbp + 7], rax
lea rcx, [r13 + 0x18]
call fcn.180015e00
lea rcx, [r13 + 0x18]
cmp eax, 0x40
jbe 0x1800bc442
call fcn.180015b30
test rax, rax
je 0x1800bc46f
lea rcx, [r13 + 0x18]
call fcn.180015b30
mov r8d, 0x40
jmp 0x1800bc463
call fcn.180015b30
test rax, rax
je 0x1800bc46f
lea rcx, [r13 + 0x18]
call fcn.180015e00
mov edi, eax
lea rcx, [r13 + 0x18]
call fcn.180015b30
mov r8d, edi
mov rdx, rax
lea rcx, [rbp - 0x31]
call fcn.18002b210
xor edi, edi
mov r8d, edi
lea r12, [0x180179374]
mov esi, 8
mov r9d, esi
sub r9, r12
mov r10d, 0xc
sub r10, r12
mov r11d, 0x10
sub r11, r12
mov r14d, 0x14
sub r14, r12
lea rdx, [r8 + r12]
mov rcx, qword [rbx + 0xb0]
mov eax, dword [rdx - 4]
mov dword [r8 + rcx], eax
mov rcx, qword [rbx + 0xb0]
mov eax, dword [rdx]
mov dword [r8 + rcx + 4], eax
mov rcx, qword [rbx + 0xb0]
add rcx, rdx
mov eax, dword [rdx + 4]
mov dword [rcx + r9], eax
mov rcx, qword [rbx + 0xb0]
add rcx, rdx
mov eax, dword [rdx + 8]
mov dword [rcx + r10], eax
mov rcx, qword [rbx + 0xb0]
add rcx, rdx
mov eax, dword [rdx + 0xc]
mov dword [rcx + r11], eax
mov rcx, qword [rbx + 0xb0]
add rcx, rdx
mov eax, dword [rdx + 0x10]
mov dword [rcx + r14], eax
add r8, 0x18
cmp r8, 0x48
jl 0x1800bc4a1
lea r14, [0x1801793c4]
sub rsi, r14
mov r9, rdi
mov r12, qword [rbp - 0x59]
lea r10, [r9 + 0xc]
mov r11d, 0x40
nop word [rax + rax]
lea r8, [r9 + r14]
mov rcx, qword [rbx + 0xb8]
mov eax, dword [r8 - 4]
mov dword [r9 + rcx], eax
mov rcx, qword [rbx + 0xb8]
mov eax, dword [r8]
mov dword [r9 + rcx + 4], eax
lea rdx, [rsi + r8]
mov rcx, qword [rbx + 0xb8]
mov eax, dword [r8 + 4]
mov dword [rdx + rcx], eax
mov rcx, qword [rbx + 0xb8]
mov eax, dword [r8 + 8]
mov dword [r10 + rcx], eax
add r9, 0x10
lea r10, [r10 + 0x10]
sub r11, 1
jne 0x1800bc530
cmp r9, 0x1000
jl 0x1800bc520
mov r9d, edi
mov r10, rdi
cmp byte [rbx + 0xc0], dil
je 0x1800bc610
nop dword [rax]
lea eax, [r9 + 1]
cdq
idiv r15d
movsxd rax, edx
movzx r8d, byte [rbp + rax - 0x31]
movsxd rax, r9d
movzx ecx, byte [rbp + rax - 0x31]
shl ecx, 8
or r8d, ecx
shl r8d, 8
lea eax, [r9 + 2]
cdq
idiv r15d
movsxd rax, edx
movzx ecx, byte [rbp + rax - 0x31]
or r8d, ecx
shl r8d, 8
lea eax, [r9 + 3]
cdq
idiv r15d
movsxd rax, edx
movzx ecx, byte [rbp + rax - 0x31]
or r8d, ecx
mov rax, qword [rbx + 0xb0]
xor dword [r10 + rax], r8d
lea eax, [r9 + 4]
cdq
idiv r15d
mov r9d, edx
add r10, 4
cmp r10, 0x48
jl 0x1800bc5a0
jmp 0x1800bc680
lea eax, [r9 + 2]
cdq
idiv r15d
movsxd rax, edx
movzx r8d, byte [rbp + rax - 0x31]
lea eax, [r9 + 3]
movsxd rcx, eax
movzx eax, byte [rbp + rcx - 0x31]
shl eax, 8
or r8d, eax
shl r8d, 8
lea eax, [r9 + 1]
cdq
idiv r15d
movsxd rax, edx
movzx ecx, byte [rbp + rax - 0x31]
or r8d, ecx
shl r8d, 8
mov eax, r9d
cdq
idiv r15d
movsxd rax, edx
movzx ecx, byte [rbp + rax - 0x31]
or r8d, ecx
mov rax, qword [rbx + 0xb0]
xor dword [r10 + rax], r8d
lea eax, [r9 + 4]
cdq
idiv r15d
mov r9d, edx
add r10, 4
cmp r10, 0x48
jl 0x1800bc610
mov dword [rbp - 0x61], edi
mov dword [rbp - 0x59], edi
mov rsi, rdi
cmp byte [rbx + 0xc0], dil
je 0x1800bc740
nop word [rax + rax]
lea r8, [rbp - 0x59]
lea rdx, [rbp - 0x61]
mov rcx, rbx
call fcn.1800bbad0
mov rcx, qword [rbx + 0xb0]
mov eax, dword [rbp - 0x61]
mov dword [rsi + rcx], eax
mov rcx, qword [rbx + 0xb0]
mov eax, dword [rbp - 0x59]
mov dword [rsi + rcx + 4], eax
add rsi, 8
cmp rsi, 0x48
jl 0x1800bc6a0
nop word [rax + rax]
mov esi, 0x80
nop word [rax + rax]
lea r8, [rbp - 0x59]
lea rdx, [rbp - 0x61]
mov rcx, rbx
call fcn.1800bbad0
mov rcx, qword [rbx + 0xb8]
mov eax, dword [rbp - 0x61]
mov dword [rdi + rcx], eax
mov rcx, qword [rbx + 0xb8]
mov eax, dword [rbp - 0x59]
mov dword [rdi + rcx + 4], eax
add rdi, 8
sub rsi, 1
jne 0x1800bc6f0
cmp rdi, 0x1000
jl 0x1800bc6e0
jmp 0x1800bc7ce
lea r8, [rbp - 0x59]
lea rdx, [rbp - 0x61]
mov rcx, rbx
call fcn.1800bbf20
mov rcx, qword [rbx + 0xb0]
mov eax, dword [rbp - 0x61]
mov dword [rsi + rcx], eax
mov rcx, qword [rbx + 0xb0]
mov eax, dword [rbp - 0x59]
mov dword [rsi + rcx + 4], eax
add rsi, 8
cmp rsi, 0x48
jl 0x1800bc740
nop word [rax + rax]
mov esi, 0x80
nop word [rax + rax]
lea r8, [rbp - 0x59]
lea rdx, [rbp - 0x61]
mov rcx, rbx
call fcn.1800bbf20
mov rcx, qword [rbx + 0xb8]
mov eax, dword [rbp - 0x61]
mov dword [rdi + rcx], eax
mov rcx, qword [rbx + 0xb8]
mov eax, dword [rbp - 0x59]
mov dword [rdi + rcx + 4], eax
add rdi, 8
sub rsi, 1
jne 0x1800bc790
cmp rdi, 0x1000
jl 0x1800bc780
test r12, r12
je 0x1800bc80e
mov eax, dword [r13 + 8]
sub eax, 3
cmp eax, 1
ja 0x1800bc80e
lea rcx, [r13 + 0x50]
call fcn.180015e00
mov esi, eax
lea rcx, [r13 + 0x50]
call fcn.180015b30
mov rdx, rax
lea rcx, [r12 + 0x4a0]
mov r9d, dword [rbx + 0xa8]
mov r8d, esi
call fcn.1800bb130
nop
lea rcx, [rbp - 0x49]
call fcn.1800392a0
mov al, 1
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.1800c9b90
mov rbx, qword [rsp + 0xe8]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret