Function at 0x10076ae0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015562c
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x101a5034]
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.10003ae0
movzx eax, al
test eax, eax
je 0x10076b45
push str.CScreenRecord_savepath_is_empty.
push 1
push 0xd1
push 0x10172460
push 0x10172494
call fcn.101426f0
add esp, 0x14
xor al, al
jmp 0x10076db0
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.10002fa0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x10076c17
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x2ac]
call fcn.10002c60
mov dword [ebp - 0x258], eax
mov eax, dword [ebp - 0x258]
mov dword [ebp - 0x254], eax
mov byte [ebp - 4], 1
push 0x101724a8
mov ecx, dword [ebp - 0x254]
push ecx
lea edx, [ebp - 0x294]
push edx
call fcn.1000afb0
add esp, 0xc
mov dword [ebp - 0x250], eax
mov eax, dword [ebp - 0x250]
push eax
lea ecx, [ebp - 0x230]
call fcn.10002230
lea ecx, [ebp - 0x294]
call fcn.10002d10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2ac]
call fcn.10002d10
lea ecx, [ebp - 0x230]
call fcn.10001960
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10076c3d
push 0x101724c0
lea ecx, [ebp - 0x230]
call fcn.10006e00
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.10003060
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.10003060
mov dword [ebp - 0x278], eax
lea eax, [ebp - 0x248]
push eax
mov byte [ebp - 4], 0
call fcn.10076900
add esp, 0x3c
mov dword [ebp - 0x27c], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x248]
call fcn.10003ae0
movzx ecx, al
test ecx, ecx
je 0x10076ce7
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.10002d10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.10002d10
jmp 0x10076daa
lea ecx, [ebp - 0x248]
call fcn.10001960
push eax
push str.wcsCmd___ls
push 0
push 0xe8
push 0x10172580
push str.CScreenRecord::Save
call fcn.10142a80
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.10003060
mov dword [ebp - 0x274], eax
call fcn.100fc5f0
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 0x10076d7a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.10002d10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.10002d10
jmp 0x10076daa
mov byte [ebp - 0x249], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.10002d10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.10002d10
xor eax, eax
jne 0x10076b4c
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.1014c66b
mov esp, ebp
pop ebp
ret 0xc