Function at 0x18000f180
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
sub rsp, 0x1e0
mov rax, qword [0x1801eef68]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
mov r14, qword [rsp + 0x240]
mov eax, r8d
mov ebx, dword [rsp + 0x60]
mov rdi, r9
mov r13, qword [rsp + 0x90]
mov r15d, r8d
mov dword [rsp + 0x5c], eax
mov rsi, rcx
mov r12d, dword [rsp + 0x5c]
mov r10d, 0x7f2bb742
mov ebp, dword [rsp + 0x5c]
mov r11d, 1
mov qword [rsp + 0x80], r9
xor r8d, r8d
mov qword [rsp + 0x48], rdx
lea r9, [0x180000000]
nop dword [rax]
add eax, 0xfffffff2
cmp r15d, eax
jbe case.0x18000f22d.27
lea eax, [r15 - 0x14]
cmp eax, 0x2c
ja case.0x18000f22d.34
movzx eax, byte [r9 + rax + 0xf770]
mov ecx, dword [r9 + rax*4 + 0xf734]
add rcx, r9
jmp rcx
test r12d, r12d
je 0x18000f309
mov edi, 0x12c
nop dword [rax]
mov eax, edi
sub eax, 0x12b
je 0x18000f291
cmp eax, 1
jne 0x18000f2f0
mov rdx, qword [rsi]
movsxd rcx, r12d
mov eax, dword [rdx + 0x40]
add rcx, qword [rdx + 0x58]
sub eax, r12d
mov rdx, qword [rdx + 0x48]
movsxd r8, eax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rsi]
mov r10d, 0x7f2bb742
mov eax, dword [rcx + 0x40]
sub eax, r12d
cdqe
add qword [rcx + 0x48], rax
mov eax, r12d
mov rcx, qword [rsi]
sub eax, dword [rcx + 0x40]
add dword [rcx + 0x50], eax
jmp 0x18000f2f0
mov rax, qword [rsi]
mov rcx, qword [rax + 0x58]
movups xmm0, xmmword [rcx]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [r14 + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [r14 + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [r14 + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [r14 + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [r14 + 0x50], xmm1
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [r14 + 0x60], xmm0
movups xmm1, xmmword [rcx + 0x70]
movups xmmword [r14 + 0x70], xmm1
mov rcx, qword [rsi]
mov eax, dword [rcx + 0x74]
test al, 4
cmovne ebp, r10d
and eax, 0xfffffffb
mov dword [rcx + 0x74], eax
dec edi
cmp edi, 0x12a
ja 0x18000f240
mov rax, qword [rsi]
dec dword [rax + 0x24]
jmp 0x18000f43f
movsxd r8, dword [rdx]
mov rcx, r14
mov rdx, qword [rsi]
mov rdx, qword [rdx + 0x48]
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rsi]
mov r10d, 0x7f2bb742
movsxd rax, dword [rcx + 0x40]
add qword [rcx + 0x48], rax
mov rcx, qword [rsi]
mov eax, dword [rcx + 0x40]
sub dword [rcx + 0x50], eax
mov rax, qword [rsi]
test byte [rax + 0x74], 2
je 0x18000f341
mov ebp, r10d
dec dword [rax + 0x24]
jmp 0x18000f43f
mov rax, qword [rsi]
mov ebx, ebp
mov dword [rsp + 0x60], ebx
dec r15d
mov ecx, dword [rax + 0x10]
mov eax, dword [rsp + 0x5c]
mov dword [rdi], ecx
mov rdi, qword [rsp + 0x80]
jmp 0x18000f200
mov rcx, qword [rsi]
test byte [rcx + 0x74], 0x10
je 0x18000f3ad
mov eax, dword [rcx + 0x20]
lea r9, [rsp + 0x68]
mov dword [rsp + 0x68], eax
lea r8, [rsp + 0x50]
mov rax, qword [rcx + 8]
mov edx, SHTestTokenMembership
lea rcx, [rsp + 0x98]
mov qword [rsp + 0x98], rax
mov word [rsp + 0x50], r11w
call fcn.180075960
test eax, eax
jne 0x18000f3c7
mov rcx, qword [rsi]
cmp dword [rcx + 0x24], 0
je 0x18000f3c7
cmp qword [rcx + 0x18], 0
jne 0x18000f3d3
test byte [rcx + 0x74], 8
je 0x18000f6f0
mov edi, 0x3a
inc edi
jmp 0x18000f5a8
movsxd rax, dword [rcx + 0x50]
cmp eax, dword [rcx + 0x40]
jge 0x18000f435
mov rdx, qword [rcx + 0x48]
mov r8, rax
mov rcx, qword [rcx + 0x58]
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi]
lea r8, [rsp + 0xa0]
xor edi, edi
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x30], rdi
lea rcx, [rsp + 0xb0]
mov dword [rsp + 0x28], 0xc6
xor r9d, r9d
mov r12d, dword [rax + 0x50]
xor edx, edx
mov qword [rsp + 0x20], rdi
call fcn.1800599c0
mov eax, dword [rax]
test eax, eax
jne 0x18000f706
jmp 0x18000f437
xor edi, edi
mov ebp, edi
mov r10d, 0x7f2bb742
mov rdx, qword [rsp + 0x48]
lea r9, [0x180000000]
xor r8d, r8d
lea r11d, [r8 + 1]
mov rdi, qword [rsp + 0x80]
dec r15d
mov eax, dword [rsp + 0x5c]
jmp 0x18000f200
mov rcx, qword [r14]
test rcx, rcx
je case.0x18000f22d.34
mov ebx, dword [rsp + 0x58]
mov r8d, ecx
mov rdx, rdi
mov ecx, dword [rsi]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__write]
movsxd rcx, eax
mov rax, qword [r14]
add rdi, rcx
sub rax, rcx
add ebx, ecx
mov qword [r14], rax
mov ecx, eax
test rax, rax
jne 0x18000f472
mov dword [rsp + 0x58], ebx
mov ebx, dword [rsp + 0x60]
mov qword [rsp + 0x80], rdi
jmp 0x18000f439
mov rax, qword [rsi]
mov rdi, qword [rsp + 0x80]
inc dword [rax + 0x10]
mov eax, dword [rsp + 0x5c]
dec r15d
jmp 0x18000f200
xor edx, edx
mov qword [rsp + 0x20], r8
xor r9d, r9d
mov r8, rsi
lea ecx, [rdx + 0x62]
call fcn.18000c4a0
cmp eax, 2
jne 0x18000f439
lea r8d, [rax + 0x2a]
mov dword [rsp + 0x70], 1
mov rdx, rsi
lea rcx, [rsp + 0x70]
call fcn.180049580
jmp 0x18000f439
mov edx, dword [rsp + 0x64]
lea rcx, [rsp + 0xc0]
mov eax, r11d
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x90]
xor r9d, r9d
xchg dword [r13 + 0x120], eax
mov dword [rsp + 0x78], r8d
mov r8, qword [rsp + 0x88]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov rdx, qword [rsp + 0x48]
lea r9, [0x180000000]
xor r8d, r8d
mov r10d, 0x7f2bb742
lea r11d, [r8 + 1]
test eax, eax
je case.0x18000f22d.34
mov rdi, qword [rsp + 0x80]
dec r15d
mov eax, dword [rsp + 0x5c]
mov byte [rsp + 0x40], r8b
jmp 0x18000f200
mov rdi, qword [rsp + 0x80]
mov r12d, r8d
mov eax, dword [rsp + 0x5c]
dec r15d
jmp 0x18000f200
mov rax, qword [rsi]
cmp dword [rax], 0x7f2bb704
jne 0x18000f6f7
cmp dword [rax + 0x24], 0
ja case.0x18000f22d.34
mov edi, 0x3a
cmp edi, 0x3d
jae 0x18000f439
mov eax, edi
sub eax, 0x3a
je 0x18000f3c7
sub eax, 1
je 0x18000f5f8
cmp eax, 1
jne 0x18000f3cc
mov rax, qword [rsi]
lea r8, [rsp + 0xa8]
xor edx, edx
mov qword [rsp + 0xa8], rax
xor r9d, r9d
lea ecx, [rdx + 0x2b]
call fcn.1800102c0
mov ebp, eax
test eax, eax
jne 0x18000f706
inc edi
jmp 0x18000f5a8
mov rcx, qword [rsi]
mov r15d, 0x3f
mov rax, qword [rcx + 0x60]
test rax, rax
je 0x18000f625
mov r9, qword [rcx + 0x68]
mov rdx, rcx
mov r8d, dword [rcx + 0x20]
mov rcx, qword [rcx + 8]
call rax
mov ebp, eax
test eax, eax
jne 0x18000f706
mov rax, qword [rsi]
cmp dword [rax + 0x2c], 0
ja 0x18000f3cc
mov rcx, qword [rsp + 0x80]
xor eax, eax
mov dword [rcx], 0
jmp 0x18000f706
cmp byte [rsp + 0x40], 0
je 0x18000f66d
mov r8d, dword [rsp + 0x78]
lea r9, [rsp + 0xc0]
mov rdx, qword [rsp + 0x88]
mov ecx, dword [rsp + 0x64]
call qword [sym.imp.SHELL32.dll_SHSetFolderPathA]
xor eax, eax
xor edi, edi
lock cmpxchg dword [r13 + 0x120], edi
je 0x18000f698
nop dword [rax]
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
lock cmpxchg dword [r13 + 0x120], edi
jne 0x18000f680
mov r15d, 0x30
jmp 0x18000f439
mov rdi, qword [rsp + 0x80]
mov r13, rsi
mov eax, dword [rsp + 0x5c]
dec r15d
mov byte [rsp + 0x40], 1
mov qword [rsp + 0x90], r8
mov dword [rsp + 0x64], 0x36
mov qword [rsp + 0x88], r8
jmp 0x18000f200
mov rdi, qword [rsp + 0x80]
dec r15d
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x58], r8d
jmp 0x18000f200
mov eax, 0x7f2bb73b
jmp 0x18000f706
mov eax, 0x7f2bb704
jmp 0x18000f706
mov eax, dword [rsp + 0x58]
jmp 0x18000f706
mov eax, ebx
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.1800d7250
mov rbx, qword [rsp + 0x230]
add rsp, 0x1e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret