Function at 0x14007c010
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rax, qword [rcx + 0x890]
mov rdi, rcx
mov rbp, qword [rax + 0x40]
movzx r12d, byte [rbp + 0x48]
lea r15, [rbp + 0xb0]
cmp qword [r15 + 0x18], 8
movzx r13d, r12b
jb 0x14007c056
mov rcx, qword [r15]
jmp 0x14007c059
mov rcx, r15
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne byte [rsp + 0x50]
xor esi, esi
test r12b, r12b
jne 0x14007c0a9
mov ebx, esi
call fcn.1400417e0
cmp qword [rax + 0x38], rbx
jbe 0x14007c0a9
nop word [rax + rax]
call fcn.1400417e0
mov rcx, rax
mov rdx, rbx
call fcn.14001efb0
cmp byte [rax + 0x48], sil
jne 0x14007c0a6
inc rbx
call fcn.1400417e0
cmp rbx, qword [rax + 0x38]
jb 0x14007c080
jmp 0x14007c0a9
mov r13b, 1
mov rcx, qword [rdi + 0x978d8]
mov r14d, 3
mov ebx, dword [rbp + 0xa0]
mov r8d, r14d
test r12b, r12b
mov edx, 0xa02e
cmovne r8d, esi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov rcx, qword [rdi + 0x9f0]
mov edx, 0x401
movzx r9d, r12b
mov r8d, 0xa02e
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rdi + 0x978d8]
mov r8d, r14d
test r13b, r13b
mov edx, 0xa02f
cmovne r8d, esi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov rcx, qword [rdi + 0x9f0]
mov edx, 0x401
movzx r9d, r13b
mov r8d, 0xa02f
call qword [sym.imp.USER32.dll_SendMessageW]
test r12b, r12b
jne 0x14007c133
cmp ebx, 2
je 0x14007c133
mov al, 1
jmp 0x14007c135
xor al, al
mov rcx, qword [rdi + 0x978d8]
test al, al
mov r8d, r14d
mov edx, 0x2713
cmovne r8d, esi
call qword [sym.imp.USER32.dll_EnableMenuItem]
test r12b, r12b
jne 0x14007c15e
cmp ebx, 2
je 0x14007c15e
mov al, 1
jmp 0x14007c160
xor al, al
mov rcx, qword [rdi + 0x978d8]
test al, al
mov r8d, r14d
mov edx, 0x2714
cmovne r8d, esi
call qword [sym.imp.USER32.dll_EnableMenuItem]
movzx ebx, byte [rbp + 0xac]
mov r8d, r14d
mov rcx, qword [rdi + 0x978d8]
test bl, bl
mov edx, 0xa431
cmovne r8d, esi
call qword [sym.imp.USER32.dll_EnableMenuItem]
cmp byte [rbp + 0x110], sil
jne 0x14007c1ae
test bl, bl
jne 0x14007c1ae
mov al, 1
jmp 0x14007c1b0
xor al, al
mov rcx, qword [rdi + 0x978d8]
test al, al
mov r8d, r14d
mov edx, 0xa42c
cmovne r8d, esi
call qword [sym.imp.USER32.dll_EnableMenuItem]
movzx eax, byte [rbp + 0x54]
mov edx, 0xa42c
mov rcx, qword [rdi + 0x978d8]
neg al
sbb r8d, r8d
and r8d, 8
call qword [sym.imp.USER32.dll_CheckMenuItem]
cmp byte [rsp + 0x50], sil
mov ebx, r14d
mov rcx, qword [rdi + 0x978d8]
mov edx, 0xa038
cmovne ebx, esi
mov r8d, ebx
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov rcx, qword [rdi + 0x978d8]
mov r8d, ebx
mov edx, 0xa03c
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov rcx, qword [rdi + 0x978d8]
mov r8d, ebx
mov edx, 0xa03b
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov rcx, qword [rdi + 0x978d8]
mov r8d, ebx
mov edx, 0xa036
call qword [sym.imp.USER32.dll_EnableMenuItem]
cmp qword [r15 + 0x18], 8
jb 0x14007c253
mov r15, qword [r15]
mov rcx, r15
call fcn.14002b2c0
mov rcx, qword [rdi + 0x978d8]
test al, al
mov r8d, r14d
mov edx, 0xa03f
cmovne r8d, esi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov rcx, qword [rdi + 0x978d8]
mov r8d, ebx
mov edx, 0xac44
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov rcx, qword [rdi + 0x978d8]
mov r8d, ebx
mov edx, 0xac45
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov rcx, qword [rdi + 0x978d8]
mov r8d, ebx
mov edx, 0xac47
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov rcx, qword [rdi + 0x978d8]
mov r8d, ebx
mov edx, 0xac46
call qword [sym.imp.USER32.dll_EnableMenuItem]
movzx ebx, byte [rbp + 0x49]
mov r8d, r14d
mov rcx, qword [rdi + 0x978d8]
test bl, bl
mov edx, 0xafc9
cmovne r8d, esi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov rcx, qword [rdi + 0x978d8]
mov r8d, r14d
cmp bl, 2
mov edx, 0xafca
cmovne r8d, esi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov rcx, qword [rdi + 0x978d8]
mov r8d, r14d
cmp bl, 1
mov edx, 0xafcb
cmovne r8d, esi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov rcx, rdi
call fcn.14007c940
or edx, 0xffffffff
mov rcx, rdi
call fcn.14007c3f0
mov rcx, qword [rdi + 0x982b0]
test rcx, rcx
je 0x14007c345
call fcn.140010050
mov ebx, dword [rbp + 0xa0]
mov edx, 0xac41
mov rcx, qword [rdi + 0x978d8]
cmp ebx, 2
cmovne r14d, esi
mov r8d, r14d
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov rcx, qword [rdi + 0x9f0]
cmp ebx, 2
mov edx, 0x401
mov r8d, 0xac41
setne sil
mov r9, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
movzx eax, byte [rbp + 0x110]
mov edx, 0xac41
mov rcx, qword [rdi + 0x978d8]
neg al
sbb r8d, r8d
and r8d, 8
call qword [sym.imp.USER32.dll_CheckMenuItem]
movzx r9d, byte [rbp + 0x110]
mov edx, 0x402
mov rcx, qword [rdi + 0x9f0]
mov r8d, 0xac41
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
jmp qword [sym.imp.USER32.dll_SendMessageW]