Function at 0x1400309e4
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x128
movaps xmmword [rsp + 0x110], xmm6
mov r15d, r9d
mov r14d, r8d
mov rdi, rdx
mov rbp, rcx
mov rax, qword [0x140162028]
xor rax, rsp
mov qword [rsp + 0x108], rax
xorps xmm0, xmm0
movaps xmmword [rsp + 0xf0], xmm0
cmp byte [rcx + 0x17], 0
jns 0x140030a3f
cmp qword [rbp + 8], 0
je 0x140030c57
mov rcx, qword [rbp]
jmp 0x140030a48
je 0x140030c57
mov rcx, rbp
lea rdx, [rsp + 0xf0]
call qword [sym.imp.ole32.dll_IIDFromString]
test eax, eax
js 0x140030c57
lea rdx, [0x1401323e8]
mov rcx, rdi
call fcn.14005b6de
xorps xmm0, xmm0
movaps xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
test eax, eax
je 0x140030c61
xor ebx, ebx
cmp byte [rbp + 0x17], bl
jns 0x140030a91
mov rbp, qword [rbp]
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov rdx, rbp
call fcn.14007df28
lea rbp, [rsp + 0x78]
mov rcx, rbp
mov rdx, rsi
mov r8w, 0x5c
call fcn.140031014
lea rdx, str.Commands
mov rcx, rbp
call fcn.14005b0d0
movups xmm0, xmmword [rax]
lea rsi, [rsp + 0x90]
movaps xmmword [rsi], xmm0
mov rcx, qword [rax + 0x10]
mov qword [rsi + 0x10], rcx
mov qword [rax + 0x10], rbx
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov rcx, rsi
mov dx, 0x5c
call fcn.14005b222
mov rax, qword [rsi + 0x10]
mov qword [rsp + 0xc0], rax
movaps xmm0, xmmword [rsi]
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsi], xmm6
mov qword [rsi + 0x10], rbx
movzx r8d, byte [rdi + 0x17]
test r8b, r8b
jns 0x140030b20
mov r8, qword [rdi + 8]
mov rdi, qword [rdi]
lea rsi, [rsp + 0xb0]
mov rcx, rsi
mov rdx, rdi
call fcn.14005af26
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0xe0], rcx
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0xd0], xmm0
movups xmmword [rax], xmm6
mov qword [rax + 0x10], rbx
cmp byte [rsi + 0x17], bl
jns 0x140030b63
mov rcx, qword [rsp + 0xb0]
call fcn.1400ef7cc
cmp byte [rsp + 0xa7], 0
jns 0x140030b7a
mov rcx, qword [rsp + 0x90]
call fcn.1400ef7cc
cmp byte [rsp + 0x8f], 0
jns 0x140030b8e
mov rcx, qword [rsp + 0x78]
call fcn.1400ef7cc
mov ecx, 0x20
call fcn.1400ef770
lea rdx, [rsp + 0xb0]
mov qword [rdx], rax
movaps xmm0, xmmword [0x140132210]
movups xmmword [rdx + 8], xmm0
movaps xmm0, xmmword [str.CommandLine]
movups xmmword [rax], xmm0
mov rcx, qword [0x1401323de]
mov qword [rax + 0xe], rcx
mov word [rax + 0x16], 0
lea rsi, [rsp + 0xd0]
lea r9, [rsp + 0x60]
mov rcx, rsi
mov r8d, r15d
call fcn.1400310e0
mov edi, eax
cmp byte [rsi + 0x17], 0
jns 0x140030bf6
mov rcx, qword [rsp + 0xd0]
call fcn.1400ef7cc
cmp byte [rsp + 0x3f], 0
js 0x140030f91
test edi, edi
js 0x140030eff
lea rsi, [rsp + 0xb0]
mov rcx, rsi
xor edx, edx
call fcn.14007a810
mov ecx, r14d
mov rdx, rsi
call fcn.14002f52d
test eax, eax
js 0x140030cfa
mov qword [rsp + 0x90], 0
movzx edi, byte [rsp + 0x77]
test dil, dil
jns 0x140030d01
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
jmp 0x140030d06
mov edi, 0x80070057
jmp 0x140030f10
xor esi, esi
cmp byte [rbp + 0x17], sil
jns 0x140030c6d
mov rbp, qword [rbp]
movabs rbx, 0x7fffffffffffffef
lea rcx, [rsp + 0x28]
mov rdx, rbp
call fcn.14007df28
cmp byte [rdi + 0x17], sil
jns 0x140030c8d
mov rdi, qword [rdi]
xorps xmm0, xmm0
movaps xmmword [rsp + 0xd0], xmm0
mov qword [rsp + 0xe0], 0
mov rcx, rdi
call fcn.14010e320
cmp rax, rbx
ja 0x140031006
mov rbp, rax
cmp rax, 0xb
jb 0x140030f3e
lea rsi, [rbp + 8]
and rsi, 0xfffffffffffffff8
lea rcx, [rsi + rsi]
call fcn.1400ef770
mov r12, rax
mov qword [rsp + 0xd0], rax
add rbx, 0x11
or rbx, rsi
mov qword [rsp + 0xe0], rbx
mov qword [rsp + 0xd8], rbp
jmp 0x140030f50
mov edi, eax
jmp 0x140030ef2
lea rbx, [rsp + 0x60]
lea rsi, [rsp + 0x28]
mov rcx, rsi
call fcn.14005ce80
lea rdx, [rsp + 0xd0]
mov qword [rdx], rbx
mov qword [rdx + 8], rdi
mov rcx, rsi
call fcn.14005d230
lea rdx, [rsp + 0xb0]
lea r8, [rsp + 0x90]
mov rcx, rsi
call fcn.14002f6a1
mov edi, eax
mov rcx, rsi
call fcn.14005d0a0
test edi, edi
js 0x140030e76
mov r13, qword [rsp + 0x190]
mov rbx, qword [rsp + 0x90]
mov qword [rsp + 0x90], 0
lea rsi, [rbx + 1]
cmp rsi, 2
jb 0x140030db3
call fcn.140063690
mov rbp, rax
mov rdi, qword [rsp + 0x168]
mov rcx, qword [0x14016a370]
test rcx, rcx
je 0x140030fc2
mov rax, qword [rcx]
mov qword [rsp + 0x20], rbp
lea r8, [rsp + 0x90]
mov rdx, rbx
mov r9, rdi
call qword [rax + 0x10]
xor edi, edi
cmp qword [r13], rbx
je 0x140030e76
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [r13]
inc rax
cmp rax, 2
jb 0x140030e30
call fcn.140063690
mov r15, rax
mov r14, qword [rsp + 0x168]
mov r12, qword [r13]
mov rcx, qword [0x14016a370]
test rcx, rcx
je 0x140030fd3
mov rax, qword [rcx]
mov qword [rsp + 0x20], r15
mov rdx, r12
mov r8, r13
mov r9, r14
call qword [rax + 0x10]
mov r14, qword [r13]
mov rcx, qword [0x14016a370]
test rcx, rcx
je 0x140030fe4
mov rax, qword [rcx]
mov rdx, r14
call qword [rax]
mov qword [r13], 0
cmp rsi, 2
jb 0x140030e6e
mov qword [r13], rbx
call fcn.140063690
mov r15, rax
mov r14, qword [rsp + 0x168]
mov rcx, qword [0x14016a370]
test rcx, rcx
je 0x140030ff5
mov rax, qword [rcx]
mov qword [rsp + 0x20], r15
mov rdx, rbx
mov r8, r13
mov r9, r14
call qword [rax + 8]
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsp + 0x90]
inc rax
cmp rax, 2
jb 0x140030ef2
call fcn.140063690
mov rbx, rax
mov rsi, qword [rsp + 0x168]
mov rbp, qword [rsp + 0x90]
mov rcx, qword [0x14016a370]
test rcx, rcx
je 0x140030fa0
mov rax, qword [rcx]
mov qword [rsp + 0x20], rbx
lea rbx, [rsp + 0x90]
mov rdx, rbp
mov r8, rbx
mov r9, rsi
call qword [rax + 0x10]
mov rsi, qword [rbx]
mov rcx, qword [0x14016a370]
test rcx, rcx
je 0x140030fb1
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax]
mov qword [rsp + 0x90], 0
lea rcx, [rsp + 0xb0]
call fcn.14007a940
cmp byte [rsp + 0x77], 0
jns 0x140030f10
mov rcx, qword [rsp + 0x60]
call fcn.1400ef7cc
mov rcx, qword [rsp + 0x108]
xor rcx, rsp
call fcn.1400f0560
mov eax, edi
movaps xmm6, xmmword [rsp + 0x110]
add rsp, 0x128
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r12, [rsp + 0xd0]
mov byte [r12 + 0x17], bpl
test rbp, rbp
je 0x140030f61
mov r8, rbp
add r8, rbp
mov rcx, r12
mov rdx, rdi
call fcn.1400f23d0
mov word [r12 + rbp*2], 0
lea rsi, [rsp + 0x28]
lea rdx, [rsp + 0xd0]
lea r9, [rsp + 0x60]
mov rcx, rsi
mov r8d, r15d
call fcn.1400310e0
mov edi, eax
cmp byte [rsi + 0x17], 0
jns 0x140030c01
mov rcx, qword [rsp + 0x28]
call fcn.1400ef7cc
jmp 0x140030c01
call fcn.1400dae20
mov rcx, qword [0x14016a370]
jmp 0x140030eaf
call fcn.1400dae20
mov rcx, qword [0x14016a370]
jmp 0x140030ede
call fcn.1400dae20
mov rcx, qword [0x14016a370]
jmp 0x140030d9a
call fcn.1400dae20
mov rcx, qword [0x14016a370]
jmp 0x140030df8
call fcn.1400dae20
mov rcx, qword [0x14016a370]
jmp 0x140030e20
call fcn.1400dae20
mov rcx, qword [0x14016a370]
jmp 0x140030e5a
lea rcx, [rsp + 0xd0]
call fcn.14005994c
int3