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

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
lea rbp, [rax - 0x48]
sub rsp, 0x128
mov qword [rbp + 0x10], 0xfffffffffffffffe
mov r8, qword [rdx]
mov rdi, rcx
xor esi, esi
mov ebx, esi
mov dword [rbp + 0x68], ebx
mov qword [rbp - 0x58], rsi
mov dword [rbp - 0x50], esi
mov qword [rbp - 0x48], rsi
or ecx, 0xffffffff
mov dword [rbp - 0x40], ecx
mov dword [rbp - 0x3c], ecx
mov dword [rbp - 0x38], esi
lea rcx, vtable.Piriform::Registry::CEnumRegKey.0
mov qword [rbp - 0x60], rcx
lea rcx, vtable.Piriform::Registry::CEnumRegKey.1.0
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], rsi
mov byte [rbp - 8], 1
mov qword [rbp], rsi
mov rdx, qword [rdi + 0xb8]
mov r9d, 0x20019
mov rdx, qword [rdx + 0x38]
lea rcx, [rbp - 0x58]
call fcn.1400114d4
test eax, eax
jne 0x1401e759e
lea rcx, [rbp - 0x60]
call fcn.140211a58
mov rsi, rax
mov qword [rsp + 0x38], rax
and qword [rsp + 0x28], 0
mov rcx, qword [rax + 8]
sub rcx, qword [rax]
sar rcx, 3
test rcx, rcx
je 0x1401e759e
lea rcx, [rdi + 0x10]
mov qword [rsp + 0x60], rcx
mov rax, qword [rcx]
call qword [rax + 0x30]
test al, al
je 0x1401e759e
mov rax, qword [rsi]
mov rcx, qword [rsp + 0x28]
lea r8, [rax + rcx*8]
lea rdx, [0x140352420]
lea rcx, [rsp + 0x20]
call fcn.14000d30c
nop
lea r8, [rsp + 0x20]
mov rdx, qword [rbp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.140004278
nop
mov rdx, qword [rsi]
mov rax, qword [rsp + 0x28]
mov rdx, qword [rdx + rax*8]
lea rcx, [rbp - 0x60]
call fcn.140211b78
test eax, eax
jne 0x1401e74a6
lea rdx, [rdi + 0xf8]
lea r8, [rsp + 0x30]
lea rcx, [rbp - 0x78]
call fcn.140004278
nop
or ebx, 1
mov dword [rbp + 0x68], ebx
mov rdi, qword [rax]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
mov esi, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor edi, edi
cmp eax, 0xffffffff
setne dil
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
test edi, edi
jne 0x1401e7258
mov rdx, qword [rbp + 0x50]
add rdx, 0x100
lea r8, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.140004278
or ebx, 2
mov dword [rbp + 0x68], ebx
mov rdi, qword [rax]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
mov esi, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor edi, edi
cmp eax, 0xffffffff
setne dil
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
test edi, edi
jne 0x1401e7258
mov dil, 1
jmp 0x1401e725b
xor dil, dil
test bl, 2
je 0x1401e7289
and ebx, 0xfffffffd
mov dword [rbp + 0x68], ebx
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1401e7286
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov ebx, dword [rbp + 0x68]
test bl, 1
je 0x1401e72b3
and ebx, 0xfffffffe
mov dword [rbp + 0x68], ebx
mov rdx, qword [rbp - 0x78]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1401e72b3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test dil, dil
je 0x1401e74a6
mov ecx, 0x88
call fcn.1400be454
mov qword [rbp + 0x18], rax
mov rdi, qword [rbp + 0x50]
test rax, rax
je 0x1401e72e3
mov rdx, qword [rdi + 0xb8]
mov rcx, rax
call fcn.14006de38
nop
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400186f8
nop
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov rbx, qword [rsp + 0x28]
lea rdx, [rax + rbx*8]
mov rcx, qword [rsp + 0x48]
add rcx, 0x58
call fcn.14000c244
lea r8, [rsp + 0x20]
mov rsi, qword [rbp + 0x58]
mov rdx, rsi
lea rcx, [rbp - 0x80]
call fcn.140004278
nop
mov rcx, qword [rsp + 0x48]
add rcx, 0x40
mov rdx, rax
call fcn.14000c244
nop
mov rdx, qword [rbp - 0x80]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1401e7357
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi + 0x40]
test rax, rax
je 0x1401e741b
cmp byte [rax + 0x18], 0
jne 0x1401e741b
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.14000c4d8
nop
lea r8, [0x140352420]
mov rdx, qword [rdi + 0x40]
lea rcx, [rsp + 0x58]
call fcn.14001c3e0
nop
lea r8, [0x140330de8]
mov rdx, qword [rax]
lea rcx, [rsp + 0x40]
call fcn.14000b658
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
or esi, 0xffffffff
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x1401e73c9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x78]
call fcn.140004278
nop
mov rcx, qword [rsp + 0x48]
add rcx, 0x60
mov rdx, qword [rax]
mov r8d, dword [rdx - 0x10]
call fcn.14000c0c4
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x1401e7414
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x40]
jmp 0x1401e744a
lea r8, [rsp + 0x20]
mov rdx, rsi
lea rcx, [rbp - 0x70]
call fcn.140004278
nop
mov rcx, qword [rsp + 0x48]
add rcx, 0x60
mov rdx, qword [rax]
mov r8d, dword [rdx - 0x10]
call fcn.14000c0c4
nop
mov rdx, qword [rbp - 0x70]
or esi, 0xffffffff
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x1401e7464
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.1401b5d9c
nop
mov rdi, qword [rsp + 0x50]
test rdi, rdi
je 0x1401e74ab
mov eax, esi
lock xadd dword [rdi + 8], eax
add eax, esi
jne 0x1401e74ab
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, esi
lock xadd dword [rdi + 0xc], eax
add eax, esi
jne 0x1401e74ab
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
jmp 0x1401e74ab
mov rbx, qword [rsp + 0x28]
xor eax, eax
lea rdi, [0x140330de8]
mov rsi, qword [rbp + 0x60]
mov rsi, qword [rsi]
lea ecx, [rax + 1]
repe cmpsw word [rsi], word [rdi]
je 0x1401e74c8
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
mov rsi, qword [rsp + 0x38]
test al, al
je 0x1401e74ef
mov rcx, qword [rsp + 0x60]
mov rdi, qword [rcx]
mov r8, qword [rsi + 8]
sub r8, qword [rsi]
sar r8, 3
lea edx, [rbx + 1]
call qword [rdi + reloc.OLEAUT32.dll_VariantClear]
lea r8, [rsp + 0x20]
mov rdx, qword [rbp + 0x58]
lea rcx, [rsp + 0x68]
call fcn.140004278
nop
lea r8, [rsp + 0x30]
mov rdx, rax
mov rdi, qword [rbp + 0x50]
mov rcx, rdi
call fcn.1401e7094
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1401e7539
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1401e755a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1401e757a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
inc rbx
mov qword [rsp + 0x28], rbx
mov rax, qword [rsi + 8]
sub rax, qword [rsi]
sar rax, 3
cmp rbx, rax
jae 0x1401e759e
mov ebx, dword [rbp + 0x68]
lea rcx, [rdi + 0x10]
jmp 0x1401e715e
lea rcx, [rbp - 0x60]
call fcn.140211a98
add rsp, 0x128
pop rdi
pop rsi
pop rbx
pop rbp
ret