Function at 0x40b240
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d2493
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x663a90]
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 - 0x34], ecx
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push eax
call fcn.0040aa60
mov dword [ebp - 4], 0
lea edx, [ebp - 0x2c]
push str.cef
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
call fcn.00406a80
add esp, 4
mov byte [ebp - 4], 1
push dword [ebp - 0x1c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
or ebx, 0xffffffff
test eax, eax
je 0x40b5d6
push dword [ebp - 0x1c]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x40b5d6
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
push str.DataRecoveryData
lea ecx, [ebp - 0x68]
movq qword [ebp - 0x28], xmm0
call fcn.004035d0
push str.iOSRecoveryData
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 2
call fcn.004035d0
push str.PDFConverter
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 3
call fcn.004035d0
push str.MasterPDFData
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 4
call fcn.004035d0
push str.ConverterModule
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 5
call fcn.004035d0
push str.ScreenRecorderData
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 6
call fcn.004035d0
push str.QYMediaFormatData
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 7
call fcn.004035d0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x4c]
mov byte [ebp - 0x14], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x14]
mov dword [ebp - 0x28], 0
push eax
lea eax, [ebp - 0x68]
mov dword [ebp - 0x24], 0
push eax
mov dword [ebp - 0x20], 0
call fcn.0040e290
push fcn.00403910
push 7
push 4
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 0xa
push eax
call fcn.0058a293
mov esi, dword [ebp - 0x28]
xor edi, edi
mov eax, dword [ebp - 0x24]
cmp esi, eax
je 0x40b5aa
push str.webviewcef
mov edx, esi
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x44]
call fcn.00406a80
add esp, 4
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x18]
mov edx, dword [eax]
call fcn.00488d40
mov byte [ebp - 4], 0xd
mov eax, ebx
mov edx, dword [ebp - 0x44]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40b3e5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40b5cc
mov ecx, dword [ebp - 0x18]
mov edx, ecx
mov di, word [edx]
cmp di, word [eax]
jne 0x40b41b
test di, di
je 0x40b417
mov di, word [edx + 2]
cmp di, word [eax + 2]
jne 0x40b41b
add edx, 4
add eax, 4
test di, di
jne 0x40b3f5
xor eax, eax
jmp 0x40b420
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
je 0x40b435
mov byte [ebp - 4], 0xa
lea edx, [ecx - 0x10]
jmp 0x40b4da
push str.libcef.dll
lea edx, [ebp - 0x18]
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x14]
call fcn.00406a80
add esp, 4
mov byte [ebp - 4], 0xe
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40b4b2
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x48]
call fcn.00488440
mov byte [ebp - 4], 0xf
mov ecx, dword [0x681868]
test ecx, ecx
je 0x40b5cc
push ecx
push dword [eax]
call fcn.005ac88b
add esp, 8
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x48]
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 0x40b4ac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x2d], 0
je 0x40b503
mov byte [ebp - 4], 0xd
mov eax, ebx
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40b4d0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40b4ee
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x24]
add esi, 4
cmp esi, eax
jne 0x40b3a0
xor edi, edi
jmp 0x40b5aa
mov ecx, dword [ebp - 0x18]
mov edi, 1
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x40], eax
lea ecx, [ecx - 0x10]
call fcn.00403880
add eax, 0x10
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00403880
add eax, 0x10
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x11
push eax
lea ecx, [ebp - 0x4c]
call fcn.0040dc60
mov ecx, eax
mov byte [ebp - 4], 0x12
call fcn.0040f200
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x48], 0
setne al
test al, al
je 0x40b563
call fcn.005acd3f
lea ecx, [ebp - 0x40]
call fcn.0040b640
mov byte [ebp - 4], 0xd
mov eax, ebx
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40b589
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xa
mov eax, ebx
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40b5a7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x40b5d8
push eax
push esi
call fcn.00407380
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
sub ecx, eax
sar ecx, 2
push ecx
push eax
call fcn.00407980
jmp 0x40b5d8
push 0x80004005
call fcn.004037b0
xor edi, edi
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40b5f6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x40b615
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.00589cd3
mov esp, ebp
pop ebp
ret