Function at 0x18003a048
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x68]
sub rsp, 0x160
mov rax, qword [0x18011a010]
xor rax, rsp
mov qword [rbp + 0x58], rax
xor esi, esi
xor ecx, ecx
call fcn.18001d374
mov rbx, qword [0x18011dcc0]
mov dword [rbx + 0xb64], 0x41100000
mov qword [rbx + 0x20], rsi
mov qword [rbx + 0x28], rsi
or dword [rbx + 8], 0x20
mov dword [rbx + 0x1d48], esi
lea r9, [rbp + 0x30]
xor r8d, r8d
xor edx, edx
lea rcx, [0x1800a0660]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x18003a3a7
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x38]
call fcn.18003c164
nop
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
xor edx, edx
mov r8d, 0x88
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll_memset
mov byte [rbp - 0x54], 1
lea ecx, [rsi + 3]
mov dword [rbp - 0x48], ecx
mov dword [rbp - 0x1c], 0x7f7fffff
mov dword [rbp - 0x10], 0x3f800000
mov eax, 0xffff
mov word [rbp - 0xc], ax
mov dword [rbp - 0x44], ecx
mov rdi, qword [rbx + 0x58]
lea rax, str.tahoma.ttf
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0xa
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.18003d6cc
nop
lea r8, [rsp + 0x60]
lea rdx, [rbp + 0x38]
lea rcx, [rbp - 0x80]
call fcn.180038cd4
nop
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.180038b74
nop
cmp qword [rax + 0x18], 0x10
jb 0x18003a15c
mov rax, qword [rax]
lea r9, [rbp - 0x60]
movss xmm2, dword [0x180113154]
mov rdx, rax
mov rcx, rdi
call fcn.18002178c
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x18003a1b4
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003a1af
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003a1af
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18009d47c
movdqa xmm0, xmmword [0x180113260]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], sil
lea rcx, [rbp - 0x80]
call fcn.18003bd0c
nop
lea rcx, [rsp + 0x60]
call fcn.18003bd0c
mov rdi, qword [rbx + 0x58]
lea rax, str.segoeui.ttf
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0xb
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.18003d6cc
nop
lea r8, [rsp + 0x60]
lea rdx, [rbp + 0x38]
lea rcx, [rbp - 0x80]
call fcn.180038cd4
nop
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.180038b74
nop
cmp qword [rax + 0x18], 0x10
jb 0x18003a22f
mov rax, qword [rax]
lea r9, [rbp - 0x60]
movss xmm2, dword [0x180113154]
mov rdx, rax
mov rcx, rdi
call fcn.18002178c
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x18003a287
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003a282
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003a282
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18009d47c
movdqa xmm0, xmmword [0x180113260]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], sil
lea rcx, [rbp - 0x80]
call fcn.18003bd0c
nop
lea rcx, [rsp + 0x60]
call fcn.18003bd0c
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
movss xmm3, dword [0x180113150]
lea rdx, [0x1800ac420]
mov rcx, qword [rbx + 0x58]
call fcn.180021b00
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
movss xmm3, dword [0x180113160]
lea rdx, [0x1800ac420]
mov rcx, qword [rbx + 0x58]
call fcn.180021b00
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
movss xmm3, dword [0x180113148]
lea rdi, [0x1800cfce0]
mov rdx, rdi
mov rcx, qword [rbx + 0x58]
call fcn.180021b00
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
movss xmm3, dword [0x180113160]
mov rdx, rdi
mov rcx, qword [rbx + 0x58]
call fcn.180021b00
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
movss xmm3, dword [0x180113164]
mov rdx, rdi
mov rcx, qword [rbx + 0x58]
call fcn.180021b00
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
movss xmm3, dword [0x180113150]
lea rdx, [0x1800ab8f0]
mov rcx, qword [rbx + 0x58]
call fcn.180021b00
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
movss xmm3, dword [0x180113170]
lea rdx, [0x1800ab8f0]
mov rcx, qword [rbx + 0x58]
call fcn.180021b00
mov qword [0x18011dcd8], rax
lea rcx, [rbp + 0x38]
call fcn.18003bd0c
mov rcx, qword [rbp + 0x58]
xor rcx, rsp
call fcn.18009d0f0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret