Function at 0x140002dc0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x3f8]
sub rsp, 0x4e0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14003e010]
xor rax, rsp
mov qword [rbp + 0x3d0], rax
mov r14, rdx
mov rsi, rcx
call fcn.140004430
lea rbx, [rsi + 0x18]
mov qword [rsp + 0x20], rbx
test rbx, rbx
je 0x140002e24
mov rcx, qword [rbx]
test rcx, rcx
je 0x140002e24
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov rdi, qword [rsi]
xor r15d, r15d
test rdi, rdi
jne 0x1400031a9
lea rdx, [rbp - 0x70]
call fcn.140003940
nop
lea rdi, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
jb 0x140002e55
mov rdi, qword [rbp - 0x70]
test rdi, rdi
je 0x140002f5a
cmp word [rdi], 0
je 0x140002f5a
xor edx, edx
mov r8d, 0x412
lea rcx, [rbp - 0x50]
call fcn.140019920
lea rcx, [rbp - 0x50]
sub rcx, rdi
nop word [rax + rax]
movzx eax, word [rdi]
mov word [rcx + rdi], ax
lea rdi, [rdi + 2]
test ax, ax
jne 0x140002e80
mov edx, 0x5c
lea rcx, [rbp - 0x50]
call fcn.140019430
mov rdi, rax
test rax, rax
jne 0x140002eba
lea edx, [rax + 0x2f]
lea rcx, [rbp - 0x50]
call fcn.140019430
mov rdi, rax
test rax, rax
je 0x140002ebf
mov word [rdi + 2], r15w
lea rcx, [rbp - 0x50]
sub rcx, 2
nop word [rax + rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x140002ed0
movups xmm0, xmmword [str.vcruntime140.dll]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [0x1400346e0]
movups xmmword [rcx + 0x10], xmm1
movzx eax, word [0x1400346f0]
mov word [rcx + 0x20], ax
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsi + 8], rax
test rdi, rdi
je 0x140002f12
mov word [rdi + 2], r15w
lea rcx, [rbp - 0x50]
sub rcx, 2
nop word [rax + rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x140002f20
movups xmm0, xmmword [str.msvcp140.dll]
movups xmmword [rcx], xmm0
movsd xmm1, qword [0x140034708]
movsd qword [rcx + 0x10], xmm1
movzx eax, word [0x140034710]
mov word [rcx + 0x18], ax
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsi + 0x10], rax
lea rdx, [rsp + 0x50]
call fcn.140003a20
nop
lea r8, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae r8, qword [rsp + 0x50]
mov rdx, r14
call fcn.1400024a0
test al, al
jne 0x140002f8a
mov rdi, r15
jmp 0x140003105
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x140035a60]
movdqu xmmword [rsp + 0x40], xmm1
mov word [rsp + 0x30], r15w
mov r8d, 0x12
lea rdx, str.2345PrinterApp.dll
lea rcx, [rsp + 0x30]
call fcn.140004e30
nop
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.14000b580
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x140003016
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003011
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400031f6
call fcn.14001881c
movdqa xmm0, xmmword [0x140035a60]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r15w
lea rdi, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
jb 0x140003040
mov rdi, qword [rsp + 0x70]
test rdi, rdi
je 0x1400030ae
cmp qword [rsi], 0
jne 0x1400030ae
call fcn.140002050
cmp qword [rax], 0
jne 0x14000305c
mov rdx, r14
mov rcx, rax
call fcn.1400020f0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000308d
test al, 0x10
jne 0x14000308d
call fcn.140005e40
xor r8d, r8d
mov rdx, rdi
mov rcx, rax
call fcn.140005f30
test al, al
jne 0x140003092
mov rdx, rdi
call fcn.1400021b0
mov rdi, r15
jmp 0x1400030b1
xor edx, edx
lea r8d, [rdx + 8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x14000308d
mov qword [rsi], rax
jmp 0x1400030b1
mov rdi, qword [rsi]
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x1400030f2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400030ed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400031fc
call fcn.14001881c
movdqa xmm0, xmmword [0x140035a60]
movdqu xmmword [rbp - 0x80], xmm0
mov word [rsp + 0x70], r15w
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x140003147
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003142
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003202
call fcn.14001881c
movdqa xmm0, xmmword [0x140035a60]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], r15w
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x140003197
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003192
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400031f0
call fcn.14001881c
movdqa xmm0, xmmword [0x140035a60]
movdqu xmmword [rbp - 0x60], xmm0
mov word [rbp - 0x70], r15w
test rbx, rbx
je 0x1400031c1
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400031bc
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rsp + 0x20], r15
mov rax, rdi
mov rcx, qword [rbp + 0x3d0]
xor rcx, rsp
call fcn.140018000
lea r11, [rsp + 0x4e0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.14001bf2c
nop
call fcn.14001bf2c
nop
call fcn.14001bf2c
nop
call fcn.14001bf2c
int3