Function at 0x436180
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 0x446f25
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x4788
call fcn.0041f5f0
mov eax, dword [0x45b080]
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 - 0x4778], ecx
mov eax, dword [ebp + 0xc]
push eax
call sym.nsUninstall.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 0x44fcb8
lea edx, [ebp - 0x488]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov eax, dword [ebp - 0x4778]
cmp dword [eax], 0
je 0x436274
mov ecx, dword [ebp - 0x4778]
add ecx, 0xcc
push ecx
mov edx, dword [ebp - 0x4778]
add edx, 4
push edx
push 0x44fccc
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 0x4362b7
mov eax, dword [ebp - 0x4d8]
and eax, 4
jne 0x43629c
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 0x4362b7
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 0x4362f7
push 0x44fcf0
call sym.nsUninstall.exe_public:_static_class_CNsLog____cdecl_CNsLog::Instance_void_
mov ecx, eax
call sym.nsUninstall.exe_public:_void___thiscall_CNsLog::WriteLog_wchar_t_const__
cmp dword [ebp + 0x14], 0
je 0x4362f0
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 0x43733e
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.004057c0
mov dword [ebp - 4], 0
lea esi, [ebp - 0x48c]
call fcn.004057a0
mov byte [ebp - 4], 1
push 8
push 0x44fd20
lea ecx, [ebp - 0x4cc]
call fcn.00412630
mov dword [ebp - 0x44e4], eax
cmp dword [ebp - 0x44e4], 0
jle 0x436415
mov ecx, dword [ebp - 0x44e4]
sub ecx, 7
push ecx
push 7
lea edx, [ebp - 0x4694]
push edx
lea ecx, [ebp - 0x4cc]
call fcn.0040ae00
mov dword [ebp - 0x477c], eax
mov eax, dword [ebp - 0x477c]
mov dword [ebp - 0x4780], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x4780]
push ecx
lea ecx, [ebp - 0x48c]
call fcn.00407590
mov byte [ebp - 4], 1
lea eax, [ebp - 0x4694]
call fcn.004059b0
lea eax, [ebp - 0x4cc]
call fcn.004058f0
sub eax, dword [ebp - 0x44e4]
push eax
lea edx, [ebp - 0x4698]
push edx
lea ecx, [ebp - 0x4cc]
call fcn.004137f0
mov dword [ebp - 0x4784], eax
mov eax, dword [ebp - 0x4784]
mov dword [ebp - 0x4788], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x4788]
push ecx
lea ecx, [ebp - 0x4cc]
call fcn.00407590
mov byte [ebp - 4], 1
lea eax, [ebp - 0x4698]
call fcn.004059b0
jmp 0x436433
mov edx, dword [ebp + 8]
lea edi, [ebp - 0x48c]
call fcn.00405870
mov edx, 0x44fd24
lea edi, [ebp - 0x4cc]
call fcn.00405870
mov dword [ebp - 0x4c4], 0
mov edx, dword [ebp - 0x4778]
mov eax, dword [ebp - 0x4c4]
cmp eax, dword [edx + 0x1b0]
jge 0x436550
push 0
push SysReAllocString
push 3
push 0
push 0
mov ecx, dword [ebp - 0x4778]
movzx edx, word [ecx + 0x1e0]
push edx
lea eax, [ebp - 0x48c]
call fcn.004059d0
push eax
mov eax, dword [ebp - 0x4d0]
push eax
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebp - 0x44ec], eax
cmp dword [ebp - 0x44ec], 0
je 0x4364a2
jmp 0x436550
mov ecx, dword [ebp - 0x4c4]
add ecx, 1
mov dword [ebp - 0x4c4], ecx
mov edx, dword [ebp - 0x4778]
mov eax, dword [ebp - 0x4c4]
cmp eax, dword [edx + 0x1b0]
jl 0x436538
push 0x44fd28
call sym.nsUninstall.exe_public:_static_class_CNsLog____cdecl_CNsLog::Instance_void_
mov ecx, eax
call sym.nsUninstall.exe_public:_void___thiscall_CNsLog::WriteLog_wchar_t_const__
cmp dword [ebp + 0x14], 0
je 0x4364f5
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 - 0x4d0]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x469c], 0
mov byte [ebp - 4], 0
lea eax, [ebp - 0x48c]
call fcn.004059b0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x4cc]
call fcn.004059b0
mov eax, dword [ebp - 0x469c]
jmp 0x43733e
mov eax, dword [ebp - 0x4778]
mov ecx, dword [eax + 0x1b4]
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x43643d
mov edx, dword [ebp - 0x4778]
cmp dword [edx], 0
je 0x4365b9
mov eax, dword [ebp - 0x4778]
add eax, 0xe4
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
mov ecx, dword [ebp - 0x4778]
add ecx, 0xe4
push ecx
push 0x2b
mov edx, dword [ebp - 0x44ec]
push edx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov eax, dword [ebp - 0x4778]
add eax, 0x148
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
mov ecx, dword [ebp - 0x4778]
add ecx, 0x148
push ecx
push 0x2c
mov edx, dword [ebp - 0x44ec]
push edx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push 0
push SysReAllocString
push 0x45d074
push 0
push 0x44fd64
lea eax, [ebp - 0x4cc]
call fcn.004059d0
push eax
push 0x44fd78
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 0x43667d
push 0x44fd80
call sym.nsUninstall.exe_public:_static_class_CNsLog____cdecl_CNsLog::Instance_void_
mov ecx, eax
call sym.nsUninstall.exe_public:_void___thiscall_CNsLog::WriteLog_wchar_t_const__
cmp dword [ebp + 0x14], 0
je 0x43662d
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 - 0x46a0], 0
mov byte [ebp - 4], 0
lea eax, [ebp - 0x48c]
call fcn.004059b0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x4cc]
call fcn.004059b0
mov eax, dword [ebp - 0x46a0]
jmp 0x43733e
xor ecx, ecx
mov word [ebp - 0x400], cx
push 0x3e6
push 0
lea edx, [ebp - 0x3fe]
push edx
call fcn.00415590
add esp, 0xc
push str.Accept:text_html_application_xml_q0.9_application_json___q0.8_r_n
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str.Accept_Encoding:gzip_deflate_r_n
lea ecx, [ebp - 0x400]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push str.Accept_Language:zh_CN_zh_q0.5_r_n
lea edx, [ebp - 0x400]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push str.Accept_Charset:gb2312_utf_8_q0.7__q0.7_r_n
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push str.Host:
lea ecx, [ebp - 0x400]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x48c]
call fcn.004059d0
push eax
lea edx, [ebp - 0x400]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x44ff58
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push str.User_Agent:Mozilla_5.0__Windows_NT_6.1__r_n
lea ecx, [ebp - 0x400]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.004057c0
mov byte [ebp - 4], 4
mov edx, 0x44fecc
lea eax, [ebp - 0x14]
call fcn.004058b0
mov dword [ebp - 0x4a8], 0
mov dword [ebp - 0x4a4], 0
cmp dword [ebp + 0x10], 0
je 0x4367f7
lea eax, [ebp - 0x14]
call fcn.004059d0
push eax
call sym.nsUninstall.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 0x4367f7
jg 0x43679f
cmp dword [ebp - 0x4a8], 0
jbe 0x4367f7
lea esi, [ebp - 0x4684]
call fcn.004057a0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x4a4]
push eax
mov ecx, dword [ebp - 0x4a8]
push ecx
push str.Range:bytes_I64d__r_n
lea edi, [ebp - 0x4684]
call fcn.00405f90
add esp, 0xc
lea eax, [ebp - 0x4684]
call fcn.004059d0
push eax
lea edx, [ebp - 0x400]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov byte [ebp - 4], 4
lea eax, [ebp - 0x4684]
call fcn.004059b0
push 0xa0000000
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea ecx, [ebp - 0x400]
push ecx
mov edx, dword [ebp - 0x490]
push edx
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x490]
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestW]
mov dword [ebp - 0x404], 0
mov dword [ebp - 0x408], 4
cmp dword [ebp + 0x10], 0
je 0x436bdd
push 0
lea ecx, [ebp - 0x408]
push ecx
lea edx, [ebp - 0x404]
push edx
push 0x20000013
mov eax, dword [ebp - 0x490]
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x436b44
cmp dword [ebp - 0x404], 0xc8
jl 0x436898
cmp dword [ebp - 0x404], 0xce
jg 0x436898
jmp 0x436b3f
cmp dword [ebp - 0x404], 0x12c
jl 0x4368b5
cmp dword [ebp - 0x404], 0x133
jg 0x4368b5
jmp 0x436b3f
cmp dword [ebp - 0x404], 0x190
jl 0x436a86
cmp dword [ebp - 0x404], 0x1a1
jg 0x436a86
cmp dword [ebp - 0x404], 0x1a0
je 0x4368f1
cmp dword [ebp - 0x404], 0x19d
jne 0x4369e8
mov ecx, dword [ebp - 0x490]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push 0
push 0x400200
push 0x45d074
push 0
push str.HTTP_1.1
lea eax, [ebp - 0x4cc]
call fcn.004059d0
push eax
push 0x44ffc8
mov edx, dword [ebp - 0x44ec]
push edx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebp - 0x490], eax
cmp dword [ebp - 0x490], 0
jne 0x4369ce
push 0x44ffd0
call sym.nsUninstall.exe_public:_static_class_CNsLog____cdecl_CNsLog::Instance_void_
mov ecx, eax
call sym.nsUninstall.exe_public:_void___thiscall_CNsLog::WriteLog_wchar_t_const__
cmp dword [ebp + 0x14], 0
je 0x436972
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 - 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 - 0x46a4], 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
call fcn.004059b0
mov byte [ebp - 4], 0
lea eax, [ebp - 0x48c]
call fcn.004059b0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x4cc]
call fcn.004059b0
mov eax, dword [ebp - 0x46a4]
jmp 0x43733e
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x490]
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestW]
jmp 0x436a81
push 0x45000c
call sym.nsUninstall.exe_public:_static_class_CNsLog____cdecl_CNsLog::Instance_void_
mov ecx, eax
call sym.nsUninstall.exe_public:_void___thiscall_CNsLog::WriteLog_wchar_t_const__
cmp dword [ebp + 0x14], 0
je 0x436a18
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 - 0x46a8], 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
call fcn.004059b0
mov byte [ebp - 4], 0
lea eax, [ebp - 0x48c]
call fcn.004059b0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x4cc]
call fcn.004059b0
mov eax, dword [ebp - 0x46a8]
jmp 0x43733e
jmp 0x436b3f
cmp dword [ebp - 0x404], 0x1f4
jl 0x436b3f
cmp dword [ebp - 0x404], 0x1f9
jg 0x436b3f
push 0x45003c
call sym.nsUninstall.exe_public:_static_class_CNsLog____cdecl_CNsLog::Instance_void_
mov ecx, eax
call sym.nsUninstall.exe_public:_void___thiscall_CNsLog::WriteLog_wchar_t_const__
cmp dword [ebp + 0x14], 0
je 0x436ad6
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 - 0x46ac], 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
call fcn.004059b0
mov byte [ebp - 4], 0
lea eax, [ebp - 0x48c]
call fcn.004059b0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x4cc]
call fcn.004059b0
mov eax, dword [ebp - 0x46ac]
jmp 0x43733e
jmp 0x436bdd
push 0x45006c
call sym.nsUninstall.exe_public:_static_class_CNsLog____cdecl_CNsLog::Instance_void_
mov ecx, eax
call sym.nsUninstall.exe_public:_void___thiscall_CNsLog::WriteLog_wchar_t_const__
cmp dword [ebp + 0x14], 0
je 0x436b74
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 - 0x46b0], 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
call fcn.004059b0
mov byte [ebp - 4], 0
lea eax, [ebp - 0x48c]
call fcn.004059b0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x4cc]
call fcn.004059b0
mov eax, dword [ebp - 0x46b0]
jmp 0x43733e
mov ecx, dword [ebp - 0x490]
push ecx
mov ecx, dword [ebp - 0x4778]
call sym.nsUninstall.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 edx, [ebp - 0x408]
push edx
lea eax, [ebp - 0x4a0]
push eax
push 0x20000005
mov ecx, dword [ebp - 0x490]
push ecx
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x436ce0
push 0x45009c
call sym.nsUninstall.exe_public:_static_class_CNsLog____cdecl_CNsLog::Instance_void_
mov ecx, eax
call sym.nsUninstall.exe_public:_void___thiscall_CNsLog::WriteLog_wchar_t_const__
cmp dword [ebp + 0x14], 0
je 0x436c77
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 - 0x46b4], 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
call fcn.004059b0
mov byte [ebp - 4], 0
lea eax, [ebp - 0x48c]
call fcn.004059b0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x4cc]
call fcn.004059b0
mov eax, dword [ebp - 0x46b4]
jmp 0x43733e
mov eax, dword [ebp - 0x4a0]
cmp eax, dword [ebp - 0x4a8]
jne 0x436dcf
mov ecx, dword [ebp - 0x49c]
cmp ecx, dword [ebp - 0x4a4]
jne 0x436dcf
cmp dword [ebp - 0x404], 0xc8
jne 0x436dcf
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x14]
call fcn.004059d0
push eax
call fcn.0042882f
add esp, 8
cmp dword [ebp + 0x14], 0
je 0x436d66
sub esp, 8
fldz
fstp qword [esp]
mov ecx, dword [ebp - 0x4a4]
push ecx
mov edx, dword [ebp - 0x4a8]
push edx
mov eax, dword [ebp - 0x4a4]
push eax
mov ecx, dword [ebp - 0x4a8]
push ecx
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 - 0x46b8], 1
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
call fcn.004059b0
mov byte [ebp - 4], 0
lea eax, [ebp - 0x48c]
call fcn.004059b0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x4cc]
call fcn.004059b0
mov eax, dword [ebp - 0x46b8]
jmp 0x43733e
cmp dword [ebp + 0x10], 0
je 0x436de1
cmp dword [ebp - 0x404], 0xce
je 0x436e04
lea eax, [ebp - 0x14]
call fcn.004059d0
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.004059d0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x4ac], eax
cmp dword [ebp - 0x4ac], 0xffffffff
jne 0x436e9a
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 - 0x46bc], 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
call fcn.004059b0
mov byte [ebp - 4], 0
lea eax, [ebp - 0x48c]
call fcn.004059b0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x4cc]
call fcn.004059b0
mov eax, dword [ebp - 0x46bc]
jmp 0x43733e
push 2
push 0
push 0
mov eax, dword [ebp - 0x4ac]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x4dc], 0x1388
push 4
lea ecx, [ebp - 0x4dc]
push ecx
push 6
mov edx, dword [ebp - 0x4d0]
push edx
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 eax, dword [ebp - 0x4778]
movzx ecx, byte [eax + 0x1ac]
test ecx, ecx
jne 0x437219
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x4778]
call sym.nsUninstall.exe_public:_int___thiscall_CNsDownload::isStop_wchar_t_const__
test eax, eax
je 0x436f59
mov eax, dword [ebp - 0x4b8]
cmp eax, dword [ebp - 0x4a0]
jne 0x436f35
mov ecx, dword [ebp - 0x4b4]
cmp ecx, dword [ebp - 0x49c]
je 0x436f54
cmp dword [ebp + 0x14], 0
je 0x436f54
sub esp, 8
fldz
fstp qword [esp]
push 0
push 0
push 0
push 0
mov edx, dword [ebp + 8]
push edx
push 3
call dword [ebp + 0x14]
jmp 0x437219
mov dword [ebp - 0x4688], 0
lea eax, [ebp - 0x4688]
push eax
push 0x4000
lea ecx, [ebp - 0x44e0]
push ecx
mov edx, dword [ebp - 0x490]
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x437024
push 0x4500cc
call sym.nsUninstall.exe_public:_static_class_CNsLog____cdecl_CNsLog::Instance_void_
mov ecx, eax
call sym.nsUninstall.exe_public:_void___thiscall_CNsLog::WriteLog_wchar_t_const__
cmp dword [ebp + 0x14], 0
je 0x436fbb
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 - 0x46c0], 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
call fcn.004059b0
mov byte [ebp - 4], 0
lea eax, [ebp - 0x48c]
call fcn.004059b0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x4cc]
call fcn.004059b0
mov eax, dword [ebp - 0x46c0]
jmp 0x43733e
cmp dword [ebp - 0x4688], 0
jne 0x437032
jmp 0x437219
mov byte [ebp - 4], 6
push 0
lea ecx, [ebp - 0x4690]
push ecx
mov edx, dword [ebp - 0x4688]
push edx
lea eax, [ebp - 0x44e0]
push eax
mov ecx, dword [ebp - 0x4ac]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x4370bf
mov dword [ebp - 4], 4
jmp 0x437100
fldz
fstp dword [ebp - 0x468c]
mov eax, dword [ebp - 0x4688]
mov dword [ebp - 0x4790], eax
mov dword [ebp - 0x478c], 0
fild qword [ebp - 0x4790]
fstp dword [ebp - 0x468c]
mov ecx, dword [ebp - 0x494]
mov dword [ebp - 0x4798], ecx
mov dword [ebp - 0x4794], 0
fild qword [ebp - 0x4798]
fdiv qword [0x4515d0]
fdivr dword [ebp - 0x468c]
fstp dword [ebp - 0x468c]
mov edx, dword [ebp - 0x4a0]
cmp edx, dword [ebp - 0x4b8]
jne 0x43717b
mov eax, dword [ebp - 0x49c]
cmp eax, dword [ebp - 0x4b4]
jne 0x43717b
jmp 0x437219
cmp dword [ebp + 0x14], 0
je 0x4371ca
fld dword [ebp - 0x468c]
sub esp, 8
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 1
call dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x4bc], eax
mov eax, dword [ebp - 0x4bc]
sub eax, dword [ebp - 0x4c0]
mov dword [ebp - 0x494], eax
jne 0x4371f4
mov dword [ebp - 0x494], 0x64
mov ecx, dword [ebp - 0x4688]
xor edx, edx
add ecx, dword [ebp - 0x4b8]
adc edx, dword [ebp - 0x4b4]
mov dword [ebp - 0x4b8], ecx
mov dword [ebp - 0x4b4], edx
jmp 0x436ef1
mov eax, dword [ebp - 0x4ac]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x4a0]
cmp ecx, dword [ebp - 0x4b8]
jne 0x4372da
mov edx, dword [ebp - 0x49c]
cmp edx, dword [ebp - 0x4b4]
jne 0x4372da
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x4c8], 0
je 0x43727a
push 0
mov ecx, dword [ebp + 0xc]
push ecx
lea eax, [ebp - 0x14]
call fcn.004059d0
push eax
call sym.nsUninstall.exe_public:_static_class_CNsZlib____cdecl_CNsZlib::Instance_void_
mov ecx, eax
call sym.nsUninstall.exe_public:_long_int___thiscall_CNsZlib::DecodeFile_wchar_t_const___wchar_t_const___unsigned_long_int_
jmp 0x43728f
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x14]
call fcn.004059d0
push eax
call fcn.0042882f
add esp, 8
cmp dword [ebp + 0x14], 0
je 0x4372da
sub esp, 8
fldz
fstp qword [esp]
mov eax, dword [ebp - 0x4a0]
add eax, dword [ebp - 0x4a8]
mov ecx, dword [ebp - 0x49c]
adc ecx, dword [ebp - 0x4a4]
push ecx
push eax
mov edx, dword [ebp - 0x4b8]
add edx, dword [ebp - 0x4a8]
mov eax, dword [ebp - 0x4b4]
adc eax, dword [ebp - 0x4a4]
push eax
push edx
mov ecx, dword [ebp + 8]
push ecx
push 2
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 - 0x46c8], 1
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
call fcn.004059b0
mov byte [ebp - 4], 0
lea eax, [ebp - 0x48c]
call fcn.004059b0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x4cc]
call fcn.004059b0
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.004144ca
mov esp, ebp
pop ebp
ret 0x10