Function at 0x140024400
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x200
mov qword [rbp - 0x1c8], rbx
mov qword [rbp - 0x1c0], rsi
mov qword [rbp - 0x1b8], rdi
mov qword [rbp - 0x1b0], r12
mov qword [rbp - 0x1a8], r13
mov qword [rbp - 0x1a0], r14
mov qword [rbp - 0x198], r15
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x28], r9
mov rbx, rdx
mov r12, r8
mov rdi, qword [rbp + 0x28]
test dword [rbp + 0x30], 0x80
mov esi, 2
jne 0x140024461
mov esi, 0xa
mov r10, qword [rbp + 0x40]
mov rdx, qword [r10 + 8]
mov rax, qword [r10]
mov qword [rbp - 0x120], rax
mov qword [rbp - 0x118], rdx
lea r11, [rbp - 0x120]
mov qword [rbp - 0x1d0], r11
mov qword [rbp - 0x1d8], rsi
mov r13, qword [rbp + 0x38]
mov qword [rbp - 0x1e0], r13
mov r9d, dword [rbp + 0x30]
mov rdx, qword [r12 + 8]
mov rax, qword [r12]
mov qword [rbp - 0x110], rax
mov qword [rbp - 0x108], rdx
lea r8, [rbp - 0x110]
mov rdx, qword [rbx + 8]
mov rax, qword [rbx]
mov qword [rbp - 0x100], rax
mov qword [rbp - 0xf8], rdx
lea rdx, [rbp - 0x100]
lea rcx, [rbp - 0x180]
call fcn.140029840
sub rsp, 0x20
call fcn.140003150
add rsp, 0x20
mov qword [rbp - 0xf0], rax
mov rdx, rdi
mov ecx, 0x1000
sub rsp, 0x20
call fcn.14000fb20
add rsp, 0x20
mov qword [rbp - 0xe8], rax
mov qword [rbp + 0x28], rdi
lea rdx, [rbp - 0xb0]
lea rcx, [rbp - 0x180]
sub rsp, 0x20
call fcn.1400298f0
add rsp, 0x20
lea rax, [rbp - 0xb0]
mov r8, qword [rbp - 0xe8]
lea rdx, [rbp - 0xe0]
mov rcx, rax
sub rsp, 0x20
call fcn.14002ae80
add rsp, 0x20
sub rsp, 8
call fcn.140024567
add rsp, 8
jmp 0x14002457c
mov rdi, qword [rbp + 0x28]
lea rcx, [rbp - 0xe0]
sub rsp, 0x20
call fcn.14002ae20
add rsp, 0x20
xor al, 1
je 0x14002466a
lea rcx, [rbp - 0xe0]
sub rsp, 0x20
call fcn.140014da0
add rsp, 0x20
mov qword [rbp - 0x90], rax
mov qword [rbp - 0x88], rdx
mov rsi, rdi
lea rcx, [rbp - 0xf0]
sub rsp, 0x20
call fcn.140003250
add rsp, 0x20
sub rsi, rax
cmp qword [rbp - 0x90], rsi
jae 0x140024611
mov rbx, qword [rbp - 0x90]
mov qword [rbp - 0x80], rbx
mov rsi, qword [rbp - 0x88]
mov qword [rbp - 0x78], rsi
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0xf0]
sub rsp, 0x20
call fcn.14002b350
add rsp, 0x20
jmp 0x14002463a
mov qword [rbp - 0x70], rsi
mov rax, qword [rbp - 0x88]
mov qword [rbp - 0x68], rax
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0xf0]
sub rsp, 0x20
call fcn.14002b350
add rsp, 0x20
jmp 0x14002466a
lea rcx, [rbp - 0xe0]
sub rsp, 0x20
call fcn.14002ae40
add rsp, 0x20
lea rcx, [rbp - 0xe0]
sub rsp, 0x20
call fcn.14002ae20
add rsp, 0x20
xor al, 1
jne 0x14002459c
sub rsp, 8
call fcn.140024679
add rsp, 8
jmp 0x14002468e
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x180]
sub rsp, 0x20
call fcn.1400298f0
add rsp, 0x20
lea rax, [rbp - 0x30]
mov r8d, 0x1000
lea rdx, [rbp - 0x60]
mov rcx, rax
sub rsp, 0x20
call fcn.14002ae80
add rsp, 0x20
sub rsp, 8
call fcn.1400246d3
add rsp, 8
jmp 0x1400246e5
lea rcx, [rbp - 0x60]
sub rsp, 0x20
call fcn.14002ae20
add rsp, 0x20
xor al, 1
je 0x140024731
lea rcx, [rbp - 0x60]
sub rsp, 0x20
call fcn.140014da0
add rsp, 0x20
lea rcx, [rbp - 0x60]
sub rsp, 0x20
call fcn.14002ae40
add rsp, 0x20
lea rcx, [rbp - 0x60]
sub rsp, 0x20
call fcn.14002ae20
add rsp, 0x20
xor al, 1
jne 0x1400246fa
sub rsp, 8
call fcn.140024740
add rsp, 8
jmp 0x140024752
xor eax, eax
mov rdx, qword [rbp + 0x10]
mov dword [rdx + 4], eax
mov dword [rdx], eax
mov qword [rdx + 8], rax
mov qword [rdx + 0x10], rax
mov rsi, rdx
lea rcx, [rbp - 0x180]
sub rsp, 0x20
call fcn.1400298e0
add rsp, 0x20
mov rcx, rax
sub rsp, 0x20
call fcn.14002b4b0
add rsp, 0x20
mov r8d, eax
mov qword [rbp - 0x190], r8
lea rcx, [rbp - 0xf0]
sub rsp, 0x20
call fcn.140003250
add rsp, 0x20
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
lea rdx, [rbp - 0x10]
mov r8, qword [rbp - 0x190]
mov rcx, qword [rbp + 0x10]
sub rsp, 0x20
call fcn.14002b4e0
add rsp, 0x20
mov rax, qword [rbp + 0x10]
mov qword [rbp - 0x188], rax
sub rsp, 8
call fcn.140024832
add rsp, 8
mov rax, qword [rbp - 0x188]
mov rbx, qword [rbp - 0x1c8]
mov rsi, qword [rbp - 0x1c0]
mov rdi, qword [rbp - 0x1b8]
mov r12, qword [rbp - 0x1b0]
mov r13, qword [rbp - 0x1a8]
mov r14, qword [rbp - 0x1a0]
mov r15, qword [rbp - 0x198]
mov rsp, rbp
pop rbp
ret