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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x498
mov rax, qword [0x1402506d8]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x4a0]
add rax, 0x10
mov rdx, rax
lea rcx, [rsp + 0x3e0]
call fcn.140102358
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x4a0]
mov rax, qword [rax]
add rax, 0x18
mov rdx, qword [rsp + 0x80]
mov rcx, rax
call fcn.1400f91a8
lea rcx, [rsp + 0x3e0]
call fcn.140016090
mov rax, qword [rsp + 0x4a0]
add rax, 0x30
mov rdx, rax
lea rcx, [rsp + 0x400]
call fcn.140102358
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x4a0]
mov rax, qword [rax]
add rax, 0x38
mov rdx, qword [rsp + 0x90]
mov rcx, rax
call fcn.1400f91a8
lea rcx, [rsp + 0x400]
call fcn.140016090
mov rax, qword [rsp + 0x4a0]
add rax, 0x50
mov rdx, rax
lea rcx, [rsp + 0x260]
call fcn.140102358
nop
lea rcx, [rsp + 0x58]
call fcn.14010bde0
nop
mov rax, qword [rsp + 0x4a0]
cmp dword [rax + 8], 2
jne 0x14010c77a
mov rax, qword [rsp + 0x4a0]
mov rax, qword [rax]
mov qword [rsp + 0x98], rax
mov edx, 6
mov rcx, qword [rsp + 0x98]
call fcn.140026db8
movzx eax, byte [rax]
test eax, eax
je 0x14010c543
lea rdx, [0x1401eee88]
lea rcx, [rsp + 0x3a0]
call fcn.1400128d0
nop
lea r8, [rsp + 0x3a0]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x238]
call fcn.14010b4e4
mov rcx, rax
call fcn.140009e18
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0xb0]
call fcn.14000833c
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x20], rax
lea r9, [0x1401eee78]
mov r8d, 1
xor edx, edx
lea rcx, [0x140211698]
call qword [rsp + 0xa8]
mov dword [rsp + 0x68], eax
lea rcx, [rsp + 0x3a0]
call fcn.140016068
cmp dword [rsp + 0x68], 0
jl 0x14010c543
mov rax, qword [rsp + 0x4a0]
mov rax, qword [rax]
mov qword [rsp + 0xc0], rax
mov dl, 4
mov rax, qword [rsp + 0x4a0]
mov cl, byte [rax + 0x70]
call fcn.14010c294
mov byte [rsp + 0x34], al
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xb8], rax
mov r9b, byte [rsp + 0x34]
mov r8, qword [rsp + 0xb8]
mov rdx, qword [rsp + 0x4a8]
mov rcx, qword [rsp + 0xc0]
call fcn.14010da00
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x58]
call fcn.14010c120
nop
lea rcx, [rsp + 0x260]
call fcn.140016090
mov rax, qword [rsp + 0x4a8]
jmp 0x14010ce58
mov r8d, 0x40
xor edx, edx
lea rcx, [rsp + 0x150]
call fcn.14018ce20
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov qword [rsp + 0x150], rax
lea rax, [0x14010d330]
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0x4a0]
mov rax, qword [rax]
mov qword [rsp + 0x180], rax
mov rax, qword [rsp + 0x4a0]
mov rax, qword [rax]
mov qword [rsp + 0xc8], rax
mov edx, 6
mov rcx, qword [rsp + 0xc8]
call fcn.140026db8
movzx eax, byte [rax]
test eax, eax
je 0x14010c5f8
lea rcx, [rsp + 0x58]
call fcn.14010d52c
movzx eax, al
test eax, eax
je 0x14010c5d6
mov eax, dword [rsp + 0x170]
or eax, 0x40
mov dword [rsp + 0x170], eax
mov eax, dword [rsp + 0x170]
or eax, 0x10
mov dword [rsp + 0x170], eax
mov eax, dword [rsp + 0x170]
or eax, 4
mov dword [rsp + 0x170], eax
lea rcx, [rsp + 0x150]
call qword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x2c0]
call fcn.140012f94
nop
cmp qword [rsp + 0x70], 0
je 0x14010c727
mov ecx, 0x208
call fcn.14018b88c
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x78], rax
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea rdx, [0x1401eeea0]
lea rcx, [rsp + 0x2e0]
call fcn.1400128d0
nop
lea r8, [rsp + 0x2e0]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x230]
call fcn.14010b4e4
mov rcx, rax
call fcn.140009e18
mov qword [rsp + 0xd8], rax
mov rcx, qword [rsp + 0x70]
call qword [rsp + 0xd8]
nop
lea rcx, [rsp + 0x2e0]
call fcn.140016068
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x300]
call fcn.14010b3e0
nop
lea rdx, [rsp + 0x300]
lea rcx, [rsp + 0x420]
call fcn.1401024a0
mov qword [rsp + 0xe0], rax
mov rdx, qword [rsp + 0xe0]
lea rcx, [rsp + 0x2c0]
call fcn.140016d74
lea rcx, [rsp + 0x420]
call fcn.140016068
nop
lea rcx, [rsp + 0x300]
call fcn.140016090
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xe8], rax
mov rcx, qword [rsp + 0xe8]
call fcn.14018b23c
lea rdx, [rsp + 0x2c0]
mov rcx, qword [rsp + 0x4a8]
call fcn.1400127b8
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x2c0]
call fcn.140016068
nop
lea rcx, [rsp + 0x58]
call fcn.14010c120
nop
lea rcx, [rsp + 0x260]
call fcn.140016090
mov rax, qword [rsp + 0x4a8]
jmp 0x14010ce58
mov r8d, 0x98
xor edx, edx
lea rcx, [rsp + 0x190]
call fcn.14018ce20
mov dword [rsp + 0x190], 0x98
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov qword [rsp + 0x198], rax
lea rcx, [rsp + 0x260]
call fcn.140025d88
mov qword [rsp + 0x1a8], rax
xor r8d, r8d
mov edx, 0x10400
lea rcx, [rsp + 0x240]
call fcn.1400130e8
nop
lea rcx, [rsp + 0x240]
call fcn.140025d88
mov qword [rsp + 0x1c0], rax
lea rcx, [rsp + 0x240]
call fcn.140026e80
mov dword [rsp + 0x1c8], eax
mov rax, qword [rsp + 0x4a0]
mov rax, qword [rax]
add rax, 0x38
mov rcx, rax
call fcn.140026794
movzx eax, al
test eax, eax
jne 0x14010c91c
mov rax, qword [rsp + 0x4a0]
mov rax, qword [rax]
add rax, 0x38
mov rcx, rax
call fcn.140025d88
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0xffffffff
je 0x14010c878
mov eax, dword [rsp + 0x48]
and eax, 0x10
test eax, eax
je 0x14010c878
mov rax, qword [rsp + 0x4a0]
mov rax, qword [rax]
add rax, 0x38
mov rcx, rax
call fcn.140025d88
mov qword [rsp + 0x1e0], rax
jmp 0x14010c91c
mov rax, qword [rsp + 0x4a0]
mov rax, qword [rax]
add rax, 0x38
mov rcx, rax
call fcn.140026e80
mov qword [rsp + 0xf0], rax
lea rcx, [rsp + 0x240]
call fcn.140026e80
mov rcx, qword [rsp + 0xf0]
cmp rcx, rax
ja 0x14010c8df
mov rax, qword [rsp + 0x4a0]
mov rax, qword [rax]
add rax, 0x38
mov rcx, rax
call fcn.140025d88
mov r8, rax
mov edx, 0x10401
mov rcx, qword [rsp + 0x1c0]
call fcn.14010d1a4
jmp 0x14010c91c
mov rax, qword [rsp + 0x4a0]
mov rax, qword [rax]
add rax, 0x38
mov rcx, rax
call fcn.140025d88
mov qword [rsp + 0x1d0], rax
mov rax, qword [rsp + 0x4a0]
mov rax, qword [rax]
add rax, 0x38
mov rcx, rax
call fcn.140026e80
mov dword [rsp + 0x1d8], eax
mov rax, qword [rsp + 0x4a0]
mov rax, qword [rax]
add rax, 0x18
mov rcx, rax
call fcn.140025d88
mov qword [rsp + 0x1e8], rax
mov dword [rsp + 0x1f0], 0x80008
lea rdx, str.comdlg32.dll
lea rcx, [rsp + 0x320]
call fcn.1400128d0
nop
lea rdx, [rsp + 0x320]
lea rcx, [rsp + 0x40]
call fcn.140014a94
nop
lea rcx, [rsp + 0x320]
call fcn.140016068
lea rcx, [rsp + 0x50]
call fcn.1400151d8
nop
mov rax, qword [rsp + 0x4a0]
cmp dword [rax + 8], 1
jne 0x14010cb29
mov dl, 2
mov rax, qword [rsp + 0x4a0]
mov cl, byte [rax + 0x70]
call fcn.14010c294
movzx eax, al
test eax, eax
jne 0x14010c9c2
mov eax, dword [rsp + 0x1f0]
or eax, 2
mov dword [rsp + 0x1f0], eax
lea rdx, str.GetSaveFileNameW
lea rcx, [rsp + 0x340]
call fcn.1400128d0
nop
lea r8, [rsp + 0x340]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xf8]
call fcn.14010b4e4
nop
lea rcx, [rsp + 0x340]
call fcn.140016068
lea rcx, [rsp + 0xf8]
call fcn.140009e18
mov qword [rsp + 0x100], rax
lea rcx, [rsp + 0x190]
call qword [rsp + 0x100]
test eax, eax
jne 0x14010ca8f
lea rdx, [0x1401de5c8]
mov rcx, qword [rsp + 0x4a8]
call fcn.1400128d0
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x50]
call fcn.140016aec
nop
lea rcx, [rsp + 0x40]
call fcn.140016904
nop
lea rcx, [rsp + 0x240]
call fcn.140016090
nop
lea rcx, [rsp + 0x58]
call fcn.14010c120
nop
lea rcx, [rsp + 0x260]
call fcn.140016090
mov rax, qword [rsp + 0x4a8]
jmp 0x14010ce58
lea rcx, [rsp + 0x240]
call fcn.140025d88
mov rdx, rax
lea rcx, [rsp + 0x360]
call fcn.14010b3e0
nop
lea rdx, [rsp + 0x360]
mov rcx, qword [rsp + 0x4a8]
call fcn.1401024a0
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x360]
call fcn.140016090
nop
lea rcx, [rsp + 0x50]
call fcn.140016aec
nop
lea rcx, [rsp + 0x40]
call fcn.140016904
nop
lea rcx, [rsp + 0x240]
call fcn.140016090
nop
lea rcx, [rsp + 0x58]
call fcn.14010c120
nop
lea rcx, [rsp + 0x260]
call fcn.140016090
mov rax, qword [rsp + 0x4a8]
jmp 0x14010ce58
mov dl, 1
mov rax, qword [rsp + 0x4a0]
mov cl, byte [rax + 0x70]
call fcn.14010c294
movzx eax, al
test eax, eax
je 0x14010cb54
mov eax, dword [rsp + 0x1f0]
bts eax, 9
mov dword [rsp + 0x1f0], eax
mov eax, dword [rsp + 0x1f0]
bts eax, 0xb
mov dword [rsp + 0x1f0], eax
lea rdx, str.GetOpenFileNameW
lea rcx, [rsp + 0x380]
call fcn.1400128d0
nop
lea r8, [rsp + 0x380]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x108]
call fcn.14010b4e4
nop
lea rcx, [rsp + 0x380]
call fcn.140016068
lea rcx, [rsp + 0x108]
call fcn.140009e18
mov qword [rsp + 0x110], rax
lea rcx, [rsp + 0x190]
call qword [rsp + pe_nt_image_headers64]
test eax, eax
jne 0x14010cc33
lea rdx, [0x1401de5c8]
mov rcx, qword [rsp + 0x4a8]
call fcn.1400128d0
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x50]
call fcn.140016aec
nop
lea rcx, [rsp + 0x40]
call fcn.140016904
nop
lea rcx, [rsp + 0x240]
call fcn.140016090
nop
lea rcx, [rsp + 0x58]
call fcn.14010c120
nop
lea rcx, [rsp + 0x260]
call fcn.140016090
mov rax, qword [rsp + 0x4a8]
jmp 0x14010ce58
lea rcx, [rsp + 0x2a0]
call fcn.140012f94
nop
lea rcx, [rsp + 0x240]
call fcn.140025d88
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx eax, word [rax]
test eax, eax
je 0x14010cde7
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x3c0]
call fcn.14010b3e0
nop
lea rdx, [rsp + 0x3c0]
lea rcx, [rsp + 0x280]
call fcn.1401024a0
nop
lea rcx, [rsp + 0x3c0]
call fcn.140016090
mov rcx, qword [rsp + 0x38]
call fcn.140198490
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x38], rax
mov dl, 1
mov rax, qword [rsp + 0x4a0]
mov cl, byte [rax + 0x70]
call fcn.14010c294
movzx eax, al
test eax, eax
je 0x14010cd55
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx eax, word [rax]
test eax, eax
je 0x14010cd55
lea rcx, [rsp + 0x2a0]
call fcn.140026794
movzx eax, al
test eax, eax
je 0x14010cd55
lea r8, [0x1401e8218]
lea rdx, [rsp + 0x280]
lea rcx, [rsp + 0x440]
call fcn.1400743b4
mov qword [rsp + 0x118], rax
mov rdx, qword [rsp + 0x118]
lea rcx, [rsp + 0x2a0]
call fcn.140016d74
lea rcx, [rsp + 0x440]
call fcn.140016068
nop
lea rcx, [rsp + 0x280]
call fcn.140016068
jmp 0x14010cc53
mov rax, qword [rsp + 0x4a0]
mov rax, qword [rax]
add rax, 0x58
mov qword [rsp + 0x138], rax
lea r8, [rsp + 0x280]
lea rdx, [rsp + 0x2a0]
lea rcx, [rsp + 0x460]
call fcn.14005c9d4
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x130], rax
mov rdx, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x138]
call fcn.140069380
nop
lea rcx, [rsp + 0x460]
call fcn.140016068
nop
lea rcx, [rsp + 0x280]
call fcn.140016068
jmp 0x14010cc53
lea rdx, [0x1401de5c8]
mov rcx, qword [rsp + 0x4a8]
call fcn.1400128d0
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x2a0]
call fcn.140016068
nop
lea rcx, [rsp + 0x50]
call fcn.140016aec
nop
lea rcx, [rsp + 0x40]
call fcn.140016904
nop
lea rcx, [rsp + 0x240]
call fcn.140016090
nop
lea rcx, [rsp + 0x58]
call fcn.14010c120
nop
lea rcx, [rsp + 0x260]
call fcn.140016090
mov rax, qword [rsp + 0x4a8]
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.14018b840
add rsp, 0x498
ret