Function at 0x10078270
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10159a0c
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x101ac034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x260], ecx
mov ecx, dword [ebp + 8]
call fcn.10001f20
movzx eax, al
test eax, eax
je 0x100782d5
push str.CScreenRecord_savepath_is_empty.
push 1
push 0xbc
push 0x101780f4
push 0x10178128
call fcn.10145f00
add esp, 0x14
xor al, al
jmp 0x10078540
mov byte [ebp - 0x249], 0
xor ecx, ecx
mov word [ebp - 0x218], cx
push 0x206
push 0
lea edx, [ebp - 0x216]
push edx
call sub.MSVCR120.dll_memset
add esp, 0xc
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x230]
call fcn.10003f70
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x100783a7
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x2ac]
call fcn.10003d50
mov dword [ebp - 0x258], eax
mov eax, dword [ebp - 0x258]
mov dword [ebp - 0x254], eax
mov byte [ebp - 4], 1
push 0x1017813c
mov ecx, dword [ebp - 0x254]
push ecx
lea edx, [ebp - 0x294]
push edx
call fcn.1000bd90
add esp, 0xc
mov dword [ebp - 0x250], eax
mov eax, dword [ebp - 0x250]
push eax
lea ecx, [ebp - 0x230]
call fcn.10003480
lea ecx, [ebp - 0x294]
call fcn.10003e00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2ac]
call fcn.10003e00
lea ecx, [ebp - 0x230]
call fcn.10002bf0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100783cd
push 0x10178170
lea ecx, [ebp - 0x230]
call fcn.10007da0
movzx ecx, byte [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x260]
mov eax, dword [edx]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x268], esp
mov edx, dword [ebp + 8]
push edx
call fcn.10004030
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0x25c]
mov dword [ebp - 0x264], eax
mov byte [ebp - 4], 2
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x26c], esp
lea edx, [ebp - 0x230]
push edx
call fcn.10004030
mov dword [ebp - 0x278], eax
lea eax, [ebp - 0x248]
push eax
mov byte [ebp - 4], 0
call fcn.10078090
add esp, 0x3c
mov dword [ebp - 0x27c], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x248]
call fcn.10001f20
movzx ecx, al
test ecx, ecx
je 0x10078477
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.10003e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.10003e00
jmp 0x1007853a
lea ecx, [ebp - 0x248]
call fcn.10002bf0
push eax
push str.strCmd___ls
push 0
push 0xd3
push 0x101781e8
push str.CScreenRecord::Save
call fcn.10146290
add esp, 0x18
mov edx, dword [ebp + 0xc]
push edx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x270], esp
lea eax, [ebp - 0x248]
push eax
call fcn.10004030
mov dword [ebp - 0x274], eax
call fcn.100ff640
add esp, 0x1c
mov byte [ebp - 0x24b], al
mov cl, byte [ebp - 0x24b]
mov byte [ebp - 0x24a], cl
movzx edx, byte [ebp - 0x24a]
test edx, edx
jne 0x1007850a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.10003e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.10003e00
jmp 0x1007853a
mov byte [ebp - 0x249], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.10003e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.10003e00
xor eax, eax
jne 0x100782dc
mov al, byte [ebp - 0x249]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101506bb
mov esp, ebp
pop ebp
ret 0xc