Function at 0x180011b90
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov rax, qword [0x1800cd230]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov r10, r9
mov qword [rsp + 0x68], r9
mov ebx, r8d
mov dword [rsp + 0x48], ebx
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x58], rcx
movdqa xmm0, xmmword [0x1800c4e00]
movdqa xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x50], 0
movdqa xmm1, xmm0
movdqa xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
xor r8d, r8d
mov qword [rbp - 0x80], r8
lea edi, [rbx + 7]
mov dword [rsp + 0x40], edi
cmp ebx, edi
jae 0x180011cd2
lea r13d, [rbx - 0xfa]
lea rdx, [0x180000000]
movzx edi, byte [rsp + 0x48]
mov r12, qword [rsp + 0x60]
mov esi, dword [rsp + 0x40]
mov r14, qword [rsp + 0x60]
mov r15d, dword [rsp + 0x40]
mov eax, dword [rsp + 0x40]
cmp r13d, 0xf
ja 0x180011eec
mov ecx, dword [rdx + r13*4 + 0x12060]
add rcx, rdx
jmp rcx
mov eax, ebx
sub eax, 0x5e
je 0x180011dbc
sub eax, 0x1f
je 0x180011d80
cmp eax, 0x1f
jne 0x180011dcd
mov byte [rsp + 0x50], 0
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x70]
test rdi, rdi
je 0x180011fad
mov rsi, qword [rsp + 0x78]
xor r14d, r14d
cmp rdi, rsi
je 0x180011d45
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x180011d28
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x180011d23
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180011d79
mov rcx, r8
call fcn.1800a7360
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 0xf
mov byte [rdi], r14b
add rdi, 0x20
cmp rdi, rsi
jne 0x180011cf2
mov rdi, qword [rsp + 0x70]
mov rdx, qword [rbp - 0x80]
sub rdx, rdi
and rdx, 0xffffffffffffffe0
mov rax, rdi
cmp rdx, 0x1000
jb 0x180011f98
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180011f98
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
mov r9d, r15d
mov r8, r14
mov edx, esi
mov rcx, r12
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x180011da3
xor dil, dil
jmp 0x180011dcd
test dil, dil
je 0x180011dcd
lea r9, [rbp - 0x10]
mov r8d, r15d
mov rdx, r14
mov ecx, esi
call qword [sym.imp.SHELL32.dll_SHSetFolderPathW]
jmp 0x180011dcd
mov dil, 1
xor r12d, r12d
lea esi, [r12 + 0x36]
xor r14d, r14d
xor r15d, r15d
add ebx, 0x1f
cmp ebx, 0xbb
jb 0x180011cb0
mov ebx, dword [rsp + 0x48]
mov rax, qword [rsp + 0x58]
movzx eax, word [rax]
mov word [rsp + 0x48], ax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x70]
xor r8d, r8d
lea rdx, [rsp + 0x48]
lea ecx, [r8 + 0x67]
call fcn.1800575f0
mov byte [rsp + 0x50], 1
jmp 0x180011ed9
xor r8d, r8d
mov r10, qword [rsp + 0x68]
lea rdx, [0x180000000]
mov eax, dword [rsp + 0x40]
inc ebx
mov dword [rsp + 0x48], ebx
inc r13d
cmp ebx, eax
jae 0x180011cd2
jmp 0x180011c40
mov rcx, rdi
call fcn.1800a7360
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r14
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x180011fe4
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180011fdf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180012027
call fcn.1800a7360
movdqa xmm0, xmmword [0x1800c4e00]
movdqa xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x180012033
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001202e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001202e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800a7360
mov rax, rbx
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.1800a7b10
mov rbx, qword [rsp + 0x360]
add rsp, 0x310
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret