Function at 0x14005a030
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x2f]
sub rsp, 0xc8
mov rax, qword [0x140093010]
xor rax, rsp
mov qword [rbp + 0x1f], rax
xor ebx, ebx
mov rax, rdx
and rax, 0xfffffffffffff000
mov r15, r8
add rax, 0x1000
mov r14, rdx
mov r9d, ebx
mov qword [rsp + 0x20], rax
lea r8, [rbx - 1]
mov edx, ebx
mov rsi, rcx
call fcn.14004d8c0
mov rdi, rax
test rax, rax
jne 0x14005a14f
mov dword [rbp - 0x59], 0xc654c623
mov ecx, 0x3988
mov dword [rbp - 0x55], 0xc65bc627
mov dword [rbp - 0x51], 0xc61cc63f
mov dword [rbp - 0x4d], 0xc658c610
mov dword [rbp - 0x49], 0xc6a1c6f4
mov dword [rbp - 0x45], 0xc6efc6e3
mov dword [rbp - 0x41], 0xc6eac6e8
mov dword [rbp - 0x3d], 0xc6e6c6e5
mov dword [rbp - 0x39], 0xc6ecc6fc
mov dword [rbp - 0x35], 0xc6fbc6aa
mov dword [rbp - 0x31], 0xc6eac6ed
mov dword [rbp - 0x2d], 0xc6fcc6eb
mov dword [rbp - 0x29], 0xc6f7c6b0
mov dword [rbp - 0x25], 0xc6e1c6fd
mov dword [rbp - 0x21], 0xc6f8c6b4
mov dword [rbp - 0x1d], 0xc6fbc6f2
mov word [rbp - 0x19], bx
mov byte [rbp - 0x17], 1
nop dword [rax]
movzx eax, bx
sub ax, cx
xor word [rbp + rbx*2 - 0x59], ax
inc rbx
cmp rbx, 0x20
jb 0x14005a110
mov byte [rbp - 0x17], 0
lea rdx, [rbp - 0x59]
mov rcx, qword [0x140070250]
call fcn.140054b30
lea rdx, [0x140054d10]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
xor eax, eax
jmp 0x14005a5fd
lea r8, [rax + 0x28]
mov dword [rbp + 0x17], ebx
mov r9d, 4
lea rdx, [rbp + 0x17]
mov rcx, rsi
call fcn.14004d3a0
test al, al
jne 0x14005a221
mov dword [rbp - 0x59], 0xc654c623
mov ecx, 0x3988
mov dword [rbp - 0x55], 0xc65bc627
mov dword [rbp - 0x51], 0xc61cc63f
mov dword [rbp - 0x4d], 0xc658c610
mov dword [rbp - 0x49], 0xc6a1c6f4
mov dword [rbp - 0x45], 0xc6e6c6f0
mov dword [rbp - 0x41], 0xc6e1c6e5
mov dword [rbp - 0x3d], 0xc6f3c6a6
mov dword [rbp - 0x39], 0xc6ecc6e0
mov dword [rbp - 0x35], 0xc6d4c6aa
mov dword [rbp - 0x31], 0xc6c9c6c1
mov dword [rbp - 0x2d], 0xc6afc6c2
mov dword [rbp - 0x29], 0xc6b1c6aa
mov dword [rbp - 0x25], 0xc6eac6f0
mov dword [rbp - 0x21], 0xc6f0c6e0
mov dword [rbp - 0x1d], 0xc6f8c6d5
mov dword [rbp - 0x19], 0xc6f7c6ed
mov dword [rbp - 0x15], 0xc6ee
mov byte [rbp - 0x11], 1
nop word [rax + rax]
movzx eax, bx
sub ax, cx
xor word [rbp + rbx*2 - 0x59], ax
inc rbx
cmp rbx, 0x23
jb 0x14005a200
mov byte [rbp - 0x11], 0
lea rdx, [rbp - 0x59]
jmp 0x14005a12c
mov eax, dword [rbp + 0x17]
mov qword [rsp + 0xc0], r12
cmp rax, r14
jae 0x14005a311
mov dword [rbp - 0x59], 0xc656c621
mov ecx, 0x3986
mov dword [rbp - 0x55], 0xc65dc621
mov dword [rbp - 0x51], 0xc610c63d
mov dword [rbp - 0x4d], 0xc6edc6f5
mov dword [rbp - 0x49], 0xc6edc6e6
mov dword [rbp - 0x45], 0xc6f1c6a3
mov dword [rbp - 0x41], 0xc6e6c6a6
mov dword [rbp - 0x3d], 0xc6e5c6e4
mov dword [rbp - 0x39], 0xc6e8c6e5
mov dword [rbp - 0x35], 0xc6f9c6ed
mov dword [rbp - 0x31], 0xc6afc6eb
mov dword [rbp - 0x2d], 0xc6ffc6f5
mov dword [rbp - 0x29], 0xc6e6c6fd
mov dword [rbp - 0x25], 0xc6fdc6f3
mov dword [rbp - 0x21], 0xc6fac6b6
mov dword [rbp - 0x1d], 0xc6f4c6fd
mov dword [rbp - 0x19], 0xc6e9c6f5
mov dword [rbp - 0x15], 0xc6b1c6e5
mov dword [rbp - 0x11], 0xc6fcc6be
mov dword [rbp - 0xd], 0xc6c4c6cc
mov dword [rbp - 9], 0xc6cdc6c3
mov dword [rbp - 5], 0xc6cbc6cd
mov dword [rbp - 1], 0xc687c6c1
mov dword [rbp + 3], 0xc6d9c6dd
mov word [rbp + 7], bx
mov byte [rbp + 9], 1
nop word [rax + rax]
movzx eax, bx
sub ax, cx
xor word [rbp + rbx*2 - 0x59], ax
inc rbx
cmp rbx, 0x30
jb 0x14005a2f0
mov byte [rbp + 9], 0
lea rdx, [rbp - 0x59]
jmp 0x14005a3ec
mov rdx, rdi
mov rcx, rsi
call fcn.14004daf0
mov r14, rax
test rax, rax
jne 0x14005a40d
mov dword [rbp - 0x59], 0xc654c623
mov ecx, 0x3988
mov dword [rbp - 0x55], 0xc65bc627
mov dword [rbp - 0x51], 0xc61cc63f
mov dword [rbp - 0x4d], 0xc658c610
mov dword [rbp - 0x49], 0xc6a1c6f4
mov dword [rbp - 0x45], 0xc6e6c6f1
mov dword [rbp - 0x41], 0xc6a5c6f0
mov dword [rbp - 0x3d], 0xc6e3c6eb
mov dword [rbp - 0x39], 0xc6a9c6e4
mov dword [rbp - 0x35], 0xc6eac6fa
mov dword [rbp - 0x31], 0xc6e8c6eb
mov dword [rbp - 0x2d], 0xc6afc6fd
mov dword [rbp - 0x29], 0xc6f0c6f3
mov dword [rbp - 0x25], 0xc6fbc6f1
mov dword [rbp - 0x21], 0xc6b9c6f1
mov dword [rbp - 0x1d], 0xc6f4c6b6
mov dword [rbp - 0x19], 0xc6fcc6f4
mov dword [rbp - 0x15], 0xc6f5c6fb
mov dword [rbp - 0x11], 0xc6f3c6f5
mov dword [rbp - 0xd], 0xc6bfc6f9
mov dword [rbp - 9], 0xc6d1c6d5
mov dword [rbp - 5], 0xc68c
mov byte [rbp - 1], 1
nop dword [rax + rax]
movzx eax, bx
sub ax, cx
xor word [rbp + rbx*2 - 0x59], ax
inc rbx
cmp rbx, 0x2b
jb 0x14005a3d0
mov byte [rbp - 1], 0
lea rdx, [rbp - 0x59]
mov rcx, qword [0x140070250]
call fcn.140054b30
lea rdx, [0x140054d10]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
jmp 0x14005a536
mov rdx, rdi
mov rcx, rsi
call fcn.14004dd40
mov dword [rbp - 0x55], 0xc65bc627
mov ecx, 0x3988
test al, al
jne 0x14005a553
mov dword [rbp - 0x59], 0xc654c623
mov dword [rbp - 0x51], 0xc61cc63f
mov dword [rbp - 0x4d], 0xc658c610
mov dword [rbp - 0x49], 0xc6a1c6f4
mov dword [rbp - 0x45], 0xc6ebc6e1
mov dword [rbp - 0x41], 0xc6ebc6e5
mov dword [rbp - 0x3d], 0xc6e2c6e1
mov dword [rbp - 0x39], 0xc6f9c6a8
mov dword [rbp - 0x35], 0xc6e4c6f8
mov dword [rbp - 0x31], 0xc6e8c6f8
mov dword [rbp - 0x2d], 0xc6fbc6ed
mov dword [rbp - 0x29], 0xc6fec6f9
mov dword [rbp - 0x25], 0xc6b3c6fc
mov dword [rbp - 0x21], 0xc6fac6f2
mov dword [rbp - 0x1d], 0xc6b7c6e4
mov dword [rbp - 0x19], 0xc6fdc6f5
mov dword [rbp - 0x15], 0xc6bbc6f6
mov dword [rbp - 0x11], 0xc6fcc6ec
mov dword [rbp - 0xd], 0xc6fac6f9
mov dword [rbp - 9], 0xc68dc6d3
mov dword [rbp - 5], 0xc6c0c682
mov dword [rbp - 1], 0xc6c0c6c8
mov dword [rbp + 3], 0xc6c9c6c7
mov dword [rbp + 7], 0xc6c7c6c1
mov dword [rbp + 0xb], 0xc68bc6cd
mov dword [rbp + 0xf], 0xc6ddc6d9
mov word [rbp + 0x13], bx
mov byte [rbp + 0x15], 1
nop word [rax + rax]
movzx eax, bx
sub ax, cx
xor word [rbp + rbx*2 - 0x59], ax
inc rbx
cmp rbx, 0x36
jb 0x14005a4f0
mov rcx, qword [0x140070250]
lea rdx, [rbp - 0x59]
mov byte [rbp + 0x15], 0
call fcn.140054b30
lea rdx, [0x140054d10]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov r8, rdi
mov rdx, r14
mov rcx, rsi
call fcn.14004df70
mov rdx, rdi
mov rcx, rsi
call fcn.14004e170
mov rdx, rdi
mov rcx, rsi
call fcn.14004e370
xor eax, eax
jmp 0x14005a5f5
mov dword [rbp - 0x59], 0xc652c623
mov dword [rbp - 0x51], 0xc611c63d
mov dword [rbp - 0x4d], 0xc610c612
mov dword [rbp - 0x49], 0xc6e0c6e3
mov dword [rbp - 0x45], 0xc6e6c6f6
mov dword [rbp - 0x41], 0xc6a5c6e0
mov dword [rbp - 0x3d], 0xc6e6c6f6
mov dword [rbp - 0x39], 0xc6ecc6ef
mov dword [rbp - 0x35], 0xc6abc6f9
mov dword [rbp - 0x31], 0xc6e2c6ea
mov dword [rbp - 0x2d], 0xc6afc6fc
mov dword [rbp - 0x29], 0xc6f5c6fd
mov dword [rbp - 0x25], 0xc6fe
mov byte [rbp - 0x21], 1
movzx eax, bx
sub ax, cx
xor word [rbp + rbx*2 - 0x59], ax
inc rbx
cmp rbx, 0x1b
jb 0x14005a5b2
mov rcx, qword [0x140070250]
lea rdx, [rbp - 0x59]
mov byte [rbp - 0x21], 0
call fcn.140054b30
lea rdx, [0x140054d10]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
test r15, r15
je 0x14005a5f2
mov qword [r15], rdi
mov rax, r14
mov r12, qword [rsp + 0xc0]
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.14006d260
add rsp, 0xc8
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret