Function at 0x1400504f0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r14
mov rbp, rsp
sub rsp, 0x80
mov r14, r9
mov rdi, r8
mov r12, rdx
mov rbx, rcx
test rdx, rdx
jne 0x1400505ed
mov dword [rbp - 0x60], 0x4ecf4eba
xor eax, eax
mov dword [rbp - 0x5c], 0x4ec44ebe
mov r8d, 0x4ee1
mov dword [rbp - 0x58], 0x4e894eab
mov dword [rbp - 0x54], 0x4e854ec7
mov dword [rbp - 0x50], 0x4e8e4e86
mov dword [rbp - 0x4c], 0x4e804e9e
mov dword [rbp - 0x48], 0x4ece4e88
mov dword [rbp - 0x44], 0x4e944e8e
mov dword [rbp - 0x40], 0x4e804e95
mov dword [rbp - 0x3c], 0x4e874e96
mov dword [rbp - 0x38], 0x4ed64e86
mov dword [rbp - 0x34], 0x4e974e83
mov dword [rbp - 0x30], 0x4e9c4ed9
mov dword [rbp - 0x2c], 0x4e924e92
mov dword [rbp - 0x28], 0x4ede4e99
mov dword [rbp - 0x24], 0x4f614e8f
mov dword [rbp - 0x20], 0x4f764f75
mov dword [rbp - 0x1c], 0x4f764f66
mov dword [rbp - 0x18], 0x4f6b
mov byte [rbp - 0x14], 1
nop
lea edx, [r8 + rax]
xor word [rbp + rax*2 - 0x60], dx
inc rax
cmp rax, 0x25
jb 0x1400505b0
mov byte [rbp - 0x14], 0
lea rdx, [rbp - 0x60]
mov rcx, qword [0x14006f250]
call fcn.140054ab0
lea rdx, [0x140054c90]
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 0x1400508f0
cmp rdi, 0x40000000
jbe 0x1400506bf
mov dword [rbp - 0x60], 0x4ecf4eba
xor eax, eax
mov dword [rbp - 0x5c], 0x4ec44ebe
mov r8d, 0x4ee1
mov dword [rbp - 0x58], 0x4e874ea6
mov dword [rbp - 0x54], 0x4ecf4e89
mov dword [rbp - 0x50], 0x4eca4e9d
mov dword [rbp - 0x4c], 0x4e854e8d
mov dword [rbp - 0x48], 0x4e8a4e83
mov dword [rbp - 0x44], 0x4e804ecf
mov dword [rbp - 0x40], 0x4e864e90
mov dword [rbp - 0x3c], 0x4e914e87
mov dword [rbp - 0x38], 0x4e984e87
mov dword [rbp - 0x34], 0x4ed84edb
mov dword [rbp - 0x30], 0x4e954ead
mov dword [rbp - 0x2c], 0x4edc4e94
mov dword [rbp - 0x28], 0x4e974e9f
mov dword [rbp - 0x24], 0x4f204e98
mov dword [rbp - 0x20], 0x4f674f72
mov dword [rbp - 0x1c], 0x4f704f60
mov dword [rbp - 0x18], 0x4f694f6c
mov dword [rbp - 0x14], 0x4f69
mov byte [rbp - 0x10], 1
nop dword [rax]
nop word [rax + rax]
lea edx, [r8 + rax]
xor word [rbp + rax*2 - 0x60], dx
inc rax
cmp rax, 0x27
jb 0x1400506a0
mov byte [rbp - 0x10], 0
lea rdx, [rbp - 0x60]
jmp 0x1400505ca
mov rcx, rdi
mov qword [rsp + 0xa8], r15
call fcn.14006ccc4
mov r9, rdi
mov r8, r12
mov rdx, rax
mov rcx, rbx
mov r15, rax
call fcn.14004d350
test al, al
jne 0x1400507bd
xor eax, eax
mov dword [rbp - 0x60], 0x4ecf4eba
mov word [rbp - 0x14], ax
mov r8d, 0x4ee1
mov dword [rbp - 0x5c], 0x4ec44ebe
mov dword [rbp - 0x58], 0x4e834eb7
mov dword [rbp - 0x54], 0x4e8c4e86
mov dword [rbp - 0x50], 0x4e8c4ec9
mov dword [rbp - 0x4c], 0x4e854e8a
mov dword [rbp - 0x48], 0x4e8b4e81
mov dword [rbp - 0x44], 0x4ed04e8b
mov dword [rbp - 0x40], 0x4e9c4e98
mov dword [rbp - 0x3c], 0x4eb24ed3
mov dword [rbp - 0x38], 0x4e984e9c
mov dword [rbp - 0x34], 0x4ea84e93
mov dword [rbp - 0x30], 0x4e8e4e98
mov dword [rbp - 0x2c], 0x4e994e8f
mov dword [rbp - 0x28], 0x4e904e8f
mov dword [rbp - 0x24], 0x4f744ebe
mov dword [rbp - 0x20], 0x4f674f4a
mov dword [rbp - 0x1c], 0x4f6a4f71
mov dword [rbp - 0x18], 0x4f6a4f60
mov byte [rbp - 0x12], 1
lea edx, [r8 + rax]
xor word [rbp + rax*2 - 0x60], dx
inc rax
cmp rax, 0x26
jb 0x140050780
mov rcx, qword [0x14006f250]
lea rdx, [rbp - 0x60]
mov byte [rbp - 0x12], 0
call fcn.140054ab0
lea rdx, [0x140054c90]
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 0x1400508e8
mov r10, qword [rbp + 0x40]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [r10 + rax], 0
jne 0x1400507d0
sub rdi, rax
mov qword [rsp + 0xa0], rsi
mov eax, 0
mov ebx, eax
je 0x140050841
movzx r11d, byte [r10]
mov rsi, r15
sub rsi, r14
nop dword [rax + rax]
mov r8, r10
mov rdx, r14
test r11b, r11b
je 0x140050830
movzx ecx, r11b
lea r9, [rsi + rbx]
cmp cl, 0x78
jne 0x140050821
movzx ecx, byte [rdx]
cmp byte [r9 + rdx], cl
jne 0x140050839
movzx ecx, byte [r8 + 1]
inc r8
inc rdx
test cl, cl
jne 0x140050813
cmp byte [r8], al
je 0x140050909
inc rbx
cmp rbx, rdi
jb 0x140050800
mov dword [rbp - 0x60], 0x4ecf4eba
mov r8d, 0x4ee1
mov dword [rbp - 0x5c], 0x4ec44ebe
mov dword [rbp - 0x58], 0x4e874ea6
mov dword [rbp - 0x54], 0x4ecf4e89
mov dword [rbp - 0x50], 0x4eca4e9d
mov dword [rbp - 0x4c], 0x4e854e8d
mov dword [rbp - 0x48], 0x4e8a4e83
mov dword [rbp - 0x44], 0x4e804ecf
mov dword [rbp - 0x40], 0x4e864e90
mov dword [rbp - 0x3c], 0x4e914e87
mov dword [rbp - 0x38], 0x4e984e87
mov word [rbp - 0x34], ax
mov byte [rbp - 0x32], 1
nop dword [rax]
lea edx, [r8 + rax]
xor word [rbp + rax*2 - 0x60], dx
inc rax
cmp rax, 0x16
jb 0x1400508a0
mov rcx, qword [0x14006f250]
lea rdx, [rbp - 0x60]
mov byte [rbp - 0x32], 0
call fcn.140054ab0
lea rdx, [0x140054c90]
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 rcx, r15
call fcn.14006c720
xor eax, eax
mov rsi, qword [rsp + 0xa0]
mov r15, qword [rsp + 0xa8]
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r12
pop rbp
ret
lea rcx, [rbx + r15]
test rcx, rcx
je 0x140050841
mov rcx, r15
call fcn.14006c720
lea rax, [rbx + r12]
jmp 0x1400508e0