Function at 0x18004dda4
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 [0x18009df58], rbx
je 0x18004dddb
cmp qword [0x18009df60], rbx
jne 0x18004de3d
lea rcx, str.Comctl32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdi, rax
cmp rax, rbx
je 0x18004de20
lea rdx, str.CreatePropertySheetPageW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.DestroyPropertySheetPage
mov rcx, rdi
mov qword [0x18009df58], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18009df60], rax
jmp 0x18004de27
mov rax, qword [0x18009df60]
cmp qword [0x18009df58], rbx
je 0x18004dfff
cmp rax, rbx
je 0x18004dfff
call fcn.18002cd20
lea rcx, [r14 + 0x18]
call fcn.18002ae88
cmp dword [0x18009dc80], ebx
jne 0x18004de5f
cmp dword [0x18009dc84], ebx
je 0x18004dff4
cmp rsi, rbx
je 0x18004dff4
lea r8, [0x180075e98]
lea rdx, str.SoftwareWOW6432Nodeprojonepodlp_smprule_
xor r9d, r9d
mov rcx, 0xffffffff80000002
call fcn.180005444
cmp eax, ebx
je 0x18004dff4
call fcn.18002cd20
lea rcx, [rsp + 0x30]
mov rdx, rsi
call fcn.1800529f0
mov r11, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov r12, r11
cmp r11, rsi
jbe 0x18004dec0
call fcn.180054d28
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 0x18004def2
call fcn.180054d28
cmp rdi, rbx
je 0x18004defe
cmp rdi, qword [rsp + 0x30]
je 0x18004df03
call fcn.180054d28
cmp rbp, rsi
je 0x18004dfe0
cmp rdi, rbx
jne 0x18004df1b
call fcn.180054d28
mov r11, rbx
jmp 0x18004df1e
mov r11, qword [rdi]
cmp rbp, qword [r11 + 0x20]
jb 0x18004df29
call fcn.180054d28
cmp qword [r12 + 0x18], 8
jb 0x18004df37
mov rcx, qword [r12]
jmp 0x18004df3a
mov rcx, r12
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, ebx
je 0x18004df7c
cmp rdi, rbx
jne 0x18004df53
call fcn.180054d28
mov r11, rbx
jmp 0x18004df56
mov r11, qword [rdi]
cmp rbp, qword [r11 + 0x20]
jb 0x18004df61
call fcn.180054d28
cmp qword [r12 + 0x18], 8
jb 0x18004df6f
mov rcx, qword [r12]
jmp 0x18004df72
mov rcx, r12
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
cmp eax, ebx
je 0x18004dfb0
cmp rdi, rbx
jne 0x18004df8b
call fcn.180054d28
mov r11, rbx
jmp 0x18004df8e
mov r11, qword [rdi]
cmp rbp, qword [r11 + 0x20]
jb 0x18004df99
call fcn.180054d28
mov rsi, qword [rsp + 0x50]
mov r11, qword [rsp + 0x48]
add rbp, 0x28
add r12, 0x28
jmp 0x18004dee8
cmp rdi, rbx
jne 0x18004dfbf
call fcn.180054d28
mov r11, rbx
jmp 0x18004dfc2
mov r11, qword [rdi]
cmp rbp, qword [r11 + 0x20]
jb 0x18004dfcd
call fcn.180054d28
lea rcx, [r14 + 0x18]
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rbp
call fcn.180007130
lea rcx, [rsp + 0x30]
call fcn.180007770
mov rcx, qword [rsp + 0x30]
call fcn.180054958
cmp qword [r14 + 0x30], rbx
sete bl
mov eax, ebx
jmp 0x18004e004
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