Function at 0x140059f70
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 [0x140092010]
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.14004d870
mov rdi, rax
test rax, rax
jne 0x14005a08c
mov dword [rbp - 0x59], 0x17d217a5
mov ecx, 0x17fe
mov dword [rbp - 0x55], 0x1821185d
mov dword [rbp - 0x51], 0x18621841
mov dword [rbp - 0x4d], 0x1822186a
mov dword [rbp - 0x49], 0x18271872
mov dword [rbp - 0x45], 0x18651869
mov dword [rbp - 0x41], 0x18641866
mov dword [rbp - 0x3d], 0x186c186f
mov dword [rbp - 0x39], 0x186a187a
mov dword [rbp - 0x35], 0x18611830
mov dword [rbp - 0x31], 0x18741873
mov dword [rbp - 0x2d], 0x18661871
mov dword [rbp - 0x29], 0x18711836
mov dword [rbp - 0x25], 0x186b1877
mov dword [rbp - 0x21], 0x1876183a
mov dword [rbp - 0x1d], 0x18711878
mov word [rbp - 0x19], bx
mov byte [rbp - 0x17], 1
nop dword [rax]
lea eax, [rcx + rbx]
xor word [rbp + rbx*2 - 0x59], ax
inc rbx
cmp rbx, 0x20
jb 0x14005a050
mov byte [rbp - 0x17], 0
lea rdx, [rbp - 0x59]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140054ad0
lea rdx, [0x140054cb0]
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 0x14005a538
lea r8, [rax + 0x28]
mov dword [rbp + 0x17], ebx
mov r9d, 4
lea rdx, [rbp + 0x17]
mov rcx, rsi
call fcn.14004d360
test al, al
jne 0x14005a15e
mov dword [rbp - 0x59], 0x17d217a5
mov ecx, 0x17fe
mov dword [rbp - 0x55], 0x1821185d
mov dword [rbp - 0x51], 0x18621841
mov dword [rbp - 0x4d], 0x1822186a
mov dword [rbp - 0x49], 0x18271872
mov dword [rbp - 0x45], 0x186c187a
mov dword [rbp - 0x41], 0x186f186b
mov dword [rbp - 0x3d], 0x1879182c
mov dword [rbp - 0x39], 0x186a1866
mov dword [rbp - 0x35], 0x184e1830
mov dword [rbp - 0x31], 0x1857185f
mov dword [rbp - 0x2d], 0x18351858
mov dword [rbp - 0x29], 0x1837182c
mov dword [rbp - 0x25], 0x1860187a
mov dword [rbp - 0x21], 0x187e186e
mov dword [rbp - 0x1d], 0x1872185f
mov dword [rbp - 0x19], 0x1871186b
mov dword [rbp - 0x15], 0x1854
mov byte [rbp - 0x11], 1
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx + rbx]
xor word [rbp + rbx*2 - 0x59], ax
inc rbx
cmp rbx, 0x23
jb 0x14005a140
mov byte [rbp - 0x11], 0
lea rdx, [rbp - 0x59]
jmp 0x14005a069
mov eax, dword [rbp + 0x17]
mov qword [rsp + 0xc0], r12
cmp rax, r14
jae 0x14005a24e
mov dword [rbp - 0x59], 0x182d17a4
mov ecx, 0x17ff
mov dword [rbp - 0x55], 0x1822185c
mov dword [rbp - 0x51], 0x186b1840
mov dword [rbp - 0x4d], 0x186a1870
mov dword [rbp - 0x49], 0x18661863
mov dword [rbp - 0x45], 0x187e182e
mov dword [rbp - 0x41], 0x186d182b
mov dword [rbp - 0x3d], 0x18621861
mov dword [rbp - 0x39], 0x18731860
mov dword [rbp - 0x35], 0x18661870
mov dword [rbp - 0x31], 0x18341876
mov dword [rbp - 0x2d], 0x18781870
mov dword [rbp - 0x29], 0x186d1878
mov dword [rbp - 0x25], 0x1872187e
mov dword [rbp - 0x21], 0x1871183b
mov dword [rbp - 0x1d], 0x18731878
mov dword [rbp - 0x19], 0x18521870
mov dword [rbp - 0x15], 0x180e1858
mov dword [rbp - 0x11], 0x18471803
mov dword [rbp - 0xd], 0x18431849
mov dword [rbp - 9], 0x18461846
mov dword [rbp - 5], 0x18441840
mov dword [rbp - 1], 0x180c184c
mov dword [rbp + 3], 0x185e1858
mov word [rbp + 7], bx
mov byte [rbp + 9], 1
nop word [rax + rax]
lea eax, [rcx + rbx]
xor word [rbp + rbx*2 - 0x59], ax
inc rbx
cmp rbx, 0x30
jb 0x14005a230
mov byte [rbp + 9], 0
lea rdx, [rbp - 0x59]
jmp 0x14005a329
mov rdx, rdi
mov rcx, rsi
call fcn.14004daa0
mov r14, rax
test rax, rax
jne 0x14005a34a
mov dword [rbp - 0x59], 0x17d217a5
mov ecx, 0x17fe
mov dword [rbp - 0x55], 0x1821185d
mov dword [rbp - 0x51], 0x18621841
mov dword [rbp - 0x4d], 0x1822186a
mov dword [rbp - 0x49], 0x18271872
mov dword [rbp - 0x45], 0x186c187b
mov dword [rbp - 0x41], 0x182b187e
mov dword [rbp - 0x3d], 0x18691861
mov dword [rbp - 0x39], 0x182f1862
mov dword [rbp - 0x35], 0x18701860
mov dword [rbp - 0x31], 0x18761875
mov dword [rbp - 0x2d], 0x18351867
mov dword [rbp - 0x29], 0x18761875
mov dword [rbp - 0x25], 0x1871187b
mov dword [rbp - 0x21], 0x1837187f
mov dword [rbp - 0x1d], 0x187e183c
mov dword [rbp - 0x19], 0x187a1872
mov dword [rbp - 0x15], 0x184f1841
mov dword [rbp - 0x11], 0x184d184b
mov dword [rbp - 0xd], 0x18051843
mov dword [rbp - 9], 0x18571853
mov dword [rbp - 5], 0x1806
mov byte [rbp - 1], 1
nop dword [rax + rax]
lea eax, [rcx + rbx]
xor word [rbp + rbx*2 - 0x59], ax
inc rbx
cmp rbx, 0x2b
jb 0x14005a310
mov byte [rbp - 1], 0
lea rdx, [rbp - 0x59]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140054ad0
lea rdx, [0x140054cb0]
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 0x14005a473
mov rdx, rdi
mov rcx, rsi
call fcn.14004dcf0
mov dword [rbp - 0x55], 0x1821185d
mov ecx, 0x17fe
test al, al
jne 0x14005a490
mov dword [rbp - 0x59], 0x17d217a5
mov dword [rbp - 0x51], 0x18621841
mov dword [rbp - 0x4d], 0x1822186a
mov dword [rbp - 0x49], 0x18271872
mov dword [rbp - 0x45], 0x1861186b
mov dword [rbp - 0x41], 0x1865186b
mov dword [rbp - 0x3d], 0x1868186b
mov dword [rbp - 0x39], 0x187f182e
mov dword [rbp - 0x35], 0x187e1862
mov dword [rbp - 0x31], 0x18761866
mov dword [rbp - 0x2d], 0x18611877
mov dword [rbp - 0x29], 0x1878187f
mov dword [rbp - 0x25], 0x18391876
mov dword [rbp - 0x21], 0x1874187c
mov dword [rbp - 0x1d], 0x183d186e
mov dword [rbp - 0x19], 0x187b1873
mov dword [rbp - 0x15], 0x1801184c
mov dword [rbp - 0x11], 0x18421852
mov dword [rbp - 0xd], 0x18401843
mov dword [rbp - 9], 0x180b1855
mov dword [rbp - 5], 0x184a1808
mov dword [rbp - 1], 0x184e1846
mov dword [rbp + 3], 0x1843184d
mov dword [rbp + 7], 0x18411847
mov dword [rbp + 0xb], 0x18111857
mov dword [rbp + 0xf], 0x18431847
mov word [rbp + 0x13], bx
mov byte [rbp + 0x15], 1
nop word [rax + rax]
lea eax, [rcx + rbx]
xor word [rbp + rbx*2 - 0x59], ax
inc rbx
cmp rbx, 0x36
jb 0x14005a430
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea rdx, [rbp - 0x59]
mov byte [rbp + 0x15], 0
call fcn.140054ad0
lea rdx, [0x140054cb0]
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.14004df20
mov rdx, rdi
mov rcx, rsi
call fcn.14004e120
mov rdx, rdi
mov rcx, rsi
call fcn.14004e320
xor eax, eax
jmp 0x14005a530
mov dword [rbp - 0x59], 0x17d417a5
mov dword [rbp - 0x51], 0x186f1843
mov dword [rbp - 0x4d], 0x186a1868
mov dword [rbp - 0x49], 0x18661865
mov dword [rbp - 0x45], 0x186c187c
mov dword [rbp - 0x41], 0x182b186e
mov dword [rbp - 0x3d], 0x186c187c
mov dword [rbp - 0x39], 0x186a1869
mov dword [rbp - 0x35], 0x18311863
mov dword [rbp - 0x31], 0x187c1874
mov dword [rbp - 0x2d], 0x18351866
mov dword [rbp - 0x29], 0x1873187b
mov dword [rbp - 0x25], 0x1874
mov byte [rbp - 0x21], 1
nop
lea eax, [rcx + rbx]
xor word [rbp + rbx*2 - 0x59], ax
inc rbx
cmp rbx, 0x1b
jb 0x14005a4f0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea rdx, [rbp - 0x59]
mov byte [rbp - 0x21], 0
call fcn.140054ad0
lea rdx, [0x140054cb0]
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 0x14005a52d
mov qword [r15], rdi
mov rax, r14
mov r12, qword [rsp + 0xc0]
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.14006c830
add rsp, 0xc8
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret