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

Disassembly:
push rbx
push rdi
sub rsp, 0x138
mov rbx, rcx
mov rcx, qword [0x14012a950]
mov rdi, rdx
call fcn.140024380
test rdi, rdi
je 0x140073eab
cmp word [rdi], 0
je 0x140073eab
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
mov edi, eax
cmp eax, 0xffffffff
jne 0x140073b64
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov rcx, qword [0x1401255c8]
mov dword [rcx + 0x40], eax
jmp 0x140073eb9
mov rax, qword [0x1401255c8]
mov qword [rsp + 0x160], rsi
xor esi, esi
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x168], r12
mov dword [rax + 0x40], esi
call fcn.14004cf20
mov rbx, qword [0x14012a950]
lea rcx, [rsp + 0x30]
mov edx, edi
call fcn.1400ba5e0
movzx r8d, byte [rbx + 0x23]
mov r12, rax
test r8b, r8b
jne 0x140073bc9
mov rcx, qword [rbx + 0x10]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov rdx, rax
mov byte [rsp + 0x20], 1
call fcn.1400bd650
mov esi, eax
jmp 0x140073e50
mov qword [rsp + 0x150], rbp
mov dl, 1
mov qword [rsp + 0x130], r13
test rax, rax
jne 0x140073bee
xor dl, dl
mov r13, rsi
lea r12, [0x1400f1514]
jmp 0x140073c10
cmp qword [rbx + 8], rax
jne 0x140073bfd
mov r13, qword [rbx + 0x10]
shr r13, 1
jmp 0x140073c10
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, r12
repne scasw ax, word [rdi]
not rcx
lea r13, [rcx - 1]
lea rax, [r13 + 1]
lea rbp, [rax + rax]
cmp r8b, 2
jne 0x140073c30
mov rdx, r13
mov rcx, r12
call fcn.140006d20
mov esi, eax
jmp 0x140073e40
mov rcx, qword [0x1401255a0]
cmp rbp, rcx
jbe 0x140073c63
cmp rbp, qword [rbx + 0x18]
jbe 0x140073c63
lea r8, [0x1400f1514]
lea rdx, str.Memory_limit_reached__see_MaxMem_in_the_help_file_.
lea rcx, [0x14012c5c0]
call fcn.14004e5e0
mov esi, eax
jmp 0x140073e40
cmp rax, 2
jae 0x140073c82
test dl, dl
mov rcx, rbx
setne sil
xor r8d, r8d
lea edx, [rsi + 3]
call fcn.1400bdd00
jmp 0x140073e3b
movzx eax, byte [rbx + 0x21]
test al, 2
je 0x140073c9f
mov rcx, qword [rbx]
and al, 0x3d
mov byte [rbx + 0x21], al
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rcx, qword [0x1401255a0]
mov r8, qword [rbx + 0x18]
and byte [rbx + 0x21], 0x82
cmp rbp, r8
jbe 0x140073e14
movzx r9d, byte [rbx + 0x20]
movzx eax, r9b
cmp r9b, 1
jbe 0x140073cd8
cmp al, 2
je 0x140073d15
mov rdi, qword [rsp + 0x158]
mov rax, qword [rsp + 0x158]
jmp 0x140073e08
mov edi, 0x80
cmp rbp, rdi
ja 0x140073d15
cmp rbp, 8
ja 0x140073cef
mov edi, 8
jmp 0x140073cfb
mov eax, reloc.OLEAUT32.dll_SafeArrayGetDim
cmp rbp, rax
cmovbe rdi, rax
mov rcx, rdi
call fcn.1400b60b0
test rax, rax
je 0x140073e40
mov byte [rbx + 0x20], 1
jmp 0x140073e08
cmp rbp, 0x20
jae 0x140073d25
mov edi, SafeArrayAllocDescriptor
jmp 0x140073dcf
mov edi, 0x208
cmp rbp, rdi
jb 0x140073dcf
cmp rbp, 0x50000
jae 0x140073d8b
pxor xmm0, xmm0
cvtsi2sd xmm0, rbp
test rbp, rbp
jns 0x140073d52
addsd xmm0, qword [0x140112038]
mulsd xmm0, qword [0x140112070]
movsd xmm1, qword [0x140112068]
xor eax, eax
comisd xmm0, xmm1
jbe 0x140073d81
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x140073d81
movabs rdx, 0x8000000000000000
mov rax, rdx
cvttsd2si rdi, xmm0
add rdi, rax
jmp 0x140073dcf
cmp rbp, 0x320000
jae 0x140073d9d
lea rdi, [rbp + 0x8000]
jmp 0x140073dcf
cmp rbp, 0xc80000
jae 0x140073dc8
movabs rax, 0x47ae147ae147ae15
mov rdi, rbp
mul rbp
sub rdi, rdx
shr rdi, 1
add rdi, rdx
shr rdi, 6
add rdi, rbp
jmp 0x140073dcf
lea rdi, [rbp + 0x20000]
cmp rdi, rcx
cmova rdi, rcx
cmp r9b, 2
jne 0x140073def
test r8, r8
je 0x140073def
mov rcx, qword [rbx + 8]
mov bpl, 1
call fcn.1400d6fd8
jmp 0x140073df2
xor bpl, bpl
test rdi, rdi
js 0x140073e6c
mov rcx, rdi
call fcn.1400d6f18
test rax, rax
je 0x140073e6c
mov byte [rbx + 0x20], 2
and byte [rbx + 0x21], 0x7f
mov qword [rbx + 8], rax
mov qword [rbx + 0x18], rdi
mov rcx, qword [rbx + 8]
cmp rcx, r12
je 0x140073e2a
lea r8, [r13 + r13]
mov rdx, r12
call fcn.1400d7a40
mov rax, qword [rbx + 8]
lea rcx, [r13 + r13]
mov word [rcx + rax], si
mov qword [rbx + 0x10], rcx
mov esi, 1
mov rbp, qword [rsp + 0x150]
mov r13, qword [rsp + 0x130]
mov r12, qword [rsp + 0x168]
mov eax, esi
mov rsi, qword [rsp + 0x160]
add rsp, 0x138
pop rdi
pop rbx
ret
test bpl, bpl
je 0x140073e82
lea rax, [0x14012c4b8]
mov qword [rbx + 0x18], rsi
mov qword [rbx + 8], rax
jmp 0x140073e89
mov rax, qword [rbx + 8]
mov word [rax], si
lea r8, [0x1400f1514]
lea rdx, str.Out_of_memory.
lea rcx, [0x14012c5c0]
mov qword [rbx + 0x10], rsi
call fcn.14004e5e0
mov esi, eax
jmp 0x140073e40
mov rax, qword [0x1401255c8]
mov dword [rax + 0x40], 0x57
mov dl, 1
mov rcx, rbx
call fcn.14004cf20
add rsp, 0x138
pop rdi
pop rbx
ret