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

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x180
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x140030020]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rdi, r9
movzx r13d, r8b
movzx r14d, dl
mov rsi, rcx
mov r12, qword [rsp + 0x1d0]
mov rcx, r9
call qword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
jne 0x140019682
mov eax, 0x80070057
jmp 0x140019959
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
add ebx, 1
mov ebp, 0
mov ecx, ebp
setns cl
test ecx, ecx
jne 0x1400196b3
mov ecx, 0x80070057
call fcn.140002460
int3
lea rax, [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
cmp rcx, rax
je 0x140019702
cmp ebx, 0x80
jle 0x1400196f0
movsxd rdx, ebx
mov r8d, 2
call qword [sym.imp.MSVCR90.dll__recalloc]
test rax, rax
jne 0x1400196e9
mov ecx, 0x8007000e
call fcn.140002460
int3
mov qword [rsp + 0x60], rax
jmp 0x14001971d
call qword [sym.imp.MSVCR90.dll_free]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
jmp 0x140019737
cmp ebx, 0x80
jle 0x14001972d
movsxd rcx, ebx
mov edx, 2
call qword [sym.imp.MSVCR90.dll_calloc]
mov qword [rsp + 0x60], rax
test rax, rax
jne 0x140019737
mov ecx, 0x8007000e
call fcn.140002460
int3
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
movsxd rdx, ebx
add rdx, rdx
mov r9, rdx
mov r8, rdi
mov rcx, rax
call qword [sym.imp.MSVCR90.dll_memcpy_s]
test eax, eax
je 0x140019785
cmp eax, 0xc
je 0x14001977a
cmp eax, 0x16
je 0x14001976f
cmp eax, 0x22
je 0x14001976f
cmp eax, 0x50
je 0x140019785
mov ecx, 0x80004005
call fcn.140002460
int3
mov ecx, 0x80070057
call fcn.140002460
int3
mov ecx, 0x8007000e
call fcn.140002460
nop
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14001993f
test al, 0x10
jne 0x14001993f
mov qword [rsp + 0x30], rbp
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x140025f58]
xor edx, edx
lea r8d, [rdx + 0x17]
lea rcx, [0x140025f48]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test eax, eax
jns 0x1400197ec
lea rax, [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
cmp rcx, rax
je 0x1400197e5
call qword [sym.imp.MSVCR90.dll_free]
mov eax, ebx
jmp 0x140019959
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400192a0
mov ecx, 0x48
call sub.MSVCR90.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
mov rbx, rax
test rax, rax
je 0x14001985d
lea rax, vtable.SAXContentHandlerCommCntrXMLData.0
mov qword [rbx], rax
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], rbp
mov qword [rbx + 0x20], rbp
mov qword [rbx + 0x30], rbp
mov qword [rbx + 0x38], rbp
mov byte [rbx + 8], r14b
mov byte [rbx + 9], r13b
movzx eax, word [rsp + 0x42]
mov word [rbx + 0xa], ax
movzx eax, byte [rsp + 0x50]
mov byte [rbx + 0xc], al
mov byte [rbx + 0x28], 0
mov byte [rbx + 0x40], 0
jmp 0x140019860
mov rbx, rbp
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 0x50]
mov ecx, 8
call sub.MSVCR90.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
mov rsi, rax
test rax, rax
je 0x14001988c
lea rax, vtable.SAXErrorHandlerImpl.0
mov qword [rsi], rax
jmp 0x14001988f
mov rsi, rbp
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + 0x70]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + QueryPathOfRegTypeLib]
mov edi, eax
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rcx]
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetDim]
test edi, edi
jne 0x1400198ff
mov qword [rsp + 0x38], rbp
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400198e7
mov rax, qword [rcx]
lea r8, [rsp + 0x38]
lea rdx, [0x140023580]
call qword [rax]
mov edi, eax
mov rbp, qword [rsp + 0x38]
jmp 0x1400198ec
mov edi, 0x80004005
test edi, edi
js 0x1400198ff
mov eax, 9
mov word [r12], ax
mov qword [r12 + 8], rbp
test rbx, rbx
je 0x140019912
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax + 0x70]
test rsi, rsi
je 0x140019926
mov rax, qword [rsi]
mov edx, 1
mov rcx, rsi
call qword [rax + 0x30]
nop
lea rax, [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
cmp rcx, rax
je 0x14001993b
call qword [sym.imp.MSVCR90.dll_free]
mov eax, edi
jmp 0x140019959
lea rax, [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
cmp rcx, rax
je 0x140019954
call qword [sym.imp.MSVCR90.dll_free]
mov eax, 0x80004005
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.14001fb00
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret