Function at 0x180051528
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0x60
xor ebx, ebx
mov rsi, r8
mov r14, rcx
cmp qword [0x1800a5058], rbx
je 0x18005155f
cmp qword [0x1800a5060], rbx
jne 0x1800515c1
lea rcx, str.Comctl32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdi, rax
cmp rax, rbx
je 0x1800515a4
lea rdx, str.CreatePropertySheetPageW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.DestroyPropertySheetPage
mov rcx, rdi
mov qword [0x1800a5058], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800a5060], rax
jmp 0x1800515ab
mov rax, qword [0x1800a5060]
cmp qword [0x1800a5058], rbx
je 0x180051783
cmp rax, rbx
je 0x180051783
call fcn.18002ee84
lea rcx, [r14 + 0x18]
call fcn.18002c4bc
cmp dword [0x1800a4d80], ebx
jne 0x1800515e3
cmp dword [0x1800a4d84], ebx
je 0x180051778
cmp rsi, rbx
je 0x180051778
lea r8, [0x18007b108]
lea rdx, str.SoftwareWOW6432Nodeprojonepodlp_smprule_
xor r9d, r9d
mov rcx, 0xffffffff80000002
call fcn.18000568c
cmp eax, ebx
je 0x180051778
call fcn.18002ee84
lea rcx, [rsp + 0x30]
mov rdx, rsi
call fcn.180056db0
mov r11, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov r12, r11
cmp r11, rsi
jbe 0x180051644
call fcn.1800590d8
mov rsi, qword [rsp + 0x50]
mov r11, qword [rsp + 0x48]
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], r12
add r12, 8
mov qword [rsp + 0x20], rax
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
mov rdi, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x28]
cmp r11, rsi
jbe 0x180051676
call fcn.1800590d8
cmp rdi, rbx
je 0x180051682
cmp rdi, qword [rsp + 0x30]
je 0x180051687
call fcn.1800590d8
cmp rbp, rsi
je 0x180051764
cmp rdi, rbx
jne 0x18005169f
call fcn.1800590d8
mov r11, rbx
jmp 0x1800516a2
mov r11, qword [rdi]
cmp rbp, qword [r11 + 0x20]
jb 0x1800516ad
call fcn.1800590d8
cmp qword [r12 + 0x18], 8
jb 0x1800516bb
mov rcx, qword [r12]
jmp 0x1800516be
mov rcx, r12
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, ebx
je 0x180051700
cmp rdi, rbx
jne 0x1800516d7
call fcn.1800590d8
mov r11, rbx
jmp 0x1800516da
mov r11, qword [rdi]
cmp rbp, qword [r11 + 0x20]
jb 0x1800516e5
call fcn.1800590d8
cmp qword [r12 + 0x18], 8
jb 0x1800516f3
mov rcx, qword [r12]
jmp 0x1800516f6
mov rcx, r12
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
cmp eax, ebx
je 0x180051734
cmp rdi, rbx
jne 0x18005170f
call fcn.1800590d8
mov r11, rbx
jmp 0x180051712
mov r11, qword [rdi]
cmp rbp, qword [r11 + 0x20]
jb 0x18005171d
call fcn.1800590d8
mov rsi, qword [rsp + 0x50]
mov r11, qword [rsp + 0x48]
add rbp, 0x28
add r12, 0x28
jmp 0x18005166c
cmp rdi, rbx
jne 0x180051743
call fcn.1800590d8
mov r11, rbx
jmp 0x180051746
mov r11, qword [rdi]
cmp rbp, qword [r11 + 0x20]
jb 0x180051751
call fcn.1800590d8
lea rcx, [r14 + 0x18]
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rbp
call fcn.180007594
lea rcx, [rsp + 0x30]
call fcn.180007bd4
mov rcx, qword [rsp + 0x30]
call fcn.1800018ec
cmp qword [r14 + 0x30], rbx
sete bl
mov eax, ebx
jmp 0x180051788
mov eax, 1
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop r12
ret