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

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x178]
sub rsp, 0x278
mov rax, qword [0x1401750b8]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
cmp r8d, 2
je 0x140075d84
test byte [rdx + 0xcc], 1
jne 0x140075d84
xor al, al
jmp 0x14007616c
cmp qword [rcx + 0x18], 8
mov qword [rsp + 0x2b0], r12
mov qword [rsp + 0x270], r15
jb 0x140075d9e
mov rcx, qword [rcx]
mov qword [rsp + 0x2b8], r14
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne r15b
xor r12d, r12d
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x28], r12
test esi, esi
je 0x140075e3c
sub esi, 1
je 0x140075ded
cmp esi, 1
jne 0x1400760f9
cmp qword [rbx + 0x18], 8
jb 0x140075de8
mov rcx, qword [rbx]
jmp 0x140075e3e
mov rcx, rbx
jmp 0x140075e3e
cmp qword [rbx + 0x18], 8
jb 0x140075df9
mov rcx, qword [rbx]
jmp 0x140075dfc
mov rcx, rbx
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x40]
call fcn.1400759c0
cmp qword [rsp + 0x38], r12
je 0x140075e4d
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x140075e27
mov qword [rsp + 0x28], r12
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x140075e3c
mov qword [rsp + 0x20], r12
mov rax, qword [rcx]
call qword [rax + 0x10]
xor ecx, ecx
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x20]
call fcn.1400759c0
cmp qword [rsp + 0x28], r12
je 0x1400760f9
test byte [rdi + 0xcc], 1
je 0x140075e86
cmp qword [rdi + 0x18], 8
jb 0x140075e6d
mov rdx, qword [rdi]
jmp 0x140075e70
mov rdx, rdi
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx]
call qword [rax + 0xa0]
test eax, eax
js 0x1400760f9
test byte [rdi + 0xcc], 2
je 0x140075eb0
cmp qword [rdi + 0x38], 8
lea rdx, [rdi + 0x20]
jb 0x140075e9d
mov rdx, qword [rdx]
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx]
call qword [rax + 0x48]
test eax, eax
js 0x1400760f9
test byte [rdi + 0xcc], 4
je 0x140075edb
cmp qword [rdi + 0x58], 8
lea rdx, [rdi + 0x40]
jb 0x140075ec7
mov rdx, qword [rdx]
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx]
call qword [rax + 0x58]
test eax, eax
jns 0x140075f1e
jmp 0x1400760f9
cmp qword [rsp + 0x38], r12
je 0x140075f1e
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x208
call fcn.140113400
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x50]
mov r8d, 0x104
mov rax, qword [rcx]
call qword [rax + 0x50]
test eax, eax
js 0x140075f1e
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x58]
test byte [rdi + 0xcc], 8
je 0x140075f48
cmp qword [rdi + 0x78], 8
lea rdx, [rdi + 0x60]
jb 0x140075f35
mov rdx, qword [rdx]
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx]
call qword [rax + 0x38]
test eax, eax
js 0x1400760f9
test byte [rdi + 0xcc], 0x10
je 0x140075f7f
lea rdx, [rdi + 0x80]
cmp qword [rdx + 0x18], 8
jb 0x140075f62
mov rdx, qword [rdx]
mov rcx, qword [rsp + 0x20]
mov r8d, dword [rdi + 0xa0]
mov rax, qword [rcx]
call qword [rax + 0x88]
test eax, eax
js 0x1400760f9
mov esi, dword [rdi + 0xcc]
mov r14d, esi
shr esi, 6
and sil, 1
shr r14d, 5
and r14b, 1
jne 0x140075fa2
test sil, sil
je 0x14007602a
mov rcx, qword [rsp + 0x20]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], r12
lea rdx, [0x140151198]
mov rax, qword [rcx]
call qword [rax]
test eax, eax
js 0x1400760e4
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400760f9
test r14b, r14b
je 0x140075ffb
lea rdx, [rdi + 0xa8]
cmp qword [rdx + 0x18], 8
jb 0x140075fe9
mov rdx, qword [rdx]
call fcn.14006ebc0
test al, al
je 0x1400760e4
mov rcx, qword [rsp + 0x30]
test sil, sil
je 0x14007601a
movzx r8d, byte [rdi + 0xc8]
call fcn.14006eb40
test al, al
je 0x1400760e4
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14007602a
mov qword [rsp + 0x30], r12
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14007603f
mov qword [rsp + 0x38], r12
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140076054
mov qword [rsp + 0x40], r12
mov rax, qword [rcx]
call qword [rax + 0x10]
cmp qword [rbx + 0x18], 8
jb 0x140076060
mov rdx, qword [rbx]
jmp 0x140076063
mov rdx, rbx
mov rcx, qword [rsp + 0x28]
mov r8d, 1
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rcx, qword [rsp + 0x28]
mov edi, eax
test rcx, rcx
je 0x14007608b
mov qword [rsp + 0x28], r12
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x1400760a0
mov qword [rsp + 0x20], r12
mov rax, qword [rcx]
call qword [rax + 0x10]
test edi, edi
setns dil
test dil, dil
je 0x1400760fc
test r15b, r15b
je 0x1400760c5
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0x8000000
call qword [sym.imp.SHELL32.dll_SHChangeNotify]
jmp 0x1400760fc
cmp qword [rbx + 0x18], 8
jb 0x1400760cf
mov rbx, qword [rbx]
xor r9d, r9d
mov r8, rbx
lea edx, [r9 + 5]
lea ecx, [rdx - 3]
call qword [sym.imp.SHELL32.dll_SHChangeNotify]
jmp 0x1400760fc
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400760f9
mov qword [rsp + 0x30], r12
mov rax, qword [rcx]
call qword [rax + 0x10]
xor dil, dil
mov rcx, qword [rsp + 0x28]
mov r15, qword [rsp + 0x270]
mov r14, qword [rsp + 0x2b8]
test rcx, rcx
je 0x140076121
mov qword [rsp + 0x28], r12
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x140076136
mov qword [rsp + 0x20], r12
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14007614b
mov qword [rsp + 0x38], r12
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140076160
mov qword [rsp + 0x40], r12
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov r12, qword [rsp + 0x2b0]
movzx eax, dil
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.140111850
add rsp, 0x278
pop rdi
pop rsi
pop rbx
pop rbp
ret