Function at 0x1801e4560
Capabilities:
Contain obfuscated stackstrings
Get common file path

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x238]
sub rsp, 0x330
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1804ca010]
xor rax, rsp
mov qword [rbp + 0x220], rax
mov rdi, rdx
mov dword [rbp - 0x40], 0x61004d
mov dword [rbp - 0x3c], 0x720063
mov dword [rbp - 0x38], 0x6d006f
mov dword [rbp - 0x34], 0x640065
mov dword [rbp - 0x30], 0x46005c
mov dword [rbp - 0x2c], 0x61006c
mov dword [rbp - 0x28], 0x680073
mov dword [rbp - 0x24], 0x46005c
mov dword [rbp - 0x20], 0x61006c
mov dword [rbp - 0x1c], 0x680073
mov dword [rbp - 0x18], 0x650048
mov dword [rbp - 0x14], 0x70006c
mov dword [rbp - 0x10], 0x720065
mov dword [rbp - 0xc], 0x650053
mov dword [rbp - 8], 0x760072
mov dword [rbp - 4], 0x630069
mov dword [rbp], 0x2e0065
mov dword [rbp + 4], 0x780065
mov dword [rbp + 8], 0x65
xor esi, esi
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x10]
call sub.VCRUNTIME140.dll_memset
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 0x29]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
movdqa xmm1, xmmword [0x1803e6740]
movdqu xmmword [rsp + 0x60], xmm1
mov word [rsp + 0x50], si
lea rax, [rbp - 0x40]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], si
jne 0x1801e4680
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x50]
call fcn.180004e70
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x1803e6740]
movdqu xmmword [rsp + 0x40], xmm1
mov word [rsp + 0x30], si
lea rax, [rbp + 0x10]
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1801e46c0
mov r8, rbx
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x30]
call fcn.180004e70
nop
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x68]
call fcn.18015aa30
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x1801e4735
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801e4730
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801e4730
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
movdqa xmm0, xmmword [0x1803e6740]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], si
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x1801e478d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801e4788
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801e4788
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
movdqa xmm0, xmmword [0x1803e6740]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], si
lea rcx, [rbp - 0x68]
call fcn.180155ab0
test al, al
jne 0x1801e47b4
xor bl, bl
jmp 0x1801e4849
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x78]
call fcn.18017dd00
nop
mov r8, qword [rbp - 0x78]
test r8, r8
jne 0x1801e47d0
xor bl, bl
jmp 0x1801e47f4
lea rax, [rsp + 0x78]
cmp rdi, rax
je 0x1801e47f2
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rdx, qword [rsp + 0x78]
mov rcx, rdi
call fcn.180004e70
mov bl, 1
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x1801e4838
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801e4833
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801e4833
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], si
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x1801e488c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801e4887
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801e4887
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
movdqa xmm0, xmmword [0x1803e6740]
movdqu xmmword [rbp - 0x58], xmm0
mov word [rbp - 0x68], si
movzx eax, bl
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.180385c10
lea r11, [rsp + 0x330]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret