Function at 0x1400054d0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x3a0]
sub rsp, 0x4a0
mov rax, qword [0x14007e018]
xor rax, rsp
mov qword [rbp + 0x390], rax
xor r12d, r12d
mov dword [rsp + 0x30], r12d
lea rax, [rbp + 0x180]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r12 + 0x10]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea r8, str.mx81jh1jkx9bah0b3vv4.txt
mov edx, 0x104
lea rcx, [rbp + 0x180]
call fcn.140040724
lea r8, [0x1400749a4]
lea rdx, [rbp + 0x180]
lea rcx, [rbp - 0x68]
call fcn.14003b6fc
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x140005a17
lea rdx, str.This_is_a_message._The_file_will_be_encrypted__n
call fcn.140001e90
mov rcx, qword [rbp - 0x68]
call fcn.140040448
lea rcx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x10]
call fcn.140003610
nop
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp + 0x90]
call fcn.140037260
lea rcx, [rbp + 0x90]
call fcn.140007460
nop
lea rdx, str._fakefile_created
lea rcx, [rbp + 0x90]
call fcn.14000b4c0
mov rcx, rax
lea rdx, [rbp + 0x180]
call fcn.14000b4c0
mov rcx, rax
call fcn.14000b730
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], r12w
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], r12w
mov dword [rsp + 0x30], 2
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rax
mov rcx, qword [rbp + 0x108]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140005665
mov rax, qword [rbp + 0xd8]
mov rdx, qword [rax]
test rdx, rdx
je 0x140005665
mov rax, qword [rbp + 0xb8]
mov r9, qword [rax]
cmp rdx, qword [rbp + 0x100]
cmovb rdx, qword [rbp + 0x100]
sub rdx, r9
jmp 0x140005696
test cl, 4
jne 0x1400056ce
mov rax, qword [rbp + 0xd0]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400056ce
mov rax, qword [rbp + 0xb0]
mov r9, qword [rax]
mov rax, qword [rbp + 0xe8]
movsxd rdx, dword [rax]
add rdx, rdx
sub rdx, r9
add rdx, rcx
mov rax, r9
sar rdx, 1
test rax, rax
je 0x1400056ce
lea rcx, [rsp + 0x38]
cmp rdx, 7
ja 0x1400056c8
mov qword [rsp + 0x48], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
call fcn.140036bb0
mov word [rsp + rbx + 0x38], r12w
jmp 0x1400056ce
call fcn.14000bc20
nop
lea r8, str.___createEncFile__
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x78]
call fcn.14000b7c0
nop
lea r9, [rsp + 0x38]
mov r8, rax
lea rcx, [rsp + 0x58]
call fcn.14000ccd0
nop
lea r9, [rsp + 0x58]
mov rdi, qword [rsp + 0x58]
mov r14, qword [rsp + 0x70]
cmp r14, 8
cmovae r9, rdi
mov r15, qword [rbp - 0x50]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
sub rax, r15
mov rsi, qword [rsp + 0x68]
cmp rsi, rax
ja 0x140005756
lea rax, [r15 + rsi]
mov qword [rbp - 0x50], rax
lea rbx, [rbp - 0x60]
cmp rcx, 8
cmovae rbx, qword [rbp - 0x60]
lea rcx, [rbx + r15*2]
lea r8, [rsi + rsi]
mov rdx, r9
call fcn.140036bb0
lea rax, [rsi + r15]
mov word [rbx + rax*2], r12w
jmp 0x140005771
mov qword [rsp + 0x20], rsi
mov rdx, rsi
lea rcx, [rbp - 0x60]
call fcn.14000c050
mov r14, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x58]
cmp r14, 8
jb 0x1400057ad
lea rdx, [r14*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400057a4
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005a4d
mov rcx, rdi
call fcn.140034fa8
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x1400057ee
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400057e9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005a53
call fcn.140034fa8
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], r12w
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x140005842
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000583d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005a59
call fcn.140034fa8
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], rax
lea rcx, [rbp + 0x10]
call fcn.140007f20
nop
lea r8, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae r8, qword [rbp - 0x60]
mov rax, qword [rbp - 0x50]
lea r9, [r8 + rax*2]
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x10]
call fcn.1400095b0
nop
lea rcx, [rbp + 0x10]
call fcn.140007e30
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rdx, qword [rbp - 0x40]
mov ecx, dword [rbp - 0x30]
call fcn.140003590
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x1400058f2
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400058ed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005a5f
call fcn.140034fa8
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], 0xf
mov byte [rbp - 0x40], 0
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x140005942
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000593d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005a65
call fcn.140034fa8
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], r12w
mov rax, qword [rbp + 0x90]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + rcx + 0x90], rax
mov rax, qword [rbp + 0x90]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx + 0x8c], edx
lea rcx, [rbp + 0x98]
call fcn.140007110
mov rax, qword [rbp + 0x90]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + rcx + 0x90], rax
mov rax, qword [rbp + 0x90]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rbp + rcx + 0x8c], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x118], rax
lea rcx, [rbp + 0x118]
call fcn.140014998
nop
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x140005a17
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005a12
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005a47
call fcn.140034fa8
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.140034cb0
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140041560
nop
call fcn.140041560
nop
call fcn.140041560
nop
call fcn.140041560
int3
call fcn.140041560
nop
call fcn.140041560
int3