Function at 0x48dbb0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a9c68
mov eax, dword fs:[0]
push eax
mov eax, 0x4f18
call fcn.00479690
mov eax, dword [0x4e100c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4edc], ecx
mov dword [ebp - 0x4f24], 0
mov dword [ebp - 0x4ef4], 0
lea eax, [ebp - 0x4ef4]
push eax
push 0x4c5760
push 0x1f41
call sym.Install_adv.exe_int___cdecl_NsResGetBuff_int__wchar_t_const___void__
add esp, 0xc
test eax, eax
jne 0x48dc1c
jmp 0x48e383
mov dword [ebp - 0x4ee8], 0
lea ecx, [ebp - 0x4ee8]
push ecx
push 0x4c5768
push 0x1f56
call sym.Install_adv.exe_int___cdecl_NsResGetBuff_int__wchar_t_const___void__
add esp, 0xc
mov dword [ebp - 0x4ef8], eax
cmp dword [ebp - 0x4ef8], 0
je 0x48dc5c
cmp dword [ebp - 0x4ee8], 0
je 0x48dc5c
jmp 0x48e383
lea ecx, [ebp - 0x4ed0]
call fcn.00409500
mov dword [ebp - 4], 0
push 0x4c5770
lea edx, [ebp - 0x4ed0]
push edx
call fcn.00409ab0
add esp, 8
mov ecx, dword [ebp - 0x4edc]
add ecx, 0x16b4
call fcn.00409530
test eax, eax
jle 0x48dcae
mov eax, dword [ebp - 0x4edc]
add eax, 0x16b4
push eax
lea ecx, [ebp - 0x4ed0]
call fcn.00409350
mov dword [ebp - 0x4ecc], 0x2800
mov ecx, dword [ebp - 0x4ecc]
push ecx
push 0
lea edx, [ebp - 0x4a18]
push edx
call fcn.004307d0
add esp, 0xc
push 0x50
mov eax, dword [ebp - 0x4ecc]
push eax
lea ecx, [ebp - 0x4a18]
push ecx
lea ecx, [ebp - 0x4ed0]
call sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
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 edx, [ebp - 0x4a18]
push edx
call fcn.00439720
add esp, 4
cmp eax, 0xa
jae 0x48dd23
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4ed0]
call fcn.004093c0
jmp 0x48e383
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 - 0x4efc], eax
mov eax, dword [ebp - 0x4efc]
push eax
lea ecx, [ebp - 0x4a18]
push ecx
call sym.Install_adv.exe_void___cdecl_EasyEncode_char___int_
add esp, 8
push 0xfde9
lea edx, [ebp - 0x4a18]
push edx
lea ecx, [ebp - 0x4b1c]
call fcn.0041ff60
mov dword [ebp - 0x4f00], eax
mov eax, dword [ebp - 0x4f00]
mov dword [ebp - 0x4f04], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x4f04]
call fcn.00418d50
push eax
lea ecx, [ebp - 0x4ee4]
call fcn.004093e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4b1c]
call fcn.00419c20
lea ecx, [ebp - 0x4ec8]
call sym.Install_adv.exe_public:_void___thiscall_CNsXml::constructor_void_
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4ee4]
call sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
lea ecx, [ebp - 0x4ec8]
call sym.Install_adv.exe_public:_int___thiscall_CNsXml::Parse_wchar_t_const__
mov dword [ebp - 0x4ecc], 0x2000
mov ecx, dword [ebp - 0x4ecc]
push ecx
push 0
lea edx, [ebp - 0x2218]
push edx
call fcn.004307d0
add esp, 0xc
lea eax, [ebp - 0x2218]
push eax
push str.switch
lea ecx, [ebp - 0x4ec8]
call sym.Install_adv.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t__
push 0x4c57d8
lea ecx, [ebp - 0x2218]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x48de48
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4ec8]
call sym.Install_adv.exe_public:_void___thiscall_CNsXml::destructor_void_
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4ee4]
call fcn.004093c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4ed0]
call fcn.004093c0
jmp 0x48e383
mov edx, dword [ebp - 0x4ecc]
push edx
push 0
lea eax, [ebp - 0x2218]
push eax
call fcn.004307d0
add esp, 0xc
lea ecx, [ebp - 0x2218]
push ecx
push str.NName
lea ecx, [ebp - 0x4ec8]
call sym.Install_adv.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t__
lea edx, [ebp - 0x2218]
push edx
lea ecx, [ebp - 0x4ee0]
call fcn.004093e0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4ee0]
call fcn.004127a0
movzx eax, al
test eax, eax
jne 0x48defe
push 0
mov ecx, dword [ebp - 0x4edc]
add ecx, 0x24
push ecx
lea ecx, [ebp - 0x4ee0]
call fcn.0040f3c0
test eax, eax
jge 0x48defe
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4ee0]
call fcn.004093c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4ec8]
call sym.Install_adv.exe_public:_void___thiscall_CNsXml::destructor_void_
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4ee4]
call fcn.004093c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4ed0]
call fcn.004093c0
jmp 0x48e383
mov edx, dword [ebp - 0x4ecc]
push edx
push 0
lea eax, [ebp - 0x2218]
push eax
call fcn.004307d0
add esp, 0xc
lea ecx, [ebp - 0x2218]
push ecx
push str.title
lea ecx, [ebp - 0x4ec8]
call sym.Install_adv.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t__
lea edx, [ebp - 0x2218]
push edx
lea ecx, [ebp - 0x4ef0]
call fcn.004093e0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x4ecc]
push eax
push 0
lea ecx, [ebp - 0x2218]
push ecx
call fcn.004307d0
add esp, 0xc
lea edx, [ebp - 0x2218]
push edx
push 0x4c57f8
lea ecx, [ebp - 0x4ec8]
call sym.Install_adv.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t__
lea eax, [ebp - 0x2218]
push eax
lea ecx, [ebp - 0x4eec]
call fcn.004093e0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x4ecc]
push ecx
push 0
lea edx, [ebp - 0x2218]
push edx
call fcn.004307d0
add esp, 0xc
lea eax, [ebp - 0x2218]
push eax
push 0x4c5800
lea ecx, [ebp - 0x4ec8]
call sym.Install_adv.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t__
lea ecx, [ebp - 0x2218]
push ecx
lea ecx, [ebp - 0x4ed0]
call fcn.00409300
mov edx, dword [ebp - 0x4ecc]
push edx
push 0
lea eax, [ebp - 0x2218]
push eax
call fcn.004307d0
add esp, 0xc
lea ecx, [ebp - 0x2218]
push ecx
push 0x4c5808
lea ecx, [ebp - 0x4ec8]
call sym.Install_adv.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t__
lea edx, [ebp - 0x2218]
push edx
lea ecx, [ebp - 0x4ed8]
call fcn.004093e0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x4ed8]
call fcn.004127a0
movzx eax, al
test eax, eax
jne 0x48e16c
push 0x208
push 0
lea ecx, [ebp - 0x218]
push ecx
call fcn.004307d0
add esp, 0xc
mov ecx, dword [ebp - 0x4edc]
add ecx, 0x16b0
call sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str.img
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x48e08b
lea edx, [ebp - 0x218]
push edx
call sym.Install_adv.exe_int___cdecl_CreateFolder_wchar_t_const__
add esp, 4
lea eax, [ebp - 0x2218]
push eax
lea ecx, [ebp - 0x4ed4]
call fcn.004093e0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x4ed4]
call fcn.00409530
mov esi, eax
push 0x2f
lea ecx, [ebp - 0x4ed4]
call fcn.00416c90
sub esi, eax
sub esi, 1
mov dword [ebp - 0x4f08], esi
mov ecx, dword [ebp - 0x4f08]
push ecx
lea edx, [ebp - 0x4f14]
push edx
lea ecx, [ebp - 0x4ed4]
call fcn.00412500
mov dword [ebp - 0x4f0c], eax
mov eax, dword [ebp - 0x4f0c]
mov dword [ebp - 0x4f10], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x4f10]
push ecx
lea ecx, [ebp - 0x4ed4]
call fcn.00409350
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x4f14]
call fcn.004093c0
mov edx, dword [ebp - 0x4ed4]
push edx
lea eax, [ebp - 0x218]
push eax
push 0x4c581c
lea ecx, [ebp - 0x4ed8]
push ecx
call fcn.00409ab0
add esp, 0x10
push 0
push 0
push 0
lea ecx, [ebp - 0x4ed8]
call sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
lea edx, [ebp - 0x2218]
push edx
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 - 0x4ed4]
call fcn.004093c0
mov eax, dword [ebp - 0x4ecc]
push eax
push 0
lea ecx, [ebp - 0x2218]
push ecx
call fcn.004307d0
add esp, 0xc
lea edx, [ebp - 0x2218]
push edx
push str.width
lea ecx, [ebp - 0x4ec8]
call sym.Install_adv.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t__
lea eax, [ebp - 0x2218]
push eax
call fcn.0043ae24
add esp, 4
mov dword [ebp - 0x4f1c], eax
mov ecx, dword [ebp - 0x4ecc]
push ecx
push 0
lea edx, [ebp - 0x2218]
push edx
call fcn.004307d0
add esp, 0xc
lea eax, [ebp - 0x2218]
push eax
push str.height
lea ecx, [ebp - 0x4ec8]
call sym.Install_adv.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t__
lea ecx, [ebp - 0x2218]
push ecx
call fcn.0043ae24
add esp, 4
mov dword [ebp - 0x4f18], eax
mov edx, dword [ebp - 0x4ecc]
push edx
push 0
lea eax, [ebp - 0x2218]
push eax
call fcn.004307d0
add esp, 0xc
lea ecx, [ebp - 0x2218]
push ecx
push str.closetime
lea ecx, [ebp - 0x4ec8]
call sym.Install_adv.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t__
lea edx, [ebp - 0x2218]
push edx
call fcn.0043ae24
add esp, 4
mov dword [ebp - 0x4f20], eax
mov eax, dword [ebp - 0x4ecc]
push eax
push 0
lea ecx, [ebp - 0x2218]
push ecx
call fcn.004307d0
add esp, 0xc
lea edx, [ebp - 0x2218]
push edx
push str.Force
lea ecx, [ebp - 0x4ec8]
call sym.Install_adv.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t__
lea ecx, [ebp - 0x4ec4]
call fcn.0041ecc0
mov byte [ebp - 4], 0xb
mov byte [ebp - 0x4b34], 0
lea ecx, [ebp - 0x4ed8]
call fcn.004127a0
movzx eax, al
test eax, eax
jne 0x48e2a1
lea ecx, [ebp - 0x4ed8]
push ecx
lea ecx, [ebp - 0x4b38]
call fcn.00409350
push 0x4c5864
lea edx, [ebp - 0x2218]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x48e2be
mov byte [ebp - 0x4b20], 1
push 1
push 7
push 6
mov eax, dword [ebp - 0x4f18]
push eax
mov ecx, dword [ebp - 0x4f1c]
push ecx
mov edx, dword [ebp - 0x4f20]
push edx
lea ecx, [ebp - 0x4ef0]
call sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
lea ecx, [ebp - 0x4ed0]
call sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
lea ecx, [ebp - 0x4eec]
call sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
lea ecx, [ebp - 0x4ec4]
call fcn.0041f460
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x4ec4]
call fcn.0041ee70
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x4ed8]
call fcn.004093c0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x4eec]
call fcn.004093c0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4ef0]
call fcn.004093c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4ee0]
call fcn.004093c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4ec8]
call sym.Install_adv.exe_public:_void___thiscall_CNsXml::destructor_void_
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4ee4]
call fcn.004093c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4ed0]
call fcn.004093c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042eb1e
mov esp, ebp
pop ebp
ret