Function at 0x180027110
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x110]
sub rsp, 0x210
mov rax, qword [0x180070338]
xor rax, rsp
mov qword [rbp + 0x100], rax
mov rbx, r9
mov qword [rsp + 0x48], rbx
mov r12, r8
mov qword [rbp - 0x80], r8
mov eax, edx
mov dword [rsp + 0x5c], edx
mov r14, rcx
mov qword [rsp + 0x60], rcx
xor edi, edi
mov dword [rsp + 0x50], edi
mov qword [rbp - 0x48], rdi
mov r13d, ILClone
mov qword [rbp - 0x40], r13
mov byte [rbp - 0x58], dil
add edx, 0xfffffff8
mov dword [rsp + 0x30], edx
cmp eax, edx
jbe case.0x1800271b4.154
mov rsi, qword [rsp + 0x48]
movzx r15d, byte [rsp + 0x40]
mov dword [rsp + 0x44], r15d
lea r8, [0x180000000]
add eax, 0xffffff66
cmp eax, 0x12
ja case.0x1800271b4.157
mov ecx, dword [r8 + rax*4 + 0x27a3c]
add rcx, r8
jmp rcx
mov rcx, qword [r14]
mov rdx, qword [rsp + 0x70]
sub rcx, rdx
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x60], ILClone
mov byte [rbp - 0x78], 0
mov rax, qword [r12 + 0x10]
cmp rax, rcx
jb 0x180027a2d
sub rax, rcx
mov r8, rdx
cmp rax, rdx
cmovb r8, rax
mov rax, r12
cmp qword [r12 + 0x18], 0x10
jb 0x1800271fb
mov rax, qword [r12]
lea rdx, [rax + rcx]
lea rcx, [rbp - 0x78]
call fcn.18002c030
or dword [rsp + 0x50], 1
lea r15, [rbp - 0x78]
mov r13, qword [rbp - 0x78]
mov r12, qword [rbp - 0x60]
cmp r12, 0x10
cmovae r15, r13
mov r14, qword [rbp - 0x68]
cmp r14, 0x10
jae 0x180027239
movups xmm0, xmmword [r15]
mov qword [rbp - 0x20], ILClone
jmp 0x1800272b7
mov rbx, r14
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x18002728d
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180027a33
mov rcx, rax
call fcn.180058660
mov rcx, rax
test rax, rax
je 0x18002798f
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x18002729c
test rcx, rcx
je 0x180027299
call fcn.180058660
jmp 0x18002729c
mov rax, rdi
mov qword [rbp - 0x38], rax
lea r8, [r14 + 1]
mov rdx, r15
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp - 0x20], rbx
movups xmm0, xmmword [rbp - 0x38]
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x28], r14
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x1800272fa
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800272f5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002798f
call fcn.18005869c
movups xmm0, xmmword [rbp - 0x78]
movups xmmword [rbp - 0x58], xmm0
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [rbp - 0x48], xmm0
cmp r12, 0x10
jb 0x180027342
lea rdx, [r12 + 1]
mov rax, r13
cmp rdx, 0x1000
jb 0x18002733a
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800279a7
mov rcx, r13
call fcn.18005869c
mov r12, qword [rbp - 0x80]
mov r9, r12
xor r8d, r8d
lea edx, [r8 + 3]
mov r14, qword [rsp + 0x60]
mov rcx, r14
call fcn.180014620
test al, al
jne 0x18002738b
mov ecx, 0x2a
nop word [rax + rax]
mov eax, ecx
sub eax, 0x27
je 0x180027996
sub eax, 1
jne 0x180027384
mov byte [rsp + 0x38], al
dec ecx
cmp ecx, 0x26
ja 0x180027370
mov r13, qword [rbp - 0x40]
jmp 0x18002796a
mov rsi, qword [r12]
jmp case.0x1800271b4.157
mov rbx, qword [r12 + 0x18]
test rbx, rbx
je 0x180027701
nop dword [rax + rax]
lea rax, [rbx + rbx*4]
lea r9, [rsi + rax*8]
mov rax, qword [r9 + 8]
cmp qword [r14], rax
ja 0x1800276f0
mov r15d, 0xbe
nop dword [rax + rax]
cmp r15d, 0xbe
je 0x1800276a0
cmp r15d, 0x16f
je 0x180027454
cmp r15d, 0x220
je 0x18002744a
cmp r15d, 0x2d1
jne 0x1800276da
mov rax, qword [r12 + 0x38]
cmp qword [r12 + 0x30], rax
jb 0x180027440
lea rsi, [rax + rax]
lea rax, [rsi*8]
mov qword [rsp + 0x48], rax
lea r8, [rsp + 0x48]
mov rdx, qword [r12 + 0x28]
mov ecx, SHSetFolderPathA
call fcn.18000b0a0
test rax, rax
je 0x1800279f3
mov qword [r12 + 0x28], rax
mov qword [r12 + 0x38], rsi
dec qword [r12 + 0x20]
jmp 0x1800277b1
inc qword [r12 + 0x30]
jmp 0x1800276da
mov r11, qword [r9 + 0x20]
test r11, r11
je 0x180027603
lea rax, [r11 + r11*4]
lea r14, [rsi + rax*8]
cmp qword [r14 + 0x10], rbx
jne 0x180027513
mov rax, qword [r9 + 0x18]
mov r8, qword [r9 + 0x10]
test rax, rax
je 0x1800274ea
test r8, r8
je 0x1800274dd
lea rax, [rax + rax*4]
lea r10, [rsi + rax*8]
mov rdx, qword [r10 + 0x10]
lea rax, [rdx + rdx*4]
mov rcx, qword [rsi + rax*8 + 0x10]
test rcx, rcx
je 0x1800274b1
nop
mov rdx, rcx
lea rax, [rcx + rcx*4]
mov rcx, qword [rsi + rax*8 + 0x10]
test rcx, rcx
jne 0x1800274a0
test rdx, rdx
je 0x1800274d9
lea rax, [rdx + rdx*4]
mov qword [rsi + rax*8 + 0x10], r8
mov rax, qword [r9 + 0x10]
lea rcx, [rax + rax*4]
mov qword [rsi + rcx*8 + 0x20], rdx
mov rax, qword [r9 + 0x18]
mov qword [r14 + 0x10], rax
jmp 0x1800275de
mov qword [r10 + 0x10], r8
mov rax, qword [r9 + 0x18]
mov qword [r14 + 0x10], rax
jmp 0x1800275de
mov qword [r14 + 0x10], r8
mov rax, qword [r9 + 0x10]
lea rcx, [rax + rax*4]
mov qword [rsi + rcx*8 + 0x20], r11
mov r14, qword [rsp + 0x60]
mov rcx, qword [r12 + 0x30]
mov rax, qword [r12 + 0x28]
mov qword [rax + rcx*8], rbx
jmp 0x1800276da
mov rax, qword [r9 + 0x10]
mov r8, qword [r9 + 0x18]
test rax, rax
je 0x1800275da
test r8, r8
je 0x1800275ad
lea rax, [rax + rax*4]
lea r10, [rsi + rax*8]
mov rdx, qword [r10 + 0x18]
lea rax, [rdx + rdx*4]
mov rcx, qword [rsi + rax*8 + 0x18]
test rcx, rcx
je 0x180027561
nop word [rax + rax]
mov rdx, rcx
lea rax, [rcx + rcx*4]
mov rcx, qword [rsi + rax*8 + 0x18]
test rcx, rcx
jne 0x180027550
test rdx, rdx
je 0x1800275a9
lea rax, [rdx + rdx*4]
mov qword [rsi + rax*8 + 0x18], r8
mov rax, qword [r9 + 0x18]
lea rcx, [rax + rax*4]
mov qword [rsi + rcx*8 + 0x20], rdx
mov rax, qword [r9 + 0x10]
mov qword [r14 + 0x18], rax
mov rax, qword [r9 + 0x10]
lea rcx, [rax + rax*4]
mov qword [rsi + rcx*8 + 0x20], r11
mov r14, qword [rsp + 0x60]
mov rcx, qword [r12 + 0x30]
mov rax, qword [r12 + 0x28]
mov qword [rax + rcx*8], rbx
jmp 0x1800276da
mov qword [r10 + 0x18], r8
mov rax, qword [r9 + 0x10]
mov qword [r14 + 0x18], rax
mov rax, qword [r9 + 0x10]
lea rcx, [rax + rax*4]
mov qword [rsi + rcx*8 + 0x20], r11
mov r14, qword [rsp + 0x60]
mov rcx, qword [r12 + 0x30]
mov rax, qword [r12 + 0x28]
mov qword [rax + rcx*8], rbx
jmp 0x1800276da
mov qword [r14 + 0x18], r8
mov rax, qword [r9 + 0x18]
lea rcx, [rax + rax*4]
mov qword [rsi + rcx*8 + 0x20], r11
mov r14, qword [rsp + 0x60]
mov rcx, qword [r12 + 0x30]
mov rax, qword [r12 + 0x28]
mov qword [rax + rcx*8], rbx
jmp 0x1800276da
mov rax, qword [r9 + 0x10]
mov r8, qword [r9 + 0x18]
test rax, rax
je 0x18002767e
test r8, r8
je 0x18002766f
lea rax, [rax + rax*4]
lea r10, [rsi + rax*8]
mov rdx, qword [r10 + 0x18]
lea rax, [rdx + rdx*4]
mov rcx, qword [rsi + rax*8 + 0x18]
test rcx, rcx
je 0x180027641
nop
mov rdx, rcx
lea rax, [rcx + rcx*4]
mov rcx, qword [rsi + rax*8 + 0x18]
test rcx, rcx
jne 0x180027630
test rdx, rdx
je 0x18002766b
lea rax, [rdx + rdx*4]
mov qword [rsi + rax*8 + 0x18], r8
mov rax, qword [r9 + 0x18]
lea rcx, [rax + rax*4]
mov qword [rsi + rcx*8 + 0x20], rdx
mov rax, qword [r9 + 0x10]
mov qword [r12 + 0x18], rax
mov rax, qword [r9 + 0x10]
jmp 0x180027687
mov qword [r10 + 0x18], r8
mov rax, qword [r9 + 0x10]
mov qword [r12 + 0x18], rax
mov rax, qword [r9 + 0x10]
jmp 0x180027687
mov qword [r12 + 0x18], r8
mov rax, qword [r9 + 0x18]
lea rcx, [rax + rax*4]
mov qword [rsi + rcx*8 + 0x20], rdi
mov rcx, qword [r12 + 0x30]
mov rax, qword [r12 + 0x28]
mov qword [rax + rcx*8], rbx
jmp 0x1800276da
mov rdx, qword [r14]
mov rax, qword [r9 + 0x18]
lea rcx, [rax + rax*4]
cmp qword [rsi + rcx*8 + 8], rdx
jne 0x1800276da
nop dword [rax]
nop word [rax + rax]
mov rbx, rax
lea rax, [rax + rax*4]
lea r9, [rsi + rax*8]
mov rax, qword [r9 + 0x18]
lea rcx, [rax + rax*4]
cmp qword [rsi + rcx*8 + 8], rdx
je 0x1800276c0
add r15d, 0xb1
cmp r15d, 0x382
jb 0x1800273d0
jmp 0x1800276f4
mov rbx, qword [r9 + 0x18]
test rbx, rbx
jne 0x1800273b0
mov edx, dword [rsp + 0x30]
mov qword [rsp + 0x38], rdi
jmp case.0x1800271b4.157
lea rax, [rbp - 0x58]
cmp rbx, rax
je case.0x1800271b4.157
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x180027752
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x18002774d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800279a7
mov rcx, r8
call fcn.18005869c
movups xmm0, xmmword [rbp - 0x58]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x48]
movups xmmword [rbx + 0x10], xmm1
mov qword [rbp - 0x48], rdi
mov r13d, ILClone
mov qword [rbp - 0x40], r13
mov byte [rbp - 0x58], 0
jmp 0x18002796a
mov rax, qword [r14]
add rax, 0x10
cmp rax, qword [r12 + 0x10]
jbe 0x180027804
mov eax, 0x121
nop dword [rax + rax]
cmp eax, 0x121
je 0x1800277f8
cmp eax, 0x8bfc
je 0x1800277f8
cmp eax, 0x116d7
je 0x1800277f3
cmp eax, 0x1a1b2
jne 0x1800277f8
mov rbx, qword [rsp + 0x38]
cmp r13, 0x10
jb 0x180027a00
lea rdx, [r13 + 1]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800279fb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800279fb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov byte [rsp + 0x38], 0
add eax, 0x8adb
cmp eax, 0x22b6c
jbe 0x180027790
mov r9, r12
xor r8d, r8d
lea edx, [r8 + 3]
mov rcx, r14
call fcn.180014620
test al, al
je case.0x18002785f.0
mov r8d, 0x8e
mov rdx, r14
mov rcx, r12
call fcn.1800107e0
mov qword [rsp + 0x70], rax
cmp rax, 8
jae 0x18002796a
mov ebx, 0xa
cmp ebx, 0xa
ja case.default.0x18002785f
mov ecx, ebx
lea rdx, [0x180000000]
mov eax, dword [rdx + rcx*4 + 0x27a88]
add rax, rdx
jmp rax
mov qword [rsp + 0x78], rdi
mov dword [rsp + 0x54], edi
jmp case.default.0x18002785f
lea rcx, [rbp - 0x78]
call qword [sym.imp.dbghelp.dll_MakeSureDirectoryPathExists]
jmp case.default.0x18002785f
mov r15b, 1
jmp 0x180027952
mov dword [rbp - 0x78], 0x78616d
mov dword [rbp - 0x75], 0x53726550
jmp case.default.0x18002785f
test r15b, r15b
je case.default.0x18002785f
lea r9, [rbp - 0x10]
mov r8d, dword [rsp + 0x54]
mov rdx, qword [rsp + 0x78]
mov ecx, dword [rsp + 0x58]
call qword [sym.imp.SHELL32.dll_SHSetFolderPathA]
jmp case.default.0x18002785f
mov dword [rbp - 0x71], 0x65676174
mov dword [rbp - 0x6d], 0x736552
mov eax, 0x6f
mov word [rbp - 0x6a], ax
mov eax, 0x75
mov word [rbp - 0x69], ax
jmp case.default.0x18002785f
mov eax, 0x72
mov word [rbp - 0x68], ax
mov dword [rbp - 0x67], 0x736563
mov ecx, 0x20
mov word [rbp - 0x64], cx
jmp case.default.0x18002785f
mov eax, 0x3f
mov word [rbp - 0x63], ax
mov ecx, 0x20
mov word [rbp - 0x62], cx
mov dword [rbp - 0x61], 0x202f2a
jmp case.default.0x18002785f
mov qword [rsp + 0x68], rdi
mov dword [rsp + 0x58], 0x36
jmp case.default.0x18002785f
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x54]
mov r8, qword [rsp + 0x78]
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
movzx r15d, r15b
test eax, eax
cmovne r15d, edi
mov dword [rsp + 0x44], r15d
dec ebx
lea eax, [rbx + 0x84]
cmp eax, 0x83
ja 0x180027843
mov edx, dword [rsp + 0x30]
mov eax, dword [rsp + 0x5c]
dec eax
mov dword [rsp + 0x5c], eax
cmp eax, edx
jbe case.0x1800271b4.154
mov r15d, dword [rsp + 0x44]
mov rbx, qword [rsp + 0x48]
jmp 0x180027194
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov r13, qword [rbp - 0x40]
mov rdi, qword [rsp + 0x38]
mov rbx, rdi
jmp 0x1800277b1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov byte [rsp + 0x38], 0
jmp case.0x1800271b4.154
mov qword [rsp + 0x48], 0x38
mov qword [rsp + 0x68], 1
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x68]
mov ecx, 0x89
call fcn.18002cc20
mov rdi, rax
mov rbx, rax
jmp 0x1800277b1
mov byte [rsp + 0x38], 1
mov rdi, qword [rsp + 0x38]
mov rbx, rdi
jmp 0x1800277b1
call fcn.18005869c
mov rax, rbx
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.180058e50
mov rbx, qword [rsp + 0x258]
add rsp, 0x210
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.18002b2e0
nop
call fcn.18002b160
int3