Function at 0x43a7b0
Capabilities:
Check http status code
Check internet connectivity via wininet
Connect to http server
Create http request
Delete file
Download and write a file
Get http content length
Read data from internet
Receive and write data from server to client
Receive data
Reference http user-agent string
Send data
Send http request
Send http request with host header
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450afb
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x4790
call fcn.004221d0
mov eax, dword [0x467080]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x4780], ecx
mov eax, dword [ebp + 0xc]
push eax
call sym.Install_comm.exe_int___cdecl_CreateDirTree_wchar_t_const__
add esp, 4
mov dword [ebp - 0x4d4], 4
mov dword [ebp - 0x4d0], 0
mov dword [ebp - 0x44ec], 0
mov dword [ebp - 0x490], 0
push 0
lea ecx, [ebp - 0x4d8]
push ecx
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0x45a4a0
lea edx, [ebp - 0x488]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov eax, dword [ebp - 0x4780]
cmp dword [eax], 0
je 0x43a8a4
mov ecx, dword [ebp - 0x4780]
add ecx, 0xcc
push ecx
mov edx, dword [ebp - 0x4780]
add edx, 4
push edx
push 0x45a4b4
lea eax, [ebp - 0x4680]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push 0
push 0
lea ecx, [ebp - 0x4680]
push ecx
push 3
lea edx, [ebp - 0x488]
push edx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x4d0], eax
jmp 0x43a8e7
mov eax, dword [ebp - 0x4d8]
and eax, 4
jne 0x43a8cc
push 0
push 0
push 0
push 1
lea ecx, [ebp - 0x488]
push ecx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x4d0], eax
jmp 0x43a8e7
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x488]
push edx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x4d0], eax
cmp dword [ebp - 0x4d0], 0
jne 0x43a927
push 0x45a4d8
call sym.Install_comm.exe_public:_static_class_CNsLog____cdecl_CNsLog::Instance_void_
mov ecx, eax
call sym.Install_comm.exe_public:_void___thiscall_CNsLog::WriteLog_wchar_t_const__
cmp dword [ebp + 0x14], 0
je 0x43a920
sub esp, 8
fldz
fstp qword [esp]
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 4
call dword [ebp + 0x14]
xor eax, eax
jmp 0x43b971
mov dword [ebp - 0x44e8], 0xbb8
push 4
lea ecx, [ebp - 0x44e8]
push ecx
push 2
mov edx, dword [ebp - 0x4d0]
push edx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
lea eax, [ebp - 0x4cc]
push eax
mov ecx, dword [ebp + 8]
call fcn.004058e0
mov dword [ebp - 4], 0
lea esi, [ebp - 0x48c]
call fcn.004058a0
mov byte [ebp - 4], 1
mov ecx, 8
mov edx, 0x45a508
lea esi, [ebp - 0x4cc]
call fcn.0040a4a0
mov dword [ebp - 0x44e4], eax
cmp dword [ebp - 0x44e4], 0
jle 0x43aa46
mov ecx, dword [ebp - 0x44e4]
sub ecx, 7
push ecx
push 7
lea edx, [ebp - 0x4694]
push edx
lea ecx, [ebp - 0x4cc]
call fcn.0040e730
mov dword [ebp - 0x4784], eax
mov eax, dword [ebp - 0x4784]
mov dword [ebp - 0x4788], eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x4788]
lea edi, [ebp - 0x48c]
call fcn.004059b0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x4694]
call fcn.00405990
lea eax, [ebp - 0x4cc]
call fcn.00405a70
sub eax, dword [ebp - 0x44e4]
push eax
lea ecx, [ebp - 0x4698]
push ecx
lea ecx, [ebp - 0x4cc]
call fcn.00414730
mov dword [ebp - 0x478c], eax
mov edx, dword [ebp - 0x478c]
mov dword [ebp - 0x4790], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x4790]
lea edi, [ebp - 0x4cc]
call fcn.004059b0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x4698]
call fcn.00405990
jmp 0x43aa64
mov edx, dword [ebp + 8]
lea edi, [ebp - 0x48c]
call fcn.00405a20
mov edx, 0x45a50c
lea edi, [ebp - 0x4cc]
call fcn.00405a20
mov dword [ebp - 0x4c4], 0
mov eax, dword [ebp - 0x4780]
mov ecx, dword [ebp - 0x4c4]
cmp ecx, dword [eax + 0x1b0]
jge 0x43ab81
push 0
push SysReAllocString
push 3
push 0
push 0
mov edx, dword [ebp - 0x4780]
movzx eax, word [edx + 0x1e0]
push eax
lea eax, [ebp - 0x48c]
call fcn.00405a60
push eax
mov ecx, dword [ebp - 0x4d0]
push ecx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebp - 0x44ec], eax
cmp dword [ebp - 0x44ec], 0
je 0x43aad3
jmp 0x43ab81
mov edx, dword [ebp - 0x4c4]
add edx, 1
mov dword [ebp - 0x4c4], edx
mov eax, dword [ebp - 0x4780]
mov ecx, dword [ebp - 0x4c4]
cmp ecx, dword [eax + 0x1b0]
jl 0x43ab69
push 0x45a510
call sym.Install_comm.exe_public:_static_class_CNsLog____cdecl_CNsLog::Instance_void_
mov ecx, eax
call sym.Install_comm.exe_public:_void___thiscall_CNsLog::WriteLog_wchar_t_const__
cmp dword [ebp + 0x14], 0
je 0x43ab26
sub esp, 8
fldz
fstp qword [esp]
push 0
push 0
push 0
push 0
mov edx, dword [ebp + 8]
push edx
push 4
call dword [ebp + 0x14]
mov eax, dword [ebp - 0x4d0]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x469c], 0
mov byte [ebp - 4], 0
lea eax, [ebp - 0x48c]
call fcn.00405990
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x4cc]
call fcn.00405990
mov eax, dword [ebp - 0x469c]
jmp 0x43b971
mov ecx, dword [ebp - 0x4780]
mov edx, dword [ecx + 0x1b4]
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x43aa6e
mov eax, dword [ebp - 0x4780]
cmp dword [eax], 0
je 0x43abec
mov ecx, dword [ebp - 0x4780]
add ecx, 0xe4
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
mov edx, dword [ebp - 0x4780]
add edx, 0xe4
push edx
push 0x2b
mov eax, dword [ebp - 0x44ec]
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov ecx, dword [ebp - 0x4780]
add ecx, 0x148
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
mov edx, dword [ebp - 0x4780]
add edx, 0x148
push edx
push 0x2c
mov eax, dword [ebp - 0x44ec]
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push 0
push SysReAllocString
push 0x4690e8
push 0
push 0x45a54c
lea eax, [ebp - 0x4cc]
call fcn.00405a60
push eax
push 0x45a560
mov ecx, dword [ebp - 0x44ec]
push ecx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebp - 0x490], eax
cmp dword [ebp - 0x490], 0
jne 0x43acb0
push 0x45a568
call sym.Install_comm.exe_public:_static_class_CNsLog____cdecl_CNsLog::Instance_void_
mov ecx, eax
call sym.Install_comm.exe_public:_void___thiscall_CNsLog::WriteLog_wchar_t_const__
cmp dword [ebp + 0x14], 0
je 0x43ac60
sub esp, 8
fldz
fstp qword [esp]
push 0
push 0
push 0
push 0
mov edx, dword [ebp + 8]
push edx
push 4
call dword [ebp + 0x14]
mov eax, dword [ebp - 0x44ec]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x4d0]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x46a0], 0
mov byte [ebp - 4], 0
lea eax, [ebp - 0x48c]
call fcn.00405990
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x4cc]
call fcn.00405990
mov eax, dword [ebp - 0x46a0]
jmp 0x43b971
xor edx, edx
mov word [ebp - 0x400], dx
push 0x3e6
push 0
lea eax, [ebp - 0x3fe]
push eax
call fcn.00419d00
add esp, 0xc
push str.Accept:text_html_application_xml_q0.9_application_json___q0.8_r_n
lea ecx, [ebp - 0x400]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str.Accept_Encoding:gzip_deflate_r_n
lea edx, [ebp - 0x400]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push str.Accept_Language:zh_CN_zh_q0.5_r_n
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push str.Accept_Charset:gb2312_utf_8_q0.7__q0.7_r_n
lea ecx, [ebp - 0x400]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push str.Host:
lea edx, [ebp - 0x400]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x48c]
call fcn.00405a60
push eax
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x45a740
lea ecx, [ebp - 0x400]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push str.User_Agent:Mozilla_5.0__Windows_NT_6.1__r_n
lea edx, [ebp - 0x400]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.004058e0
mov byte [ebp - 4], 4
push 0x45a6b4
lea ecx, [ebp - 0x14]
call fcn.0040d220
mov dword [ebp - 0x4a8], 0
mov dword [ebp - 0x4a4], 0
cmp dword [ebp + 0x10], 0
je 0x43ae2a
lea eax, [ebp - 0x14]
call fcn.00405a60
push eax
call sym.Install_comm.exe_long_long___int64____cdecl_FileSize_wchar_t_const__
add esp, 4
mov dword [ebp - 0x4a8], eax
mov dword [ebp - 0x4a4], edx
cmp dword [ebp - 0x4a4], 0
jl 0x43ae2a
jg 0x43add2
cmp dword [ebp - 0x4a8], 0
jbe 0x43ae2a
lea esi, [ebp - 0x4684]
call fcn.004058a0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x4a4]
push ecx
mov edx, dword [ebp - 0x4a8]
push edx
push str.Range:bytes_I64d__r_n
lea edi, [ebp - 0x4684]
call fcn.00406080
add esp, 0xc
lea eax, [ebp - 0x4684]
call fcn.00405a60
push eax
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov byte [ebp - 4], 4
lea eax, [ebp - 0x4684]
call fcn.00405990
push 0xa0000000
lea ecx, [ebp - 0x400]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea edx, [ebp - 0x400]
push edx
mov eax, dword [ebp - 0x490]
push eax
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x490]
push ecx
call dword [sym.imp.WININET.dll_HttpSendRequestW]
mov dword [ebp - 0x404], 0
mov dword [ebp - 0x408], 4
cmp dword [ebp + 0x10], 0
je 0x43b210
push 0
lea edx, [ebp - 0x408]
push edx
lea eax, [ebp - 0x404]
push eax
push 0x20000013
mov ecx, dword [ebp - 0x490]
push ecx
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x43b177
cmp dword [ebp - 0x404], 0xc8
jl 0x43aecb
cmp dword [ebp - 0x404], 0xce
jg 0x43aecb
jmp 0x43b172
cmp dword [ebp - 0x404], 0x12c
jl 0x43aee8
cmp dword [ebp - 0x404], 0x133
jg 0x43aee8
jmp 0x43b172
cmp dword [ebp - 0x404], 0x190
jl 0x43b0b9
cmp dword [ebp - 0x404], 0x1a1
jg 0x43b0b9
cmp dword [ebp - 0x404], 0x1a0
je 0x43af24
cmp dword [ebp - 0x404], 0x19d
jne 0x43b01b
mov edx, dword [ebp - 0x490]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push 0
push 0x400200
push 0x4690e8
push 0
push str.HTTP_1.1
lea eax, [ebp - 0x4cc]
call fcn.00405a60
push eax
push 0x45a7b0
mov eax, dword [ebp - 0x44ec]
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebp - 0x490], eax
cmp dword [ebp - 0x490], 0
jne 0x43b001
push 0x45a7b8
call sym.Install_comm.exe_public:_static_class_CNsLog____cdecl_CNsLog::Instance_void_
mov ecx, eax
call sym.Install_comm.exe_public:_void___thiscall_CNsLog::WriteLog_wchar_t_const__
cmp dword [ebp + 0x14], 0
je 0x43afa5
sub esp, 8
fldz
fstp qword [esp]
push 0
push 0
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
push 4
call dword [ebp + 0x14]
mov edx, dword [ebp - 0x44ec]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x4d0]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x46a4], 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
call fcn.00405990
mov byte [ebp - 4], 0
lea eax, [ebp - 0x48c]
call fcn.00405990
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x4cc]
call fcn.00405990
mov eax, dword [ebp - 0x46a4]
jmp 0x43b971
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x490]
push ecx
call dword [sym.imp.WININET.dll_HttpSendRequestW]
jmp 0x43b0b4
push 0x45a7f4
call sym.Install_comm.exe_public:_static_class_CNsLog____cdecl_CNsLog::Instance_void_
mov ecx, eax
call sym.Install_comm.exe_public:_void___thiscall_CNsLog::WriteLog_wchar_t_const__
cmp dword [ebp + 0x14], 0
je 0x43b04b
sub esp, 8
fldz
fstp qword [esp]
push 0
push 0
push 0
push 0
mov edx, dword [ebp + 8]
push edx
push 4
call dword [ebp + 0x14]
mov eax, dword [ebp - 0x490]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x44ec]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x4d0]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x46a8], 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
call fcn.00405990
mov byte [ebp - 4], 0
lea eax, [ebp - 0x48c]
call fcn.00405990
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x4cc]
call fcn.00405990
mov eax, dword [ebp - 0x46a8]
jmp 0x43b971
jmp 0x43b172
cmp dword [ebp - 0x404], 0x1f4
jl 0x43b172
cmp dword [ebp - 0x404], 0x1f9
jg 0x43b172
push 0x45a824
call sym.Install_comm.exe_public:_static_class_CNsLog____cdecl_CNsLog::Instance_void_
mov ecx, eax
call sym.Install_comm.exe_public:_void___thiscall_CNsLog::WriteLog_wchar_t_const__
cmp dword [ebp + 0x14], 0
je 0x43b109
sub esp, 8
fldz
fstp qword [esp]
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 4
call dword [ebp + 0x14]
mov ecx, dword [ebp - 0x490]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x44ec]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x4d0]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x46ac], 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
call fcn.00405990
mov byte [ebp - 4], 0
lea eax, [ebp - 0x48c]
call fcn.00405990
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x4cc]
call fcn.00405990
mov eax, dword [ebp - 0x46ac]
jmp 0x43b971
jmp 0x43b210
push 0x45a854
call sym.Install_comm.exe_public:_static_class_CNsLog____cdecl_CNsLog::Instance_void_
mov ecx, eax
call sym.Install_comm.exe_public:_void___thiscall_CNsLog::WriteLog_wchar_t_const__
cmp dword [ebp + 0x14], 0
je 0x43b1a7
sub esp, 8
fldz
fstp qword [esp]
push 0
push 0
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
push 4
call dword [ebp + 0x14]
mov edx, dword [ebp - 0x490]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x44ec]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x4d0]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x46b0], 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
call fcn.00405990
mov byte [ebp - 4], 0
lea eax, [ebp - 0x48c]
call fcn.00405990
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x4cc]
call fcn.00405990
mov eax, dword [ebp - 0x46b0]
jmp 0x43b971
mov edx, dword [ebp - 0x490]
push edx
mov ecx, dword [ebp - 0x4780]
call sym.Install_comm.exe_private:_int___thiscall_CNsDownload::isGzip_void__
mov dword [ebp - 0x4c8], eax
mov dword [ebp - 0x4a0], 0
mov dword [ebp - 0x49c], 0
mov dword [ebp - 0x4b8], 0
mov dword [ebp - 0x4b4], 0
push 0
lea eax, [ebp - 0x408]
push eax
lea ecx, [ebp - 0x4a0]
push ecx
push 0x20000005
mov edx, dword [ebp - 0x490]
push edx
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x43b313
push 0x45a884
call sym.Install_comm.exe_public:_static_class_CNsLog____cdecl_CNsLog::Instance_void_
mov ecx, eax
call sym.Install_comm.exe_public:_void___thiscall_CNsLog::WriteLog_wchar_t_const__
cmp dword [ebp + 0x14], 0
je 0x43b2aa
sub esp, 8
fldz
fstp qword [esp]
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 4
call dword [ebp + 0x14]
mov ecx, dword [ebp - 0x490]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x44ec]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x4d0]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x46b4], 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
call fcn.00405990
mov byte [ebp - 4], 0
lea eax, [ebp - 0x48c]
call fcn.00405990
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x4cc]
call fcn.00405990
mov eax, dword [ebp - 0x46b4]
jmp 0x43b971
mov ecx, dword [ebp - 0x4a0]
cmp ecx, dword [ebp - 0x4a8]
jne 0x43b402
mov edx, dword [ebp - 0x49c]
cmp edx, dword [ebp - 0x4a4]
jne 0x43b402
cmp dword [ebp - 0x404], 0xc8
jne 0x43b402
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp + 0xc]
push ecx
lea eax, [ebp - 0x14]
call fcn.00405a60
push eax
call fcn.0042d0c8
add esp, 8
cmp dword [ebp + 0x14], 0
je 0x43b399
sub esp, 8
fldz
fstp qword [esp]
mov edx, dword [ebp - 0x4a4]
push edx
mov eax, dword [ebp - 0x4a8]
push eax
mov ecx, dword [ebp - 0x4a4]
push ecx
mov edx, dword [ebp - 0x4a8]
push edx
mov eax, dword [ebp + 8]
push eax
push 2
call dword [ebp + 0x14]
mov ecx, dword [ebp - 0x490]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x44ec]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x4d0]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x46b8], 1
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
call fcn.00405990
mov byte [ebp - 4], 0
lea eax, [ebp - 0x48c]
call fcn.00405990
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x4cc]
call fcn.00405990
mov eax, dword [ebp - 0x46b8]
jmp 0x43b971
cmp dword [ebp + 0x10], 0
je 0x43b414
cmp dword [ebp - 0x404], 0xce
je 0x43b437
lea eax, [ebp - 0x14]
call fcn.00405a60
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x4a8], 0
mov dword [ebp - 0x4a4], 0
push 0
push 0
push 4
push 0
push 0
push 0x10000000
lea eax, [ebp - 0x14]
call fcn.00405a60
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x4ac], eax
cmp dword [ebp - 0x4ac], 0xffffffff
jne 0x43b4cd
mov ecx, dword [ebp - 0x490]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x44ec]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x4d0]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x46bc], 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
call fcn.00405990
mov byte [ebp - 4], 0
lea eax, [ebp - 0x48c]
call fcn.00405990
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x4cc]
call fcn.00405990
mov eax, dword [ebp - 0x46bc]
jmp 0x43b971
push 2
push 0
push 0
mov ecx, dword [ebp - 0x4ac]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x4dc], 0x1388
push 4
lea edx, [ebp - 0x4dc]
push edx
push 6
mov eax, dword [ebp - 0x4d0]
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionW]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x4c0], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x4bc], eax
mov dword [ebp - 0x494], 0x64
mov ecx, dword [ebp - 0x4780]
movzx edx, byte [ecx + 0x1ac]
test edx, edx
jne 0x43b84c
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x4780]
call sym.Install_comm.exe_public:_int___thiscall_CNsDownload::isStop_wchar_t_const__
test eax, eax
je 0x43b58c
mov ecx, dword [ebp - 0x4b8]
cmp ecx, dword [ebp - 0x4a0]
jne 0x43b568
mov edx, dword [ebp - 0x4b4]
cmp edx, dword [ebp - 0x49c]
je 0x43b587
cmp dword [ebp + 0x14], 0
je 0x43b587
sub esp, 8
fldz
fstp qword [esp]
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 3
call dword [ebp + 0x14]
jmp 0x43b84c
mov dword [ebp - 0x4688], 0
lea ecx, [ebp - 0x4688]
push ecx
push 0x4000
lea edx, [ebp - 0x44e0]
push edx
mov eax, dword [ebp - 0x490]
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x43b657
push 0x45a8b4
call sym.Install_comm.exe_public:_static_class_CNsLog____cdecl_CNsLog::Instance_void_
mov ecx, eax
call sym.Install_comm.exe_public:_void___thiscall_CNsLog::WriteLog_wchar_t_const__
cmp dword [ebp + 0x14], 0
je 0x43b5ee
sub esp, 8
fldz
fstp qword [esp]
push 0
push 0
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
push 4
call dword [ebp + 0x14]
mov edx, dword [ebp - 0x490]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x44ec]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x4d0]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x46c0], 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
call fcn.00405990
mov byte [ebp - 4], 0
lea eax, [ebp - 0x48c]
call fcn.00405990
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x4cc]
call fcn.00405990
mov eax, dword [ebp - 0x46c0]
jmp 0x43b971
cmp dword [ebp - 0x4688], 0
jne 0x43b665
jmp 0x43b84c
mov byte [ebp - 4], 6
push 0
lea edx, [ebp - 0x4690]
push edx
mov eax, dword [ebp - 0x4688]
push eax
lea ecx, [ebp - 0x44e0]
push ecx
mov edx, dword [ebp - 0x4ac]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x43b6f2
mov dword [ebp - 4], 4
jmp 0x43b733
fldz
fstp dword [ebp - 0x468c]
mov ecx, dword [ebp - 0x4688]
mov dword [ebp - 0x4798], ecx
mov dword [ebp - 0x4794], 0
fild qword [ebp - 0x4798]
fstp dword [ebp - 0x468c]
mov edx, dword [ebp - 0x494]
mov dword [ebp - 0x47a0], edx
mov dword [ebp - 0x479c], 0
fild qword [ebp - 0x47a0]
fdiv qword [0x45c848]
fdivr dword [ebp - 0x468c]
fstp dword [ebp - 0x468c]
mov eax, dword [ebp - 0x4a0]
cmp eax, dword [ebp - 0x4b8]
jne 0x43b7ae
mov ecx, dword [ebp - 0x49c]
cmp ecx, dword [ebp - 0x4b4]
jne 0x43b7ae
jmp 0x43b84c
cmp dword [ebp + 0x14], 0
je 0x43b7fd
fld dword [ebp - 0x468c]
sub esp, 8
fstp qword [esp]
mov edx, dword [ebp - 0x4a0]
add edx, dword [ebp - 0x4a8]
mov eax, dword [ebp - 0x49c]
adc eax, dword [ebp - 0x4a4]
push eax
push edx
mov ecx, dword [ebp - 0x4b8]
add ecx, dword [ebp - 0x4a8]
mov edx, dword [ebp - 0x4b4]
adc edx, dword [ebp - 0x4a4]
push edx
push ecx
mov eax, dword [ebp + 8]
push eax
push 1
call dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x4bc], eax
mov ecx, dword [ebp - 0x4bc]
sub ecx, dword [ebp - 0x4c0]
mov dword [ebp - 0x494], ecx
jne 0x43b827
mov dword [ebp - 0x494], 0x64
mov edx, dword [ebp - 0x4688]
xor eax, eax
add edx, dword [ebp - 0x4b8]
adc eax, dword [ebp - 0x4b4]
mov dword [ebp - 0x4b8], edx
mov dword [ebp - 0x4b4], eax
jmp 0x43b524
mov ecx, dword [ebp - 0x4ac]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x4a0]
cmp edx, dword [ebp - 0x4b8]
jne 0x43b90d
mov eax, dword [ebp - 0x49c]
cmp eax, dword [ebp - 0x4b4]
jne 0x43b90d
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x4c8], 0
je 0x43b8ad
push 0
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x14]
call fcn.00405a60
push eax
call sym.Install_comm.exe_public:_static_class_CNsZlib____cdecl_CNsZlib::Instance_void_
mov ecx, eax
call sym.Install_comm.exe_public:_long_int___thiscall_CNsZlib::DecodeFile_wchar_t_const___wchar_t_const___unsigned_long_int_
jmp 0x43b8c2
mov eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x14]
call fcn.00405a60
push eax
call fcn.0042d0c8
add esp, 8
cmp dword [ebp + 0x14], 0
je 0x43b90d
sub esp, 8
fldz
fstp qword [esp]
mov ecx, dword [ebp - 0x4a0]
add ecx, dword [ebp - 0x4a8]
mov edx, dword [ebp - 0x49c]
adc edx, dword [ebp - 0x4a4]
push edx
push ecx
mov eax, dword [ebp - 0x4b8]
add eax, dword [ebp - 0x4a8]
mov ecx, dword [ebp - 0x4b4]
adc ecx, dword [ebp - 0x4a4]
push ecx
push eax
mov edx, dword [ebp + 8]
push edx
push 2
call dword [ebp + 0x14]
mov eax, dword [ebp - 0x490]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x44ec]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x4d0]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x46c8], 1
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
call fcn.00405990
mov byte [ebp - 4], 0
lea eax, [ebp - 0x48c]
call fcn.00405990
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x4cc]
call fcn.00405990
mov eax, dword [ebp - 0x46c8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00418dfa
mov esp, ebp
pop ebp
ret 0x10