Function at 0x14001a871
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1c8
movaps xmmword [rsp + 0x1b0], xmm7
movaps xmmword [rsp + 0x1a0], xmm6
mov rsi, r9
mov edi, r8d
mov r12, rdx
mov r14, rcx
mov rax, qword [0x140188028]
xor rax, rsp
mov qword [rsp + 0x198], rax
xorps xmm0, xmm0
movaps xmmword [rsp + 0x180], xmm0
movzx ecx, byte [rcx + 0x17]
test cl, cl
js 0x14001a8cc
mov eax, ecx
and eax, 0x7f
jmp 0x14001a8d0
mov rax, qword [r14 + 8]
mov ebp, 0x80070057
test rax, rax
je 0x14001a94e
mov rdx, r14
test cl, cl
jns 0x14001a8e4
mov rdx, qword [r14]
mov qword [rsp + 0xc8], rdx
mov qword [rsp + 0xd0], rax
test rax, rax
js 0x14001b1f0
test rdx, rdx
je 0x14001b21c
lea rbx, [rsp + 0x50]
lea rdx, [rsp + 0xc8]
mov rcx, rbx
call fcn.140040c70
cmp byte [rbx + 0x17], 0
jns 0x14001a926
mov rbx, qword [rsp + 0x50]
lea rdx, [rsp + 0x180]
mov rcx, rbx
call qword [sym.imp.ole32.dll_IIDFromString]
mov ebx, eax
cmp byte [rsp + 0x67], 0
jns 0x14001a94a
mov rcx, qword [rsp + 0x50]
call fcn.1400a122c
test ebx, ebx
jns 0x14001a984
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.1400a26b0
mov eax, ebp
movaps xmm6, xmmword [rsp + 0x1a0]
movaps xmm7, xmmword [rsp + 0x1b0]
add rsp, 0x1c8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x14015ed88]
lea r15, [rsp + 0xb8]
mov qword [r15], rcx
call fcn.1400be434
mov qword [r15 + 8], rax
lea rbx, [rsp + 0x50]
mov rcx, rbx
mov rdx, r15
call fcn.140068150
movzx eax, byte [rbx + 0x17]
test al, al
js 0x14001a9bc
and eax, 0x7f
jmp 0x14001a9c6
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov qword [rsp + 0x160], rbx
mov qword [rsp + 0x168], rax
test rax, rax
js 0x14001b1f0
test rbx, rbx
jne 0x14001a9ed
test rax, rax
jne 0x14001b21c
lea rbx, [rsp + 0x160]
mov rcx, r12
mov rdx, rbx
call fcn.14005dcfe
mov dword [rsp + 0x3c], eax
cmp byte [rsp + 0x67], 0
jns 0x14001aa15
mov rcx, qword [rsp + 0x50]
call fcn.1400a122c
xorps xmm0, xmm0
movaps xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0xb0], 0
movabs r15, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x60], r15
movaps xmm6, xmmword [0x140158be0]
movaps xmmword [rsp + 0x50], xmm6
movzx eax, byte [r14 + 0x17]
test al, al
js 0x14001aa58
and eax, 0x7f
mov rcx, r14
jmp 0x14001aa5f
mov rax, qword [r14 + 8]
mov rcx, qword [r14]
mov qword [rsp + 0x138], rcx
mov qword [rsp + 0x140], rax
test rax, rax
js 0x14001b1f0
test rcx, rcx
jne 0x14001aa86
test rax, rax
jne 0x14001b21c
lea rdx, [rsp + 0x138]
mov rcx, rbx
call fcn.140040c70
cmp byte [rsp + 0x177], 0
jns 0x14001aaa8
mov rbx, qword [rsp + 0x160]
lea rcx, [rsp + 0x50]
mov rdx, rbx
call fcn.14006ed57
cmp byte [rsp + 0x177], 0
jns 0x14001aacc
mov rcx, qword [rsp + 0x160]
call fcn.1400a122c
mov qword [rsp + 0x170], r15
movaps xmmword [rsp + 0x160], xmm6
movzx eax, byte [r12 + 0x17]
test al, al
js 0x14001ab0a
and eax, 0x7f
jmp 0x14001ab13
cmp eax, 0xa
je 0x14001b1bf
lea edx, [rax + 1]
and dl, 0x7f
lea rcx, [rsp + 0x100]
mov byte [rcx + 0x17], dl
jmp 0x14001abf8
mov rax, qword [r12 + 8]
mov r12, qword [r12]
mov qword [rsp + 0xf0], r12
mov qword [rsp + 0xf8], rax
test rax, rax
js 0x14001b1f0
test r12, r12
jne 0x14001ab3a
test rax, rax
jne 0x14001b21c
lea rbx, [rsp + 0x148]
lea rdx, [rsp + 0xf0]
mov rcx, rbx
call fcn.140040c70
lea r15, [rsp + 0xd8]
lea rdx, [rsp + 0x50]
mov rcx, r15
mov r8w, 0x5c
call fcn.1400e0861
lea r12, str.Commands
mov rcx, r12
call fcn.1400be434
mov rcx, r15
mov rdx, r12
mov r8, rax
call fcn.14003f298
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x110], rcx
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x100], xmm0
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
movzx eax, byte [rsp + 0x117]
test al, al
jns 0x14001aaeb
movabs r15, 0x7fffffffffffffff
and r15, qword [rsp + 0x110]
dec r15
mov rax, qword [rsp + 0x108]
cmp rax, r15
je 0x14001b1c5
mov rcx, qword [rsp + 0x100]
lea rdx, [rax + 1]
mov qword [rsp + 0x108], rdx
mov dword [rcx + rax*2], 0x5c
mov rax, qword [rsp + 0x110]
lea r15, [rsp + 0x120]
mov qword [r15 + 0x10], rax
mov rax, qword [rsp + 0x100]
mov qword [r15], rax
mov rax, qword [rsp + 0x108]
mov qword [r15 + 8], rax
xorps xmm7, xmm7
movaps xmmword [rsp + 0x100], xmm7
xor r12d, r12d
movzx eax, byte [rsp + 0x15f]
mov r8d, eax
and r8d, 0x7f
test al, al
cmovs r8, qword [rsp + 0x150]
mov qword [rsp + 0x110], r12
cmovs rbx, qword [rsp + 0x148]
mov rcx, r15
mov rdx, rbx
call fcn.14003f298
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x160], xmm0
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x170], rcx
mov qword [rax + 0x10], r12
movups xmmword [rax], xmm7
cmp byte [r15 + 0x17], 0
jns 0x14001aca0
mov rcx, qword [rsp + 0x120]
call fcn.1400a122c
cmp byte [rsp + 0x117], 0
jns 0x14001acb7
mov rcx, qword [rsp + 0x100]
call fcn.1400a122c
cmp byte [rsp + 0xef], 0
jns 0x14001acce
mov rcx, qword [rsp + 0xd8]
call fcn.1400a122c
cmp byte [rsp + 0x15f], 0
jns 0x14001ace5
mov rcx, qword [rsp + 0x148]
call fcn.1400a122c
lea rcx, str.CommandLine
lea r13, [rsp + 0x100]
mov qword [r13], rcx
call fcn.1400be434
mov qword [r13 + 8], rax
lea rcx, [rsp + 0x148]
mov rdx, r13
call fcn.140068150
lea rbx, [rsp + 0x160]
movzx ecx, byte [rbx + 0x17]
mov eax, ecx
and eax, 0x7f
test cl, cl
cmovs rax, qword [rbx + 8]
mov rcx, qword [rbx]
cmovns rcx, rbx
mov qword [rsp + 0xd8], rcx
mov qword [rsp + 0xe0], rax
test rax, rax
js 0x14001b1f0
test rcx, rcx
jne 0x14001ad57
test rax, rax
jne 0x14001b21c
lea r12, [rsp + 0x120]
lea rdx, [rsp + 0xd8]
mov rcx, r12
call fcn.140068150
lea r15, [rsp + 0x148]
lea r8, [rsp + 0xa0]
mov rcx, r12
mov rdx, r15
call fcn.14001b249
mov ebp, eax
cmp byte [r12 + 0x17], 0
jns 0x14001ada1
mov rcx, qword [rsp + 0x120]
call fcn.1400a122c
cmp byte [rsp + 0x15f], 0
mov r12d, dword [rsp + 0x3c]
jns 0x14001adbd
mov rcx, qword [rsp + 0x148]
call fcn.1400a122c
cmp byte [rsp + 0x177], 0
jns 0x14001add4
mov rcx, qword [rsp + 0x160]
call fcn.1400a122c
cmp byte [rsp + 0x67], 0
jns 0x14001ade5
mov rcx, qword [rsp + 0x50]
call fcn.1400a122c
test r12d, r12d
jne 0x14001afd1
test ebp, ebp
jns 0x14001afd1
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x60], rax
movaps xmmword [rsp + 0x50], xmm6
movzx eax, byte [r14 + 0x17]
test al, al
js 0x14001ae18
and eax, 0x7f
jmp 0x14001ae1f
mov rax, qword [r14 + 8]
mov r14, qword [r14]
lea rbp, [0x14015ed88]
mov qword [rsp + 0xd8], r14
mov qword [rsp + 0xe0], rax
test rax, rax
js 0x14001b1f0
test r14, r14
jne 0x14001ae4d
test rax, rax
jne 0x14001b21c
lea rdx, [rsp + 0xd8]
mov rcx, rbx
call fcn.140040c70
cmp byte [rsp + 0x177], 0
jns 0x14001ae6f
mov rbx, qword [rsp + 0x160]
lea r14, [rsp + 0x50]
mov rcx, r14
mov rdx, rbx
call fcn.14006ed57
cmp byte [rsp + 0x177], 0
jns 0x14001ae96
mov rcx, qword [rsp + 0x160]
call fcn.1400a122c
lea rbx, [rsp + 0x138]
mov qword [rbx], rbp
mov rcx, rbp
call fcn.1400be434
mov qword [rbx + 8], rax
mov rcx, r15
mov rdx, rbx
call fcn.140068150
cmp byte [rsp + 0x15f], 0
jns 0x14001aeca
mov r15, qword [rsp + 0x148]
lea rcx, [rsp + 0x160]
mov rdx, r15
call fcn.14005dd64
movzx ecx, byte [rsp + 0x67]
mov eax, ecx
and eax, 0x7f
test cl, cl
cmovs rax, qword [rsp + 0x58]
cmovs r14, qword [rsp + 0x50]
mov qword [rsp + 0xf0], r14
mov qword [rsp + 0xf8], rax
test rax, rax
js 0x14001b1f0
test r14, r14
jne 0x14001af19
test rax, rax
jne 0x14001b21c
lea rdx, [rsp + 0xf0]
mov rcx, r13
call fcn.140068150
cmp byte [rsp + 0x117], 0
jns 0x14001af3b
mov r13, qword [rsp + 0x100]
lea rbx, [rsp + 0x120]
mov rcx, rbx
mov rdx, r13
call fcn.14005dd64
lea rdx, [rsp + 0x160]
lea r8, [rsp + 0xa0]
mov rcx, rbx
call fcn.14001b249
mov ebp, eax
cmp byte [rbx + 0x17], 0
jns 0x14001af7b
mov rcx, qword [rsp + 0x120]
call fcn.1400a122c
cmp byte [rsp + 0x117], 0
jns 0x14001af92
mov rcx, qword [rsp + 0x100]
call fcn.1400a122c
cmp byte [rsp + 0x177], 0
jns 0x14001afa9
mov rcx, qword [rsp + 0x160]
call fcn.1400a122c
cmp byte [rsp + 0x15f], 0
jns 0x14001afc0
mov rcx, qword [rsp + 0x148]
call fcn.1400a122c
cmp byte [rsp + 0x67], 0
jns 0x14001afd1
mov rcx, qword [rsp + 0x50]
call fcn.1400a122c
test ebp, ebp
js 0x14001b182
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x70], xmm6
movzx ecx, byte [rsp + 0xb7]
mov eax, ecx
and eax, 0x7f
test cl, cl
cmovs rax, qword [rsp + 0xa8]
movaps xmmword [rsp + 0x60], xmm6
lea rcx, [rsp + 0xa0]
cmovs rcx, qword [rsp + 0xa0]
movaps xmmword [rsp + 0x50], xmm6
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rax
test rax, rax
js 0x14001b1f0
test rcx, rcx
jne 0x14001b042
test rax, rax
jne 0x14001b21c
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x40]
call fcn.14006b690
test r12d, r12d
je 0x14001b06d
lea rcx, [rsp + 0x50]
call fcn.14001a75c
mov ebp, 0x80070005
test al, al
je 0x14001b178
lea rcx, [rsp + 0x160]
movaps xmmword [rcx], xmm6
xor edx, edx
call fcn.14009edb0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp eax, edi
je 0x14001b0a3
lea rdx, [rsp + 0x160]
mov ecx, edi
call fcn.1400190ec
test eax, eax
jns 0x14001b0cb
mov ebp, eax
jmp 0x14001b16b
lea rdi, [rsp + 0x148]
mov rcx, rdi
call fcn.14009c1c0
lea rcx, [rsp + 0x160]
mov rdx, rdi
call fcn.1400654d0
mov rcx, rdi
call fcn.14003fd70
lea r8, [rsp + 0x148]
mov qword [r8], 0
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x160]
call fcn.1400198d3
test eax, eax
js 0x14001b1a2
mov rbx, qword [rsp + 0x148]
mov qword [rsp + 0x148], 0
lea r14, [rbx + 1]
cmp r14, 2
jb 0x14001b117
call fcn.140044200
xor ebp, ebp
cmp qword [rsi], rbx
je 0x14001b148
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14001b1a6
cmp r14, 2
jb 0x14001b140
mov qword [rsi], rbx
call fcn.140044200
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsp + 0x148]
inc rax
cmp rax, 2
jb 0x14001b16b
call fcn.140044200
mov rcx, qword [rsp + 0x148]
call fcn.14003fc40
lea rcx, [rsp + 0x160]
call fcn.14003fd70
lea rcx, [rsp + 0x50]
call fcn.14006ab30
cmp byte [rsp + 0xb7], 0
jns 0x14001a94e
mov rcx, qword [rsp + 0xa0]
call fcn.1400a122c
jmp 0x14001a94e
mov ebp, eax
jmp 0x14001b148
call fcn.140044200
mov rcx, qword [rsi]
call fcn.14003fc40
mov qword [rsi], 0
jmp 0x14001b132
mov r15d, 0xa
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x20], r15
lea rcx, [rsp + 0x100]
mov r8d, 1
mov rdx, r15
mov r9, r15
call fcn.1400271ce
mov rax, r15
jmp 0x14001abe4
lea rax, str.string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string_view
lea r9, str.__len___static_cast_size_type__numeric_limits_difference_type_::max___
mov r8d, 0x13a
call fcn.1400e25e5
lea rax, str.string_view::string_view__CharT___size_t_:_received_nullptr
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string_view
lea r9, str.__len__0____s___nullptr
mov r8d, 0x13c
call fcn.1400e25e5
int3