Function at 0x140039ff1
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1b8
movaps xmmword [rsp + 0x1a0], xmm7
movaps xmmword [rsp + 0x190], xmm6
mov rsi, r9
mov edi, r8d
mov r12, rdx
mov r14, rcx
mov rax, qword [0x140203038]
xor rax, rsp
mov qword [rsp + 0x188], rax
xorps xmm0, xmm0
movaps xmmword [rsp + 0x170], xmm0
movzx ecx, byte [rcx + 0x17]
mov rax, rcx
test cl, cl
jns 0x14003a04c
mov rax, qword [r14 + 8]
mov ebp, 0x80070057
test rax, rax
je 0x14003a0af
mov r8, r14
test cl, cl
jns 0x14003a060
mov r8, qword [r14]
lea rdx, [rsp + 0xb8]
mov qword [rdx], r8
mov qword [rdx + 8], rax
lea rbx, [rsp + 0x40]
mov rcx, rbx
call fcn.14006f050
cmp byte [rbx + 0x17], 0
jns 0x14003a087
mov rbx, qword [rsp + 0x40]
lea rdx, [rsp + 0x170]
mov rcx, rbx
call qword [sym.imp.ole32.dll_IIDFromString]
mov ebx, eax
cmp byte [rsp + 0x57], 0
jns 0x14003a0ab
mov rcx, qword [rsp + 0x40]
call fcn.1400eb6ac
test ebx, ebx
jns 0x14003a0e5
mov rcx, qword [rsp + 0x188]
xor rcx, rsp
call fcn.1400ecd30
mov eax, ebp
movaps xmm6, xmmword [rsp + 0x190]
movaps xmm7, xmmword [rsp + 0x1a0]
add rsp, 0x1b8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x1401d9fe8]
lea rbx, [rsp + 0xa8]
mov qword [rbx], rcx
call fcn.140113994
mov qword [rbx + 8], rax
lea r15, [rsp + 0x40]
mov rcx, r15
mov rdx, rbx
call fcn.1400adc20
movzx r8d, byte [r15 + 0x17]
test r8b, r8b
jns 0x14003a124
mov r8, qword [rsp + 0x48]
mov r15, qword [rsp + 0x40]
lea rbx, [rsp + 0x150]
mov rcx, rbx
mov rdx, r15
call fcn.140089826
mov rcx, r12
mov rdx, rbx
call fcn.14003a792
mov dword [rsp + 0x2c], eax
cmp byte [rsp + 0x57], 0
jns 0x14003a157
mov rcx, qword [rsp + 0x40]
call fcn.1400eb6ac
xorps xmm0, xmm0
movaps xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0xa0], 0
movabs r15, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x50], r15
movaps xmm6, xmmword [0x1401d39f0]
movaps xmmword [rsp + 0x40], xmm6
movzx eax, byte [r14 + 0x17]
test al, al
mov rcx, qword [r14]
cmovns rcx, r14
lea rdx, [rsp + 0x128]
mov qword [rdx], rcx
cmovs rax, qword [r14 + 8]
mov qword [rdx + 8], rax
mov rcx, rbx
call fcn.14006f050
cmp byte [rsp + 0x167], 0
jns 0x14003a1c5
mov rbx, qword [rsp + 0x150]
lea rcx, [rsp + 0x40]
mov rdx, rbx
call fcn.1400b5596
cmp byte [rsp + 0x167], 0
jns 0x14003a1e9
mov rcx, qword [rsp + 0x150]
call fcn.1400eb6ac
mov qword [rsp + 0x160], r15
movaps xmmword [rsp + 0x150], xmm6
movzx eax, byte [r12 + 0x17]
test al, al
mov rcx, qword [r12]
cmovns rcx, r12
lea rdx, [rsp + 0xe0]
mov qword [rdx], rcx
cmovs rax, qword [r12 + 8]
mov qword [rdx + 8], rax
lea rbx, [rsp + 0x138]
mov rcx, rbx
call fcn.14006f050
lea r15, [rsp + 0xc8]
lea rdx, [rsp + 0x40]
mov rcx, r15
mov r8w, 0x5c
call fcn.1401366a5
lea r12, [0x1401d9fb0]
mov rcx, r12
call fcn.140113994
mov rcx, r15
mov rdx, r12
mov r8, rax
call fcn.14006652c
movups xmm0, xmmword [rax]
lea r15, [rsp + 0xf0]
movaps xmmword [r15], xmm0
mov rcx, qword [rax + 0x10]
mov qword [r15 + 0x10], rcx
xor r12d, r12d
mov qword [rax + 0x10], r12
xorps xmm7, xmm7
movups xmmword [rax], xmm7
mov rcx, r15
mov dx, 0x5c
call fcn.140066b40
mov rax, qword [r15 + 0x10]
mov qword [rsp + 0x120], rax
movaps xmm0, xmmword [r15]
movaps xmmword [rsp + 0x110], xmm0
movaps xmmword [r15], xmm7
mov qword [r15 + 0x10], r12
movzx r8d, byte [rbx + 0x17]
test r8b, r8b
jns 0x14003a2cf
mov r8, qword [rsp + 0x140]
mov rbx, qword [rsp + 0x138]
lea r15, [rsp + 0x110]
mov rcx, r15
mov rdx, rbx
call fcn.14006652c
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x160], rcx
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x150], xmm0
movups xmmword [rax], xmm7
mov qword [rax + 0x10], r12
cmp byte [r15 + 0x17], 0
jns 0x14003a314
mov rcx, qword [rsp + 0x110]
call fcn.1400eb6ac
cmp byte [rsp + 0x107], 0
jns 0x14003a32b
mov rcx, qword [rsp + 0xf0]
call fcn.1400eb6ac
cmp byte [rsp + 0xdf], 0
jns 0x14003a342
mov rcx, qword [rsp + 0xc8]
call fcn.1400eb6ac
cmp byte [rsp + 0x14f], 0
jns 0x14003a359
mov rcx, qword [rsp + 0x138]
call fcn.1400eb6ac
lea rcx, str.CommandLine
lea r13, [rsp + 0xf0]
mov qword [r13], rcx
call fcn.140113994
mov qword [r13 + 8], rax
lea r15, [rsp + 0x138]
mov rcx, r15
mov rdx, r13
call fcn.1400adc20
lea rbx, [rsp + 0x150]
movzx eax, byte [rbx + 0x17]
test al, al
mov rcx, qword [rbx]
cmovns rcx, rbx
lea rdx, [rsp + 0xc8]
mov qword [rdx], rcx
cmovs rax, qword [rbx + 8]
mov qword [rdx + 8], rax
lea r12, [rsp + 0x110]
mov rcx, r12
call fcn.1400adc20
lea r8, [rsp + 0x90]
mov rcx, r12
mov rdx, r15
call fcn.14003a7f7
mov ebp, eax
cmp byte [r12 + 0x17], 0
jns 0x14003a3eb
mov rcx, qword [rsp + 0x110]
call fcn.1400eb6ac
cmp byte [rsp + 0x14f], 0
mov r12d, dword [rsp + 0x2c]
jns 0x14003a407
mov rcx, qword [rsp + 0x138]
call fcn.1400eb6ac
cmp byte [rsp + 0x167], 0
jns 0x14003a41e
mov rcx, qword [rsp + 0x150]
call fcn.1400eb6ac
cmp byte [rsp + 0x57], 0
jns 0x14003a42f
mov rcx, qword [rsp + 0x40]
call fcn.1400eb6ac
test r12d, r12d
jne 0x14003a5d0
test ebp, ebp
jns 0x14003a5d0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x50], rax
movaps xmmword [rsp + 0x40], xmm6
movzx eax, byte [r14 + 0x17]
test al, al
mov rcx, qword [r14]
cmovns rcx, r14
lea rdx, [rsp + 0xc8]
mov qword [rdx], rcx
cmovs rax, qword [r14 + 8]
mov qword [rdx + 8], rax
mov rcx, rbx
call fcn.14006f050
cmp byte [rsp + 0x167], 0
jns 0x14003a490
mov rbx, qword [rsp + 0x150]
lea r14, [rsp + 0x40]
mov rcx, r14
mov rdx, rbx
call fcn.1400b5596
cmp byte [rsp + 0x167], 0
jns 0x14003a4b7
mov rcx, qword [rsp + 0x150]
call fcn.1400eb6ac
lea rbx, [rsp + 0x128]
lea rcx, [0x1401d9fe8]
mov qword [rbx], rcx
call fcn.140113994
mov qword [rbx + 8], rax
mov rcx, r15
mov rdx, rbx
call fcn.1400adc20
cmp byte [rsp + 0x14f], 0
jns 0x14003a4ef
mov r15, qword [rsp + 0x138]
lea rbx, [rsp + 0x150]
mov rcx, rbx
mov rdx, r15
call fcn.14003a934
movzx eax, byte [rsp + 0x57]
test al, al
cmovs r14, qword [rsp + 0x40]
lea rdx, [rsp + 0xe0]
mov qword [rdx], r14
cmovs rax, qword [rsp + 0x48]
mov qword [rdx + 8], rax
mov rcx, r13
call fcn.1400adc20
cmp byte [rsp + 0x107], 0
jns 0x14003a53e
mov r13, qword [rsp + 0xf0]
lea r14, [rsp + 0x110]
mov rcx, r14
mov rdx, r13
call fcn.14003a934
lea r8, [rsp + 0x90]
mov rcx, r14
mov rdx, rbx
call fcn.14003a7f7
mov ebp, eax
cmp byte [r14 + 0x17], 0
jns 0x14003a57a
mov rcx, qword [rsp + 0x110]
call fcn.1400eb6ac
cmp byte [rsp + 0x107], 0
jns 0x14003a591
mov rcx, qword [rsp + 0xf0]
call fcn.1400eb6ac
cmp byte [rsp + 0x167], 0
jns 0x14003a5a8
mov rcx, qword [rsp + 0x150]
call fcn.1400eb6ac
cmp byte [rsp + 0x14f], 0
jns 0x14003a5bf
mov rcx, qword [rsp + 0x138]
call fcn.1400eb6ac
cmp byte [rsp + 0x57], 0
jns 0x14003a5d0
mov rcx, qword [rsp + 0x40]
call fcn.1400eb6ac
test ebp, ebp
js 0x14003a759
lea rcx, [rsp + 0x40]
movaps xmmword [rcx + 0x40], xmm6
movaps xmmword [rcx + 0x30], xmm6
movaps xmmword [rcx + 0x20], xmm6
movzx eax, byte [rsp + 0xa7]
test al, al
lea r8, [rsp + 0x90]
cmovs r8, qword [rsp + 0x90]
movaps xmmword [rcx + 0x10], xmm6
movaps xmmword [rcx], xmm6
lea rdx, [rsp + 0x30]
mov qword [rdx], r8
cmovs rax, qword [rsp + 0x98]
mov qword [rdx + 8], rax
call fcn.1400b2ae0
test r12d, r12d
je 0x14003a641
lea rcx, [rsp + 0x40]
call fcn.140039edc
mov ebp, 0x80070005
test al, al
je 0x14003a74f
lea rcx, [rsp + 0x150]
movaps xmmword [rcx], xmm6
xor edx, edx
call fcn.1400e6a30
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp eax, edi
jne 0x14003a687
lea rdi, [rsp + 0x138]
mov rcx, rdi
call fcn.1400e25f0
lea rcx, [rsp + 0x150]
mov rdx, rdi
call fcn.1400a9f20
mov rcx, rdi
call fcn.140069d20
jmp 0x14003a69e
lea rdx, [rsp + 0x150]
mov ecx, edi
call fcn.140038a70
test eax, eax
js 0x14003a740
lea r8, [rsp + 0x138]
mov qword [r8], 0
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0x150]
call fcn.14003922b
test eax, eax
js 0x14003a719
mov rbx, qword [rsp + 0x138]
mov qword [rsp + 0x138], 0
lea r14, [rbx + 1]
cmp r14, 2
jb 0x14003a6e6
call fcn.140077980
xor ebp, ebp
cmp qword [rsi], rbx
je 0x14003a71b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14003a779
cmp r14, 2
jb 0x14003a70f
mov qword [rsi], rbx
call fcn.140077980
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14003a71b
mov ebp, eax
mov rax, qword [rsp + 0x138]
inc rax
cmp rax, 2
jb 0x14003a742
call fcn.140077980
mov rcx, qword [rsp + 0x138]
call fcn.140069370
jmp 0x14003a742
mov ebp, eax
lea rcx, [rsp + 0x150]
call fcn.140069d20
lea rcx, [rsp + 0x40]
call fcn.1400b25a0
cmp byte [rsp + 0xa7], 0
jns 0x14003a0af
mov rcx, qword [rsp + 0x90]
call fcn.1400eb6ac
jmp 0x14003a0af
call fcn.140077980
mov rcx, qword [rsi]
call fcn.140069370
mov qword [rsi], 0
jmp 0x14003a701