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

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xf0
mov rax, qword [0x14000f008]
xor rax, rsp
mov qword [rsp + 0xe8], rax
mov qword [rsp + 0xc8], r9
mov r13d, dword [0x14000f610]
mov r15, qword [0x14000f608]
mov qword [rsp + 0x88], r15
mov eax, dword [0x140011708]
mov dword [rsp + 0xbc], eax
mov eax, dword [0x14001171c]
mov dword [rsp + 0xc0], eax
mov eax, dword [0x140010eec]
mov dword [rsp + 0x98], eax
mov r12d, dword [0x14001170c]
mov rsi, qword [0x140010ef8]
mov rdi, qword [0x140010ee0]
mov qword [rsp + 0xd0], rdi
xor ebx, ebx
mov qword [r11 - 0x98], rbx
lea rax, [0x140008138]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
lea rcx, [r11 - 0x70]
call fcn.140003be0
mov r14d, ebx
mov qword [rsp + 0xa0], rbx
call qword [sym.imp.KERNEL32.dll_GetACP]
nop dword [rax + rax]
lea r8, [rsp + 0x80]
mov edx, eax
mov rcx, rdi
call fcn.140002994
mov edi, eax
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x140003704
lea rcx, [rsp + 0xa8]
call fcn.140003c64
lea r14, [0x140008138]
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], r14
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x1400036f5
call qword [sym.imp.msvcrt.dll_free]
nop dword [rax + rax]
mov qword [rsp + 0x80], rbx
mov eax, edi
jmp 0x140003bac
call qword [sym.imp.KERNEL32.dll_GetACP]
nop dword [rax + rax]
lea r8, [rsp + 0x70]
mov edx, eax
mov rcx, rsi
call fcn.140002994
mov edi, eax
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x140003794
lea rcx, [rsp + 0xa8]
call fcn.140003c64
lea r14, [0x140008138]
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], r14
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140003762
call qword [sym.imp.msvcrt.dll_free]
nop dword [rax + rax]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], r14
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x140003785
call qword [sym.imp.msvcrt.dll_free]
nop dword [rax + rax]
mov qword [rsp + 0x80], rbx
mov eax, edi
jmp 0x140003bac
test r12d, r12d
je 0x1400037c8
lea rcx, [rsp + 0x60]
call fcn.140002710
mov edi, eax
mov dword [rsp + 0x50], eax
mov rsi, qword [rsp + 0x70]
test eax, eax
js 0x14000386f
mov r14, qword [rsp + 0x60]
mov qword [rsp + 0xa0], r14
jmp 0x14000386f
mov rsi, qword [rsp + 0x70]
cmp dword [rsp + 0x98], ebx
je 0x1400037e6
mov r14, rsi
mov qword [rsp + 0xa0], rsi
jmp 0x14000386f
mov r15d, ebx
mov dword [rsp + 0xb8], ebx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
cmp eax, 0xffffffff
je 0x140003817
test al, 0x10
mov eax, 1
cmovne r15d, eax
mov dword [rsp + 0xb8], r15d
test r15d, r15d
je 0x140003829
mov r14, rsi
mov qword [rsp + 0xa0], rsi
jmp 0x140003867
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.140002afc
mov edi, eax
mov dword [rsp + 0x50], eax
test eax, eax
js 0x140003867
cmp qword [rsp + 0x60], rbx
jne 0x140003857
lea rcx, [rsp + 0x60]
call fcn.140002670
mov edi, eax
mov dword [rsp + 0x50], eax
test edi, edi
cmovns r14, qword [rsp + 0x60]
mov qword [rsp + 0xa0], r14
mov r15, qword [rsp + 0x88]
test r14, r14
je 0x140003ab5
xorps xmm0, xmm0
movups xmmword [rsp + 0xd8], xmm0
lea rcx, [rsp + 0xd8]
call qword [sym.imp.RPCRT4.dll_UuidCreate]
nop dword [rax + rax]
test eax, eax
je 0x1400038b0
cmp eax, 0x720
je 0x1400038b0
mov edi, 0x8000ffff
mov dword [rsp + 0x50], edi
jmp 0x140003ab5
lea r8, [rsp + 0xb0]
lea rdx, [rsp + 0xd8]
mov rcx, r14
call qword [sym.imp.dpx.dll_DpxNewJobEx]
nop dword [rax + rax]
mov edi, eax
mov dword [rsp + 0x50], eax
test eax, eax
js 0x140003ab5
lea rcx, [rsp + 0x88]
call fcn.140003be0
mov rcx, qword [rsp + 0xb0]
mov rax, qword [rcx]
lea r8, [rsp + 0x90]
mov rdx, qword [rsp + 0x80]
mov rax, qword [rax + 0x20]
call qword [0x14000b1e8]
mov edi, eax
mov dword [rsp + 0x50], eax
test eax, eax
js 0x140003aa8
test r15, r15
jne 0x14000392b
test r13d, r13d
je 0x1400039d8
mov r8d, r13d
mov rdx, r15
mov rcx, qword [rsp + 0x90]
call fcn.14000343c
mov edi, eax
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x1400039d8
lea rcx, [rsp + 0x88]
call fcn.140003c64
lea rcx, [rsp + 0xa8]
call fcn.140003c64
lea r14, [0x140008138]
mov qword [rsp + 0x58], r14
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140003988
call qword [sym.imp.msvcrt.dll_free]
nop dword [rax + rax]
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], r14
test rsi, rsi
je 0x1400039a6
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_free]
nop dword [rax + rax]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], r14
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x1400039c9
call qword [sym.imp.msvcrt.dll_free]
nop dword [rax + rax]
mov qword [rsp + 0x80], rbx
mov eax, edi
jmp 0x140003bac
mov rcx, qword [rsp + 0xb0]
mov rax, qword [rcx]
xor edx, edx
mov rax, qword [rax + 0x40]
call qword [0x14000b1e8]
mov edi, eax
mov dword [rsp + 0x50], eax
test eax, eax
js 0x140003aa8
mov byte [0x14000f624], bl
mov eax, dword [rsp + 0xbc]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0xc0]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rsi
mov r9, qword [rsp + 0xc8]
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0xd0]
call fcn.140002dc0
mov edi, eax
mov dword [rsp + 0x50], eax
test eax, eax
js 0x140003aa8
test r12d, r12d
jne 0x140003aa8
cmp byte [0x14000f624], bl
je 0x140003aa8
lea ecx, [r12 + 0x24]
call fcn.140002450
mov rcx, qword [rsp + 0xb0]
call fcn.140003138
mov edi, eax
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x140003a9e
mov edx, eax
lea ecx, [r12 + 0x1f]
call fcn.140002450
jmp 0x140003aa8
mov ecx, 0x25
call fcn.140002450
lea rcx, [rsp + 0x88]
call fcn.140003c64
lea rcx, [rsp + 0xa8]
call fcn.140003c64
lea r14, [0x140008138]
mov qword [rsp + 0x58], r14
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140003ae4
call qword [sym.imp.msvcrt.dll_free]
nop dword [rax + rax]
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], r14
test rsi, rsi
je 0x140003b02
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_free]
nop dword [rax + rax]
mov qword [rsp + 0x70], rbx
jmp 0x140003b14
test edi, edi
jns 0x140003b89
mov r8d, edi
mov rdx, qword [rsp + 0x80]
mov ecx, 0x23
call fcn.140002450
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, 0x400
mov r8d, edi
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
nop dword [rax + rax]
test eax, eax
je 0x140003b89
mov rdx, qword [rsp + 0x88]
mov ecx, 0x28
call fcn.140002450
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
mov esi, ebx
test edi, edi
setns sil
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x140003baa
call qword [sym.imp.msvcrt.dll_free]
nop dword [rax + rax]
mov eax, esi
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.1400070f0
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret