Function at 0x14003de44
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1b8]
sub rsp, 0x2b8
mov rax, qword [0x1400b0290]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov r15, qword [rbp + 0x220]
mov edi, edx
mov dword [rsp + 0x20], edx
mov rbx, rcx
mov edx, 0x26
lea rcx, str.E54C3DE0_9E70_4eea_94B6_D069D4E4A9BC
mov rsi, r9
mov r13, r8
call fcn.140054204
mov r9d, 1
lea rdx, str.E54C3DE0_9E70_4eea_94B6_D069D4E4A9BC
mov r8d, eax
lea rcx, [rsp + 0x30]
call fcn.14003c050
lea r12, [rbx + 0x20]
cmp edi, 0x20
jb 0x14003e0a3
lea r14, [rbx + 0x10]
mov edi, 0x10
lea rcx, [rbp + 0x180]
mov r8d, edi
test r14, r14
je 0x14003dee1
mov rdx, r14
call fcn.140049a30
jmp 0x14003def8
xor edx, edx
call fcn.14004a0e0
call fcn.140053a68
mov dword [rax], 0x16
call fcn.1400538fc
mov r8, rdi
xor edx, edx
mov rcx, r14
call fcn.14004a0e0
test rbx, rbx
je 0x14003e0a3
mov r14d, dword [rsp + 0x20]
lea r8, [rbp + 0x190]
mov edx, r14d
mov r9d, edi
mov rcx, rbx
call fcn.14003c388
test eax, eax
jne 0x14003e0a3
mov r8, rdi
lea rdx, [rbp + 0x190]
lea rcx, [rbp + 0x180]
call fcn.14004ad50
test eax, eax
jne 0x14003e0a3
mov ecx, dword [rbx + 8]
add rcx, 0x20
cmp r14, rcx
jne 0x14003e0a3
cmp dword [rbx], 0x4752434d
jne 0x14003e0a3
test r13, r13
je 0x14003df76
mov eax, dword [rbx + 0xc]
mov dword [r13], eax
test r15, r15
jne 0x14003df82
xor esi, esi
jmp 0x14003e0a8
mov ecx, dword [r15]
mov eax, dword [rbx + 8]
mov dword [r15], eax
test rsi, rsi
je 0x14003e091
mov eax, dword [rbx + 8]
cmp eax, ecx
jbe 0x14003dfa5
mov esi, 0xea
jmp 0x14003e0a8
mov rbx, qword [rbp + 0x160]
mov rdi, qword [rbp + 0x158]
test r12, r12
je 0x14003e08a
cmp eax, 1
jb 0x14003e08a
test rdi, rdi
je 0x14003e08a
test rbx, rbx
je 0x14003e08a
test eax, eax
jle 0x14003e09f
mov cl, byte [rbp + 0x169]
sub r12, rsi
mov r10d, dword [rbp + 0x150]
mov r15, rax
xor r14d, r14d
test r10d, r10d
jle 0x14003e03b
lea rcx, [rsp + 0x30]
call fcn.14003c994
mov byte [rdi], al
lea rcx, [rsp + 0x30]
inc rdi
call fcn.14003c994
mov byte [rbx], al
inc r14d
mov r10d, dword [rbp + 0x150]
inc rbx
cmp r14d, r10d
jl 0x14003dffa
mov cl, byte [rbp + 0x169]
mov rbx, qword [rbp + 0x160]
mov rdi, qword [rbp + 0x158]
movsxd r8, dword [rbp + 0x154]
lea r9d, [r10 - 1]
mov al, byte [r12 + rsi]
lea rdx, [r8 + rdi]
test r9d, r9d
jle 0x14003e06b
sub r8, rdx
lea r11, [r8 + rbx]
sub al, byte [r11 + rdx]
dec r9d
xor al, byte [rdx]
dec rdx
test r9d, r9d
jg 0x14003e05a
sub al, byte [rbx]
xor al, byte [rdi]
xor al, cl
xor cl, al
mov byte [rsi], al
inc rsi
mov byte [rbp + 0x169], cl
sub r15, 1
jne 0x14003dff2
jmp 0x14003e09f
mov esi, 0x1771
jmp 0x14003e0b6
mov rbx, qword [rbp + 0x160]
mov rdi, qword [rbp + 0x158]
xor esi, esi
jmp 0x14003e0b6
mov esi, 0xd
mov rbx, qword [rbp + 0x160]
mov rdi, qword [rbp + 0x158]
test rdi, rdi
je 0x14003e0d6
lea rax, [rbp + 0x16a]
cmp rdi, rax
je 0x14003e0d6
mov rcx, rdi
call fcn.140047cd4
mov rbx, qword [rbp + 0x160]
test rbx, rbx
je 0x14003e0ef
lea rax, [rbp + 0x16f]
cmp rbx, rax
je 0x14003e0ef
mov rcx, rbx
call fcn.140047cd4
mov eax, esi
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.140047790
add rsp, 0x2b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret