Function at 0x40aa40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c05bb
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x64b9b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x70], ecx
lea eax, [ebp - 0x50]
push eax
call fcn.0040a1f0
push str.cef
lea edx, [ebp - 0x50]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.00407900
add esp, 4
mov byte [ebp - 4], 1
push dword [ebp - 0x3c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
or ebx, 0xffffffff
test eax, eax
je 0x40adf8
push dword [ebp - 0x3c]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x40adf8
push str.DataRecoveryData
lea ecx, [ebp - 0x2c]
call fcn.004032f0
push str.iOSRecoveryData
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.004032f0
push str.PDFConverter
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.004032f0
push str.MasterPDFData
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.004032f0
push str.ConverterModule
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.004032f0
push str.ScreenRecorderData
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.004032f0
push str.QYMediaFormatData
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
call fcn.004032f0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x10]
mov byte [ebp - 0x40], 0
lea ecx, [ebp - 0x4c]
push dword [ebp - 0x40]
mov dword [ebp - 0x4c], 0
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x48], 0
push eax
mov dword [ebp - 0x44], 0
call fcn.0040d230
push fcn.004032d0
push 7
push 4
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
push eax
call fcn.0057bbf1
mov ecx, dword [ebp - 0x4c]
xor edi, edi
mov eax, dword [ebp - 0x48]
mov esi, ecx
mov dword [ebp - 0x40], edi
cmp ecx, eax
je 0x40adcf
nop dword [eax + eax]
push str.webviewcef
mov edx, esi
lea ecx, [ebp - 0x68]
call fcn.00407900
add esp, 4
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x34]
mov edx, dword [eax]
call fcn.00477790
mov byte [ebp - 4], 0xd
mov eax, ebx
mov edx, dword [ebp - 0x68]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40abce
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x40adee
mov ecx, dword [ebp - 0x34]
mov edx, ecx
nop
mov di, word [edx]
cmp di, word [eax]
jne 0x40ac06
test di, di
je 0x40ac02
mov di, word [edx + 2]
cmp di, word [eax + 2]
jne 0x40ac06
add edx, 4
add eax, 4
test di, di
jne 0x40abe0
xor eax, eax
jmp 0x40ac0b
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
je 0x40ac20
mov byte [ebp - 4], 0xa
lea edx, [ecx - 0x10]
jmp 0x40ada7
push str.libcef.dll
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x38]
call fcn.00407900
add esp, 4
mov byte [ebp - 4], 0xe
push dword [ebp - 0x38]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40ad7f
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x6c]
call fcn.004778d0
mov byte [ebp - 4], 0xf
mov ecx, dword [0x665c20]
test ecx, ecx
je 0x40adee
push ecx
push dword [eax]
call fcn.0059b7f6
add esp, 8
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x6c]
test eax, eax
mov eax, ebx
setne byte [ebp - 0x2d]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40ac94
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x2d], 0
jne 0x40ad7f
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x64], eax
lea ecx, [ecx - 0x10]
call fcn.00403970
add eax, 0x10
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x3c]
lea ecx, [ecx - 0x10]
call fcn.00403970
add eax, 0x10
mov dword [ebp - 0x5c], eax
lea edx, [ebp - 0x64]
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x74]
call fcn.0040d0d0
mov edx, eax
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x58]
call fcn.0040d170
mov byte [ebp - 4], 0x11
mov edi, dword [ebp - 0x74]
test edi, edi
je 0x40ad38
mov edx, dword [edi + 8]
mov eax, ebx
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40ad13
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [edi + 4]
mov eax, ebx
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40ad2d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0xc
push edi
call fcn.0057bfe0
add esp, 8
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x54]
test eax, eax
jne 0x40ad50
push 1
call fcn.00579ea3
mov eax, dword [ebp - 0x54]
add esp, 4
push eax
push dword [ebp - 0x58]
call fcn.0057a39e
add esp, 8
test eax, eax
je 0x40ad69
push eax
call fcn.00579e76
add esp, 4
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
call fcn.0040ae60
mov byte [ebp - 4], 0xd
mov eax, ebx
mov edx, dword [ebp - 0x38]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40ad9d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x34]
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40adbb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x48]
add esi, 4
cmp esi, eax
jne 0x40ab90
mov edi, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x40adfa
push eax
push ecx
call fcn.004082c0
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x44]
sub ecx, eax
sar ecx, 2
push ecx
push eax
call fcn.004088f0
jmp 0x40adfa
push 0x80004005
call fcn.004022b0
xor edi, edi
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x3c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40ae18
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x50]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x40ae37
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057b967
mov esp, ebp
pop ebp
ret