Function at 0x49a528
Capabilities:
Check if file exists

Disassembly:
push 0x1fc
mov eax, 0x5eedf7
call fcn.0059bbd7
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.004a3f63
mov ebx, eax
mov dword [ebp - 0x1d8], ebx
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [esi + 0x10], eax
je 0x49abdd
push eax
mov edx, esi
lea ecx, [ebp - 0x58]
call fcn.00426ce7
pop ecx
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x49a588
mov eax, dword [eax]
push eax
push 0x409
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 0x49abc7
lea ecx, [ebp - 0x1f8]
call fcn.00405673
test al, al
jne 0x49abc7
call fcn.004056d7
test al, al
je 0x49abc7
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 0x49abbc
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 0x49a72f
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.00497677
push 0x63dc28
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.00405401
lea edx, [ebp - 0xf4]
mov ecx, eax
call fcn.0043bf56
push 0x65672c
lea ecx, [ebp - 0x20]
call fcn.00405401
lea edx, [ebp - 0xf0]
mov ecx, eax
call fcn.0043bffa
push 0x646b80
lea ecx, [ebp - 0x20]
call fcn.00405401
lea edx, [ebp - 0xd8]
mov ecx, eax
call fcn.0043bffa
lea eax, [ebp - 0xf8]
push eax
push ebx
lea ecx, [ebp - 0x1d8]
call fcn.004a4296
lea ecx, [ebp - 0xf8]
call fcn.004989c6
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 0x49a666
push 0x425
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.004a3f63
mov dword [ebp - 0x1d0], eax
push 0x627e3e
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 0x49ab08
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 0x49a7b8
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.00426d6b
push 0
mov edx, edi
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x90]
call fcn.00426d6b
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 0x430
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 0x49a9d7
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x13c]
cmovae edx, dword [ebp - 0x28]
call fcn.004236f2
push 0
lea edx, [ebp - 0x90]
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x78]
call fcn.00426ce7
mov edi, eax
push 0
lea edx, [ebp - 0x13c]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x40]
call fcn.00426ce7
pop ecx
pop ecx
mov byte [ebp - 4], 0xe
cmp dword [edi + 0x14], 8
jb 0x49a874
mov edi, dword [edi]
cmp dword [eax + 0x14], 8
jb 0x49a87c
mov eax, dword [eax]
push edi
push eax
push 0x435
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.00423e8e
pop ecx
pop ecx
test al, al
je 0x49a9b3
lea ecx, [ebp - 0xf8]
call fcn.0049780d
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x40]
call fcn.004256cd
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x30], 0
jbe 0x49a98b
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.005b69b0
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.0041322b
mov edi, 0x6335fc
push edi
call fcn.005c2f90
pop ecx
push eax
push edi
lea ecx, [ebp - 0xc0]
call fcn.0040b566
push edi
call fcn.005c2f90
pop ecx
push eax
push edi
lea ecx, [ebp - 0xa8]
call fcn.0040b566
push dword [ebp - 0xf4]
push 0x442
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.004a3e7a
jmp 0x49a99e
push 0x447
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.0049a4ad
jmp 0x49a9c6
push 0x44c
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 0x49a9ea
push 0x451
push edi
push str.__s__d___GenImgJsonInfoEx_file_not_exist
call fcn.0040a649
add esp, 0xc
cmp byte [ebp - 0x1c5], 0
je 0x49aad9
cmp byte [ebp + 0x10], 0
je 0x49aad9
lea ecx, [ebp - 0x124]
call fcn.004bb27c
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.00426d6b
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.004bb5b3
mov ecx, eax
call fcn.004bc110
lea ecx, [ebp - 0x124]
call fcn.004bb463
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 0x49a78f
cmp dword [ebp - 0x1cc], 0
jbe 0x49ab97
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.004a3fe1
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 0x46a
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.004a3e44
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.004a3ed2
push 0x70
push dword [ebp - 0x1d8]
call fcn.004047e6
pop ecx
pop ecx
call fcn.0059bb81
ret 0xc