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

Disassembly:
mov r11, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x160
mov qword [rsp + 0xc0], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov rax, qword [0x100142128]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor r13d, r13d
mov r12d, r13d
mov rbx, r13
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x60], r13
mov rbp, r13
mov qword [r11 - 0xf0], r13
mov qword [r11 - 0x108], r13
mov qword [r11 - 0x100], r13
mov qword [r11 - 0xf8], r13
mov dword [rsp + 0x40], r13d
lea r15d, [r13 + 7]
mov qword [r11 - 0x98], r15
mov qword [r11 - 0xa0], r13
mov word [r11 - 0xb0], r13w
lea r8d, [r13 + 0x23]
lea rdx, [0x100004c50]
lea rcx, [r11 - 0xb8]
call fcn.10002cf94
nop
lea r8, [rsp + 0xd0]
lea edx, [r13 + 4]
lea rcx, [rsp + 0x120]
call fcn.1000a11f0
nop
lea r14d, [r13 + 8]
cmp qword [rsp + 0xf0], r14
jb 0x1000469a6
mov rcx, qword [rsp + 0xd8]
cmp rcx, r13
je 0x1000469a6
call sub.msvcrt.dll_free
mov qword [rsp + 0xf0], r15
mov qword [rsp + 0xe8], r13
mov word [rsp + 0xd8], r13w
lea rdx, [rsp + 0xf8]
mov rcx, qword [0x100145a40]
call fcn.10006bca8
nop
cmp qword [rsp + 0x110], r13
jne 0x1000469e9
mov r12d, 0x80070057
jmp 0x100046e1b
lea rdi, [rsp + 0x100]
cmp qword [rsp + 0x118], r14
cmovae rdi, qword [rsp + 0x100]
cmp rdi, r13
je 0x100046a30
xor ecx, ecx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rsp + 0x68], rax
cmp rax, r13
jne 0x100046a30
mov ecx, 0x8007000e
call fcn.10002c1d4
int3
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_VariantInit]
dec eax
cmp word [rbx + rax*2], 0x5c
je 0x100046a53
lea rdx, [0x100001f74]
lea rcx, [rsp + 0x68]
call fcn.10003a034
lea rdx, [0x100004ca0]
lea rcx, [rsp + 0x68]
call fcn.10003a034
mov rbx, qword [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100046e1b
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [0x10000dc08]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x10000dc18]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov r12d, eax
cmp eax, r13d
jne 0x100046e1b
cmp qword [rsp + 0x38], r13
je 0x100046e1b
mov word [rsp + 0x48], r13w
lea rcx, [rsp + 0x48]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov word [rsp + 0x48], r14w
cmp rbx, r13
jne 0x100046ad7
mov rax, r13
jmp 0x100046aeb
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
mov edx, eax
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_DllRegisterServer]
mov qword [rsp + 0x50], rax
cmp rax, r13
jne 0x100046b17
cmp rbx, r13
je 0x100046b17
mov eax, 0xa
mov word [rsp + 0x48], ax
mov dword [rsp + 0x50], 0x8007000e
mov ecx, 0x8007000e
call fcn.10002c1d4
nop
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x48]
mov rax, qword [rcx]
mov qword [rdx], rax
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
mov rax, qword [rcx + 0x10]
mov qword [rdx + 0x10], rax
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0xa0]
call qword [rax + 0x1d0]
mov r12d, eax
lea rcx, [rsp + 0x48]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp r12d, r13d
jl 0x100046e1b
cmp word [rsp + 0x30], r13w
je 0x100046e1b
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
lea rdx, [rsp + 0x70]
call qword [rax + 0x168]
mov r12d, eax
cmp eax, r13d
jl 0x100046e1b
mov rsi, qword [rsp + 0x70]
cmp rsi, r13
je 0x100046e1b
lea rcx, [0x100004ce0]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdi, rax
mov qword [rsp + 0xc8], rax
cmp rax, r13
jne 0x100046bcd
mov ecx, 0x8007000e
call fcn.10002c1d4
nop
mov rax, qword [rsi]
lea r8, [rsp + 0x60]
mov rdx, rdi
mov rcx, rsi
call qword [rax + 0x128]
mov r12d, eax
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp r12d, r13d
jl 0x100046e1b
cmp qword [rsp + 0x60], r13
je 0x100046e1b
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x78]
call fcn.100047330
mov r12d, eax
cmp eax, r13d
jl 0x100046e1b
mov qword [rsp + 0xf0], r15
mov qword [rsp + 0xe8], r13
mov word [rsp + 0xd8], r13w
lea rcx, [rsp + 0x100]
cmp qword [rsp + 0x118], r14
cmovae rcx, qword [rsp + 0x100]
lea r9, [rsp + 0xd0]
mov r8d, dword [rsp + 0x40]
lea rdx, [rsp + 0x78]
call fcn.100046f08
mov r12d, eax
cmp eax, r13d
jge 0x100046ca2
cmp qword [rsp + 0xf0], r14
jb 0x100046c84
mov rcx, qword [rsp + 0xd8]
call sub.msvcrt.dll_free
mov qword [rsp + 0xf0], r15
mov qword [rsp + 0xe8], r13
mov word [rsp + 0xd8], r13w
jmp 0x100046e1b
lea rdi, [rsp + 0xd8]
cmp qword [rsp + 0xf0], r14
cmovae rdi, qword [rsp + 0xd8]
cmp rdi, r13
je 0x100046cec
xor ecx, ecx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbp, rax
mov qword [rsp + 0x98], rax
cmp rax, r13
jne 0x100046cec
mov ecx, 0x8007000e
call fcn.10002c1d4
int3
mov r9, rbp
lea r8, [0x100004d38]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x38]
call fcn.100046780
mov r12d, eax
cmp eax, r13d
jge 0x100046d42
cmp qword [rsp + 0xf0], r14
jb 0x100046d24
mov rcx, qword [rsp + 0xd8]
call sub.msvcrt.dll_free
mov qword [rsp + 0xf0], r15
mov qword [rsp + 0xe8], r13
mov word [rsp + 0xd8], r13w
jmp 0x100046e1b
mov word [rsp + 0x48], r13w
lea rcx, [rsp + 0x48]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov word [rsp + 0x48], r14w
cmp rbx, r13
jne 0x100046d63
mov rax, r13
jmp 0x100046d77
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
mov edx, eax
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_DllRegisterServer]
mov qword [rsp + 0x50], rax
cmp rax, r13
jne 0x100046da3
cmp rbx, r13
je 0x100046da3
mov eax, 0xa
mov word [rsp + 0x48], ax
mov dword [rsp + 0x50], 0x8007000e
mov ecx, 0x8007000e
call fcn.10002c1d4
nop
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x48]
mov rax, qword [rcx]
mov qword [rdx], rax
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
mov rax, qword [rcx + 0x10]
mov qword [rdx + 0x10], rax
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
lea rdx, [rsp + 0xa0]
call qword [rax + 0x210]
mov r12d, eax
lea rcx, [rsp + 0x48]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
cmp qword [rsp + 0xf0], r14
jb 0x100046e02
mov rcx, qword [rsp + 0xd8]
call sub.msvcrt.dll_free
mov qword [rsp + 0xf0], r15
mov qword [rsp + 0xe8], r13
mov word [rsp + 0xd8], r13w
cmp qword [rsp + 0x118], r14
jb 0x100046e37
mov rcx, qword [rsp + 0x100]
cmp rcx, r13
je 0x100046e37
call sub.msvcrt.dll_free
mov qword [rsp + 0x118], r15
mov qword [rsp + 0x110], r13
mov word [rsp + 0x100], r13w
lea rcx, [rsp + 0x120]
call fcn.1000a1360
nop
mov rcx, qword [rsp + 0x80]
cmp rcx, r13
je 0x100046e70
call sub.msvcrt.dll_free
mov qword [rsp + 0x80], r13
mov qword [rsp + 0x88], r13
mov qword [rsp + 0x90], r13
mov rcx, rbp
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, qword [rsp + 0x60]
cmp rcx, r13
je 0x100046ea3
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x70]
cmp rcx, r13
je 0x100046eb4
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x38]
cmp rcx, r13
je 0x100046ec5
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, r12d
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1000c8b30
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret