Function at 0x18000e640
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 - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x1801eef68]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov r14, rdx
mov qword [rsp + 0x50], r9
lea edx, [rcx + 0x32c]
mov qword [rsp + 0x58], r8
mov dword [rsp + 0x40], ecx
mov esi, ecx
mov dword [rsp + 0x30], edx
cmp ecx, edx
jae case.0x18000e71c.7
movzx r15d, word [rsp + 0x30]
lea edx, [rcx - 0x66]
mov r12, qword [rsp + 0x60]
lea r10, [0x180000000]
mov r13d, dword [rsp + 0x44]
xor ebx, ebx
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], edx
nop dword [rax]
cmp edx, 0xe8
ja case.default.0x18000e6e0
movzx eax, byte [r10 + rdx + 0xea34]
mov ecx, dword [r10 + rax*4 + 0xea18]
add rcx, r10
jmp rcx
xor edx, edx
mov r8, r14
lea ecx, [rdx + 0x78]
call fcn.1800117a0
test al, al
jne 0x18000e7dd
mov edi, ebx
nop dword [rax]
cmp edi, 7
ja case.default.0x18000e71c
lea rdx, [0x180000000]
mov eax, edi
mov ecx, dword [rdx + rax*4 + 0xeb20]
add rcx, rdx
jmp rcx
mov eax, 0x2e6e
mov byte [rsp + 0x7d], bl
mov word [rsp + 0x7b], ax
jmp case.default.0x18000e71c
mov eax, 0x6f4e
mov word [rsp + 0x68], ax
jmp case.default.0x18000e71c
mov eax, 0x6e
mov word [rsp + 0x70], ax
mov eax, 0x61
mov word [rsp + 0x71], ax
mov eax, 0x74
mov word [rsp + 0x72], ax
mov eax, 0x69
mov word [rsp + 0x73], ax
mov dword [rsp + 0x74], 0x206576
jmp case.default.0x18000e71c
mov eax, 0x20
mov word [rsp + 0x6a], ax
mov eax, 0x61
mov word [rsp + 0x6b], ax
mov eax, 0x72
mov dword [rsp + 0x6c], 0x65746c
mov word [rsp + 0x6f], ax
jmp case.default.0x18000e71c
mov eax, 0x77
mov dword [rsp + 0x77], 0x6f6e6b
mov word [rsp + 0x7a], ax
jmp case.default.0x18000e71c
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
movzx r15d, ax
jmp case.default.0x18000e71c
movzx ecx, r15w
call qword [sym.imp.KERNEL32.dll_GlobalDeleteAtom]
mov byte [rsp + 0x38], bl
inc edi
lea eax, [rdi + 0x7c]
cmp eax, 0x84
jb 0x18000e700
cmp qword [r14 + 0x30], rbx
jne 0x18000e8c6
mov edi, 0xb3
nop dword [rax]
mov eax, edi
sub eax, 0xb3
je 0x18000e8a7
sub eax, 1
je 0x18000e83c
cmp eax, 1
jne 0x18000e8b8
mov r9d, dword [rsp + 0x48]
lea rax, [rbp - 0x80]
mov r8, qword [rsp + 0x60]
mov edx, r13d
mov qword [rsp + 0x28], rax
mov rcx, r12
mov qword [rsp + 0x20], rbx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathAndSubDirA]
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x18000e8b8
mov ecx, dword [r14 + 0x28]
xor r9d, r9d
mov rdx, qword [r14 + 0x30]
mov qword [rsp + 0x60], rbx
mov dword [rsp + 0x48], ebx
lea rax, [rcx + rcx*2]
lea r8d, [rcx + rcx*2]
shl rax, 4
add rax, qword [r14 + 0x10]
lea ecx, [r9 + 8]
shl r8d, 4
mov qword [r14 + 0x38], rax
call qword [r14 + 0x20]
test eax, eax
je 0x18000e8b8
mov byte [rsp + 0x38], bl
mov rax, qword [rsp + 0x38]
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.1800d7250
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x1a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [r14 + 0x10]
mov r12, rbx
mov qword [r14 + 0x30], rax
mov r13d, 0x36
inc edi
cmp edi, 0xb6
jb 0x18000e7f0
mov eax, dword [r14 + 0x28]
xor r9d, r9d
mov rdx, qword [r14 + 0x38]
lea r8d, [rax + rax*2]
shl r8d, 4
lea ecx, [r9 + 8]
call qword [r14 + 0x20]
test eax, eax
jne 0x18000e874
mov qword [rsp + 0x28], rbx
lea edx, [rax + 0x73]
xor r9d, r9d
mov qword [rsp + 0x20], r14
xor r8d, r8d
xor ecx, ecx
call fcn.18007e6f0
mov edx, dword [rsp + 0x34]
lea r10, [0x180000000]
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
jmp case.0x18000e6e0.6
mov rcx, qword [r14 + 0x30]
mov rax, qword [r14 + 0x38]
mov qword [r14 + 0x30], rax
mov qword [r14 + 0x38], rcx
mov byte [rsp + 0x38], 1
jmp case.0x18000e6e0.6
mov rdi, qword [r14]
mov rsi, qword [r14 + 8]
mov dword [rsp + 0x44], ebx
cmp rdi, rsi
je 0x18000e962
nop dword [rax]
mov r8, qword [rdi]
mov edx, 0xdf
mov rcx, r9
call fcn.18003cba0
test al, al
jne 0x18000e9a3
mov r9, qword [rsp + 0x50]
add rdi, 8
cmp rdi, rsi
jne 0x18000e940
mov edx, 0x200
lea rcx, [rsp + 0x44]
call qword [sym.imp.SHELL32.dll_SHGetSettings]
mov esi, dword [rsp + 0x40]
mov byte [rsp + 0x38], bl
jmp 0x18000e8ff
movzx eax, byte [r8]
cmp al, 0xff
jne 0x18000e9ad
mov eax, dword [rsp + 0x30]
add esi, 0x74
add edx, 0x74
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x34], edx
cmp esi, eax
jb 0x18000e6c0
jmp case.0x18000e71c.7
mov byte [rsp + 0x38], 1
jmp case.0x18000e71c.7
cmp al, 5
jae 0x18000ea06
shl rax, 4
add rax, r14
movzx ecx, byte [rax + 4]
cmp cl, 0x83
je 0x18000e87d
test cl, cl
jne 0x18000e9d5
mov byte [r8], 0xfe
mov rax, rbx
jmp 0x18000e87d
cmp cl, 0x82
jne 0x18000ea06
mov byte [r8], 0xfd
mov rax, rbx
jmp 0x18000e87d
mov ecx, ebx
nop dword [rax + rax]
mov eax, ecx
shl rax, 4
add rax, r14
cmp byte [rax + 4], 0x83
je 0x18000ea0e
inc ecx
cmp ecx, 4
jb 0x18000e9f0
mov rax, rbx
jmp 0x18000e87d
mov byte [r8], cl
jmp 0x18000e87d