Function at 0x493221
Capabilities:
Check if file exists

Disassembly:
push 0x1fc
mov eax, 0x5e473a
call fcn.00592017
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.0049be05
mov ebx, eax
mov dword [ebp - 0x1d8], ebx
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [esi + 0x10], eax
je 0x4938d6
push eax
mov edx, esi
lea ecx, [ebp - 0x58]
call fcn.00426802
pop ecx
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x493281
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.0040b67b
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 0x4938c0
lea ecx, [ebp - 0x1f8]
call fcn.00405673
test al, al
jne 0x4938c0
call fcn.004056d7
test al, al
je 0x4938c0
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 0x4938b5
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 0x493428
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.004904d9
push 0x631e68
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.00405401
lea edx, [ebp - 0xf4]
mov ecx, eax
call fcn.00436e83
push 0x64a26c
lea ecx, [ebp - 0x20]
call fcn.00405401
lea edx, [ebp - 0xf0]
mov ecx, eax
call fcn.00436f27
push 0x63aba8
lea ecx, [ebp - 0x20]
call fcn.00405401
lea edx, [ebp - 0xd8]
mov ecx, eax
call fcn.00436f27
lea eax, [ebp - 0xf8]
push eax
push ebx
lea ecx, [ebp - 0x1d8]
call fcn.0049c138
lea ecx, [ebp - 0xf8]
call fcn.004916bf
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 0x49335f
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.0049be05
mov dword [ebp - 0x1d0], eax
push 0x61ce3e
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 0x493801
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 0x4934b1
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.00426886
push 0
mov edx, edi
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x90]
call fcn.00426886
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 0x4936d0
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x13c]
cmovae edx, dword [ebp - 0x28]
call fcn.0042348d
push 0
lea edx, [ebp - 0x90]
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x78]
call fcn.00426802
mov edi, eax
push 0
lea edx, [ebp - 0x13c]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x40]
call fcn.00426802
pop ecx
pop ecx
mov byte [ebp - 4], 0xe
cmp dword [edi + 0x14], 8
jb 0x49356d
mov edi, dword [edi]
cmp dword [eax + 0x14], 8
jb 0x493575
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.0040b67b
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0xc
call fcn.0040b67b
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.00423c0c
pop ecx
pop ecx
test al, al
je 0x4936ac
lea ecx, [ebp - 0xf8]
call fcn.0049066f
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x40]
call fcn.00425218
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x30], 0
jbe 0x493684
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.005acdf0
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.0041321d
mov edi, 0x6284b4
push edi
call fcn.005b93d0
pop ecx
push eax
push edi
lea ecx, [ebp - 0xc0]
call fcn.0040b566
push edi
call fcn.005b93d0
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.0049bd1c
jmp 0x493697
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.004931a6
jmp 0x4936bf
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 0x4936e3
push 0x44b
push edi
push str.__s__d___GenImgJsonInfoEx_file_not_exist
call fcn.0040a649
add esp, 0xc
cmp byte [ebp - 0x1c5], 0
je 0x4937d2
cmp byte [ebp + 0x10], 0
je 0x4937d2
lea ecx, [ebp - 0x124]
call fcn.004b2272
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.00426886
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.004b25a9
mov ecx, eax
call fcn.004b30da
lea ecx, [ebp - 0x124]
call fcn.004b2459
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.0040b67b
mov esi, dword [esi]
mov eax, dword [ebp - 0x1dc]
cmp esi, ebx
jne 0x493488
cmp dword [ebp - 0x1cc], 0
jbe 0x493890
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.0049be83
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.0049bce6
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.0049bd74
push 0x70
push dword [ebp - 0x1d8]
call fcn.004047e6
pop ecx
pop ecx
call fcn.00591fc1
ret 0xc