Function at 0x1400051f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
xor edx, edx
mov cl, 0x6e
call fcn.140001b40
mov edx, 1
mov byte [rbp - 0x30], al
mov cl, 0x74
call fcn.140001b40
mov edx, 2
mov byte [rbp - 0x2f], al
mov cl, 0x64
movzx edi, al
call fcn.140001b40
mov edx, 3
mov byte [rbp - 0x2e], al
mov cl, 0x6c
call fcn.140001b40
mov edx, 4
mov byte [rbp - 0x2d], al
call fcn.140001b40
mov edx, 5
mov byte [rbp - 0x2c], al
mov cl, 0x2e
call fcn.140001b40
mov edx, 6
mov byte [rbp - 0x2b], al
mov cl, 0x64
call fcn.140001b40
mov edx, 7
mov byte [rbp - 0x2a], al
mov cl, 0x6c
call fcn.140001b40
mov edx, 8
mov byte [rbp - 0x29], al
call fcn.140001b40
mov byte [rbp - 0x28], al
xor eax, eax
xor ebx, ebx
mov byte [rbp - 0x27], al
mov edx, ebx
nop
movsxd rax, edx
lea rcx, [rbp - 0x30]
add rcx, rax
lea eax, [rdx - 0x16]
inc edx
xor byte [rcx], al
cmp edx, 9
jb 0x140005290
lea rcx, [rbp - 0x30]
mov byte [rbp - 0x27], bl
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r8, rax
test rax, rax
je 0x14000546b
xor edx, edx
mov cl, 0x4e
call fcn.140001b40
mov edx, 2
mov byte [rbp - 0x20], al
mov cl, 0x51
mov byte [rbp - 0x1f], dil
call fcn.140001b40
mov edx, 3
mov byte [rbp - 0x1e], al
mov cl, 0x75
call fcn.140001b40
mov edx, 4
mov byte [rbp - 0x1d], al
mov cl, 0x65
call fcn.140001b40
mov edx, 5
mov byte [rbp - 0x1c], al
mov cl, 0x72
call fcn.140001b40
mov edx, 6
mov byte [rbp - 0x1b], al
mov cl, 0x79
call fcn.140001b40
mov edx, 7
mov byte [rbp - 0x1a], al
mov cl, 0x53
call fcn.140001b40
mov edx, 8
mov byte [rbp - 0x19], al
mov cl, 0x79
call fcn.140001b40
mov edx, 9
mov byte [rbp - 0x18], al
mov cl, 0x73
call fcn.140001b40
mov edx, 0xa
mov byte [rbp - 0x17], al
mov cl, 0x74
call fcn.140001b40
mov edx, 0xb
mov byte [rbp - 0x16], al
mov cl, 0x65
call fcn.140001b40
mov edx, 0xc
mov byte [rbp - 0x15], al
mov cl, 0x6d
call fcn.140001b40
mov edx, 0xd
mov byte [rbp - 0x14], al
mov cl, 0x49
call fcn.140001b40
mov edx, 0xe
mov byte [rbp - 0x13], al
mov cl, 0x6e
call fcn.140001b40
mov edx, 0xf
mov byte [rbp - 0x12], al
mov cl, 0x66
call fcn.140001b40
mov edx, 0x10
mov byte [rbp - 0x11], al
mov cl, 0x6f
call fcn.140001b40
mov edx, 0x11
mov byte [rbp - 0x10], al
mov cl, 0x72
call fcn.140001b40
mov edx, 0x12
mov byte [rbp - 0xf], al
mov cl, 0x6d
call fcn.140001b40
mov edx, 0x13
mov byte [rbp - 0xe], al
mov cl, 0x61
call fcn.140001b40
mov edx, 0x14
mov byte [rbp - 0xd], al
mov cl, 0x74
call fcn.140001b40
mov byte [rbp - 0xc], al
mov edx, 0x15
mov cl, 0x69
call fcn.140001b40
mov edx, 0x16
mov byte [rbp - 0xb], al
mov cl, 0x6f
call fcn.140001b40
mov edx, 0x17
mov byte [rbp - 0xa], al
mov cl, 0x6e
call fcn.140001b40
mov byte [rbp - 9], al
xor eax, eax
mov byte [rbp - 8], al
nop
movsxd rax, ebx
lea rcx, [rbp - 0x20]
add rcx, rax
lea eax, [rbx - 0x16]
inc ebx
xor byte [rcx], al
cmp ebx, 0x18
jb 0x140005420
lea rdx, [rbp - 0x20]
mov byte [rbp - 8], 0
mov rcx, r8
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
movzx ecx, byte [rax]
cmp cl, 0xe9
je 0x14000546b
cmp cl, 0x90
je 0x14000546b
cmp cl, 0xc3
je 0x14000546b
xor al, al
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret
mov rbx, qword [rsp + 0x60]
mov al, 1
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret