Function at 0x18000cc70
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
sub rsp, 0x1a0
mov rax, qword [0x180070338]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov ebx, r9d
mov qword [rsp + 0x68], r8
imul eax, ebx, 0xd9
mov ecx, ebx
mov dword [rsp + 0x4c], ebx
mov r10, r8
mov dword [rsp + 0x30], ebx
mov r9, rdx
mov qword [rsp + 0x60], rdx
cmp ebx, eax
mov dword [rsp + 0x38], eax
mov rbx, qword [rsp + 0x40]
ja 0x18000ce0c
mov r15d, dword [rsp + 0x38]
movzx r14d, byte [rsp + 0x34]
mov r12d, dword [rsp + 0x38]
mov r13, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x40]
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], rbx
nop word [rax + rax]
cmp ecx, 0xbc
ja 0x18000cef3
je 0x18000ceca
mov eax, ecx
sub eax, 0xc
je 0x18000ce43
sub eax, 0x5b
je 0x18000ce3a
cmp eax, 0x49
jne 0x18000cdf7
cmp byte [0x180074ee9], 0
je 0x18000cdf7
mov ebx, dword [rsp + 0x48]
mov edi, 0xb3
mov r15, qword [rsp + 0x70]
nop word [rax + rax]
mov eax, edi
sub eax, 0xb0
je 0x18000cdc2
sub eax, 1
je 0x18000cd7e
sub eax, 1
je 0x18000cd71
cmp eax, 1
jne 0x18000cdc8
movzx r14d, al
xor r15d, r15d
jmp 0x18000cdc8
xor r13d, r13d
mov ebx, 0x36
xor r12d, r12d
jmp 0x18000cdc8
lea rax, [rsp + 0x80]
mov r9d, r12d
mov r8, r13
mov qword [rsp + 0x20], rax
mov edx, ebx
mov rcx, r15
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
je 0x18000cda5
xor r14b, r14b
jmp 0x18000cdc8
test r14b, r14b
je 0x18000cdc8
lea r9, [rsp + 0x80]
mov r8d, r12d
mov rdx, r13
mov ecx, ebx
call qword [sym.imp.SHELL32.dll_SHSetFolderPathA]
jmp 0x18000cdc8
call qword [0x180074ed0]
dec edi
cmp edi, 0xaf
ja 0x18000cd50
mov qword [rsp + 0x70], r15
mov r15, qword [rsp + 0x58]
mov dword [rsp + 0x48], ebx
mov rbx, qword [rsp + 0x50]
mov r9, qword [rsp + 0x60]
mov r10, qword [rsp + 0x68]
mov ecx, dword [rsp + 0x30]
imul eax, dword [rsp + 0x4c], 0x1f
add ecx, eax
mov dword [rsp + 0x30], ecx
cmp ecx, dword [rsp + 0x38]
jbe 0x18000cd00
mov rax, rbx
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.180058e50
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x1a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xor ebx, ebx
mov qword [rsp + 0x50], rbx
jmp 0x18000cdf7
cmp r9, 0x400c0000
je 0x18000cdf7
mov dword [rsp + 0x78], 0
mov ecx, 0x64
nop dword [rax]
mov eax, ecx
sub eax, 0x5d
je 0x18000cdf3
sub eax, 9
je 0x18000cfb5
sub eax, 5
je 0x18000cebf
sub eax, 7
je 0x18000cea8
cmp eax, 1
jne 0x18000ceb3
test rbp, rbp
je 0x18000cdf3
mov rax, qword [rsp + 0x78]
nop dword [rax]
cmp qword [rbp + 0x10], rax
jae 0x18000cdf3
mov rbp, qword [rbp + 0x18]
test rbp, rbp
jne 0x18000ce90
jmp 0x18000cdf3
mov rax, qword [0x1800643ee]
mov rbp, qword [rax + 0x18]
inc ecx
cmp ecx, 0x6b
jb 0x18000ce60
jmp 0x18000cdf3
mov eax, dword [0x180074acc]
jmp 0x18000cdf3
mov r15, 0xffffffffffffffff
inc r15
cmp byte [r10 + r15], 0
jne 0x18000ced1
mov rcx, qword [r9]
mov rdx, r10
movsxd r8, r15d
mov qword [rsp + 0x58], r15
call sub.VCRUNTIME140.dll_memcpy
jmp 0x18000cde9
cmp ecx, 0x180
je 0x18000cf1e
cmp ecx, 0xce0
je 0x18000ce0c
cmp ecx, 0x1780
jne 0x18000cdf7
movsxd rax, r15d
add qword [r9], rax
jmp 0x18000cdf7
mov eax, dword [r10]
test eax, eax
je 0x18000cf8f
cmp eax, 1
je 0x18000cf95
mov dword [rsp + 0x40], 0
mov ecx, 0x64
mov eax, ecx
sub eax, 0x5d
je 0x18000cf8b
sub eax, 9
je 0x18000cfb7
sub eax, 5
je 0x18000cf85
sub eax, 7
je 0x18000cf71
cmp eax, 1
jne 0x18000cf7c
test rsi, rsi
je 0x18000cf8b
mov rax, qword [rsp + 0x40]
nop dword [rax]
cmp qword [rsi + 0x10], rax
jae 0x18000cf8b
mov rsi, qword [rsi + 0x18]
test rsi, rsi
jne 0x18000cf60
jmp 0x18000cf8b
mov rax, qword [0x1800643ee]
mov rsi, qword [rax + 0x18]
inc ecx
cmp ecx, 0x6b
jb 0x18000cf37
jmp 0x18000cf8b
mov eax, dword [0x180074acc]
mov ecx, dword [rsp + 0x30]
cmp dword [r10], 1
jne 0x18000cfa5
mov eax, dword [r9 + 8]
or eax, 8
mov dword [r9 + 8], eax
jmp 0x18000cdf7
mov eax, dword [r9 + 8]
and eax, 0xfffffff7
mov dword [r9 + 8], eax
jmp 0x18000cdf7
jmp 0x18000cfb5
jmp 0x18000cfb7