Function at 0x140001060
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xe0
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rbp + 0x2f], rax
xor edi, edi
mov dword [rbp - 0x35], 0xd600e0
mov r10d, 0x2a
mov dword [rbp - 0x31], 0xd900e0
mov dword [rbp - 0x39], r10d
mov r8d, edi
mov dword [rbp - 0x2d], 0xe200ea
mov dword [rbp - 0x29], 0xf000d1
mov dword [rbp - 0x25], 0xff00fa
mov dword [rbp - 0x21], 0x10a00ff
mov dword [rbp - 0x1d], 0xf90103
mov dword [rbp - 0x19], 0x10400f0
mov dword [rbp - 0x15], 0xf90103
mov dword [rbp - 0x11], 0x10400ff
mov dword [rbp - 0xd], 0xe00101
mov dword [rbp - 9], 0xf9010a
mov dword [rbp - 5], 0xf000d1
mov dword [rbp - 1], 0x1030104
mov dword [rbp + 3], 0xff00f9
mov dword [rbp + 7], 0x1010104
mov dword [rbp + 0xb], 0xf000d1
mov dword [rbp + 0xf], 0xd100e6
mov dword [rbp + 0x13], 0xf900e0
mov dword [rbp + 0x17], 0xf9010e
mov qword [rbp + 0x1b], 0x12d010a
mov dword [rbp + 0x23], 0x63d15c
mov word [rbp + r10*2 - 0x35], di
mov eax, dword [rbp - 0x39]
mov dword [rbp + 0x27], 4
mov dword [rbp - 0x49], 4
test eax, eax
je 0x14000118b
nop word [rax + rax]
mov eax, r8d
lea rdx, [rbp - 0x35]
movzx ecx, word [rdx + rax*2]
lea rdx, [rdx + rax*2]
movzx eax, byte [rbp + 0x24]
inc r8d
sub cx, ax
movzx eax, byte [rbp + 0x23]
xor cx, ax
mov word [rdx], cx
mov eax, dword [rbp - 0x39]
cmp r8d, eax
jb 0x140001160
mov word [rbp + rax*2 - 0x35], di
mov rax, qword [0x140005678]
mov byte [rbp + 0x25], dil
test rax, rax
jne 0x1400011b3
xor edx, edx
mov ecx, 0xfbf688c6
call fcn.140002900
mov qword [0x140005678], rax
lea rcx, [rbp - 0x79]
mov r9d, 0x20019
mov qword [rsp + 0x20], rcx
lea rdx, [rbp - 0x35]
mov rcx, 0xffffffff80000002
xor r8d, r8d
call rax
mov r9d, eax
mov esi, 0xffffffff
cmp byte [rbp + 0x25], dil
jne 0x14000123d
mov ecx, dword [rbp - 0x39]
mov r8d, edi
mov word [rbp + rcx*2 - 0x35], di
mov ecx, dword [rbp - 0x39]
test ecx, ecx
je 0x14000121a
movzx ecx, byte [rbp + 0x23]
lea rdx, [rbp - 0x35]
mov eax, r8d
inc r8d
xor cx, word [rdx + rax*2]
lea rdx, [rdx + rax*2]
movzx eax, byte [rbp + 0x24]
add cx, ax
mov word [rdx], cx
mov ecx, dword [rbp - 0x39]
cmp r8d, ecx
jb 0x1400011f2
mov eax, ecx
mov ecx, 9
mov word [rbp + rax*2 - 0x35], di
call fcn.140001020
imul rax, rax, 0x19660d
xor edx, edx
div rsi
add dl, 0x5f
mov byte [rbp + 0x25], dl
test r9d, r9d
jne 0x1400013a0
mov edx, 0xc
mov dword [rbp - 0x6d], 0xdb00e5
mov dword [rbp - 0x71], edx
mov eax, edi
mov dword [rbp - 0x69], 0xe600f0
mov dword [rbp - 0x65], 0x10300ea
mov dword [rbp - 0x61], 0x10f010e
mov dword [rbp - 0x5d], 0x10a0101
mov qword [rbp - 0x59], 0x12d0109
mov dword [rbp - 0x51], 0x63d15c
mov word [rbp + rdx*2 - 0x6d], di
mov ecx, dword [rbp - 0x71]
test ecx, ecx
je 0x1400012ba
nop
mov ecx, eax
lea r8, [rbp - 0x6d]
movzx edx, word [r8 + rcx*2]
lea r8, [r8 + rcx*2]
movzx ecx, byte [rbp - 0x50]
inc eax
sub dx, cx
movzx ecx, byte [rbp - 0x51]
xor dx, cx
mov word [r8], dx
mov ecx, dword [rbp - 0x71]
cmp eax, ecx
jb 0x140001290
mov eax, ecx
mov word [rbp + rax*2 - 0x6d], di
mov rax, qword [0x1400056d0]
mov byte [rbp - 0x4f], dil
test rax, rax
jne 0x1400012e4
xor edx, edx
mov ecx, 0x7e27cf26
call fcn.140002900
mov qword [0x1400056d0], rax
lea rcx, [rbp + 0x27]
xor r8d, r8d
mov qword [rsp + 0x28], rcx
lea r9, [rbp - 0x49]
lea rcx, [rbp + 0x2b]
mov qword [rsp + 0x20], rcx
lea rdx, [rbp - 0x6d]
mov rcx, qword [rbp - 0x79]
call rax
mov ebx, eax
cmp byte [rbp - 0x4f], dil
jne 0x140001367
mov ecx, dword [rbp - 0x71]
mov r8d, edi
mov word [rbp + rcx*2 - 0x6d], di
mov ecx, dword [rbp - 0x71]
test ecx, ecx
je 0x140001344
movzx edx, byte [rbp - 0x51]
movzx eax, byte [rbp - 0x50]
mov ecx, r8d
inc r8d
xor dx, word [rbp + rcx*2 - 0x6d]
add dx, ax
mov word [rbp + rcx*2 - 0x6d], dx
mov ecx, dword [rbp - 0x71]
cmp r8d, ecx
jb 0x140001321
mov eax, ecx
mov ecx, 9
mov word [rbp + rax*2 - 0x6d], di
call fcn.140001020
imul rax, rax, 0x19660d
xor edx, edx
div rsi
add dl, 0x5f
mov byte [rbp - 0x4f], dl
mov rax, qword [0x140005648]
test rax, rax
jne 0x140001386
xor edx, edx
mov ecx, 0x1242154a
call fcn.140002900
mov qword [0x140005648], rax
mov rcx, qword [rbp - 0x79]
call rax
test ebx, ebx
jne 0x1400013a0
cmp dword [rbp - 0x49], 4
jne 0x1400013a0
cmp dword [rbp + 0x2b], 1
jne 0x1400013a0
mov al, 1
jmp 0x1400013a2
xor al, al
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140002a50
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret