Function at 0x140077af0
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
mov qword [rbp - 0x31], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x1403a8088]
xor rax, rsp
mov qword [rbp + 0x27], rax
movzx r13d, word [0x14045e53c]
mov word [rbp - 0x69], r13w
xorps xmm0, xmm0
movdqu xmmword [rbp - 9], xmm0
xor r15d, r15d
mov qword [rbp + 7], r15
mov qword [rbp + 0xf], r15
mov r12d, r15d
mov qword [rbp + 0x1f], r15
mov esi, r15d
mov qword [rbp + 0x17], r15
mov r8, qword [0x140460108]
mov rcx, r8
mov rdi, qword [0x140460100]
sub rcx, rdi
movabs rax, 0x4ec4ec4ec4ec4ec5
imul rcx
sar rdx, 6
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x140077dec
cmp rdi, r8
je 0x140077dec
nop word [rax + rax]
cmp dword [0x14045e968], 0
jne 0x140077dec
mov qword [rbp - 0x11], 7
mov qword [rbp - 0x19], r15
mov word [rbp - 0x29], r15w
lea rdx, [rdi + 4]
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rbp - 0x29]
call fcn.14004e350
nop
lea rax, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae rax, qword [rbp - 0x29]
mov word [rax], r13w
lea rcx, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae rcx, qword [rbp - 0x29]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140077dbe
lea rcx, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae rcx, qword [rbp - 0x29]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryEmptyW]
test eax, eax
jne 0x140077dbe
lea rbx, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae rbx, qword [rbp - 0x29]
lea edx, [rax + 1]
lea r8d, [rax + 3]
mov rcx, rbx
call fcn.1400526c0
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x140077c62
lea r9, [rbp - 9]
mov r8, rbx
lea rdx, [0x1400754f0]
mov rcx, rax
call fcn.140052980
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbp - 1]
mov rax, rdx
mov rbx, qword [rbp - 9]
sub rax, rbx
sar rax, 5
test rax, rax
je 0x140077dbe
cmp rbx, rdx
je 0x140077dae
lea r14, [rdi + 0x90]
xor r13d, r13d
cmp qword [rbx + 0x18], 8
jb 0x140077c9c
mov r9, qword [rbx]
jmp 0x140077c9f
mov r9, rbx
lea r8, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae r8, qword [rbp - 0x29]
lea rdx, [0x14032b038]
lea rcx, [rbp - 0x51]
call fcn.14004bec0
mov r15, rax
cmp r14, rax
je 0x140077d08
mov r8, qword [r14 + 0x18]
cmp r8, 8
jb 0x140077cdd
inc r8
mov rdx, qword [r14]
mov rcx, r14
call fcn.14004e2e0
mov qword [r14 + 0x18], 7
mov qword [r14 + 0x10], r13
cmp qword [r14 + 0x18], 8
jb 0x140077cf5
mov rax, qword [r14]
jmp 0x140077cf8
mov rax, r14
mov word [rax], r13w
mov rdx, r15
mov rcx, r14
call fcn.14004dec0
nop
mov r8, qword [rbp - 0x39]
cmp r8, 8
jb 0x140077d22
inc r8
mov rdx, qword [rbp - 0x51]
lea rcx, [rbp - 0x51]
call fcn.14004e2e0
cmp qword [rbx + 0x18], 8
jb 0x140077d2e
mov rdx, qword [rbx]
jmp 0x140077d31
mov rdx, rbx
cmp word [rdx], 0
jne 0x140077d3c
mov r8, r13
jmp 0x140077d4b
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x140077d40
lea rcx, [rdi + 0xb0]
call fcn.14004dd70
cmp rsi, r12
jne 0x140077d6d
lea rcx, [rbp + 0xf]
call fcn.140078e40
mov r12, qword [rbp + 0x1f]
mov rsi, qword [rbp + 0x17]
mov qword [rbp - 0x61], rsi
mov qword [rbp - 0x59], rsi
test rsi, rsi
je 0x140077d86
mov rdx, rdi
mov rcx, rsi
call fcn.140076240
nop
add rsi, 0xd0
mov qword [rbp + 0x17], rsi
add rbx, 0x20
mov rdx, qword [rbp - 1]
cmp rbx, rdx
jne 0x140077c90
mov rbx, qword [rbp - 9]
movzx r13d, word [rbp - 0x69]
xor r15d, r15d
mov rcx, rbx
call fcn.1400568e0
mov rax, qword [rbp - 9]
mov qword [rbp - 1], rax
mov r8, qword [rbp - 0x11]
cmp r8, 8
jb 0x140077dd8
inc r8
mov rdx, qword [rbp - 0x29]
lea rcx, [rbp - 0x29]
call fcn.14004e2e0
add rdi, 0xd0
cmp rdi, qword [0x140460108]
jne 0x140077ba0
lea rax, [rbp - 0x51]
mov qword [rbp - 0x59], rax
lea rdx, [0x140460100]
lea rcx, [rbp - 0x51]
call fcn.140078260
mov rbx, rax
lea rdx, [rbp + 0xf]
lea rcx, [rbp - 0x29]
call fcn.140078260
nop
mov rdx, rbx
mov rcx, rax
call fcn.140075600
call fcn.140076af0
nop
lea rcx, [rbp + 0xf]
call fcn.1400785c0
nop
mov rcx, qword [rbp - 9]
test rcx, rcx
je 0x140077e56
mov rdx, qword [rbp - 1]
call fcn.1400568e0
mov r8, qword [rbp + 7]
mov rdx, qword [rbp - 9]
sub r8, rdx
sar r8, 5
call fcn.140056760
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14012a2b0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret