Function at 0x140001138
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x720]
sub rsp, 0x820
mov rax, qword [rdx + 0x58]
mov r8d, 0x1c
mov qword [0x14000c120], rax
mov rax, qword [rdx + 0x60]
mov qword [0x14000c128], rax
mov qword [0x14000c130], rdx
mov rsi, qword [rcx + 0x28]
movsxd r14, dword [rcx]
mov rbx, qword [rcx + 0x40]
mov rdi, qword [rcx + 0x48]
mov rdx, qword [rcx + 0x38]
lea rcx, [0x14000c0e0]
call fcn.140001edc
mov qword [0x14000c110], rdi
lea rax, [rbp + 0x24]
mov edi, 0x104
mov qword [0x14000c118], rbx
mov edx, edi
sub rsi, rax
sub rdx, 1
lea rcx, [rsp + 0x20]
lea rcx, [rcx + rdx]
mov al, byte [rsi + rcx + 0x104]
mov byte [rcx], al
jne 0x1400011b3
xor ebx, ebx
lea r8, str.k2h_mb4k_m7mbkh_bZ
mov eax, ebx
xor byte [rax + r8], 0x5a
inc rax
cmp rax, 0x12
jl 0x1400011d6
mov r9d, 0x11
lea rcx, [rsp + 0x20]
mov edx, r14d
call fcn.140001ef4
mov esi, 0x3b
test r14d, r14d
jle 0x14000129a
mov rax, rbx
mov cl, byte [rsp + rax + 0x20]
cmp cl, 0x76
jne 0x140001218
mov byte [rsp + rax + 0x20], 0x30
jmp 0x14000128e
cmp cl, 0x78
jne 0x140001224
mov byte [rsp + rax + 0x20], 0x31
jmp 0x14000128e
cmp cl, 0x25
jne 0x140001230
mov byte [rsp + rax + 0x20], 0x32
jmp 0x14000128e
cmp cl, 0x79
jne 0x14000123c
mov byte [rsp + rax + 0x20], 0x33
jmp 0x14000128e
cmp cl, 0x5e
jne 0x140001248
mov byte [rsp + rax + 0x20], 0x34
jmp 0x14000128e
cmp cl, 0x2c
jne 0x140001254
mov byte [rsp + rax + 0x20], 0x35
jmp 0x14000128e
cmp cl, 0x71
jne 0x140001260
mov byte [rsp + rax + 0x20], 0x36
jmp 0x14000128e
cmp cl, 0x40
jne 0x14000126c
mov byte [rsp + rax + 0x20], 0x37
jmp 0x14000128e
cmp cl, 0x7a
jne 0x140001278
mov byte [rsp + rax + 0x20], 0x38
jmp 0x14000128e
cmp cl, 0x6c
jne 0x140001284
mov byte [rsp + rax + 0x20], 0x39
jmp 0x14000128e
cmp cl, 0x70
jne 0x14000128e
mov byte [rsp + rax + 0x20], sil
inc rax
cmp rax, r14
jl 0x140001208
mov edx, esi
lea rcx, [rsp + 0x20]
call fcn.140002714
test rax, rax
je 0x14000151f
lea rcx, [rax + 1]
mov byte [rax], bl
mov edx, esi
call fcn.140002714
test rax, rax
je 0x14000151f
lea rcx, [rax + 1]
mov byte [rax], bl
mov edx, esi
call fcn.140002714
test rax, rax
je 0x14000151f
mov byte [rax], bl
lea rcx, [rsp + 0x20]
call fcn.140002154
mov esi, eax
sub rdi, 1
mov byte [rsp + rdi + 0x20], bl
jne 0x1400012e9
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x800
movups xmmword [0x14000c0fc], xmm0
call fcn.140002800
lea rcx, [rsp + 0x20]
call fcn.1400023c4
test al, al
je 0x14000135a
lea rcx, [rsp + 0x20]
call fcn.14000272c
mov rdx, rax
lea rcx, [rsp + 0x20]
mov r8d, 0x726d0100
call fcn.14000217c
lea rcx, [rbp + 0x740]
mov dword [rbp + 0x740], ebx
mov edi, eax
call fcn.1400021b0
test al, al
je 0x14000135a
mov ebx, dword [rbp + 0x740]
add ebx, edi
cmp esi, ebx
je 0x140001368
mov dword [0x14000c108], 1
mov rcx, qword [0x14000c128]
lea rdx, [rsp + 0x20]
mov rax, qword [rcx + 0xe8]
mov qword [0x14000c0c8], rax
lea rax, [0x14000153c]
mov qword [rcx + 0xe8], rax
mov eax, dword [0x140002a78]
movups xmm0, xmmword [0x140002a40]
mov dword [rsp + 0x58], eax
movzx eax, word [0x140002a7c]
movups xmm1, xmmword [0x140002a50]
mov word [rsp + 0x5c], ax
mov rax, qword [0x14000c130]
movups xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [0x140002a60]
movups xmmword [rsp + 0x30], xmm1
movsd xmm1, qword [0x140002a70]
movups xmmword [rsp + 0x40], xmm0
movsd qword [rsp + 0x50], xmm1
mov r9, qword [rax + 0x40]
mov rcx, r9
call qword [r9 + 8]
mov rax, qword [0x14000c130]
xor edx, edx
mov r9, qword [rax + 0x40]
lea r8d, [rdx + 1]
mov rcx, r9
call qword [r9 + 0x38]
lea rcx, [0x140002a80]
mov eax, 0x80
movups xmm0, xmmword [rcx]
lea rdx, [rsp + 0x20]
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rdx], xmm0
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rdx + 0x10], xmm1
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rdx + 0x20], xmm0
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rdx + 0x30], xmm1
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rdx + 0x40], xmm0
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rdx + 0x50], xmm1
movups xmmword [rdx + 0x60], xmm0
add rdx, rax
movups xmm0, xmmword [rcx + 0x70]
add rcx, rax
movups xmmword [rdx - 0x10], xmm0
mov eax, dword [rcx]
mov dword [rdx], eax
movzx eax, word [rcx + 4]
mov word [rdx + 4], ax
lea rdx, [rsp + 0x20]
mov rax, qword [0x14000c130]
mov r8, qword [rax + 0x40]
mov rcx, r8
call qword [r8 + 8]
mov rax, qword [0x14000c130]
xor edx, edx
mov r9, qword [rax + 0x40]
lea r8d, [rdx + 2]
mov rcx, r9
call qword [r9 + 0x38]
movaps xmm0, xmmword [0x140002b10]
movaps xmm1, xmmword [0x140002b20]
mov eax, dword [0x140002b78]
movaps xmmword [rsp + 0x20], xmm0
movaps xmm0, xmmword [0x140002b30]
movaps xmmword [rsp + 0x40], xmm0
movaps xmm0, xmmword [0x140002b50]
movaps xmmword [rsp + 0x30], xmm1
movaps xmm1, xmmword [0x140002b40]
movaps xmmword [rsp + 0x60], xmm0
movsd xmm0, qword [0x140002b70]
movaps xmmword [rsp + 0x50], xmm1
movaps xmm1, xmmword [0x140002b60]
mov dword [rbp - 0x78], eax
mov rax, qword [0x14000c130]
movsd qword [rbp - 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm1
mov r8, qword [rax + 0x40]
lea rdx, [rsp + 0x20]
mov rcx, r8
call qword [r8 + 8]
mov rax, qword [0x14000c130]
xor edx, edx
mov r9, qword [rax + 0x40]
lea r8d, [rdx + 4]
mov rcx, r9
call qword [r9 + 0x38]
lea r11, [rsp + 0x820]
xor eax, eax
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret