Function at 0x493dac
Capabilities:
Check if file exists

Disassembly:
push 0x1fc
mov eax, 0x5e63a0
call fcn.00593b07
mov edi, ecx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1e8], eax
xor eax, eax
push eax
push eax
mov dword [ebp - 0x1d8], eax
mov dword [ebp - 0x1d4], eax
call fcn.0049cabe
mov ebx, eax
mov dword [ebp - 0x1d8], ebx
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [esi + 0x10], eax
je 0x494461
push eax
mov edx, esi
lea ecx, [ebp - 0x58]
call fcn.00426805
pop ecx
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x493e0c
mov eax, dword [eax]
push eax
push 0x403
push str.ScreenSaverFrame::GenImgJsonInfoExImpl
push str.__s__d___ParseData_webdata_strConfig___s
call fcn.0040a649
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.0040b67e
lea ecx, [ebp - 0x1c4]
call fcn.00401c84
push 0
lea ecx, [ebp - 0x1f8]
mov byte [ebp - 4], 2
call fcn.00404ba6
push 1
lea eax, [ebp - 0x1f8]
mov byte [ebp - 4], 3
push eax
push esi
lea ecx, [ebp - 0x1c4]
call fcn.00401d1d
test al, al
je 0x49444b
lea ecx, [ebp - 0x1f8]
call fcn.00405673
test al, al
jne 0x49444b
call fcn.004056d7
test al, al
je 0x49444b
push str.data
call fcn.00405401
push eax
lea ecx, [ebp - 0x208]
call fcn.00404cc0
lea ecx, [ebp - 0x208]
mov byte [ebp - 4], 4
call fcn.004056c6
test al, al
je 0x494440
lea eax, [ebp - 0x1e4]
push eax
call fcn.004057e8
lea eax, [ebp - 0x1d0]
push eax
lea ecx, [ebp - 0x208]
call fcn.004057b0
lea eax, [ebp - 0x1e4]
push eax
lea ecx, [ebp - 0x1d0]
call fcn.004049b7
test al, al
jne 0x493fb3
lea ecx, [ebp - 0x1d0]
call fcn.004049ac
push eax
lea ecx, [ebp - 0x20]
call fcn.00404cc0
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 5
call fcn.00491065
push 0x633e58
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.00405401
lea edx, [ebp - 0xf4]
mov ecx, eax
call fcn.00436e86
push 0x64c498
lea ecx, [ebp - 0x20]
call fcn.00405401
lea edx, [ebp - 0xf0]
mov ecx, eax
call fcn.00436f2a
push 0x63cd98
lea ecx, [ebp - 0x20]
call fcn.00405401
lea edx, [ebp - 0xd8]
mov ecx, eax
call fcn.00436f2a
lea eax, [ebp - 0xf8]
push eax
push ebx
lea ecx, [ebp - 0x1d8]
call fcn.0049cdf1
lea ecx, [ebp - 0xf8]
call fcn.0049224a
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.00404dbc
lea ecx, [ebp - 0x1d0]
call fcn.004049b2
lea eax, [ebp - 0x1e4]
push eax
call fcn.004049b7
mov ebx, dword [ebp - 0x1d8]
jmp 0x493eea
push 0x41f
push str.ScreenSaverFrame::GenImgJsonInfoExImpl
push str.__s__d___ParseData_webdata_ok
call fcn.0040a649
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x1d0], eax
mov dword [ebp - 0x1cc], eax
push eax
push eax
call fcn.0049cabe
mov dword [ebp - 0x1d0], eax
push 0x61ee2e
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 7
call fcn.004045aa
mov byte [ebp - 4], 8
mov esi, dword [ebx]
cmp esi, ebx
je 0x49438c
lea eax, [edi + 0x90]
mov dword [ebp - 0x1dc], eax
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
and dword [ebp - 0x14], 0
push eax
mov byte [ebp - 0x1c5], 1
call fcn.0040b155
lea edi, [esi + 0x28]
mov byte [ebp - 4], 9
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x49403c
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.0040b220
push 0
lea edx, [esi + 0x10]
lea ecx, [ebp - 0x58]
call fcn.00426889
push 0
mov edx, edi
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x90]
call fcn.00426889
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
mov edi, str.ScreenSaverFrame::GenImgJsonInfoExImpl
cmovae eax, dword [ebp - 0x28]
push eax
push 0x42a
push edi
push str.__s__d___GenImgJsonInfoEx__pic_file___s
call fcn.0040a649
add esp, 0x18
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x49425b
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x13c]
cmovae edx, dword [ebp - 0x28]
call fcn.00423490
push 0
lea edx, [ebp - 0x90]
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x78]
call fcn.00426805
mov edi, eax
push 0
lea edx, [ebp - 0x13c]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x40]
call fcn.00426805
pop ecx
pop ecx
mov byte [ebp - 4], 0xe
cmp dword [edi + 0x14], 8
jb 0x4940f8
mov edi, dword [edi]
cmp dword [eax + 0x14], 8
jb 0x494100
mov eax, dword [eax]
push edi
push eax
push 0x42f
mov edi, str.ScreenSaverFrame::GenImgJsonInfoExImpl
push edi
push str.__s__d___GenImgJsonInfoEx_szFileMd5___s_szMd5___s
call fcn.0040a649
add esp, 0x14
lea ecx, [ebp - 0x40]
call fcn.0040b67e
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0xc
call fcn.0040b67e
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.00423c0f
pop ecx
pop ecx
test al, al
je 0x494237
lea ecx, [ebp - 0xf8]
call fcn.004911fb
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x40]
call fcn.0042521b
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x30], 0
jbe 0x49420f
cmp dword [ebp - 0x2c], 0x10
lea edi, [ebp - 0x40]
mov eax, dword [esi + 0xc]
cmovae edi, dword [ebp - 0x40]
push edi
mov byte [ebp - 0x1c5], 0
mov dword [ebp - 0xf4], eax
call fcn.005ae8e0
pop ecx
push eax
push edi
lea ecx, [ebp - 0xf0]
call fcn.0040464f
lea eax, [esi + 0x28]
push eax
lea ecx, [ebp - 0xd8]
call fcn.00413220
mov edi, 0x62a4ac
push edi
call fcn.005baec0
pop ecx
push eax
push edi
lea ecx, [ebp - 0xc0]
call fcn.0040b566
push edi
call fcn.005baec0
pop ecx
push eax
push edi
lea ecx, [ebp - 0xa8]
call fcn.0040b566
push dword [ebp - 0xf4]
push 0x43c
push str.ScreenSaverFrame::GenImgJsonInfoExImpl
push str.__s__d___GenImgJsonInfoEx_base64_ok_id__d
call fcn.0040a649
add esp, 0x10
lea eax, [ebp - 0xf8]
lea ecx, [ebp - 0x1d0]
push eax
call fcn.0049c9d5
jmp 0x494222
push 0x441
push edi
push str.__s__d___GenImgJsonInfoEx_id_strText_error
call fcn.0040a649
add esp, 0xc
lea ecx, [ebp - 0x40]
call fcn.00404812
lea ecx, [ebp - 0xf8]
call fcn.00493d31
jmp 0x49424a
push 0x446
push edi
push str.__s__d___GenImgJsonInfoEx_MD5_error
call fcn.0040a649
add esp, 0xc
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0xb
call fcn.00404812
jmp 0x49426e
push 0x44b
push edi
push str.__s__d___GenImgJsonInfoEx_file_not_exist
call fcn.0040a649
add esp, 0xc
cmp byte [ebp - 0x1c5], 0
je 0x49435d
cmp byte [ebp + 0x10], 0
je 0x49435d
lea ecx, [ebp - 0x124]
call fcn.004b39a9
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xf8]
mov eax, dword [esi + 0xc]
and dword [ebp - 0x124], 0
mov dword [ebp - 0x120], eax
lea eax, [ebp - 0x58]
push eax
call fcn.00404698
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x110]
call fcn.00404698
mov edx, dword [ebp - 0x1dc]
lea ecx, [ebp - 0x78]
push 0xfde9
call fcn.00426889
pop ecx
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x110]
cmp dword [ebp - 0xfc], 0x10
push dword [ebp - 0x100]
cmovae ecx, dword [ebp - 0x110]
push ecx
mov ecx, eax
call fcn.004043c3
xor ecx, ecx
mov byte [ebp - 0x1e0], cl
push dword [ebp - 0x1e0]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x40]
push eax
call fcn.004046c1
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xe0]
call fcn.00409145
lea ecx, [ebp - 0x40]
call fcn.00404812
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x11
call fcn.00404812
lea eax, [ebp - 0x124]
push eax
call fcn.004b3ce0
mov ecx, eax
call fcn.004b4811
lea ecx, [ebp - 0x124]
call fcn.004b3b90
lea ecx, [ebp - 0x90]
call fcn.00404812
lea ecx, [ebp - 0x58]
call fcn.00404812
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 8
call fcn.0040b67e
mov esi, dword [esi]
mov eax, dword [ebp - 0x1dc]
cmp esi, ebx
jne 0x494013
cmp dword [ebp - 0x1cc], 0
jbe 0x49441b
push 0
lea ecx, [ebp - 0x20]
call fcn.00404ba6
push str.data
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x13
call fcn.00405401
mov edx, eax
lea ecx, [ebp - 0x1d0]
call fcn.0049cb3c
lea ecx, [ebp - 0x60]
call fcn.00406b04
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.00406b1f
mov ecx, dword [ebp - 0x1e8]
push eax
call fcn.00409145
lea ecx, [ebp - 0x78]
call fcn.00404812
push dword [ebp - 0x144]
push 0x464
push str.ScreenSaverFrame::GenImgJsonInfoExImpl
push str.__s__d___OnGetImg_length__d
call fcn.0040a649
add esp, 0x10
lea ecx, [ebp - 0x60]
call fcn.004065e4
lea ecx, [ebp - 0x20]
call fcn.00404dbc
lea ecx, [ebp - 0x154]
call fcn.00404812
lea ecx, [ebp - 0x1d0]
call fcn.0049c99f
push 0x70
push dword [ebp - 0x1d0]
call fcn.004047e6
pop ecx
pop ecx
lea ecx, [ebp - 0x208]
call fcn.00404dbc
lea ecx, [ebp - 0x1f8]
call fcn.00404dbc
lea ecx, [ebp - 0x1c4]
call fcn.00402bc3
lea ecx, [ebp - 0x1d8]
call fcn.0049ca2d
push 0x70
push dword [ebp - 0x1d8]
call fcn.004047e6
pop ecx
pop ecx
call fcn.00593ab1
ret 0xc