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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x208
mov dword [rsp + 0x130], 0
mov dword [rsp + 0x38], 0
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jl 0x1400439cc
lea rcx, [rsp + 0xc0]
call fcn.140041070
nop
lea rdx, str.Outlook.Application
lea rcx, [rsp + 0xc0]
call fcn.1400412b0
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x38], eax
lea rcx, [rsp + 0x140]
call fcn.140041070
nop
lea rax, [rsp + 0x190]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x190]
lea r8, [rsp + 0x190]
lea rdx, [rsp + 0x190]
lea rcx, [rsp + 0x140]
call fcn.14003c280
mov dword [rsp + 0x7c], eax
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x34], eax
xor edx, edx
lea rcx, [rsp + 0xc0]
call fcn.14002fa70
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0
je 0x14004397c
mov r8d, 1
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0x68]
call fcn.140041040
nop
mov rax, qword [rsp + 0x210]
mov rax, qword [rax + 8]
cmp dword [rax - 8], 0
jne 0x14004345b
mov dword [rsp + 0x48], 1
jmp 0x140043463
mov dword [rsp + 0x48], 0
cmp dword [rsp + 0x48], 0
jne 0x140043490
mov rax, qword [rsp + 0x210]
mov rax, qword [rax + 8]
mov qword [rsp + 0xd0], rax
mov rdx, qword [rsp + 0xd0]
lea rcx, [rsp + 0x68]
call fcn.140040870
mov rax, qword [rsp + 0x210]
mov rax, qword [rax + 0x10]
cmp dword [rax - 8], 0
jne 0x1400434ac
mov dword [rsp + 0x4c], 1
jmp 0x1400434b4
mov dword [rsp + 0x4c], 0
cmp dword [rsp + 0x4c], 0
jne 0x1400434e1
mov rax, qword [rsp + 0x210]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0xd8], rax
mov rdx, qword [rsp + 0xd8]
lea rcx, [rsp + 0x68]
call fcn.14003d850
mov rax, qword [rsp + 0x210]
mov rax, qword [rax + 0x18]
cmp dword [rax - 8], 0
jne 0x1400434fd
mov dword [rsp + 0x50], 1
jmp 0x140043505
mov dword [rsp + 0x50], 0
cmp dword [rsp + 0x50], 0
jne 0x140043532
mov rax, qword [rsp + 0x210]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0xe0], rax
mov rdx, qword [rsp + 0xe0]
lea rcx, [rsp + 0x68]
call fcn.14003d030
mov rax, qword [rsp + 0x210]
mov rax, qword [rax + 0x20]
cmp dword [rax - 8], 0
jne 0x14004354e
mov dword [rsp + 0x54], 1
jmp 0x140043556
mov dword [rsp + 0x54], 0
cmp dword [rsp + 0x54], 0
jne 0x140043583
mov rax, qword [rsp + 0x210]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0xe8], rax
mov rdx, qword [rsp + 0xe8]
lea rcx, [rsp + 0x68]
call fcn.1400406e0
mov rax, qword [rsp + 0x210]
mov rax, qword [rax + 0x28]
cmp dword [rax - 8], 0
jne 0x14004359f
mov dword [rsp + 0x58], 1
jmp 0x1400435a7
mov dword [rsp + 0x58], 0
cmp dword [rsp + 0x58], 0
jne 0x1400435d4
mov rax, qword [rsp + 0x210]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0xf0], rax
mov rdx, qword [rsp + 0xf0]
lea rcx, [rsp + 0x68]
call fcn.14003d260
mov rax, qword [rsp + 0x210]
mov eax, dword [rax + 0x38]
mov dword [rsp + 0x5c], eax
cmp dword [rsp + 0x5c], 0
je 0x140043911
lea rcx, [rsp + 0x68]
call fcn.1400308b0
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x100], rax
mov r8d, 1
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0x180]
call fcn.140041040
nop
mov dword [rsp + 0x30], 0
jmp 0x140043640
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x30], eax
jge 0x140043904
mov rax, qword [rsp + 0x210]
add rax, 0x30
mov qword [rsp + 0xa0], rax
cmp dword [rsp + 0x30], 0
jl 0x14004367a
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax + 8]
cmp dword [rsp + 0x30], eax
jl 0x140043689
mov edx, 1
mov ecx, 0xc000008c
call fcn.14001dbd0
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0xa0]
mov rcx, qword [rcx]
lea rax, [rcx + rax*8]
mov qword [rsp + 0x108], rax
mov rdx, qword [rsp + 0x108]
lea rcx, [rsp + 0x40]
call fcn.14001f7c0
mov qword [rsp + 0x1e0], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax - 8]
mov dword [rsp + 0x80], eax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x110], rax
mov dx, 0x5c
mov rcx, qword [rsp + 0x110]
call sub.VCRUNTIME140.dll_wcsrchr
mov qword [rsp + 0xa8], rax
cmp qword [rsp + 0xa8], 0
jne 0x140043709
mov dword [rsp + 0x60], 0xffffffff
jmp 0x140043723
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xa8]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x80]
sub ecx, eax
mov eax, ecx
dec eax
mov r8d, eax
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x40]
call fcn.14002c6b0
mov qword [rsp + 0x1d8], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x118], rax
mov rcx, qword [rsp + 0x118]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400438e7
xor edx, edx
lea rcx, [rsp + 0x90]
call fcn.140021f10
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0xb0], rax
mov eax, 8
mov word [rsp + 0x168], ax
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rsp + 0x170], rax
cmp qword [rsp + 0x170], 0
jne 0x1400437e0
cmp qword [rsp + 0xb0], 0
je 0x1400437e0
mov ecx, 0x8007000e
call fcn.140083b40
nop
mov eax, 0x16
mov word [rsp + 0x1c0], ax
mov dword [rsp + 0x1c8], 1
mov eax, 0x16
mov word [rsp + 0x1a8], ax
mov dword [rsp + 0x1b0], 1
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.140021f10
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0xb8], rax
mov eax, 8
mov word [rsp + 0x150], ax
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rsp + 0x158], rax
cmp qword [rsp + 0x158], 0
jne 0x140043878
cmp qword [rsp + 0xb8], 0
je 0x140043878
mov ecx, 0x8007000e
call fcn.140083b40
nop
lea rax, [rsp + 0x168]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x1c0]
lea r8, [rsp + 0x1a8]
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0x180]
call fcn.14002f020
nop
lea rcx, [rsp + 0x150]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rsp + 0x1a8]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rsp + 0x1c0]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rsp + 0x168]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rsp + 0x90]
call fcn.1400202f0
nop
lea rcx, [rsp + 0x40]
call fcn.1400202f0
jmp 0x140043636
lea rcx, [rsp + 0x180]
call fcn.1400410a0
mov eax, VariantTimeToDosDateTime
mov word [rsp + 0x1e8], ax
xor eax, eax
mov word [rsp + 0x1f0], ax
lea rdx, [rsp + 0x1e8]
lea rcx, [rsp + 0x68]
call fcn.14002fe20
mov dword [rsp + 0x84], eax
mov eax, dword [rsp + 0x84]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0x80020009
jne 0x140043960
mov dword [rsp + 0x64], 0
jmp 0x140043968
mov dword [rsp + 0x64], 1
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x38], eax
lea rcx, [rsp + 0x68]
call fcn.1400410a0
jmp 0x140043984
mov dword [rsp + 0x38], 0
lea rcx, [rsp + 0x140]
call fcn.14003c240
lea rcx, [rsp + 0xc0]
call fcn.1400427d0
nop
lea rcx, [rsp + 0x140]
call fcn.1400410a0
nop
lea rcx, [rsp + 0xc0]
call fcn.1400410a0
nop
jmp 0x1400439c6
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [rsp + 0x38]
add rsp, 0x208
ret