Function at 0x180052094
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 0x1800520cb
cmp qword [0x1800a5060], rbx
jne 0x18005212d
lea rcx, str.Comctl32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdi, rax
cmp rax, rbx
je 0x180052110
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 0x180052117
mov rax, qword [0x1800a5060]
cmp qword [0x1800a5058], rbx
je 0x1800522ef
cmp rax, rbx
je 0x1800522ef
call fcn.18002ed98
lea rcx, [r14 + 0x18]
call fcn.18002c244
cmp dword [0x1800a4d80], ebx
jne 0x18005214f
cmp dword [0x1800a4d84], ebx
je 0x1800522e4
cmp rsi, rbx
je 0x1800522e4
lea r8, [0x18007b148]
lea rdx, str.SoftwareWOW6432Nodeprojonepodlp_smprule_
xor r9d, r9d
mov rcx, 0xffffffff80000002
call fcn.180005684
cmp eax, ebx
je 0x1800522e4
call fcn.18002ed98
lea rcx, [rsp + 0x30]
mov rdx, rsi
call fcn.180056fb0
mov r11, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov r12, r11
cmp r11, rsi
jbe 0x1800521b0
call fcn.1800592a8
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 0x1800521e2
call fcn.1800592a8
cmp rdi, rbx
je 0x1800521ee
cmp rdi, qword [rsp + 0x30]
je 0x1800521f3
call fcn.1800592a8
cmp rbp, rsi
je 0x1800522d0
cmp rdi, rbx
jne 0x18005220b
call fcn.1800592a8
mov r11, rbx
jmp 0x18005220e
mov r11, qword [rdi]
cmp rbp, qword [r11 + 0x20]
jb 0x180052219
call fcn.1800592a8
cmp qword [r12 + 0x18], 8
jb 0x180052227
mov rcx, qword [r12]
jmp 0x18005222a
mov rcx, r12
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, ebx
je 0x18005226c
cmp rdi, rbx
jne 0x180052243
call fcn.1800592a8
mov r11, rbx
jmp 0x180052246
mov r11, qword [rdi]
cmp rbp, qword [r11 + 0x20]
jb 0x180052251
call fcn.1800592a8
cmp qword [r12 + 0x18], 8
jb 0x18005225f
mov rcx, qword [r12]
jmp 0x180052262
mov rcx, r12
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
cmp eax, ebx
je 0x1800522a0
cmp rdi, rbx
jne 0x18005227b
call fcn.1800592a8
mov r11, rbx
jmp 0x18005227e
mov r11, qword [rdi]
cmp rbp, qword [r11 + 0x20]
jb 0x180052289
call fcn.1800592a8
mov rsi, qword [rsp + 0x50]
mov r11, qword [rsp + 0x48]
add rbp, 0x28
add r12, 0x28
jmp 0x1800521d8
cmp rdi, rbx
jne 0x1800522af
call fcn.1800592a8
mov r11, rbx
jmp 0x1800522b2
mov r11, qword [rdi]
cmp rbp, qword [r11 + 0x20]
jb 0x1800522bd
call fcn.1800592a8
lea rcx, [r14 + 0x18]
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rbp
call fcn.1800074f8
lea rcx, [rsp + 0x30]
call fcn.180007b38
mov rcx, qword [rsp + 0x30]
call fcn.180058ed8
cmp qword [r14 + 0x30], rbx
sete bl
mov eax, ebx
jmp 0x1800522f4
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