Function at 0x18013e8a0
Capabilities:
Encode data using xor
Get session user name

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x458]
sub rsp, 0x558
mov qword [rbp - 0x68], 0xfffffffffffffffe
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov qword [rbp + 0x488], rax
lea rdx, [rbp + 0x488]
lea rcx, [rbp + 0x20]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64_s]
xor edi, edi
mov word [rbp + 0x50], di
mov ebx, 0x1fe
mov r8d, ebx
xor edx, edx
lea rcx, [rbp + 0x52]
call sub.VCRUNTIME140.dll_memset
mov word [rbp + 0x250], di
mov r8d, ebx
xor edx, edx
lea rcx, [rbp + 0x252]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp + 0x480], 0x100
mov ecx, dword [0x180195f94]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
lea esi, [rdi + 2]
mov eax, dword [rdx + rax]
cmp dword [0x1801a1044], eax
jle 0x18013ebd3
lea rcx, [0x1801a1044]
call fcn.180157af0
or rbx, 0xffffffffffffffff
cmp dword [0x1801a1044], ebx
jne 0x18013ebd3
lea rax, [rsp + 0x78]
mov qword [rbp + 0x490], rax
mov dword [rsp + 0x30], 0x1e
mov eax, dword [rsp + 0x30]
xor al, 0x47
mov byte [rsp + 0x34], al
mov eax, dword [rsp + 0x30]
inc al
mov cl, 0x65
xor al, cl
mov byte [rsp + 0x35], al
mov eax, dword [rsp + 0x30]
add al, sil
xor al, 0x74
mov byte [rsp + 0x36], al
mov eax, dword [rsp + 0x30]
add al, 3
xor al, 0x43
mov byte [rsp + 0x37], al
mov eax, dword [rsp + 0x30]
add al, 4
xor al, 0x6f
mov byte [rsp + 0x38], al
mov eax, dword [rsp + 0x30]
add al, 5
xor al, 0x6d
mov byte [rsp + 0x39], al
mov eax, dword [rsp + 0x30]
add al, 6
xor al, 0x70
mov byte [rsp + 0x3a], al
mov eax, dword [rsp + 0x30]
add al, 7
xor al, 0x75
mov byte [rsp + 0x3b], al
mov eax, dword [rsp + 0x30]
add al, 8
xor al, 0x74
mov byte [rsp + 0x3c], al
mov eax, dword [rsp + 0x30]
add al, 9
xor al, cl
mov byte [rsp + 0x3d], al
mov eax, dword [rsp + 0x30]
add al, 0xa
xor al, 0x72
mov byte [rsp + 0x3e], al
mov eax, dword [rsp + 0x30]
add al, 0xb
xor al, 0x4e
mov byte [rsp + 0x3f], al
mov eax, dword [rsp + 0x30]
add al, 0xc
xor al, 0x61
mov byte [rsp + 0x40], al
mov eax, dword [rsp + 0x30]
add al, 0xd
xor al, 0x6d
mov byte [rsp + 0x41], al
mov eax, dword [rsp + 0x30]
add al, 0xe
xor al, cl
mov byte [rsp + 0x42], al
mov eax, dword [rsp + 0x30]
add al, 0xf
xor al, 0x57
mov byte [rsp + 0x43], al
xor eax, eax
mov byte [rsp + 0x44], al
mov al, byte [rsp + 0x34]
mov edx, edi
mov al, byte [rsp + rdx + 0x34]
mov ecx, dword [rsp + 0x30]
add cl, dl
xor cl, al
mov byte [rsp + rdx + 0x34], cl
inc rdx
cmp rdx, 0x10
jb 0x18013ea3e
mov byte [rsp + 0x44], dil
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x70], rdi
lea rax, [rsp + 0x34]
mov r8, rbx
inc r8
cmp byte [rax + r8], dil
jne 0x18013ea74
lea rdx, [rsp + 0x34]
lea rcx, [rsp + 0x78]
call fcn.18000c7ac
nop
mov dword [rsp + 0x48], 0x28
mov byte [rsp + 0x4c], 0x43
mov byte [rsp + 0x4d], 0x4d
mov byte [rsp + 0x4e], 0x5a
mov byte [rsp + 0x4f], 0x46
mov byte [rsp + 0x50], 0x4d
mov byte [rsp + 0x51], 0x44
mov byte [rsp + 0x52], 0x1b
mov byte [rsp + 0x53], 0x1a
xor eax, eax
mov byte [rsp + 0x54], al
mov al, byte [rsp + 0x4c]
mov rdx, rdi
mov al, byte [rsp + rdx + 0x4c]
mov ecx, dword [rsp + 0x48]
xor cl, al
mov byte [rsp + rdx + 0x4c], cl
inc rdx
cmp rdx, 8
jb 0x18013eaca
mov byte [rsp + 0x54], dil
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
lea rax, [rsp + 0x4c]
inc rbx
cmp byte [rax + rbx], dil
jne 0x18013eafc
mov r8, rbx
lea rdx, [rsp + 0x4c]
lea rcx, [rsp + 0x58]
call fcn.18000c7ac
nop
lea rdx, [rsp + 0x58]
lea rcx, [rbp]
call fcn.1800ceb58
nop
mov qword [rsp + 0x20], rdi
mov r9b, 1
lea r8, [rsp + 0x78]
mov rdx, rax
lea rcx, [0x1801a17f0]
call fcn.180140cc4
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x18013eb84
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18013eb7f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18013eb7f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180157a14
movdqa xmm0, xmmword [0x180165930]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], dil
xor edx, edx
lea r8d, [rdx + 9]
lea rcx, [rsp + 0x4c]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
xor edx, edx
lea r8d, [rdx + 0x11]
lea rcx, [rsp + 0x34]
call qword [sym.imp.VCRUNTIME140.dll_memset]
lea rcx, [0x180163f78]
call fcn.1801579fc
nop
lea rcx, [0x1801a1044]
call fcn.180157a84
lea rdx, [rbp + 0x480]
lea rcx, [rbp + 0x50]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov dword [rbp + 0x480], 0x100
lea rbx, [0x1801a1800]
mov rcx, rbx
cmp qword [0x1801a1818], 0x10
cmovae rcx, qword [0x1801a1800]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x18013ec3e
mov rcx, rbx
cmp qword [0x1801a1818], 0x10
cmovae rcx, qword [0x1801a1800]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1801a17f8], rax
mov r8, rax
mov rdx, rbx
call fcn.1800150f8
lea rdx, [rbp + 0x480]
lea rcx, [rbp + 0x250]
call qword [0x1801a17f0]
cmp dword [rbp + 0x34], edi
jle 0x18013ecad
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov rdx, rsi
lea rcx, [rbp - 0x60]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov rdx, rsi
lea rcx, [rbp - 0x50]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov rdx, rsi
lea rcx, [rbp - 0x40]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov rdx, rsi
lea rcx, [rbp - 0x30]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov rdx, rsi
lea rcx, [rbp - 0x20]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov edx, 4
lea rcx, [rbp - 0x10]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
add rsp, 0x558
pop rdi
pop rsi
pop rbx
pop rbp
ret