Function at 0x14001a821
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 [0x140186028]
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 0x14001a87c
mov eax, ecx
and eax, 0x7f
jmp 0x14001a880
mov rax, qword [r14 + 8]
mov ebp, 0x80070057
test rax, rax
je 0x14001a8fe
mov rdx, r14
test cl, cl
jns 0x14001a894
mov rdx, qword [r14]
mov qword [rsp + 0xc8], rdx
mov qword [rsp + 0xd0], rax
test rax, rax
js 0x14001b1a0
test rdx, rdx
je 0x14001b1cc
lea rbx, [rsp + 0x50]
lea rdx, [rsp + 0xc8]
mov rcx, rbx
call fcn.140063bd0
cmp byte [rbx + 0x17], 0
jns 0x14001a8d6
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 0x14001a8fa
mov rcx, qword [rsp + 0x50]
call fcn.14009aecc
test ebx, ebx
jns 0x14001a934
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.14009c350
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, [0x14015dd40]
lea r15, [rsp + 0xb8]
mov qword [r15], rcx
call fcn.1400b80d4
mov qword [r15 + 8], rax
lea rbx, [rsp + 0x50]
mov rcx, rbx
mov rdx, r15
call fcn.140063ba0
movzx eax, byte [rbx + 0x17]
test al, al
js 0x14001a96c
and eax, 0x7f
jmp 0x14001a976
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov qword [rsp + 0x160], rbx
mov qword [rsp + 0x168], rax
test rax, rax
js 0x14001b1a0
test rbx, rbx
jne 0x14001a99d
test rax, rax
jne 0x14001b1cc
lea rbx, [rsp + 0x160]
mov rcx, r12
mov rdx, rbx
call fcn.1400dbf02
mov dword [rsp + 0x3c], eax
cmp byte [rsp + 0x67], 0
jns 0x14001a9c5
mov rcx, qword [rsp + 0x50]
call fcn.14009aecc
xorps xmm0, xmm0
movaps xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0xb0], 0
movabs r15, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x60], r15
movaps xmm6, xmmword [0x140157be0]
movaps xmmword [rsp + 0x50], xmm6
movzx eax, byte [r14 + 0x17]
test al, al
js 0x14001aa08
and eax, 0x7f
mov rcx, r14
jmp 0x14001aa0f
mov rax, qword [r14 + 8]
mov rcx, qword [r14]
mov qword [rsp + 0x138], rcx
mov qword [rsp + 0x140], rax
test rax, rax
js 0x14001b1a0
test rcx, rcx
jne 0x14001aa36
test rax, rax
jne 0x14001b1cc
lea rdx, [rsp + 0x138]
mov rcx, rbx
call fcn.140063bd0
cmp byte [rsp + 0x177], 0
jns 0x14001aa58
mov rbx, qword [rsp + 0x160]
lea rcx, [rsp + 0x50]
mov rdx, rbx
call fcn.14006a0bc
cmp byte [rsp + 0x177], 0
jns 0x14001aa7c
mov rcx, qword [rsp + 0x160]
call fcn.14009aecc
mov qword [rsp + 0x170], r15
movaps xmmword [rsp + 0x160], xmm6
movzx eax, byte [r12 + 0x17]
test al, al
js 0x14001aaba
and eax, 0x7f
jmp 0x14001aac3
cmp eax, 0xa
je 0x14001b16f
lea edx, [rax + 1]
and dl, 0x7f
lea rcx, [rsp + 0x100]
mov byte [rcx + 0x17], dl
jmp 0x14001aba8
mov rax, qword [r12 + 8]
mov r12, qword [r12]
mov qword [rsp + 0xf0], r12
mov qword [rsp + 0xf8], rax
test rax, rax
js 0x14001b1a0
test r12, r12
jne 0x14001aaea
test rax, rax
jne 0x14001b1cc
lea rbx, [rsp + 0x148]
lea rdx, [rsp + 0xf0]
mov rcx, rbx
call fcn.140063bd0
lea r15, [rsp + 0xd8]
lea rdx, [rsp + 0x50]
mov rcx, r15
mov r8w, 0x5c
call fcn.1400dbf67
lea r12, str.Commands
mov rcx, r12
call fcn.1400b80d4
mov rcx, r15
mov rdx, r12
mov r8, rax
call fcn.14003f154
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 0x14001aa9b
movabs r15, 0x7fffffffffffffff
and r15, qword [rsp + 0x110]
dec r15
mov rax, qword [rsp + 0x108]
cmp rax, r15
je 0x14001b175
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.14003f154
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 0x14001ac50
mov rcx, qword [rsp + 0x120]
call fcn.14009aecc
cmp byte [rsp + 0x117], 0
jns 0x14001ac67
mov rcx, qword [rsp + 0x100]
call fcn.14009aecc
cmp byte [rsp + 0xef], 0
jns 0x14001ac7e
mov rcx, qword [rsp + 0xd8]
call fcn.14009aecc
cmp byte [rsp + 0x15f], 0
jns 0x14001ac95
mov rcx, qword [rsp + 0x148]
call fcn.14009aecc
lea rcx, str.CommandLine
lea r13, [rsp + 0x100]
mov qword [r13], rcx
call fcn.1400b80d4
mov qword [r13 + 8], rax
lea rcx, [rsp + 0x148]
mov rdx, r13
call fcn.140063ba0
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 0x14001b1a0
test rcx, rcx
jne 0x14001ad07
test rax, rax
jne 0x14001b1cc
lea r12, [rsp + 0x120]
lea rdx, [rsp + 0xd8]
mov rcx, r12
call fcn.140063ba0
lea r15, [rsp + 0x148]
lea r8, [rsp + 0xa0]
mov rcx, r12
mov rdx, r15
call fcn.14001b1f9
mov ebp, eax
cmp byte [r12 + 0x17], 0
jns 0x14001ad51
mov rcx, qword [rsp + 0x120]
call fcn.14009aecc
cmp byte [rsp + 0x15f], 0
mov r12d, dword [rsp + 0x3c]
jns 0x14001ad6d
mov rcx, qword [rsp + 0x148]
call fcn.14009aecc
cmp byte [rsp + 0x177], 0
jns 0x14001ad84
mov rcx, qword [rsp + 0x160]
call fcn.14009aecc
cmp byte [rsp + 0x67], 0
jns 0x14001ad95
mov rcx, qword [rsp + 0x50]
call fcn.14009aecc
test r12d, r12d
jne 0x14001af81
test ebp, ebp
jns 0x14001af81
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x60], rax
movaps xmmword [rsp + 0x50], xmm6
movzx eax, byte [r14 + 0x17]
test al, al
js 0x14001adc8
and eax, 0x7f
jmp 0x14001adcf
mov rax, qword [r14 + 8]
mov r14, qword [r14]
lea rbp, [0x14015dd40]
mov qword [rsp + 0xd8], r14
mov qword [rsp + 0xe0], rax
test rax, rax
js 0x14001b1a0
test r14, r14
jne 0x14001adfd
test rax, rax
jne 0x14001b1cc
lea rdx, [rsp + 0xd8]
mov rcx, rbx
call fcn.140063bd0
cmp byte [rsp + 0x177], 0
jns 0x14001ae1f
mov rbx, qword [rsp + 0x160]
lea r14, [rsp + 0x50]
mov rcx, r14
mov rdx, rbx
call fcn.14006a0bc
cmp byte [rsp + 0x177], 0
jns 0x14001ae46
mov rcx, qword [rsp + 0x160]
call fcn.14009aecc
lea rbx, [rsp + 0x138]
mov qword [rbx], rbp
mov rcx, rbp
call fcn.1400b80d4
mov qword [rbx + 8], rax
mov rcx, r15
mov rdx, rbx
call fcn.140063ba0
cmp byte [rsp + 0x15f], 0
jns 0x14001ae7a
mov r15, qword [rsp + 0x148]
lea rcx, [rsp + 0x160]
mov rdx, r15
call fcn.14005baa8
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 0x14001b1a0
test r14, r14
jne 0x14001aec9
test rax, rax
jne 0x14001b1cc
lea rdx, [rsp + 0xf0]
mov rcx, r13
call fcn.140063ba0
cmp byte [rsp + 0x117], 0
jns 0x14001aeeb
mov r13, qword [rsp + 0x100]
lea rbx, [rsp + 0x120]
mov rcx, rbx
mov rdx, r13
call fcn.14005baa8
lea rdx, [rsp + 0x160]
lea r8, [rsp + 0xa0]
mov rcx, rbx
call fcn.14001b1f9
mov ebp, eax
cmp byte [rbx + 0x17], 0
jns 0x14001af2b
mov rcx, qword [rsp + 0x120]
call fcn.14009aecc
cmp byte [rsp + 0x117], 0
jns 0x14001af42
mov rcx, qword [rsp + 0x100]
call fcn.14009aecc
cmp byte [rsp + 0x177], 0
jns 0x14001af59
mov rcx, qword [rsp + 0x160]
call fcn.14009aecc
cmp byte [rsp + 0x15f], 0
jns 0x14001af70
mov rcx, qword [rsp + 0x148]
call fcn.14009aecc
cmp byte [rsp + 0x67], 0
jns 0x14001af81
mov rcx, qword [rsp + 0x50]
call fcn.14009aecc
test ebp, ebp
js 0x14001b132
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 0x14001b1a0
test rcx, rcx
jne 0x14001aff2
test rax, rax
jne 0x14001b1cc
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x40]
call fcn.140107580
test r12d, r12d
je 0x14001b01d
lea rcx, [rsp + 0x50]
call fcn.14001a70c
mov ebp, 0x80070005
test al, al
je 0x14001b128
lea rcx, [rsp + 0x160]
movaps xmmword [rcx], xmm6
xor edx, edx
call fcn.140097f90
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp eax, edi
je 0x14001b053
lea rdx, [rsp + 0x160]
mov ecx, edi
call fcn.1400190a4
test eax, eax
jns 0x14001b07b
mov ebp, eax
jmp 0x14001b11b
lea rdi, [rsp + 0x148]
mov rcx, rdi
call fcn.140094630
lea rcx, [rsp + 0x160]
mov rdx, rdi
call fcn.140061850
mov rcx, rdi
call fcn.14003fb40
lea r8, [rsp + 0x148]
mov qword [r8], 0
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x160]
call fcn.140019881
test eax, eax
js 0x14001b152
mov rbx, qword [rsp + 0x148]
mov qword [rsp + 0x148], 0
lea r14, [rbx + 1]
cmp r14, 2
jb 0x14001b0c7
call fcn.140043c00
xor ebp, ebp
cmp qword [rsi], rbx
je 0x14001b0f8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14001b156
cmp r14, 2
jb 0x14001b0f0
mov qword [rsi], rbx
call fcn.140043c00
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsp + 0x148]
inc rax
cmp rax, 2
jb 0x14001b11b
call fcn.140043c00
mov rcx, qword [rsp + 0x148]
call fcn.14003fa10
lea rcx, [rsp + 0x160]
call fcn.14003fb40
lea rcx, [rsp + 0x50]
call fcn.1400663d0
cmp byte [rsp + 0xb7], 0
jns 0x14001a8fe
mov rcx, qword [rsp + 0xa0]
call fcn.14009aecc
jmp 0x14001a8fe
mov ebp, eax
jmp 0x14001b0f8
call fcn.140043c00
mov rcx, qword [rsi]
call fcn.14003fa10
mov qword [rsi], 0
jmp 0x14001b0e2
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.140026664
mov rax, r15
jmp 0x14001ab94
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.1400e4624
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.1400e4624
int3