Function at 0x14003b66c
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 rdi, r9
mov r13d, r8d
mov r15, rdx
mov rbx, rcx
mov rax, qword [0x14020b038]
xor rax, rsp
mov qword [rsp + 0x198], rax
xorps xmm0, xmm0
movaps xmmword [rsp + 0x180], xmm0
movzx ecx, byte [rcx + 0x17]
test cl, cl
jns 0x14003b6c6
mov rax, qword [rbx + 8]
jmp 0x14003b6cb
mov eax, ecx
and eax, 0x7f
mov r12d, 0x80070057
test rax, rax
je 0x14003b809
mov r8, rbx
test cl, cl
jns 0x14003b6e4
mov r8, qword [rbx]
lea rdx, [rsp + 0xc8]
mov qword [rdx], r8
mov qword [rdx + 8], rax
lea r14, [rsp + 0x50]
mov rcx, r14
call fcn.14007bc50
cmp byte [r14 + 0x17], 0
jns 0x14003b70c
mov r14, qword [rsp + 0x50]
lea rdx, [rsp + 0x180]
mov rcx, r14
call qword [sym.imp.ole32.dll_IIDFromString]
mov ebp, eax
cmp byte [rsp + 0x67], 0
jns 0x14003b730
mov rcx, qword [rsp + 0x50]
call fcn.140111a1c
test ebp, ebp
js 0x14003b809
cmp byte [0x14021c0c8], 0
mov qword [rsp + 0x38], rdi
jne 0x14003b845
mov dword [rsp + 0x34], r13d
xor esi, esi
lea rdi, [0x1401e3880]
lea r14, [rsp + 0x50]
lea r12, [rsp + 0x148]
lea r13, [rsp + 0x160]
mov rcx, qword [rsi + rdi]
mov qword [rsp + 0x148], rcx
test rcx, rcx
je 0x14003b785
call fcn.1401390f4
jmp 0x14003b787
xor eax, eax
mov qword [rsp + 0x150], rax
mov rcx, r14
mov rdx, r12
call fcn.1400c9830
movzx eax, byte [rsp + 0x67]
test al, al
jns 0x14003b7af
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
jmp 0x14003b7b5
and eax, 0x7f
mov rcx, r14
mov qword [rsp + 0x160], rcx
mov qword [rsp + 0x168], rax
test rax, rax
je 0x14003b7d3
test rcx, rcx
je 0x14003bec7
mov rcx, r15
mov rdx, r13
call fcn.1400b23c2
mov ebp, eax
cmp byte [rsp + 0x67], 0
jns 0x14003b7f1
mov rcx, qword [rsp + 0x50]
call fcn.140111a1c
test ebp, ebp
je 0x14003b840
add rsi, 8
cmp rsi, 0x18
jne 0x14003b76d
mov r12d, 0x80070005
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.140113000
mov eax, r12d
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
mov r13d, dword [rsp + 0x34]
lea rcx, [0x1401e45e8]
lea r12, [rsp + 0xb8]
mov qword [r12], rcx
call fcn.1401390f4
mov qword [r12 + 8], rax
lea r14, [rsp + 0x50]
mov rcx, r14
mov rdx, r12
call fcn.1400c9830
movzx eax, byte [r14 + 0x17]
test al, al
jns 0x14003b887
mov rax, qword [rsp + 0x58]
mov r14, qword [rsp + 0x50]
jmp 0x14003b88a
and eax, 0x7f
mov qword [rsp + 0x160], r14
mov qword [rsp + 0x168], rax
test rax, rax
je 0x14003b8a8
test r14, r14
je 0x14003bec7
lea r14, [rsp + 0x160]
mov rcx, r15
mov rdx, r14
call fcn.1400b23c2
mov dword [rsp + 0x34], eax
cmp byte [rsp + 0x67], 0
jns 0x14003b8d0
mov rcx, qword [rsp + 0x50]
call fcn.140111a1c
xorps xmm0, xmm0
movaps xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0xb0], 0
movabs rsi, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x60], rsi
movaps xmm6, xmmword [0x1401dfd10]
movaps xmmword [rsp + 0x50], xmm6
movzx eax, byte [rbx + 0x17]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [rbx]
cmovns rax, rbx
lea rdx, [rsp + 0x138]
mov qword [rdx], rax
cmovs rcx, qword [rbx + 8]
mov qword [rdx + 8], rcx
mov rcx, r14
call fcn.14007bc50
cmp byte [rsp + 0x177], 0
jns 0x14003b942
mov r14, qword [rsp + 0x160]
lea rcx, [rsp + 0x50]
mov rdx, r14
call fcn.1400d1b75
cmp byte [rsp + 0x177], 0
jns 0x14003b966
mov rcx, qword [rsp + 0x160]
call fcn.140111a1c
mov qword [rsp + 0x170], rsi
movaps xmmword [rsp + 0x160], xmm6
movzx eax, byte [r15 + 0x17]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [r15]
cmovns rax, r15
lea rdx, [rsp + 0xf0]
mov qword [rdx], rax
cmovs rcx, qword [r15 + 8]
mov qword [rdx + 8], rcx
lea r14, [rsp + 0x148]
mov rcx, r14
call fcn.14007bc50
lea r15, [rsp + 0xd8]
lea rdx, [rsp + 0x50]
mov rcx, r15
mov r8w, 0x5c
call fcn.140150b3b
lea r12, str.Commands
mov rcx, r12
call fcn.1401390f4
mov rcx, r15
mov rdx, r12
mov r8, rax
call fcn.14006c176
movups xmm0, xmmword [rax]
lea r15, [rsp + 0x100]
movaps xmmword [r15], xmm0
mov rcx, qword [rax + 0x10]
mov qword [r15 + 0x10], rcx
xor esi, esi
mov qword [rax + 0x10], rsi
xorps xmm7, xmm7
movups xmmword [rax], xmm7
mov rcx, r15
mov dx, 0x5c
call fcn.14006c780
mov rax, qword [r15 + 0x10]
mov qword [rsp + 0x130], rax
movaps xmm0, xmmword [r15]
movaps xmmword [rsp + 0x120], xmm0
movaps xmmword [r15], xmm7
mov qword [r15 + 0x10], rsi
movzx r8d, byte [r14 + 0x17]
test r8b, r8b
jns 0x14003ba4f
mov r8, qword [rsp + 0x150]
mov r14, qword [rsp + 0x148]
jmp 0x14003ba53
and r8d, 0x7f
lea r15, [rsp + 0x120]
mov rcx, r15
mov rdx, r14
call fcn.14006c176
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x170], rcx
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x160], xmm0
movups xmmword [rax], xmm7
mov qword [rax + 0x10], rsi
cmp byte [r15 + 0x17], 0
jns 0x14003ba98
mov rcx, qword [rsp + 0x120]
call fcn.140111a1c
cmp byte [rsp + 0x117], 0
jns 0x14003baaf
mov rcx, qword [rsp + 0x100]
call fcn.140111a1c
cmp byte [rsp + 0xef], 0
jns 0x14003bac6
mov rcx, qword [rsp + 0xd8]
call fcn.140111a1c
mov esi, r13d
cmp byte [rsp + 0x15f], 0
jns 0x14003bae0
mov rcx, qword [rsp + 0x148]
call fcn.140111a1c
lea rcx, str.CommandLine
lea r13, [rsp + 0x100]
mov qword [r13], rcx
call fcn.1401390f4
mov qword [r13 + 8], rax
lea r14, [rsp + 0x148]
mov rcx, r14
mov rdx, r13
call fcn.1400c9830
lea rbp, [rsp + 0x160]
movzx eax, byte [rbp + 0x17]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [rbp]
cmovns rax, rbp
lea rdx, [rsp + 0xd8]
mov qword [rdx], rax
cmovs rcx, qword [rbp + 8]
mov qword [rdx + 8], rcx
lea r15, [rsp + 0x120]
mov rcx, r15
call fcn.1400c9830
lea rdi, [rsp + 0xa0]
mov rcx, r15
mov rdx, r14
mov r8, rdi
call fcn.14003bf3c
mov r12d, eax
cmp byte [r15 + 0x17], 0
jns 0x14003bb7b
mov rcx, qword [rsp + 0x120]
call fcn.140111a1c
cmp byte [rsp + 0x15f], 0
jns 0x14003bb92
mov rcx, qword [rsp + 0x148]
call fcn.140111a1c
cmp byte [rsp + 0x177], 0
jns 0x14003bba9
mov rcx, qword [rsp + 0x160]
call fcn.140111a1c
cmp byte [rsp + 0x67], 0
jns 0x14003bbba
mov rcx, qword [rsp + 0x50]
call fcn.140111a1c
cmp dword [rsp + 0x34], 0
jne 0x14003bd67
test r12d, r12d
jns 0x14003bd67
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x60], rax
movaps xmmword [rsp + 0x50], xmm6
movzx eax, byte [rbx + 0x17]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [rbx]
cmovns rax, rbx
lea rdx, [rsp + 0xd8]
mov qword [rdx], rax
cmovs rcx, qword [rbx + 8]
mov qword [rdx + 8], rcx
mov rcx, rbp
call fcn.14007bc50
cmp byte [rsp + 0x177], 0
jns 0x14003bc22
mov rbp, qword [rsp + 0x160]
lea rbx, [rsp + 0x50]
mov rcx, rbx
mov rdx, rbp
call fcn.1400d1b75
cmp byte [rsp + 0x177], 0
jns 0x14003bc49
mov rcx, qword [rsp + 0x160]
call fcn.140111a1c
lea r15, [rsp + 0x138]
lea rcx, [0x1401e45e8]
mov qword [r15], rcx
call fcn.1401390f4
mov qword [r15 + 8], rax
mov rcx, r14
mov rdx, r15
call fcn.1400c9830
cmp byte [rsp + 0x15f], 0
jns 0x14003bc81
mov r14, qword [rsp + 0x148]
lea r12, [rsp + 0x160]
mov rcx, r12
mov rdx, r14
call fcn.1400b2428
movzx eax, byte [rsp + 0x67]
mov ecx, eax
and ecx, 0x7f
test al, al
cmovs rbx, qword [rsp + 0x50]
lea rdx, [rsp + 0xf0]
mov qword [rdx], rbx
cmovs rcx, qword [rsp + 0x58]
mov qword [rdx + 8], rcx
mov rcx, r13
call fcn.1400c9830
cmp byte [rsp + 0x117], 0
jns 0x14003bcd5
mov r13, qword [rsp + 0x100]
lea rbx, [rsp + 0x120]
mov rcx, rbx
mov rdx, r13
call fcn.1400b2428
lea r8, [rsp + 0xa0]
mov rcx, rbx
mov rdx, r12
call fcn.14003bf3c
mov r12d, eax
cmp byte [rbx + 0x17], 0
jns 0x14003bd11
mov rcx, qword [rsp + 0x120]
call fcn.140111a1c
cmp byte [rsp + 0x117], 0
jns 0x14003bd28
mov rcx, qword [rsp + 0x100]
call fcn.140111a1c
cmp byte [rsp + 0x177], 0
jns 0x14003bd3f
mov rcx, qword [rsp + 0x160]
call fcn.140111a1c
cmp byte [rsp + 0x15f], 0
jns 0x14003bd56
mov rcx, qword [rsp + 0x148]
call fcn.140111a1c
cmp byte [rsp + 0x67], 0
jns 0x14003bd67
mov rcx, qword [rsp + 0x50]
call fcn.140111a1c
test r12d, r12d
js 0x14003bf03
lea rcx, [rsp + 0x160]
movaps xmmword [rcx], xmm6
xor edx, edx
call fcn.14010a570
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp eax, esi
jne 0x14003bdbe
mov rsi, rdi
lea rdi, [rsp + 0x50]
mov rcx, rdi
call fcn.140104d90
lea rcx, [rsp + 0x160]
mov rdx, rdi
call fcn.140081500
mov rcx, rdi
mov rdi, rsi
call fcn.140072d00
mov r14, qword [rsp + 0x38]
jmp 0x14003bdda
lea rdx, [rsp + 0x160]
mov ecx, esi
call fcn.14003a1d0
test eax, eax
mov r14, qword [rsp + 0x38]
js 0x14003bef3
movzx eax, byte [rsp + 0xb7]
mov ecx, eax
and ecx, 0x7f
test al, al
cmovs rdi, qword [rsp + 0xa0]
mov rax, rdi
lea rdi, [rsp + 0x148]
mov qword [rdi], 0
lea rdx, [rsp + 0x40]
mov qword [rdx], rax
cmovs rcx, qword [rsp + 0xa8]
mov qword [rdx + 8], rcx
lea rbx, [rsp + 0x50]
mov rcx, rbx
call fcn.1400c2660
lea rdx, [rsp + 0x160]
mov rcx, rbx
mov r8, rdi
call fcn.14003a97c
mov r12d, eax
mov rcx, rbx
call fcn.1400c1c10
test r12d, r12d
js 0x14003bea2
mov rsi, qword [rsp + 0x148]
mov qword [rsp + 0x148], 0
lea rbx, [rsi + 1]
cmp rbx, 2
jb 0x14003be6c
call fcn.1400713d0
xor r12d, r12d
cmp qword [r14], rsi
je 0x14003bea2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [r14]
inc rax
cmp rax, 2
jae 0x14003bf23
cmp rbx, 2
jb 0x14003be9a
mov qword [r14], rsi
call fcn.1400713d0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsp + 0x148]
inc rax
cmp rax, 2
jb 0x14003bef6
call fcn.1400713d0
mov rcx, qword [rsp + 0x148]
call fcn.140081d40
jmp 0x14003bef6
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
lea rdx, str....._buildtools_third_partylibc_trunkinclude_string_view
lea r9, str.__len__0____s___nullptr
mov r8d, 0x129
call fcn.140152a0d
mov r12d, eax
lea rcx, [rsp + 0x160]
call fcn.140072d00
cmp byte [rsp + 0xb7], 0
jns 0x14003b809
mov rcx, qword [rsp + 0xa0]
call fcn.140111a1c
jmp 0x14003b809
call fcn.1400713d0
mov rcx, qword [r14]
call fcn.140081d40
mov qword [r14], 0
jmp 0x14003be8c