Function at 0x460060
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x474a55
mov eax, dword fs:[0]
push eax
mov eax, 0x1b00
call fcn.00450b90
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 - 0x1b0c], 0
mov dword [ebp - 0x1adc], 0
lea eax, [ebp - 0x1adc]
push eax
push 0x48aa80
push 0x1f41
call sym.Install_rocket.exe_int___cdecl_NsResGetBuff_int__wchar_t_const___void__
add esp, 0xc
test eax, eax
jne 0x4600cc
jmp 0x460807
mov dword [ebp - 0x1ad0], 0
lea ecx, [ebp - 0x1ad0]
push ecx
push 0x48aa88
push 0x1f56
call sym.Install_rocket.exe_int___cdecl_NsResGetBuff_int__wchar_t_const___void__
add esp, 0xc
mov dword [ebp - 0x1ae0], eax
cmp dword [ebp - 0x1ae0], 0
je 0x46010c
cmp dword [ebp - 0x1ad0], 0
je 0x46010c
jmp 0x460807
lea ecx, [ebp - 0x1ab8]
call fcn.004096c0
mov dword [ebp - 4], 0
push 0x48aa90
lea edx, [ebp - 0x1ab8]
push edx
call fcn.00409d20
add esp, 8
mov ecx, dword [ebp - 0x1ac4]
add ecx, 0xbec
call fcn.00409700
test eax, eax
jle 0x46015e
mov eax, dword [ebp - 0x1ac4]
add eax, 0xbec
push eax
lea ecx, [ebp - 0x1ab8]
call fcn.00409540
push 0x1001
push 0
lea ecx, [ebp - 0x1604]
push ecx
call fcn.0042b580
add esp, 0xc
push 0x50
push 0x1000
lea edx, [ebp - 0x1604]
push edx
lea ecx, [ebp - 0x1ab8]
call fcn.00409710
push eax
call sym.Install_rocket.exe_public:_static_class_CNsNet____cdecl_CNsNet::Instance_void_
mov ecx, eax
call sym.Install_rocket.exe_public:_int___thiscall_CNsNet::GetUrlInfo_wchar_t_const___char___int__int_
lea eax, [ebp - 0x1604]
push eax
call fcn.004343f0
add esp, 4
cmp eax, 0xa
jae 0x4601c5
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ab8]
call fcn.004095a0
jmp 0x460807
call sym.Install_rocket.exe_public:_static_class_CNsNet____cdecl_CNsNet::Instance_void_
mov ecx, eax
call sym.Install_rocket.exe_public:_int___thiscall_CNsNet::GetInfoLen_void_
mov dword [ebp - 0x1ae4], eax
mov ecx, dword [ebp - 0x1ae4]
push ecx
lea edx, [ebp - 0x1604]
push edx
call sym.Install_rocket.exe_void___cdecl_EasyEncode_char___int_
add esp, 8
push 0xfde9
lea eax, [ebp - 0x1604]
push eax
lea ecx, [ebp - 0x1708]
call fcn.0041dbf0
mov dword [ebp - 0x1ae8], eax
mov ecx, dword [ebp - 0x1ae8]
mov dword [ebp - 0x1aec], ecx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1aec]
call fcn.00418620
push eax
lea ecx, [ebp - 0x1acc]
call fcn.004095e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1708]
call fcn.004190f0
lea ecx, [ebp - 0x1ab4]
call sym.Install_rocket.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_rocket.exe_public:_int___thiscall_CNsXml::Parse_wchar_t_const__
push 0x1f4
push 0
lea edx, [ebp - 0x3f8]
push edx
call fcn.0042b580
add esp, 0xc
lea eax, [ebp - 0x3f8]
push eax
push str.switch
lea ecx, [ebp - 0x1ab4]
call sym.Install_rocket.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t__
push 0x48aaf8
lea ecx, [ebp - 0x3f8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x4602de
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1ab4]
call sym.Install_rocket.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 0x460807
push 0x1f4
push 0
lea edx, [ebp - 0x3f8]
push edx
call fcn.0042b580
add esp, 0xc
lea eax, [ebp - 0x3f8]
push eax
push str.NName
lea ecx, [ebp - 0x1ab4]
call sym.Install_rocket.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t__
lea ecx, [ebp - 0x3f8]
push ecx
lea ecx, [ebp - 0x1ac8]
call fcn.004095e0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1ac8]
call fcn.00411f10
movzx edx, al
test edx, edx
jne 0x460392
push 0
mov eax, dword [ebp - 0x1ac4]
add eax, 0x24
push eax
lea ecx, [ebp - 0x1ac8]
call fcn.0040e620
test eax, eax
jge 0x460392
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1ac8]
call fcn.004095a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1ab4]
call sym.Install_rocket.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 0x460807
push 0x1f4
push 0
lea ecx, [ebp - 0x3f8]
push ecx
call fcn.0042b580
add esp, 0xc
lea edx, [ebp - 0x3f8]
push edx
push str.title
lea ecx, [ebp - 0x1ab4]
call sym.Install_rocket.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t__
lea eax, [ebp - 0x3f8]
push eax
lea ecx, [ebp - 0x1ad8]
call fcn.004095e0
mov byte [ebp - 4], 6
push 0x1f4
push 0
lea ecx, [ebp - 0x3f8]
push ecx
call fcn.0042b580
add esp, 0xc
lea edx, [ebp - 0x3f8]
push edx
push 0x48ab18
lea ecx, [ebp - 0x1ab4]
call sym.Install_rocket.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t__
lea eax, [ebp - 0x3f8]
push eax
lea ecx, [ebp - 0x1ad4]
call fcn.004095e0
mov byte [ebp - 4], 7
push 0x1f4
push 0
lea ecx, [ebp - 0x3f8]
push ecx
call fcn.0042b580
add esp, 0xc
lea edx, [ebp - 0x3f8]
push edx
push 0x48ab20
lea ecx, [ebp - 0x1ab4]
call sym.Install_rocket.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t__
lea eax, [ebp - 0x3f8]
push eax
lea ecx, [ebp - 0x1ab8]
call fcn.004094f0
push 0x1f4
push 0
lea ecx, [ebp - 0x3f8]
push ecx
call fcn.0042b580
add esp, 0xc
lea edx, [ebp - 0x3f8]
push edx
push 0x48ab28
lea ecx, [ebp - 0x1ab4]
call sym.Install_rocket.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t__
lea eax, [ebp - 0x3f8]
push eax
lea ecx, [ebp - 0x1ac0]
call fcn.004095e0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1ac0]
call fcn.00411f10
movzx ecx, al
test ecx, ecx
jne 0x4605f8
push 0x208
push 0
lea edx, [ebp - 0x600]
push edx
call fcn.0042b580
add esp, 0xc
mov ecx, dword [ebp - 0x1ac4]
add ecx, 0xbe8
call fcn.00409710
push eax
lea eax, [ebp - 0x600]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str.img
lea ecx, [ebp - 0x600]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea edx, [ebp - 0x600]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x460517
lea eax, [ebp - 0x600]
push eax
call sym.Install_rocket.exe_int___cdecl_CreateFolder_wchar_t_const__
add esp, 4
lea ecx, [ebp - 0x3f8]
push ecx
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.00416560
sub esi, eax
sub esi, 1
mov dword [ebp - 0x1af0], esi
mov edx, dword [ebp - 0x1af0]
push edx
lea eax, [ebp - 0x1afc]
push eax
lea ecx, [ebp - 0x1abc]
call fcn.00411d00
mov dword [ebp - 0x1af4], eax
mov ecx, dword [ebp - 0x1af4]
mov dword [ebp - 0x1af8], ecx
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x1af8]
push edx
lea ecx, [ebp - 0x1abc]
call fcn.00409540
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1afc]
call fcn.004095a0
mov eax, dword [ebp - 0x1abc]
push eax
lea ecx, [ebp - 0x600]
push ecx
push 0x48ab3c
lea edx, [ebp - 0x1ac0]
push edx
call fcn.00409d20
add esp, 0x10
push 0
push 0
push 0
lea ecx, [ebp - 0x1ac0]
call fcn.00409710
push eax
lea eax, [ebp - 0x3f8]
push eax
call sym.Install_rocket.exe_public:_static_class_CNsDownload____cdecl_CNsDownload::Instance_void_
mov ecx, eax
call sym.Install_rocket.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 ecx, [ebp - 0x3f8]
push ecx
call fcn.0042b580
add esp, 0xc
lea edx, [ebp - 0x3f8]
push edx
push str.width
lea ecx, [ebp - 0x1ab4]
call sym.Install_rocket.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t__
lea eax, [ebp - 0x3f8]
push eax
call fcn.0043597f
add esp, 4
mov dword [ebp - 0x1b04], eax
push 0x1f4
push 0
lea ecx, [ebp - 0x3f8]
push ecx
call fcn.0042b580
add esp, 0xc
lea edx, [ebp - 0x3f8]
push edx
push str.height
lea ecx, [ebp - 0x1ab4]
call sym.Install_rocket.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t__
lea eax, [ebp - 0x3f8]
push eax
call fcn.0043597f
add esp, 4
mov dword [ebp - 0x1b00], eax
push 0x1f4
push 0
lea ecx, [ebp - 0x3f8]
push ecx
call fcn.0042b580
add esp, 0xc
lea edx, [ebp - 0x3f8]
push edx
push str.closetime
lea ecx, [ebp - 0x1ab4]
call sym.Install_rocket.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t__
lea eax, [ebp - 0x3f8]
push eax
call fcn.0043597f
add esp, 4
mov dword [ebp - 0x1b08], eax
push 0x1f4
push 0
lea ecx, [ebp - 0x3f8]
push ecx
call fcn.0042b580
add esp, 0xc
lea edx, [ebp - 0x3f8]
push edx
push str.Force
lea ecx, [ebp - 0x1ab4]
call sym.Install_rocket.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t__
lea ecx, [ebp - 0x1ab0]
call fcn.0041c960
mov byte [ebp - 4], 0xb
mov byte [ebp - 0x1720], 0
lea ecx, [ebp - 0x1ac0]
call fcn.00411f10
movzx eax, al
test eax, eax
jne 0x460725
lea ecx, [ebp - 0x1ac0]
push ecx
lea ecx, [ebp - 0x1724]
call fcn.00409540
push 0x48ab84
lea edx, [ebp - 0x3f8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x460742
mov byte [ebp - 0x170c], 1
push 1
push 7
push 6
mov eax, dword [ebp - 0x1b00]
push eax
mov ecx, dword [ebp - 0x1b04]
push ecx
mov edx, dword [ebp - 0x1b08]
push edx
lea ecx, [ebp - 0x1ad8]
call fcn.00409710
push eax
lea ecx, [ebp - 0x1ab8]
call fcn.00409710
push eax
lea ecx, [ebp - 0x1ad4]
call fcn.00409710
push eax
lea ecx, [ebp - 0x1ab0]
call fcn.0041d100
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1ab0]
call fcn.0041cb10
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1ac0]
call fcn.004095a0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1ad4]
call fcn.004095a0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1ad8]
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_rocket.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.004298d0
mov esp, ebp
pop ebp
ret