Function at 0x4604e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x474f18
mov eax, dword fs:[0]
push eax
mov eax, 0x1af4
call fcn.00450fe0
mov eax, dword [0x49c00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1ac4], ecx
mov dword [ebp - 0x1b00], 0
lea ecx, [ebp - 0x1ab8]
call fcn.004096c0
mov dword [ebp - 4], 0
push 0x48aac8
lea eax, [ebp - 0x1ab8]
push eax
call fcn.00409d20
add esp, 8
mov ecx, dword [ebp - 0x1ac4]
add ecx, 0xbe8
call fcn.00409700
test eax, eax
jle 0x460573
mov ecx, dword [ebp - 0x1ac4]
add ecx, 0xbe8
push ecx
lea ecx, [ebp - 0x1ab8]
call fcn.00409540
push 0x1001
push 0
lea edx, [ebp - 0x1604]
push edx
call fcn.0042b9d0
add esp, 0xc
push 0x50
push 0x1000
lea eax, [ebp - 0x1604]
push eax
lea ecx, [ebp - 0x1ab8]
call fcn.00409710
push eax
call sym.Install_adv.exe_public:_static_class_CNsNet____cdecl_CNsNet::Instance_void_
mov ecx, eax
call sym.Install_adv.exe_public:_int___thiscall_CNsNet::GetUrlInfo_wchar_t_const___char___int__int_
lea ecx, [ebp - 0x1604]
push ecx
call fcn.00434840
add esp, 4
cmp eax, 0xa
jae 0x4605da
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ab8]
call fcn.004095a0
jmp 0x460c1c
call sym.Install_adv.exe_public:_static_class_CNsNet____cdecl_CNsNet::Instance_void_
mov ecx, eax
call sym.Install_adv.exe_public:_int___thiscall_CNsNet::GetInfoLen_void_
mov dword [ebp - 0x1ad8], eax
mov edx, dword [ebp - 0x1ad8]
push edx
lea eax, [ebp - 0x1604]
push eax
call sym.Install_adv.exe_void___cdecl_EasyEncode_char___int_
add esp, 8
push 0xfde9
lea ecx, [ebp - 0x1604]
push ecx
lea ecx, [ebp - 0x1708]
call fcn.0041e050
mov dword [ebp - 0x1adc], eax
mov edx, dword [ebp - 0x1adc]
mov dword [ebp - 0x1ae0], edx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1ae0]
call fcn.00418ca0
push eax
lea ecx, [ebp - 0x1acc]
call fcn.004095e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1708]
call fcn.004195a0
lea ecx, [ebp - 0x1ab4]
call sym.Install_adv.exe_public:_void___thiscall_CNsXml::constructor_void_
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1acc]
call fcn.00409710
push eax
lea ecx, [ebp - 0x1ab4]
call sym.Install_adv.exe_public:_int___thiscall_CNsXml::Parse_wchar_t_const__
push 0x1f4
push 0
lea eax, [ebp - 0x3f8]
push eax
call fcn.0042b9d0
add esp, 0xc
lea ecx, [ebp - 0x3f8]
push ecx
push str.switch
lea ecx, [ebp - 0x1ab4]
call sym.Install_adv.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t__
push 0x48ab30
lea edx, [ebp - 0x3f8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x4606f3
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1ab4]
call sym.Install_adv.exe_public:_void___thiscall_CNsXml::destructor_void_
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1acc]
call fcn.004095a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ab8]
call fcn.004095a0
jmp 0x460c1c
push 0x1f4
push 0
lea eax, [ebp - 0x3f8]
push eax
call fcn.0042b9d0
add esp, 0xc
lea ecx, [ebp - 0x3f8]
push ecx
push str.NName
lea ecx, [ebp - 0x1ab4]
call sym.Install_adv.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t__
lea edx, [ebp - 0x3f8]
push edx
lea ecx, [ebp - 0x1ac8]
call fcn.004095e0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1ac8]
call fcn.00412710
movzx eax, al
test eax, eax
jne 0x4607a7
push 0
mov ecx, dword [ebp - 0x1ac4]
add ecx, 0x24
push ecx
lea ecx, [ebp - 0x1ac8]
call fcn.0040f3c0
test eax, eax
jge 0x4607a7
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1ac8]
call fcn.004095a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1ab4]
call sym.Install_adv.exe_public:_void___thiscall_CNsXml::destructor_void_
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1acc]
call fcn.004095a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ab8]
call fcn.004095a0
jmp 0x460c1c
push 0x1f4
push 0
lea edx, [ebp - 0x3f8]
push edx
call fcn.0042b9d0
add esp, 0xc
lea eax, [ebp - 0x3f8]
push eax
push str.title
lea ecx, [ebp - 0x1ab4]
call sym.Install_adv.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t__
lea ecx, [ebp - 0x3f8]
push ecx
lea ecx, [ebp - 0x1ad4]
call fcn.004095e0
mov byte [ebp - 4], 6
push 0x1f4
push 0
lea edx, [ebp - 0x3f8]
push edx
call fcn.0042b9d0
add esp, 0xc
lea eax, [ebp - 0x3f8]
push eax
push 0x48ab50
lea ecx, [ebp - 0x1ab4]
call sym.Install_adv.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t__
lea ecx, [ebp - 0x3f8]
push ecx
lea ecx, [ebp - 0x1ad0]
call fcn.004095e0
mov byte [ebp - 4], 7
push 0x1f4
push 0
lea edx, [ebp - 0x3f8]
push edx
call fcn.0042b9d0
add esp, 0xc
lea eax, [ebp - 0x3f8]
push eax
push 0x48ab58
lea ecx, [ebp - 0x1ab4]
call sym.Install_adv.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t__
lea ecx, [ebp - 0x3f8]
push ecx
lea ecx, [ebp - 0x1ab8]
call fcn.004094f0
push 0x1f4
push 0
lea edx, [ebp - 0x3f8]
push edx
call fcn.0042b9d0
add esp, 0xc
lea eax, [ebp - 0x3f8]
push eax
push 0x48ab60
lea ecx, [ebp - 0x1ab4]
call sym.Install_adv.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t__
lea ecx, [ebp - 0x3f8]
push ecx
lea ecx, [ebp - 0x1ac0]
call fcn.004095e0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1ac0]
call fcn.00412710
movzx edx, al
test edx, edx
jne 0x460a0d
push 0x208
push 0
lea eax, [ebp - 0x600]
push eax
call fcn.0042b9d0
add esp, 0xc
mov ecx, dword [ebp - 0x1ac4]
add ecx, 0xbe4
call fcn.00409710
push eax
lea ecx, [ebp - 0x600]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str.img
lea edx, [ebp - 0x600]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x600]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x46092c
lea ecx, [ebp - 0x600]
push ecx
call sym.Install_adv.exe_int___cdecl_CreateFolder_wchar_t_const__
add esp, 4
lea edx, [ebp - 0x3f8]
push edx
lea ecx, [ebp - 0x1abc]
call fcn.004095e0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1abc]
call fcn.00409700
mov esi, eax
push 0x2f
lea ecx, [ebp - 0x1abc]
call fcn.00416be0
sub esi, eax
sub esi, 1
mov dword [ebp - 0x1ae4], esi
mov eax, dword [ebp - 0x1ae4]
push eax
lea ecx, [ebp - 0x1af0]
push ecx
lea ecx, [ebp - 0x1abc]
call fcn.00412500
mov dword [ebp - 0x1ae8], eax
mov edx, dword [ebp - 0x1ae8]
mov dword [ebp - 0x1aec], edx
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x1aec]
push eax
lea ecx, [ebp - 0x1abc]
call fcn.00409540
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1af0]
call fcn.004095a0
mov ecx, dword [ebp - 0x1abc]
push ecx
lea edx, [ebp - 0x600]
push edx
push 0x48ab74
lea eax, [ebp - 0x1ac0]
push eax
call fcn.00409d20
add esp, 0x10
push 0
push 0
push 0
lea ecx, [ebp - 0x1ac0]
call fcn.00409710
push eax
lea ecx, [ebp - 0x3f8]
push ecx
call sym.Install_adv.exe_public:_static_class_CNsDownload____cdecl_CNsDownload::Instance_void_
mov ecx, eax
call sym.Install_adv.exe_public:_int___thiscall_CNsDownload::GetHttpFile_wchar_t_const___wchar_t_const___int__void____stdcall___int__wchar_t_const___long_long___int64___long_long___int64___double___int_
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1abc]
call fcn.004095a0
push 0x1f4
push 0
lea edx, [ebp - 0x3f8]
push edx
call fcn.0042b9d0
add esp, 0xc
lea eax, [ebp - 0x3f8]
push eax
push str.width
lea ecx, [ebp - 0x1ab4]
call sym.Install_adv.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t__
lea ecx, [ebp - 0x3f8]
push ecx
call fcn.00435dcf
add esp, 4
mov dword [ebp - 0x1af8], eax
push 0x1f4
push 0
lea edx, [ebp - 0x3f8]
push edx
call fcn.0042b9d0
add esp, 0xc
lea eax, [ebp - 0x3f8]
push eax
push str.height
lea ecx, [ebp - 0x1ab4]
call sym.Install_adv.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t__
lea ecx, [ebp - 0x3f8]
push ecx
call fcn.00435dcf
add esp, 4
mov dword [ebp - 0x1af4], eax
push 0x1f4
push 0
lea edx, [ebp - 0x3f8]
push edx
call fcn.0042b9d0
add esp, 0xc
lea eax, [ebp - 0x3f8]
push eax
push str.closetime
lea ecx, [ebp - 0x1ab4]
call sym.Install_adv.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t__
lea ecx, [ebp - 0x3f8]
push ecx
call fcn.00435dcf
add esp, 4
mov dword [ebp - 0x1afc], eax
push 0x1f4
push 0
lea edx, [ebp - 0x3f8]
push edx
call fcn.0042b9d0
add esp, 0xc
lea eax, [ebp - 0x3f8]
push eax
push str.Force
lea ecx, [ebp - 0x1ab4]
call sym.Install_adv.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t__
lea ecx, [ebp - 0x1ab0]
call fcn.0041cdc0
mov byte [ebp - 4], 0xb
mov byte [ebp - 0x1720], 0
lea ecx, [ebp - 0x1ac0]
call fcn.00412710
movzx ecx, al
test ecx, ecx
jne 0x460b3a
lea edx, [ebp - 0x1ac0]
push edx
lea ecx, [ebp - 0x1724]
call fcn.00409540
push 0x48abbc
lea eax, [ebp - 0x3f8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x460b57
mov byte [ebp - 0x170c], 1
push 1
push 7
push 6
mov ecx, dword [ebp - 0x1af4]
push ecx
mov edx, dword [ebp - 0x1af8]
push edx
mov eax, dword [ebp - 0x1afc]
push eax
lea ecx, [ebp - 0x1ad4]
call fcn.00409710
push eax
lea ecx, [ebp - 0x1ab8]
call fcn.00409710
push eax
lea ecx, [ebp - 0x1ad0]
call fcn.00409710
push eax
lea ecx, [ebp - 0x1ab0]
call fcn.0041d560
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1ab0]
call fcn.0041cf70
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1ac0]
call fcn.004095a0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1ad0]
call fcn.004095a0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1ad4]
call fcn.004095a0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1ac8]
call fcn.004095a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1ab4]
call sym.Install_adv.exe_public:_void___thiscall_CNsXml::destructor_void_
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1acc]
call fcn.004095a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ab8]
call fcn.004095a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00429d20
mov esp, ebp
pop ebp
ret