Function at 0x1801054c0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x270
mov rax, qword [0x180157688]
mov qword [rsp + 0x260], rax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x2c], 0
mov qword [rsp + 0x20], 0
mov rcx, qword [rsp + 0x280]
call fcn.1801072c0
test eax, eax
jne 0x180105515
mov eax, 0x57
jmp 0x1801058d1
mov rax, qword [rsp + 0x280]
cmp dword [rax + 0x84], 0xe
jne 0x180105533
mov rcx, qword [rsp + 0x280]
call fcn.180106b50
mov rax, qword [rsp + 0x280]
cmp dword [rax + 0x18], 1
jne 0x18010566b
mov rax, qword [rsp + 0x280]
cmp dword [rax + 0x84], 7
jl 0x1801055ba
mov rax, qword [rsp + 0x280]
mov rax, qword [rax]
mov rdx, qword [rsp + 0x288]
mov rcx, rax
call fcn.180107e70
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x18010559d
mov rdx, qword [rsp + 0x288]
mov rcx, qword [rsp + 0x280]
call fcn.180105d50
mov eax, 0x15
jmp 0x1801058d1
mov rax, qword [rsp + 0x280]
mov rax, qword [rax]
mov rdx, qword [rsp + 0x20]
mov rcx, rax
call fcn.180108030
jmp 0x18010566b
mov dword [rsp + 0x250], 0
mov word [rsp + 0x40], 0
lea rax, [rsp + 0x42]
mov rdi, rax
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
mov dword [rsp + 0x254], 0
mov edx, 0x104
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [rsp + 0x250], eax
cmp dword [rsp + 0x250], 0
je 0x18010565f
mov rax, qword [rsp + 0x280]
mov rax, qword [rax + 8]
lea r8, [rsp + 0x254]
mov rdx, qword [rsp + 0x288]
mov rcx, rax
call fcn.18010ca10
mov dword [rsp + 0x258], eax
cmp dword [rsp + 0x254], 1
jne 0x18010565d
mov rdx, qword [rsp + 0x288]
mov rcx, qword [rsp + 0x280]
call fcn.180105d50
mov eax, 0x15
jmp 0x1801058d1
jmp 0x18010566b
lea rcx, str.CCdmPlugin::CCdmPlugin___Cant_get_system_dir_n
call fcn.1801045e0
mov rax, qword [rsp + 0x280]
mov rax, qword [rax + 8]
lea r8, [rsp + 0x2c]
mov rcx, qword [rsp + 0x280]
mov rdx, qword [rcx + 0x68]
mov rcx, rax
call fcn.18010ca10
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0x424
je 0x1801056ba
mov rax, qword [rsp + 0x280]
cmp dword [rax + 0x48], 1
jne 0x1801056dd
cmp dword [rsp + 0x28], 0
jne 0x1801056dd
cmp dword [rsp + 0x2c], 1
jne 0x1801056dd
mov rdx, qword [rsp + 0x288]
mov rcx, qword [rsp + 0x280]
call fcn.180105470
lea rcx, str.CDriverManager::StartDriver___Service_is_running_or_abnormal_status_n
call fcn.1801045e0
jmp 0x1801056f5
mov rax, qword [rsp + 0x280]
mov rdx, qword [rax + 0x68]
lea rcx, str.CDriverManager::StartDriver___Service_is_exist__s__n
call fcn.1801045e0
mov rax, qword [rsp + 0x280]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x280]
mov rdx, qword [rcx + 0x68]
mov rcx, rax
call fcn.18010c8d0
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x1801057fa
cmp dword [rsp + 0x28], 0x241
jne 0x1801057a2
mov rax, qword [rsp + 0x280]
cmp dword [rax + 0x48], 1
jne 0x1801057a2
mov rax, qword [rsp + 0x280]
cmp dword [rax + 0x84], 0xb
jl 0x1801057a2
mov rcx, qword [rsp + 0x280]
call fcn.180106a30
mov dword [rsp + 0x28], eax
mov edx, dword [rsp + 0x28]
lea rcx, str.CDriverManager::StartDriver___Result_of_UpdateInf___d__n
call fcn.1801045e0
mov rax, qword [rsp + 0x280]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x280]
mov rdx, qword [rcx + 0x68]
mov rcx, rax
call fcn.18010c8d0
mov dword [rsp + 0x28], eax
mov edx, dword [rsp + 0x28]
lea rcx, str.CDriverManager::StartDriver___Result_of_Re_StartLegacyDriver__d__n
call fcn.1801045e0
cmp dword [rsp + 0x28], 0x422
jne 0x1801057db
cmp dword [rsp + 0x2c], 4
jne 0x1801057db
mov dword [rsp + 0x28], 0x420
mov r8d, 0x422
mov rax, qword [rsp + 0x280]
mov rdx, qword [rax + 0x68]
lea rcx, str.CDriverManager::StartDriver___service_disabled__but_continue...__s___d__n
call fcn.1801045e0
jmp 0x1801057f8
mov r8d, dword [rsp + 0x28]
mov rax, qword [rsp + 0x280]
mov rdx, qword [rax + 0x68]
lea rcx, str.CDriverManager::StartDriver___Service_start_fail__s___d__n
call fcn.1801045e0
jmp 0x180105806
lea rcx, str.CDriverManager::StartDriver___Service_is_running_n
call fcn.1801045e0
mov rax, qword [rsp + 0x280]
cmp dword [rax + 0x84], 7
jl 0x18010588f
cmp dword [rsp + 0x28], 0
je 0x180105828
cmp dword [rsp + 0x28], 0x420
jne 0x18010588f
mov rax, qword [rsp + 0x280]
cmp dword [rax + 0x58], 1
jne 0x180105887
mov dword [rsp + 0x25c], 0
mov rax, qword [rsp + 0x280]
mov rax, qword [rax]
lea r8, [rsp + 0x25c]
mov rcx, qword [rsp + 0x280]
mov edx, dword [rcx + 0x10]
mov rcx, rax
call fcn.1801079d0
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
jne 0x180105885
mov edx, dword [rsp + 0x25c]
lea rcx, str.CDriverManager::StartDriver___Reference_Value_is_0x_x_n
call fcn.1801045e0
jmp 0x18010588f
mov dword [rsp + 0x28], 0
cmp dword [rsp + 0x28], 0
jne 0x1801058b0
mov rax, qword [rsp + 0x280]
mov rdx, qword [rax + 0x68]
lea rcx, str.CDriverManager::StartDriver__s____SUCCESS_n
call fcn.1801045e0
jmp 0x1801058cd
mov r8d, dword [rsp + 0x28]
mov rax, qword [rsp + 0x280]
mov rdx, qword [rax + 0x68]
lea rcx, str.CDriverManager::StartDriver__s____FAIL___ERROR:_d__n
call fcn.1801045e0
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x260]
call fcn.180124250
add rsp, 0x270
pop rdi
ret