Function at 0x180007780
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x11e8
call fcn.18003c970
sub rsp, rax
mov rax, qword [0x180076dc0]
xor rax, rsp
mov qword [rsp + 0x11d0], rax
lea rax, [rsp + 0xea0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 5
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov dword [rsp + 0x78], eax
lea rax, [rsp + 0xea0]
mov qword [rsp + 0x38], rax
dec qword [rsp + 0x38]
inc qword [rsp + 0x38]
mov rax, qword [rsp + 0x38]
cmp byte [rax], 0
jne 0x1800077e1
mov rax, qword [rsp + 0x38]
lea rcx, [0x18005f754]
mov rdi, rax
mov rsi, rcx
mov ecx, 2
rep movsb byte [rdi], byte [rsi]
lea r8, [rsp + 0xea0]
lea rdx, [rsp + 0x290]
mov rcx, qword [rsp + 0x1200]
call fcn.1800083b0
mov rdi, qword [rsp + 0x1208]
mov rsi, rax
mov ecx, 0xb3e
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0xdd0], 0
mov r8d, 0x104
lea rdx, [rsp + 0xfb0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x18000788d
lea rdx, [0x18005f67f]
lea rcx, [rsp + 0x198]
call fcn.180006090
lea rdx, [0x180072e38]
lea rcx, [rsp + 0x198]
call fcn.18003d6e0
nop
mov eax, dword [rsp + 0x40]
mov r8d, eax
lea rdx, [rsp + 0xfb0]
lea rcx, [rsp + 0xe68]
call fcn.1800051b0
nop
lea rdx, [rsp + 0xdd0]
lea rcx, [rsp + 0xe68]
call fcn.18000ba60
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x1800078e8
mov dword [rsp + 0x4c], 0xffffffff
lea rcx, [rsp + 0xe68]
call fcn.180006570
mov eax, dword [rsp + 0x4c]
jmp 0x1800080ac
mov edx, 0x18
lea rcx, [rsp + 0xdf0]
call fcn.18000aa70
mov r9d, dword [rsp + 0x44]
mov r8d, dword [rsp + 0xdd0]
lea rdx, [rsp + 0xe68]
lea rcx, [rsp + 0xdf0]
call fcn.18000d510
nop
lea rcx, [rsp + 0xdf0]
call fcn.18000b4b0
movzx eax, al
test eax, eax
je 0x18000795d
mov dword [rsp + 0x50], 0xffffffff
lea rcx, [rsp + 0xdf0]
call fcn.180006650
nop
lea rcx, [rsp + 0xe68]
call fcn.180006570
mov eax, dword [rsp + 0x50]
jmp 0x1800080ac
lea rcx, [rsp + 0xe68]
call fcn.18000c110
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
jne 0x1800079a1
mov dword [rsp + 0x54], 0xffffffff
lea rcx, [rsp + 0xdf0]
call fcn.180006650
nop
lea rcx, [rsp + 0xe68]
call fcn.180006570
mov eax, dword [rsp + 0x54]
jmp 0x1800080ac
mov edx, 0x18
lea rcx, [rsp + 0xdd8]
call fcn.18000aa70
mov r8d, dword [rsp + 0x48]
lea rdx, [rsp + 0xdf0]
lea rcx, [rsp + 0xdd8]
call fcn.18000f1e0
nop
mov edx, 0x18
lea rcx, [rsp + 0xe88]
call fcn.18000aa70
mov r8b, 0x68
lea rdx, [0x180078050]
lea rcx, [rsp + 0x1c8]
call fcn.18000f100
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x90], rax
mov r8b, 0x68
lea rdx, [0x180077fc0]
lea rcx, [rsp + 0x1b0]
call fcn.18000f100
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x98], rax
mov r9, qword [rsp + 0x90]
mov r8, qword [rsp + 0x98]
lea rdx, [rsp + 0xdd8]
lea rcx, [rsp + 0xe88]
call fcn.18000b7b0
nop
lea rcx, [rsp + 0x1b0]
call fcn.180006650
nop
lea rcx, [rsp + 0x1c8]
call fcn.180006650
nop
lea rcx, [rsp + 0xe88]
call fcn.18000a920
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0xe88]
call fcn.18000e020
mov qword [rsp + 0xa0], rax
mov eax, 0x104
imul rax, rax, 0
mov rcx, qword [rsp + 0x1208]
lea rax, [rcx + rax + 0x116]
mov byte [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0xa0]
mov r8, qword [rsp + 0xa8]
mov rdx, rax
mov rcx, qword [rsp + 0x1200]
call fcn.1800076d0
mov qword [rsp + 0x158], rax
mov edx, 0x18
lea rcx, [rsp + 0xe50]
call fcn.18000aa70
mov r8b, 0x68
lea rdx, [0x180077ff0]
lea rcx, [rsp + 0x1f8]
call fcn.18000f100
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xc0], rax
mov r8b, 0x68
lea rdx, [0x180077fd8]
lea rcx, [rsp + 0x1e0]
call fcn.18000f100
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xc8], rax
mov r9, qword [rsp + 0xc0]
mov r8, qword [rsp + 0xc8]
lea rdx, [rsp + 0xdd8]
lea rcx, [rsp + 0xe50]
call fcn.18000b7b0
nop
lea rcx, [rsp + 0x1e0]
call fcn.180006650
nop
lea rcx, [rsp + 0x1f8]
call fcn.180006650
nop
lea rcx, [rsp + 0xe50]
call fcn.18000a920
mov qword [rsp + 0xd0], rax
lea rcx, [rsp + 0xe50]
call fcn.18000e020
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
sub rax, 4
mov rdx, rax
lea rcx, [rsp + 0xe50]
call fcn.18000d730
mov eax, 0x104
imul rax, rax, 1
mov rcx, qword [rsp + 0x1208]
lea rax, [rcx + rax + 0x116]
mov byte [rsp + 0x28], 0
mov dword [rsp + 0x20], 8
mov r9, qword [rsp + 0x60]
mov r8, qword [rsp + 0xd0]
mov rdx, rax
mov rcx, qword [rsp + 0x1200]
call fcn.1800076d0
mov qword [rsp + 0x160], rax
mov edx, 0x18
lea rcx, [rsp + 0xe38]
call fcn.18000aa70
mov r8b, 0x68
lea rdx, [0x180078008]
lea rcx, [rsp + 0x228]
call fcn.18000f100
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xe8], rax
mov r8b, 0x68
lea rdx, [0x180078038]
lea rcx, [rsp + 0x210]
call fcn.18000f100
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0xf0], rax
mov r9, qword [rsp + 0xe8]
mov r8, qword [rsp + 0xf0]
lea rdx, [rsp + 0xdd8]
lea rcx, [rsp + 0xe38]
call fcn.18000b7b0
nop
lea rcx, [rsp + 0x210]
call fcn.180006650
nop
lea rcx, [rsp + 0x228]
call fcn.180006650
nop
lea rcx, [rsp + 0xe38]
call fcn.18000a920
mov qword [rsp + 0x100], rax
lea rcx, [rsp + 0xe38]
call fcn.18000e020
mov qword [rsp + 0xf8], rax
mov edx, 0xf
lea rcx, [rsp + 0xe38]
call fcn.18000d7c0
mov eax, 0x104
imul rax, rax, 2
mov rcx, qword [rsp + 0x1208]
lea rax, [rcx + rax + 0x116]
mov byte [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0xf8]
mov r8, qword [rsp + 0x100]
mov rdx, rax
mov rcx, qword [rsp + 0x1200]
call fcn.1800076d0
mov qword [rsp + 0x168], rax
mov edx, 0x18
lea rcx, [rsp + 0xe20]
call fcn.18000aa70
mov r8b, 0x68
lea rdx, [0x180078068]
lea rcx, [rsp + 0x240]
call fcn.18000f100
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x118], rax
mov r8b, 0x68
lea rdx, [0x180077fa8]
lea rcx, [rsp + 0x180]
call fcn.18000f100
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x120], rax
mov r9, qword [rsp + 0x118]
mov r8, qword [rsp + 0x120]
lea rdx, [rsp + 0xdd8]
lea rcx, [rsp + 0xe20]
call fcn.18000b7b0
nop
lea rcx, [rsp + 0x180]
call fcn.180006650
nop
lea rcx, [rsp + 0x240]
call fcn.180006650
nop
lea rcx, [rsp + 0xe20]
call fcn.18000a920
mov qword [rsp + 0x130], rax
lea rcx, [rsp + 0xe20]
call fcn.18000e020
mov qword [rsp + 0x128], rax
mov edx, 0xf
lea rcx, [rsp + 0xe20]
call fcn.18000d7c0
mov eax, 0x104
imul rax, rax, 3
mov rcx, qword [rsp + 0x1208]
lea rax, [rcx + rax + 0x116]
mov byte [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x128]
mov r8, qword [rsp + 0x130]
mov rdx, rax
mov rcx, qword [rsp + 0x1200]
call fcn.1800076d0
mov qword [rsp + 0x170], rax
mov edx, 0x18
lea rcx, [rsp + 0xe08]
call fcn.18000aa70
mov r8b, 0x68
lea rdx, [0x180078020]
lea rcx, [rsp + 0x270]
call fcn.18000f100
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x148], rax
mov r8b, 0x68
lea rdx, [0x180078080]
lea rcx, [rsp + 0x258]
call fcn.18000f100
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x150], rax
mov r9, qword [rsp + 0x148]
mov r8, qword [rsp + 0x150]
lea rdx, [rsp + 0xdd8]
lea rcx, [rsp + 0xe08]
call fcn.18000b7b0
nop
lea rcx, [rsp + 0x258]
call fcn.180006650
nop
lea rcx, [rsp + 0x270]
call fcn.180006650
nop
lea rcx, [rsp + 0xe08]
call fcn.18000a920
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0xe08]
call fcn.18000e020
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
sub rax, 4
mov rdx, rax
lea rcx, [rsp + 0xe08]
call fcn.18000d730
lea rax, str.147action.sys
mov qword [rsp + 0x20], rax
lea r9, str.C:WindowsSystem32drivers_
lea r8, str._s_s
mov edx, 0x104
lea rcx, [rsp + 0x10c0]
call fcn.18000f880
mov byte [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x68]
mov r8, qword [rsp + 0x70]
lea rdx, [rsp + 0x10c0]
mov rcx, qword [rsp + 0x1200]
call fcn.1800076d0
mov qword [rsp + 0x178], rax
mov dword [rsp + 0x30], 0
mov rcx, qword [rsp + 0x1200]
call fcn.180008780
test eax, eax
jne 0x180008031
cmp dword [rsp + 0x30], 0xa
jge 0x180008031
mov ecx, 0x2710
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x58], 1
lea rcx, [rsp + 0xe08]
call fcn.180006650
nop
lea rcx, [rsp + 0xe20]
call fcn.180006650
nop
lea rcx, [rsp + 0xe38]
call fcn.180006650
nop
lea rcx, [rsp + 0xe50]
call fcn.180006650
nop
lea rcx, [rsp + 0xe88]
call fcn.180006650
nop
lea rcx, [rsp + 0xdd8]
call fcn.180006650
nop
lea rcx, [rsp + 0xdf0]
call fcn.180006650
nop
lea rcx, [rsp + 0xe68]
call fcn.180006570
mov eax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x11d0]
xor rcx, rsp
call fcn.18003c9d0
add rsp, 0x11e8
pop rdi
pop rsi
ret