Function at 0x180051b54
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 0x180051b8b
cmp qword [0x1800a5060], rbx
jne 0x180051bed
lea rcx, str.Comctl32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdi, rax
cmp rax, rbx
je 0x180051bd0
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 0x180051bd7
mov rax, qword [0x1800a5060]
cmp qword [0x1800a5058], rbx
je 0x180051daf
cmp rax, rbx
je 0x180051daf
call fcn.18002ec5c
lea rcx, [r14 + 0x18]
call fcn.18002c25c
cmp dword [0x1800a4d80], ebx
jne 0x180051c0f
cmp dword [0x1800a4d84], ebx
je 0x180051da4
cmp rsi, rbx
je 0x180051da4
lea r8, [0x18007b158]
lea rdx, str.SoftwareWOW6432Nodeprojonepodlp_smprule_
xor r9d, r9d
mov rcx, 0xffffffff80000002
call fcn.180005694
cmp eax, ebx
je 0x180051da4
call fcn.18002ec5c
lea rcx, [rsp + 0x30]
mov rdx, rsi
call fcn.180056c10
mov r11, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov r12, r11
cmp r11, rsi
jbe 0x180051c70
call fcn.180058f08
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 0x180051ca2
call fcn.180058f08
cmp rdi, rbx
je 0x180051cae
cmp rdi, qword [rsp + 0x30]
je 0x180051cb3
call fcn.180058f08
cmp rbp, rsi
je 0x180051d90
cmp rdi, rbx
jne 0x180051ccb
call fcn.180058f08
mov r11, rbx
jmp 0x180051cce
mov r11, qword [rdi]
cmp rbp, qword [r11 + 0x20]
jb 0x180051cd9
call fcn.180058f08
cmp qword [r12 + 0x18], 8
jb 0x180051ce7
mov rcx, qword [r12]
jmp 0x180051cea
mov rcx, r12
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, ebx
je 0x180051d2c
cmp rdi, rbx
jne 0x180051d03
call fcn.180058f08
mov r11, rbx
jmp 0x180051d06
mov r11, qword [rdi]
cmp rbp, qword [r11 + 0x20]
jb 0x180051d11
call fcn.180058f08
cmp qword [r12 + 0x18], 8
jb 0x180051d1f
mov rcx, qword [r12]
jmp 0x180051d22
mov rcx, r12
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
cmp eax, ebx
je 0x180051d60
cmp rdi, rbx
jne 0x180051d3b
call fcn.180058f08
mov r11, rbx
jmp 0x180051d3e
mov r11, qword [rdi]
cmp rbp, qword [r11 + 0x20]
jb 0x180051d49
call fcn.180058f08
mov rsi, qword [rsp + 0x50]
mov r11, qword [rsp + 0x48]
add rbp, 0x28
add r12, 0x28
jmp 0x180051c98
cmp rdi, rbx
jne 0x180051d6f
call fcn.180058f08
mov r11, rbx
jmp 0x180051d72
mov r11, qword [rdi]
cmp rbp, qword [r11 + 0x20]
jb 0x180051d7d
call fcn.180058f08
lea rcx, [r14 + 0x18]
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rbp
call fcn.1800075d0
lea rcx, [rsp + 0x30]
call fcn.180007c10
mov rcx, qword [rsp + 0x30]
call fcn.180058b34
cmp qword [r14 + 0x30], rbx
sete bl
mov eax, ebx
jmp 0x180051db4
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