Function at 0x4124ce
Capabilities:
Check if file exists

Disassembly:
push 0x1d0
mov eax, 0x54be59
call fcn.0051d3dc
mov edi, ecx
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x1ac]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1bc], eax
xor eax, eax
push eax
push eax
mov dword [ebp - 0x1ac], eax
mov dword [ebp - 0x1a8], eax
call fcn.00416a20
mov ebx, eax
mov dword [ebp - 0x1ac], ebx
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [esi + 0x10], eax
je 0x412bdc
push eax
lea eax, [ebp - 0xc0]
push esi
push eax
call fcn.00438237
add esp, 0xc
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 1
jb 0x412539
mov eax, dword [eax]
push eax
push 0x325
push str.ScreenSaverFrame::GenImgJsonInfoExImpl
push str.__s__d___ParseData_webdata_strConfig___s
call fcn.00402cc1
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc0]
call fcn.004036e0
lea ecx, [ebp - 0x198]
call fcn.00404008
push 0
lea ecx, [ebp - 0x1cc]
mov byte [ebp - 4], 2
call fcn.0040689d
push 1
lea eax, [ebp - 0x1cc]
mov byte [ebp - 4], 3
push eax
push esi
lea ecx, [ebp - 0x198]
call fcn.0040554e
test al, al
je 0x412bc6
lea ecx, [ebp - 0x1cc]
call fcn.00407873
test al, al
jne 0x412bc6
lea ecx, [ebp - 0x1cc]
call fcn.00407898
test al, al
je 0x412bc6
push str.data
lea ecx, [ebp - 0x1cc]
call fcn.00406c31
push eax
lea ecx, [ebp - 0x1dc]
call fcn.004066f0
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 4], 4
call fcn.0040780a
test al, al
je 0x412bbb
lea eax, [ebp - 0x1b8]
push eax
lea ecx, [ebp - 0x1dc]
call fcn.0040766b
lea eax, [ebp - 0x1a4]
push eax
lea ecx, [ebp - 0x1dc]
call fcn.0040756c
lea eax, [ebp - 0x1b8]
push eax
lea ecx, [ebp - 0x1a4]
call fcn.00407823
test al, al
jne 0x412701
lea ecx, [ebp - 0x1a4]
call fcn.004075f6
push eax
lea ecx, [ebp - 0x20]
call fcn.004066f0
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 5
call fcn.0040f603
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 6
push eax
push 0x5570b8
lea ecx, [ebp - 0x20]
call fcn.00406c31
push eax
call fcn.0043db8d
pop ecx
pop ecx
lea eax, [ebp - 0xa0]
push eax
push 0x5598e0
lea ecx, [ebp - 0x20]
call fcn.00406c31
push eax
call fcn.0043dd3d
pop ecx
pop ecx
lea eax, [ebp - 0x88]
push eax
push 0x5570bc
lea ecx, [ebp - 0x20]
call fcn.00406c31
push eax
call fcn.0043dd3d
pop ecx
pop ecx
lea eax, [ebp - 0xa8]
push eax
push ebx
lea ecx, [ebp - 0x1ac]
call fcn.0040f02b
lea ecx, [ebp - 0xa8]
call fcn.0040fc72
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.00406a64
lea ecx, [ebp - 0x1a4]
call fcn.00407801
lea eax, [ebp - 0x1b8]
push eax
lea ecx, [ebp - 0x1a4]
call fcn.00407823
mov ebx, dword [ebp - 0x1ac]
jmp 0x41262c
push 0x341
push str.ScreenSaverFrame::GenImgJsonInfoExImpl
push str.__s__d___ParseData_webdata_ok
call fcn.00402cc1
add esp, 0xc
lea ecx, [ebp - 0x1a4]
xor eax, eax
mov dword [ebp - 0x1a4], eax
mov dword [ebp - 0x1a0], eax
push eax
push eax
call fcn.00416a20
mov dword [ebp - 0x1a4], eax
push 0x556c1e
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 7
call fcn.00401b1b
mov esi, dword [ebx]
mov byte [ebp - 4], 8
cmp esi, ebx
je 0x412af3
lea eax, [edi + 0x88]
mov dword [ebp - 0x1b0], eax
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
and dword [ebp - 0x14], 0
push eax
mov byte [ebp - 0x199], 1
call fcn.0040342e
lea edi, [esi + 0x28]
mov byte [ebp - 4], 9
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x412790
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.004037f5
push 0
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.004386e7
push 0
lea eax, [ebp - 0xf8]
mov byte [ebp - 4], 0xa
push edi
push eax
call fcn.004386e7
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov edi, str.ScreenSaverFrame::GenImgJsonInfoExImpl
mov byte [ebp - 4], 0xb
cmovae eax, dword [ebp - 0x28]
push eax
push 0x34c
push edi
push str.__s__d___GenImgJsonInfoEx__pic_file___s
call fcn.00402cc1
add esp, 0x28
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 0x4129c2
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.004355a8
push 0
lea eax, [ebp - 0xf8]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0xe0]
push eax
call fcn.00438237
mov edi, eax
push 0
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00438237
add esp, 0x20
cmp dword [edi + 0x14], 8
mov byte [ebp - 4], 0xe
jb 0x41285b
mov edi, dword [edi]
cmp dword [eax + 0x14], 8
jb 0x412863
mov eax, dword [eax]
push edi
push eax
push 0x351
mov edi, str.ScreenSaverFrame::GenImgJsonInfoExImpl
push edi
push str.__s__d___GenImgJsonInfoEx_szFileMd5___s_szMd5___s
call fcn.00402cc1
add esp, 0x14
lea ecx, [ebp - 0x40]
call fcn.004036e0
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 0xc
call fcn.004036e0
lea eax, [ebp - 0xf8]
push eax
lea ecx, [ebp - 0x110]
call fcn.004034c6
test al, al
je 0x41299e
lea ecx, [ebp - 0xa8]
call fcn.0040f737
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0043782b
pop ecx
pop ecx
cmp dword [ebp - 0x30], 0
mov byte [ebp - 4], 0x10
jbe 0x412976
cmp dword [ebp - 0x2c], 0x10
lea edi, [ebp - 0x40]
mov eax, dword [esi + 0xc]
cmovae edi, dword [ebp - 0x40]
push edi
mov byte [ebp - 0x199], 0
mov dword [ebp - 0xa4], eax
call fcn.00524dd0
pop ecx
push eax
push edi
lea ecx, [ebp - 0xa0]
call fcn.00403853
lea eax, [esi + 0x28]
push eax
lea ecx, [ebp - 0x88]
call fcn.00401e50
mov edi, 0x556c1c
push edi
call fcn.00524c40
pop ecx
push eax
push edi
lea ecx, [ebp - 0x70]
call fcn.0040389c
push edi
call fcn.00524c40
pop ecx
push eax
push edi
lea ecx, [ebp - 0x58]
call fcn.0040389c
push dword [ebp - 0xa4]
push 0x35e
push str.ScreenSaverFrame::GenImgJsonInfoExImpl
push str.__s__d___GenImgJsonInfoEx_base64_ok_id__d
call fcn.00402cc1
add esp, 0x10
lea eax, [ebp - 0xa8]
lea ecx, [ebp - 0x1a4]
push eax
push dword [ebp - 0x1a4]
call fcn.0040f05f
jmp 0x412989
push 0x363
push edi
push str.__s__d___GenImgJsonInfoEx_id_strText_error
call fcn.00402cc1
add esp, 0xc
lea ecx, [ebp - 0x40]
call fcn.004036ba
lea ecx, [ebp - 0xa8]
call fcn.0040fc96
jmp 0x4129b1
push 0x368
push edi
push str.__s__d___GenImgJsonInfoEx_MD5_error
call fcn.00402cc1
add esp, 0xc
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 0xb
call fcn.004036ba
jmp 0x4129d5
push 0x36d
push edi
push str.__s__d___GenImgJsonInfoEx_file_not_exist
call fcn.00402cc1
add esp, 0xc
cmp byte [ebp - 0x199], 0
je 0x412ac1
cmp byte [ebp + 0x10], 0
je 0x412ac1
lea ecx, [ebp - 0x90]
call fcn.0041d314
mov eax, dword [esi + 0xc]
lea ecx, [ebp - 0x70]
and dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0xc0]
push eax
mov byte [ebp - 4], 0x11
call fcn.00401dfe
lea eax, [ebp - 0xf8]
push eax
lea ecx, [ebp - 0x88]
call fcn.00401dfe
push 0
push dword [ebp - 0x1b0]
lea eax, [ebp - 0xe0]
push eax
call fcn.004386e7
add esp, 0xc
cmp dword [ebp - 0x74], 0x10
lea ecx, [ebp - 0x88]
push dword [ebp - 0x78]
cmovae ecx, dword [ebp - 0x88]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x12
call fcn.0040377f
xor ecx, ecx
mov byte [ebp - 0x1b4], cl
push dword [ebp - 0x1b4]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x40]
push eax
call fcn.00403212
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x58]
call fcn.00401dd5
lea ecx, [ebp - 0x40]
call fcn.004036ba
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 0x11
call fcn.004036ba
lea eax, [ebp - 0x90]
push eax
call fcn.0041d606
mov ecx, eax
call fcn.0041d4f9
lea ecx, [ebp - 0x90]
call fcn.0041d3ff
lea ecx, [ebp - 0xf8]
call fcn.004036ba
lea ecx, [ebp - 0xc0]
call fcn.004036ba
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 8
call fcn.004036e0
mov esi, dword [esi]
mov eax, dword [ebp - 0x1b0]
cmp esi, ebx
jne 0x412767
cmp dword [ebp - 0x1a0], 0
jbe 0x412b96
push 0
lea ecx, [ebp - 0x20]
call fcn.0040689d
push str.data
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x13
call fcn.00406c31
push eax
lea eax, [ebp - 0x1a4]
push eax
call fcn.0040ed38
pop ecx
pop ecx
lea ecx, [ebp - 0xc8]
call fcn.004081a6
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0xe0]
push eax
lea ecx, [ebp - 0xc8]
call fcn.0040a2b9
mov ecx, dword [ebp - 0x1bc]
push eax
call fcn.00401dd5
lea ecx, [ebp - 0xe0]
call fcn.004036ba
push dword [ebp - 0x118]
push 0x386
push str.ScreenSaverFrame::GenImgJsonInfoExImpl
push str.__s__d___OnGetImg_length__d
call fcn.00402cc1
add esp, 0x10
lea ecx, [ebp - 0xc8]
call fcn.0040829f
lea ecx, [ebp - 0x20]
call fcn.00406a64
lea ecx, [ebp - 0x128]
call fcn.004036ba
lea ecx, [ebp - 0x1a4]
call fcn.00416bfb
push 0x70
push dword [ebp - 0x1a4]
call fcn.004015da
pop ecx
pop ecx
lea ecx, [ebp - 0x1dc]
call fcn.00406a64
lea ecx, [ebp - 0x1cc]
call fcn.00406a64
lea ecx, [ebp - 0x198]
call fcn.00401d9d
lea ecx, [ebp - 0x1ac]
call fcn.00416bd1
push 0x70
push dword [ebp - 0x1ac]
call fcn.004015da
pop ecx
pop ecx
call fcn.0051d386
ret 0xc