Function at 0x18004a3a0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x6b8
mov rax, qword [0x1801060b8]
xor rax, rsp
mov qword [rsp + 0x6a0], rax
mov dword [rsp + 0x468], 0
mov dword [rsp + 0x60], 0
mov dword [rsp + 0x46c], 0
mov edx, 0x104
lea rcx, [rsp + 0x490]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x18004a55b
mov rax, qword [rsp + 0x6d0]
add rax, 0x418
xor edx, edx
mov rcx, rax
call fcn.18000ea90
movzx eax, al
test eax, eax
je 0x18004a551
mov rax, qword [rsp + 0x1e0]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x6d0]
mov rax, qword [rax + 0x418]
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0xd0], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x98], eax
lea rax, [rsp + 0x448]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x140], rax
lea rdx, str.GetWindowsDirectory_Error:_
mov rcx, qword [rsp + 0x140]
call fcn.18000a5f0
lea rax, [rsp + 0x250]
mov rdi, rax
mov rsi, qword [rsp + 0xc0]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x260]
lea rcx, [rsp + 0x250]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x1e8]
mov qword [rsp + 0xc8], rax
lea rax, [rsp + 0x98]
mov qword [rsp + 0xc8], rax
lea rax, [rsp + 0x270]
lea rcx, [rsp + 0x260]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x280]
lea rcx, [rsp + 0x270]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov r9, qword [rsp + 0xc8]
lea r8, [rsp + 0x280]
mov edx, 4
mov rcx, qword [rsp + 0xd0]
call fcn.180058110
mov eax, 0x1f
jmp 0x18004ae66
lea rdx, [rsp + 0x490]
lea rcx, [rsp + 0x470]
call fcn.180002a40
nop
lea rax, [0x1800d6688]
mov qword [rsp + 0x148], rax
mov qword [rsp + 0x68], 0xffffffffffffffff
inc qword [rsp + 0x68]
mov rax, qword [rsp + 0x148]
mov rcx, qword [rsp + 0x68]
cmp word [rax + rcx*2], 0
jne 0x18004a589
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x158], rax
mov r8, qword [rsp + 0x158]
lea rdx, [0x1800d6688]
lea rcx, [rsp + 0x470]
call fcn.1800043e0
mov qword [rsp + 0x178], rax
lea rax, [0x1800d66b0]
mov qword [rsp + 0x160], rax
mov qword [rsp + 0x70], 0xffffffffffffffff
inc qword [rsp + 0x70]
mov rax, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x70]
cmp word [rax + rcx*2], 0
jne 0x18004a5fb
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x170], rax
mov r8, qword [rsp + 0x170]
lea rdx, [0x1800d66b0]
mov rcx, qword [rsp + 0x178]
call fcn.1800043e0
mov rdx, qword [rsp + 0x6d8]
mov rcx, qword [rsp + 0x6d0]
call fcn.18004afe0
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
jne 0x18004a6e7
mov rax, qword [rsp + 0x6d0]
add rax, 0x418
xor edx, edx
mov rcx, rax
call fcn.18000ea90
movzx eax, al
test eax, eax
je 0x18004a6dc
mov rax, qword [rsp + 0x1f0]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x6d0]
mov rax, qword [rax + 0x418]
mov qword [rsp + 0x180], rax
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0xd8], rax
lea r8, str.Reboot_Required
mov edx, 1
mov rcx, qword [rsp + 0xd8]
call fcn.1800571e0
mov rax, qword [rsp + 0x6e0]
mov byte [rax], 1
cmp dword [rsp + 0x60], 0xb7
je 0x18004a6fc
cmp dword [rsp + 0x60], 0
jne 0x18004abb3
mov rax, qword [rsp + 0x6d0]
add rax, 0x418
xor edx, edx
mov rcx, rax
call fcn.18000ea90
movzx eax, al
test eax, eax
je 0x18004a937
mov rax, qword [rsp + 0x1c8]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x6d0]
mov rax, qword [rax + 0x418]
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x188]
mov qword [rsp + 0x100], rax
lea rax, [rsp + 0x438]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
lea rcx, str.Installing_____.
mov qword [rax], rcx
xor eax, eax
test eax, eax
je 0x18004a7cd
lea rax, str.Installing_____.
mov qword [rsp + 0x190], rax
mov qword [rsp + 0x78], 0xffffffffffffffff
inc qword [rsp + 0x78]
mov rax, qword [rsp + 0x190]
mov rcx, qword [rsp + 0x78]
cmp byte [rax + rcx], 0
jne 0x18004a7a6
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xa0], rax
jmp 0x18004a827
mov rax, qword [rsp + 0x200]
mov qword [rsp + 0xa0], rax
lea rax, str.Installing_____.
mov qword [rsp + 0x198], rax
mov qword [rsp + 0x80], 0xffffffffffffffff
inc qword [rsp + 0x80]
mov rax, qword [rsp + 0x198]
mov rcx, qword [rsp + 0x80]
cmp word [rax + rcx*2], 0
jne 0x18004a7f8
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0xa0]
mov qword [rax + 8], rcx
lea rax, [rsp + 0x290]
mov rdi, rax
mov rsi, qword [rsp + 0xe8]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x2a0]
lea rcx, [rsp + 0x290]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x208]
mov qword [rsp + 0xf0], rax
lea rax, [rsp + 0x470]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x210]
mov qword [rsp + 0xf8], rax
lea rax, [0x1800d66e8]
mov qword [rsp + 0xf8], rax
lea rax, [rsp + 0x2b0]
lea rcx, [rsp + 0x2a0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x2c0]
lea rcx, [rsp + 0x2b0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x2d0]
lea rcx, [rsp + 0x2c0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0xf8]
lea r8, [rsp + 0x2d0]
mov edx, 2
mov rcx, qword [rsp + 0x100]
call fcn.180058e80
lea rdx, [0x1800d59e4]
lea rcx, [rsp + 0x418]
call fcn.180002a40
nop
lea rdx, [0x1800d5a04]
lea rcx, [rsp + 0x3f8]
call fcn.180002a40
nop
lea rax, [rsp + 0x64]
mov qword [rsp + 0x1a0], rax
lea rdx, [0x1800d5a2c]
lea rcx, [rsp + 0x350]
call fcn.180002a40
nop
lea rax, [rsp + 0x350]
mov qword [rsp + 0x1b8], rax
lea rax, [rsp + 0x370]
mov qword [rsp + 0x1c0], rax
lea rax, [rsp + 0x2e0]
lea rcx, [rsp + 0x1b8]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x2f0]
lea rcx, [rsp + 0x2e0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov r8, qword [rsp + 0x1a0]
lea rdx, [rsp + 0x2f0]
lea rcx, [rsp + 0x220]
call fcn.180061d90
nop
lea rdx, [0x1800d6728]
lea rcx, [rsp + 0x3d8]
call fcn.180002a40
nop
lea rax, [rsp + 0x470]
mov rcx, rax
call fcn.1800027f0
mov qword [rsp + 0x1a8], rax
mov rdx, qword [rsp + 0x1a8]
lea rcx, [rsp + 0x378]
call fcn.180002a40
nop
lea rdx, [0x1800d6740]
lea rcx, [rsp + 0x3b8]
call fcn.180002a40
nop
lea rdx, [0x1800d6750]
lea rcx, [rsp + 0x398]
call fcn.180002a40
nop
lea rax, [rsp + 0x468]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x418]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x3f8]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x220]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x3d8]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x378]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
xor r9d, r9d
mov r8d, 1
lea rdx, [rsp + 0x3b8]
lea rcx, [rsp + 0x398]
call fcn.180035d00
mov dword [rsp + 0x46c], eax
lea rcx, [rsp + 0x398]
call fcn.1800029a0
nop
lea rcx, [rsp + 0x3b8]
call fcn.1800029a0
nop
lea rcx, [rsp + 0x378]
call fcn.1800029a0
nop
lea rcx, [rsp + 0x3d8]
call fcn.1800029a0
nop
lea rcx, [rsp + 0x220]
call fcn.180004300
nop
lea r9, [fcn.1800029a0]
mov r8d, 1
mov edx, 0x20
lea rcx, [rsp + 0x350]
call fcn.180099ab0
nop
lea rcx, [rsp + 0x3f8]
call fcn.1800029a0
nop
lea rcx, [rsp + 0x418]
call fcn.1800029a0
cmp dword [rsp + 0x46c], 0
je 0x18004abb3
cmp dword [rsp + 0x468], 0
je 0x18004ab8e
cmp dword [rsp + 0x468], 0x431
jne 0x18004abb3
mov r8d, 1
lea rdx, [0x1800d6760]
mov rcx, qword [rsp + 0x6d0]
call fcn.180047790
mov rax, qword [rsp + 0x6e0]
mov byte [rax], 1
mov rax, qword [rsp + 0x6d0]
add rax, 0x418
xor edx, edx
mov rcx, rax
call fcn.18000ea90
movzx eax, al
test eax, eax
je 0x18004ae44
mov rax, qword [rsp + 0x218]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x6d0]
mov rax, qword [rax + 0x418]
mov qword [rsp + 0x1b0], rax
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0xb8], rax
lea rax, [rsp + 0x458]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
lea rcx, [0x1800d67c8]
mov qword [rax], rcx
xor eax, eax
test eax, eax
je 0x18004ac90
lea rax, [0x1800d67c8]
mov qword [rsp + 0x128], rax
mov qword [rsp + 0x88], 0xffffffffffffffff
inc qword [rsp + 0x88]
mov rax, qword [rsp + 0x128]
mov rcx, qword [rsp + 0x88]
cmp byte [rax + rcx], 0
jne 0x18004ac60
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xa8], rax
jmp 0x18004acea
mov rax, qword [rsp + 0x1f8]
mov qword [rsp + 0xa8], rax
lea rax, [0x1800d67c8]
mov qword [rsp + 0x130], rax
mov qword [rsp + 0x90], 0xffffffffffffffff
inc qword [rsp + 0x90]
mov rax, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x90]
cmp word [rax + rcx*2], 0
jne 0x18004acbb
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x108]
mov rcx, qword [rsp + 0xa8]
mov qword [rax + 8], rcx
lea rax, [rsp + 0x300]
mov rdi, rax
mov rsi, qword [rsp + 0x110]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x310]
lea rcx, [rsp + 0x300]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x238]
mov qword [rsp + 0x118], rax
lea rax, [rsp + 0x468]
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x240]
mov qword [rsp + 0x120], rax
lea rax, [rsp + 0x46c]
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x248]
mov qword [rsp + 0xb0], rax
lea rax, str.EppLibClass::EppInstallMbrDriverUsingScmAPI
mov qword [rsp + 0xb0], rax
lea rax, [rsp + 0x320]
lea rcx, [rsp + 0x310]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x330]
lea rcx, [rsp + 0x320]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x340]
lea rcx, [rsp + 0x330]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x1d0]
lea rcx, [rsp + 0x340]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0xb0]
lea r8, [rsp + 0x1d0]
mov edx, 2
mov rcx, qword [rsp + 0xb8]
call fcn.1800597b0
mov eax, dword [rsp + 0x468]
mov dword [rsp + 0x9c], eax
lea rcx, [rsp + 0x470]
call fcn.1800029a0
mov eax, dword [rsp + 0x9c]
mov rcx, qword [rsp + 0x6a0]
xor rcx, rsp
call fcn.180099a00
add rsp, 0x6b8
pop rdi
pop rsi
ret