Function at 0x18007eb30
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
mov eax, 0x58
call fcn.1801c83e0
sub rsp, rax
mov rax, qword [rcx + 0x178]
mov rbx, rcx
mov rdi, r9
mov qword [rsp + 0x28], rax
mov rax, qword [rcx + 0x180]
mov rbp, r8
mov qword [rsp + 0x20], rax
mov rax, qword [rcx + 0x38]
mov rsi, rdx
lea rcx, [r9 + rax]
movabs rax, 0xfffffffe0
cmp rcx, rax
ja 0x18007ee89
cmp rcx, r9
jb 0x18007ee89
cmp dword [rbx + 0x174], 0
mov qword [rsp + 0x88], r12
mov qword [rbx + 0x38], rcx
mov qword [rsp + 0x50], r13
je 0x18007ebbb
lea rdx, [rbx + 0x60]
lea rcx, [rbx + 0x40]
call fcn.18007e0c0
mov dword [rbx + 0x174], 0
movzx eax, byte [rbx + 0xd]
mov r13d, dword [rbx + 0x170]
movzx r12d, byte [rbx + 0xc]
shl r12d, 8
mov dword [rsp + 0x80], r13d
or r12d, eax
movzx eax, byte [rbx + 0xe]
shl r12d, 8
or r12d, eax
movzx eax, byte [rbx + 0xf]
shl r12d, 8
or r12d, eax
test r13d, r13d
je 0x18007ec40
test rdi, rdi
je 0x18007ec2a
movzx edx, byte [rsi]
mov ecx, r13d
inc rbp
movzx eax, byte [rcx + rbx + 0x10]
inc rsi
dec rdi
xor al, dl
mov byte [rbp - 1], al
xor byte [rcx + rbx + 0x40], dl
inc r13d
and r13d, 0xf
mov dword [rsp + 0x80], r13d
jne 0x18007ebf5
jmp 0x18007ec33
test r13d, r13d
jne 0x18007ee6a
lea rdx, [rbx + 0x60]
lea rcx, [rbx + 0x40]
call fcn.18007e0c0
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r15
cmp rdi, 0xc00
jb 0x18007ed3f
movabs rax, 0xaaaaaaaaaaaaaaab
lea rcx, [rbx + 0x60]
lea r10, [rbx + 0x40]
mul rdi
mov r15, rdx
shr r15, 0xb
mov rax, r15
mov qword [rsp + 0x30], r15
imul rax, rax, 0xfffffffffffff400
add rdi, rax
mov qword [rsp + 0x98], rdi
mov rdi, qword [rsp + 0x20]
nop word [rax + rax]
mov rdx, rcx
mov r9d, 0xc00
mov r8, rsi
mov rcx, r10
call fcn.18007e200
mov r15, qword [rsp + 0x28]
mov r14d, 0xc0
nop
lea rdx, [rbx + 0x10]
mov r8, rdi
mov rcx, rbx
call r15
inc r12d
add rbp, 0x10
mov byte [rbx + 0xf], r12b
mov eax, r12d
add rsi, 0x10
shr eax, 0x18
mov byte [rbx + 0xc], al
mov eax, r12d
shr eax, 0x10
mov byte [rbx + 0xd], al
mov eax, r12d
shr eax, 8
mov byte [rbx + 0xe], al
mov rax, qword [rsi - 0x10]
xor rax, qword [rbx + 0x10]
mov qword [rbp - 0x10], rax
mov rax, qword [rsi - 8]
xor rax, qword [rbx + 0x18]
dec r14
mov qword [rbp - 8], rax
jne 0x18007ecc0
mov r15, qword [rsp + 0x30]
lea rcx, [rbx + 0x60]
lea r10, [rbx + 0x40]
dec r15
mov qword [rsp + 0x30], r15
jne 0x18007eca0
mov rdi, qword [rsp + 0x98]
mov r13d, dword [rsp + 0x80]
mov r9, rdi
and r9, 0xfffffffffffffff0
je 0x18007edf4
lea rdx, [rbx + 0x60]
lea rcx, [rbx + 0x40]
mov r8, rsi
call fcn.18007e200
cmp rdi, 0x10
jb 0x18007edf4
mov r13, qword [rsp + 0x28]
mov r14, rdi
shr r14, 4
mov rax, r14
imul rax, rax, 0xfffffffffffffff0
add rdi, rax
mov qword [rsp + 0x98], rdi
mov rdi, qword [rsp + 0x20]
nop dword [rax]
lea rdx, [rbx + 0x10]
mov r8, rdi
mov rcx, rbx
call r13
inc r12d
add rbp, 0x10
mov byte [rbx + 0xf], r12b
mov eax, r12d
add rsi, 0x10
shr eax, 0x18
mov byte [rbx + 0xc], al
mov eax, r12d
shr eax, 0x10
mov byte [rbx + 0xd], al
mov eax, r12d
shr eax, 8
mov byte [rbx + 0xe], al
mov rax, qword [rsi - 0x10]
xor rax, qword [rbx + 0x10]
mov qword [rbp - 0x10], rax
mov rax, qword [rsi - 8]
xor rax, qword [rbx + 0x18]
dec r14
mov qword [rbp - 8], rax
jne 0x18007ed90
mov rdi, qword [rsp + 0x98]
mov r13d, dword [rsp + 0x80]
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
test rdi, rdi
je 0x18007ee6a
mov r8, qword [rsp + 0x20]
lea rdx, [rbx + 0x10]
mov rcx, rbx
call qword [rsp + Ordinal_41]
inc r12d
sub rsi, rbx
mov eax, r12d
sub rbp, rbx
mov byte [rbx + 0xf], r12b
shr eax, 0x18
mov byte [rbx + 0xc], al
mov eax, r12d
shr eax, 0x10
mov byte [rbx + 0xd], al
mov eax, r12d
shr eax, 8
mov byte [rbx + 0xe], al
movsxd rax, r13d
add r13d, edi
lea rdx, [rax + rbx + 0x40]
nop word [rax + rax]
movzx ecx, byte [rsi + rdx - 0x40]
movzx eax, byte [rdx - 0x30]
inc rdx
xor byte [rdx - 1], cl
xor al, cl
dec rdi
mov byte [rdx + rbp - 0x41], al
jne 0x18007ee50
mov r12, qword [rsp + 0x88]
mov dword [rbx + 0x170], r13d
mov r13, qword [rsp + 0x50]
xor eax, eax
add rsp, 0x58
pop rdi
pop rsi
pop rbp
pop rbx
ret
or eax, 0xffffffff
add rsp, 0x58
pop rdi
pop rsi
pop rbp
pop rbx
ret