Function at 0x140077d10
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x360
mov qword [rbp - 0x338], rbx
mov qword [rbp - 0x330], rsi
mov qword [rbp - 0x328], rdi
mov qword [rbp - 0x320], r12
mov qword [rbp - 0x318], r13
mov r13, rcx
mov r12, rdx
mov rbx, r8
movzx eax, byte [r13 + 0x14]
cmp al, 0x73
jne 0x140077f69
mov rcx, r13
call fcn.140003e50
xor al, 1
je 0x140077e7c
lea rdx, [rbp - 0x2d0]
mov rcx, r12
call fcn.140044950
mov rsi, rax
lea rdi, [rbp - 0x220]
mov ecx, 0x15
rep movsq qword [rdi], qword [rsi]
lea rcx, [rbp - 0x220]
call fcn.1400833b0
mov qword [rbp - 0x2e0], rax
mov rcx, qword [rbp - 0x2e0]
cmp dword [r13 + 4], 0x7ffffffe
je 0x140077db6
movsxd rdx, dword [r13 + 4]
cmp rdx, rax
jae 0x140077db6
movsxd rcx, dword [r13 + 4]
movsxd rax, dword [r13]
cmp rcx, rax
jae 0x140077de1
xor esi, esi
mov rdi, rax
sub rdi, rcx
test rdi, rdi
je 0x140077de1
mov rdx, rbx
mov ecx, 0x20
call fcn.14000c820
inc rsi
cmp rsi, rdi
jb 0x140077dcc
cmp dword [r13 + 4], 0x7ffffffe
jne 0x140077e11
mov rdx, rbx
mov rsi, r12
lea rdi, [rbp - 0x170]
mov ecx, 0x15
rep movsq qword [rdi], qword [rsi]
lea rcx, [rbp - 0x170]
call fcn.140083400
jmp 0x1400781cf
xor esi, esi
mov rcx, r12
call fcn.1400446a0
xor al, 1
je 0x1400781cf
cmp dword [r13 + 4], esi
je 0x1400781cf
mov rdx, rbx
mov qword [rbp - 0x2e8], rdx
mov rcx, r12
call fcn.1400446b0
mov ecx, eax
and ecx, 0xff
mov rdx, qword [rbp - 0x2e8]
call fcn.14000c820
mov rcx, r12
call fcn.1400446c0
inc rsi
mov rcx, r12
call fcn.1400446a0
xor al, 1
je 0x1400781cf
movsxd rdx, dword [r13 + 4]
cmp rsi, rdx
jb 0x140077e2d
jmp 0x1400781cf
cmp dword [r13 + 4], 0x7ffffffe
jne 0x140077ed7
xor esi, esi
mov rcx, r12
call fcn.1400446a0
xor al, 1
je 0x140077f31
mov rdx, rbx
mov qword [rbp - 0x2f0], rdx
mov rcx, r12
call fcn.1400446b0
mov ecx, eax
and ecx, 0xff
mov rdx, qword [rbp - 0x2f0]
call fcn.14000c820
mov rcx, r12
call fcn.1400446c0
inc rsi
mov rcx, r12
call fcn.1400446a0
xor al, 1
jne 0x140077e98
jmp 0x140077f31
xor esi, esi
mov rcx, r12
call fcn.1400446a0
xor al, 1
je 0x140077f31
cmp dword [r13 + 4], esi
je 0x140077f31
mov rdx, rbx
mov qword [rbp - 0x2f8], rdx
mov rcx, r12
call fcn.1400446b0
mov ecx, eax
and ecx, 0xff
mov rdx, qword [rbp - 0x2f8]
call fcn.14000c820
mov rcx, r12
call fcn.1400446c0
inc rsi
mov rcx, r12
call fcn.1400446a0
xor al, 1
je 0x140077f31
movsxd rdx, dword [r13 + 4]
cmp rsi, rdx
jb 0x140077eeb
movsxd rdx, dword [r13]
cmp rsi, rdx
jae 0x1400781cf
xor edi, edi
mov r12, rdx
sub r12, rsi
test r12, r12
je 0x1400781cf
mov rdx, rbx
mov ecx, 0x20
call fcn.14000c820
inc rdi
cmp rdi, r12
jb 0x140077f4f
jmp 0x1400781cf
cmp al, 0x72
jne 0x140077fbf
mov rcx, r12
call fcn.1400446a0
xor al, 1
je 0x1400781cf
mov r8, rbx
mov qword [rbp - 0x300], r8
mov rcx, r12
call fcn.1400446b0
mov edx, eax
and edx, 0xff
mov r8, qword [rbp - 0x300]
mov rcx, r13
call fcn.140083430
mov rcx, r12
call fcn.1400446c0
mov rcx, r12
call fcn.1400446a0
xor al, 1
jne 0x140077f7d
jmp 0x1400781cf
cmp al, 0x28
jne 0x140078164
mov rcx, r12
call fcn.1400446a0
test al, al
jne 0x1400781cf
lea rsi, [0x1400a1cb0]
lea rdi, [rbp - 0xc0]
mov ecx, 9
rep movsq qword [rdi], qword [rsi]
mov rdx, qword [r13 + 0x20]
mov rax, qword [r13 + 0x18]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rdx
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0xc0]
call fcn.140003fa0
mov rdx, rbx
lea rcx, [rbp - 0xc0]
call fcn.140005f50
mov esi, eax
mov r8b, sil
xor r8b, 1
jne 0x1400780c6
mov rcx, r13
call fcn.140003e50
test al, al
je 0x140078066
mov r8, rbx
mov qword [rbp - 0x308], r8
mov rcx, r12
call fcn.1400446b0
mov edx, eax
and edx, 0xff
mov r8, qword [rbp - 0x308]
lea rcx, [rbp - 0xc0]
call fcn.140083430
jmp 0x140078093
mov r8, rbx
mov qword [rbp - 0x310], r8
mov rcx, r12
call fcn.1400446b0
mov edx, eax
and edx, 0xff
mov r8, qword [rbp - 0x310]
lea rcx, [rbp - 0xc0]
call fcn.1400834d0
xor esi, esi
cmp qword [rbp - 0x88], rsi
je 0x1400780c6
cmp rsi, qword [rbp - 0x88]
jae 0x1400781f7
mov r10, qword [rbp - 0x80]
cmp byte [r10 + rsi], 0x25
je 0x14007800d
inc rsi
cmp rsi, qword [rbp - 0x88]
jb 0x14007809e
mov rax, qword [r13 + 0x30]
or rax, qword [r13 + 0x28]
je 0x140078128
mov rdx, rbx
mov rdi, qword [rbp - 0x88]
mov qword [rbp - 0x60], rdi
mov rsi, qword [rbp - 0x80]
mov qword [rbp - 0x58], rsi
lea rcx, [rbp - 0x60]
call fcn.1400061f0
mov rcx, r12
call fcn.1400446c0
mov rcx, r12
call fcn.1400446a0
test al, al
jne 0x1400781cf
mov rdx, rbx
mov rcx, qword [r13 + 0x30]
mov rax, qword [r13 + 0x28]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rcx
lea rcx, [rbp - 0x50]
call fcn.1400061f0
jmp 0x140077fd7
mov rcx, r12
call fcn.1400446c0
mov rcx, r12
call fcn.1400446a0
test al, al
jne 0x1400781cf
mov rdx, rbx
mov rsi, qword [rbp - 0x88]
mov qword [rbp - 0x40], rsi
mov rax, qword [rbp - 0x80]
mov qword [rbp - 0x38], rax
lea rcx, [rbp - 0x40]
call fcn.1400061f0
jmp 0x140077fd7
call fcn.140007330
mov rsi, rax
lea rcx, str.Incorrect_format_specifier_for_range:__
mov qword [rbp - 0x28], rcx
mov qword [rbp - 0x30], 0x27
lea rdx, [rbp - 0x30]
movzx ecx, byte [r13 + 0x14]
call fcn.140012ed0
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
lea r8, [rbp - 0x20]
mov qword [rbp - 0x340], r8
lea rax, str.std_formatinternalwrite.d
mov qword [rbp - 8], rax
mov qword [rbp - 0x10], 0x1b
lea r9, [rbp - 0x10]
mov r8d, 0x62d
xor edx, edx
mov rcx, rsi
call fcn.140016980
mov rcx, rax
call fcn.140019e30
mov rbx, qword [rbp - 0x338]
mov rsi, qword [rbp - 0x330]
mov rdi, qword [rbp - 0x328]
mov r12, qword [rbp - 0x320]
mov r13, qword [rbp - 0x318]
mov rsp, rbp
pop rbp
ret
mov r9, qword [rbp - 0x88]
mov r8, rsi
mov edx, 0x610
lea rcx, str.std_formatinternalwrite.d
call fcn.140018720
int3