Function at 0x180028270
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x280]
sub rsp, 0x380
mov rax, qword [0x18009a1f0]
xor rax, rsp
mov qword [rbp + 0x270], rax
mov qword [rsp + 0x40], r9
mov rsi, r8
mov rdi, rdx
mov r15d, ecx
mov ebx, ecx
imul r12d, ecx, 0x458
cmp ecx, r12d
ja 0x180028538
xor ecx, ecx
movabs rdx, 0xfffffffeffffffff
movzx r14d, byte [rsp + 0x30]
mov r13, qword [rsp + 0x48]
nop word [rax + rax]
cmp ebx, 0x1c106
ja 0x180028418
je 0x180028406
cmp ebx, 0x86
je 0x1800283f8
cmp ebx, 0x113
je 0x1800283e3
cmp ebx, 0x9664
je 0x180028327
cmp ebx, 0x12bb5
jne 0x180028526
mov dword [rsp + 0x34], ecx
jmp 0x180028526
mov qword [rsp + 0x50], rcx
xor edx, edx
mov r8d, 0x1c0
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0xf
mov byte [rsp + 0x58], 0
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdi + r8], 0
jne 0x180028360
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.180052d30
nop
lea r8, [rsp + 0x58]
mov rdx, qword [rsp + 0x40]
mov ecx, 0x33
call fcn.18006b710
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x1800283ca
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800283c5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180028562
call fcn.1800826c0
xor ecx, ecx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], 0xf
mov byte [rsp + 0x58], cl
jmp 0x18002851c
mov qword [rsp + 0x48], rcx
mov r14b, 1
mov dword [rsp + 0x38], 0x36
jmp 0x180028526
mov eax, dword [rdi + 8]
or eax, 8
mov dword [rdi + 8], eax
jmp 0x180028526
lea rcx, [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_OpenTraceW]
mov r13, rax
jmp 0x18002851a
cmp ebx, 0x25657
je 0x1800284e1
cmp ebx, 0x2eba8
je 0x1800284d1
cmp ebx, 0x380f9
jne 0x180028526
mov qword [rbp - 0x78], rcx
mov qword [rbp - 0x70], 0xf
mov byte [rsp + 0x78], 0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rsi + r8], 0
jne 0x180028454
mov rdx, rsi
lea rcx, [rsp + 0x78]
call fcn.180052d30
nop
mov r8, qword [rsp + 0x40]
mov edx, 0xae
lea rcx, [rsp + 0x78]
call fcn.18005aa60
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x1800284bd
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800284b8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180028569
call fcn.1800826c0
xor ecx, ecx
mov qword [rbp - 0x78], rcx
mov qword [rbp - 0x70], 0xf
mov byte [rsp + 0x78], cl
jmp 0x18002851c
test r14b, r14b
je 0x180028526
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_CloseTrace]
jmp 0x18002851a
lea rax, [r13 + 1]
test rdx, rax
movzx r14d, r14b
cmove r14d, ecx
lea rax, [rbp + 0x160]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov r9d, dword [rsp + 0x34]
mov r8, qword [rsp + 0x50]
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathAndSubDirA]
xor ecx, ecx
movabs rdx, 0xfffffffeffffffff
imul eax, r15d, 0x8b
add ebx, eax
cmp ebx, r12d
jbe 0x1800282e0
mov rcx, qword [rbp + 0x270]
xor rcx, rsp
call fcn.180082e70
mov rbx, qword [rsp + 0x3c0]
add rsp, 0x380
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3