Function at 0x100019d70
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0xd0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rbx, rcx
xor ebp, ebp
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x70], rbp
mov qword [rax - 0x80], rbp
mov qword [rax - 0x78], rbp
mov qword [rax - 0x70], rbp
lea edi, [rbp + 0xa]
mov dword [rax - 0x68], edi
mov rax, qword [rcx + 0x48]
cmp dword [rax - 0x10], ebp
jne 0x100019dd9
add rcx, 0x48
call fcn.100031934
cmp eax, ebp
je 0x100019e22
lea rcx, [rsp + 0x68]
call fcn.10001f1bc
mov eax, 0x80000000
jmp 0x10001a434
lea rax, [rsp + 0x100]
mov qword [rsp + 0x108], rax
lea rdx, [rcx + 0x48]
lea rcx, [rsp + 0x100]
call fcn.10001e09c
nop
xor r8d, r8d
lea rdx, [rbx + 0x48]
mov rcx, rax
call fcn.10003171c
cmp eax, ebp
je 0x100019e22
lea rcx, [rsp + 0x68]
call fcn.10001f1bc
mov eax, 0x80000000
jmp 0x10001a434
mov rcx, qword [rbx + 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10001a40f
shr eax, 4
mov r12d, 1
and al, r12b
je 0x10001a40f
mov r8, qword [rbx + 0x48]
lea rdx, [0x1000069c0]
mov ecx, r12d
call fcn.10001d66c
lea r11, [rsp + 0x100]
mov qword [rsp + 0x108], r11
lea rdx, [0x100001f88]
lea rcx, [rsp + 0x100]
call fcn.10001e134
nop
mov rcx, rax
call fcn.100023b98
cmp eax, ebp
jne 0x100019ea1
lea r8, [0x100001f88]
lea rdx, [0x100006a18]
mov ecx, r12d
call fcn.10001d66c
mov r13d, 2
cmp dword [0x1000824d8], ebp
je 0x100019fe7
cmp dword [rbx + 0x14], ebp
jne 0x100019ec9
lea ecx, [r13 + 6]
call fcn.100024e88
cmp eax, ebp
jne 0x100019ec9
mov eax, ebp
jmp 0x100019ecc
mov eax, r12d
mov dword [rbx + 0x14], eax
cmp dword [rbx + 0x18], ebp
jne 0x100019ee3
xor ecx, ecx
call fcn.100024e88
cmp eax, ebp
jne 0x100019ee3
mov eax, ebp
jmp 0x100019ee6
mov eax, r12d
mov dword [rbx + 0x18], eax
cmp dword [rbx + 0x24], ebp
jne 0x100019efe
mov ecx, r12d
call fcn.100024e88
cmp eax, ebp
jne 0x100019efe
mov eax, ebp
jmp 0x100019f01
mov eax, r12d
mov dword [rbx + 0x24], eax
cmp dword [rbx + 0x28], ebp
jne 0x100019f19
mov ecx, r13d
call fcn.100024e88
cmp eax, ebp
jne 0x100019f19
mov eax, ebp
jmp 0x100019f1c
mov eax, r12d
mov dword [rbx + 0x28], eax
cmp dword [rbx + 0x38], ebp
jne 0x100019f36
mov ecx, 6
call fcn.100024e88
cmp eax, ebp
jne 0x100019f36
mov eax, ebp
jmp 0x100019f39
mov eax, r12d
mov dword [rbx + 0x38], eax
cmp dword [rbx + 0x3c], ebp
jne 0x100019f53
mov ecx, 4
call fcn.100024e88
cmp eax, ebp
jne 0x100019f53
mov eax, ebp
jmp 0x100019f56
mov eax, r12d
mov dword [rbx + 0x3c], eax
cmp dword [rbx + 0x40], ebp
jne 0x100019f70
mov ecx, 3
call fcn.100024e88
cmp eax, ebp
jne 0x100019f70
mov eax, ebp
jmp 0x100019f73
mov eax, r12d
mov dword [rbx + 0x40], eax
cmp dword [rbx + 0x50], ebp
jne 0x100019f8d
mov ecx, 5
call fcn.100024e88
cmp eax, ebp
jne 0x100019f8d
mov eax, ebp
jmp 0x100019f90
mov eax, r12d
mov dword [rbx + 0x50], eax
cmp dword [rbx + 0x5c], ebp
jne 0x100019faa
mov ecx, 9
call fcn.100024e88
cmp eax, ebp
jne 0x100019faa
mov eax, ebp
jmp 0x100019fad
mov eax, r12d
mov dword [rbx + 0x5c], eax
cmp dword [rbx + 0x1c], ebp
jne 0x100019fc7
mov ecx, 7
call fcn.100024e88
cmp eax, ebp
jne 0x100019fc7
mov eax, ebp
jmp 0x100019fca
mov eax, r12d
mov dword [rbx + 0x1c], eax
cmp dword [rbx + 0x6c], ebp
jne 0x100019fe1
mov ecx, edi
call fcn.100024e88
cmp eax, ebp
jne 0x100019fe1
mov eax, ebp
jmp 0x100019fe4
mov eax, r12d
mov dword [rbx + 0x6c], eax
cmp dword [rbx + 0x14], ebp
jne 0x100019ff5
cmp dword [rbx + 0x18], ebp
jne 0x100019ff5
mov ecx, ebp
jmp 0x100019ff8
mov ecx, r12d
mov r8d, dword [rbx + 0x50]
movzx edx, word [rbx + 0x10]
call fcn.10001b820
cmp eax, ebp
je 0x10001a023
call fcn.100023d10
nop
lea rcx, [rsp + 0x68]
call fcn.10001f1bc
mov eax, 0x80000000
jmp 0x10001a434
cmp dword [rbx + 0x14], ebp
jne 0x10001a031
cmp dword [rbx + 0x18], ebp
jne 0x10001a031
mov ecx, ebp
jmp 0x10001a034
mov ecx, r12d
call fcn.10001b6cc
cmp eax, ebp
je 0x10001a057
call fcn.100023d10
nop
lea rcx, [rsp + 0x68]
call fcn.10001f1bc
mov eax, 0x80000000
jmp 0x10001a434
cmp dword [rbx + 0x24], ebp
je 0x10001a073
cmp dword [rbx + 0x28], ebp
je 0x10001a073
mov dword [rbx + 0x28], ebp
lea rdx, [0x100006a60]
mov ecx, r13d
call fcn.10001d2d8
cmp dword [rbx + 0x14], ebp
jne 0x10001a07d
cmp dword [rbx + 0x18], ebp
je 0x10001a097
cmp dword [rbx + 0x24], ebp
je 0x10001a097
mov dword [rbx + 0x14], ebp
mov dword [rbx + 0x18], ebp
lea rdx, [0x100006b60]
mov ecx, r13d
call fcn.10001d2d8
cmp dword [rbx + 0x14], ebp
jne 0x10001a0a5
cmp dword [rbx + 0x18], ebp
je 0x10001a185
cmp dword [rbx + 0x20], ebp
jne 0x10001a185
cmp qword [0x1000828e8], rbp
je 0x10001a185
mov qword [rsp + 0x98], rbp
mov qword [rsp + 0xa0], rbp
mov qword [rsp + 0xa8], rbp
mov qword [rsp + 0xb0], rbp
mov qword [rsp + 0xb8], rbp
mov dword [rsp + 0xc0], edi
lea rax, [rsp + 0x100]
mov qword [rsp + 0x108], rax
mov qword [rsp + 0x100], rbp
mov rdi, qword [0x1000828e8]
cmp rdi, rbp
je 0x10001a132
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0x100]
cmp rcx, rbp
je 0x10001a12a
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x100], rdi
lea r8, [rsp + 0x98]
mov edx, r12d
lea rcx, [rsp + 0x100]
call fcn.100025d1c
cmp qword [rsp + 0x98], rbp
je 0x10001a178
lea rcx, [rsp + 0x98]
call fcn.100026710
mov dword [rbx + 0x14], ebp
mov dword [rbx + 0x18], ebp
lea rdx, [0x100006c40]
mov ecx, r13d
call fcn.10001d2d8
jmp 0x10001a185
lea rcx, [rsp + 0x98]
call fcn.100026710
cmp dword [rbx + 0x6c], ebp
je 0x10001a1a1
cmp dword [rbx + 0x38], ebp
jne 0x10001a1a1
mov dword [rbx + 0x6c], ebp
lea rdx, [0x100006d30]
mov ecx, r13d
call fcn.10001d2d8
cmp dword [rbx + 0x14], ebp
jne 0x10001a1ab
cmp dword [rbx + 0x18], ebp
je 0x10001a1c2
cmp dword [rbx + 0x68], ebp
je 0x10001a1c2
mov dword [rbx + 0x68], ebp
lea rdx, [0x100006e10]
mov ecx, r13d
call fcn.10001d2d8
cmp dword [rbx + 0x14], ebp
je 0x10001a1d6
lea rdx, [0x100006ea0]
mov ecx, r12d
call fcn.10001d2d8
cmp dword [rbx + 0x18], ebp
je 0x10001a1ea
lea rdx, [0x100006f20]
mov ecx, r12d
call fcn.10001d2d8
cmp dword [rbx + 0x1c], ebp
je 0x10001a1fe
lea rdx, [0x100006fc0]
mov ecx, r12d
call fcn.10001d2d8
cmp dword [rbx + 0x20], ebp
je 0x10001a212
lea rdx, [0x100007010]
mov ecx, r12d
call fcn.10001d2d8
mov rax, qword [rbx + 0x30]
cmp dword [rax - 0x10], ebp
je 0x10001a22d
mov r8, rax
lea rdx, [0x100007060]
mov ecx, r12d
call fcn.10001d66c
cmp dword [rbx + 0x24], ebp
je 0x10001a241
lea rdx, [0x1000070e0]
mov ecx, r12d
call fcn.10001d2d8
cmp dword [rbx + 0x28], ebp
je 0x10001a255
lea rdx, [0x100007150]
mov ecx, r12d
call fcn.10001d2d8
cmp dword [rbx + 0x38], ebp
je 0x10001a269
lea rdx, [0x1000071d0]
mov ecx, r12d
call fcn.10001d2d8
cmp dword [rbx + 0x3c], ebp
je 0x10001a27d
lea rdx, [0x1000072a0]
mov ecx, r12d
call fcn.10001d2d8
cmp dword [rbx + 0x40], ebp
je 0x10001a291
lea rdx, [0x100007320]
mov ecx, r12d
call fcn.10001d2d8
cmp dword [rbx + 0x5c], ebp
je 0x10001a2a5
lea rdx, [0x1000073a0]
mov ecx, r12d
call fcn.10001d2d8
cmp dword [rbx + 0x68], ebp
je 0x10001a2b9
lea rdx, [0x100007430]
mov ecx, r12d
call fcn.10001d2d8
cmp dword [rbx + 0x6c], ebp
je 0x10001a2cd
lea rdx, [0x1000074c0]
mov ecx, r12d
call fcn.10001d2d8
lea rax, [rsp + 0x100]
mov qword [rsp + 0x108], rax
lea rdx, [rbx + 0x30]
lea rcx, [rsp + 0x100]
call fcn.10001e09c
mov r11, rax
mov ecx, dword [rbx + 0x5c]
mov dword [rsp + 0x50], ecx
mov edx, dword [rbx + 0x3c]
mov dword [rsp + 0x48], edx
mov edx, dword [rbx + 0x40]
mov dword [rsp + 0x40], edx
mov edx, dword [rbx + 0x38]
mov dword [rsp + 0x38], edx
mov edx, dword [rbx + 0x28]
mov dword [rsp + 0x30], edx
mov eax, dword [rbx + 0x24]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r11
mov r9d, dword [rbx + 0x1c]
mov r8d, dword [rbx + 0x18]
mov edx, dword [rbx + 0x14]
lea rcx, [rbx + 0x48]
call fcn.1000268b0
cmp dword [rbx + 0x14], ebp
jne 0x10001a3a2
cmp dword [rbx + 0x18], ebp
jne 0x10001a3a2
mov r8d, dword [rbx + 0x6c]
mov edx, dword [rbx + 0x68]
mov ecx, dword [rbx + 0x20]
call fcn.10001f5a8
cmp eax, ebp
jne 0x10001a3ab
lea rcx, [0x100082030]
call qword [sym.imp.COMCTL32.dll_PropertySheetW]
cmp eax, 0xffffffff
jne 0x10001a37c
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, [0x100008b68]
mov edx, eax
mov ecx, 3
call fcn.10001d404
mov rcx, qword [0x100082000]
cmp rcx, rbp
je 0x10001a38e
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [0x100081ff8]
cmp rcx, rbp
je 0x10001a3ab
call qword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x10001a3ab
xor edx, edx
xor ecx, ecx
call fcn.1000269d4
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x100]
call fcn.100027550
mov edi, eax
cmp eax, ebp
je 0x10001a3da
cmp dword [rbx + 0x14], ebp
jne 0x10001a3da
cmp dword [rbx + 0x18], ebp
jne 0x10001a3da
mov r8d, r13d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_RestartDialog]
lea r8, [rsp + 0x68]
mov edx, dword [rsp + 0x100]
mov ecx, edi
call fcn.10001ca50
mov ebx, eax
lea rcx, [0x1000817d0]
call fcn.10001f1bc
call fcn.100023d10
nop
lea rcx, [rsp + 0x68]
call fcn.10001f1bc
mov eax, ebx
jmp 0x10001a434
mov r8, qword [rbx + 0x48]
lea rdx, [0x1000069f0]
mov ecx, 3
call fcn.10001d66c
nop
lea rcx, [rsp + 0x68]
call fcn.10001f1bc
mov eax, 0x80000000
mov rbx, qword [rsp + 0x110]
add rsp, 0xd0
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret