Function at 0x40289c
Capabilities:
Allocate or change rwx memory
Check internet connectivity via wininet
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
push 0
mov ebx, 0x308
call sub.KERNEL32.DLL_GetTickCount
add esp, 4
mov dword [ebp - 4], eax
push 0
mov ebx, 0x308
call sub.KERNEL32.DLL_GetTickCount
add esp, 4
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.00406400
add esp, 0x10
mov dword [ebp - 0x4c], eax
push 0x409387
push dword [ebp - 0x4c]
push 0x409389
mov ebx, dword [ebp + 8]
push dword [ebx]
mov ecx, 4
call fcn.0040107b
add esp, 0x10
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x402992
push ebx
call fcn.00405a5c
add esp, 4
mov eax, dword [ebp - 0x50]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4029a6
push ebx
call fcn.00405a5c
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x48], esp
push 0
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
nop
nop
nop
nop
cmp dword [ebp - 0x48], esp
je 0x4029d2
push 6
call fcn.00405a62
add esp, 4
push 0
mov ebx, 0x308
call sub.KERNEL32.DLL_GetTickCount
add esp, 4
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.00406400
add esp, 0x10
mov dword [ebp - 0x4c], eax
push 0x409387
push dword [ebp - 0x4c]
push str.Agent_
mov ecx, 3
call fcn.0040107b
add esp, 0xc
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x402a2e
push ebx
call fcn.00405a5c
add esp, 4
mov eax, dword [ebp - 0x50]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x402a42
push ebx
call fcn.00405a5c
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x48], esp
push dword [ebp - 0x10]
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
nop
nop
nop
nop
cmp dword [ebp - 0x48], esp
je 0x402a68
push 6
call fcn.00405a62
add esp, 4
mov dword [ebp - 0x48], esp
push dword [ebp - 8]
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
nop
nop
nop
nop
cmp dword [ebp - 0x48], esp
je 0x402a8a
push 6
call fcn.00405a62
add esp, 4
mov dword [ebp - 0x48], esp
push 0
push 0
push 0
push 1
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
nop
nop
nop
nop
cmp dword [ebp - 0x48], esp
je 0x402ac2
push 6
call fcn.00405a62
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x402b06
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
mov eax, str.Internet_Error
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
call fcn.004036b9
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x402afc
push ebx
call fcn.00405a5c
add esp, 4
mov eax, 0
jmp 0x403671
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
lea eax, [ebp - 8]
push eax
call fcn.0040370c
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 8]
push eax
call fcn.00403b44
mov dword [ebp - 0x50], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00406c30
add esp, 0x10
mov dword [ebp - 0x54], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00406c30
add esp, 0x10
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], esp
push 0
push 0
push 3
push dword [ebp - 0x58]
push dword [ebp - 0x54]
push dword [ebp - 0x50]
push dword [ebp - 0x4c]
push dword [ebp - 0x14]
call dword [sym.imp.WININET.dll_InternetConnectA]
nop
nop
nop
nop
cmp dword [ebp - 0x5c], esp
je 0x402ba9
push 6
call fcn.00405a62
add esp, 4
mov dword [ebp - 0x60], eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x402bbc
push ebx
call fcn.00405a5c
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x402bcc
push ebx
call fcn.00405a5c
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x402bdc
push ebx
call fcn.00405a5c
add esp, 4
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x402ca9
mov dword [ebp - 0x48], esp
call dword [sym.imp.KERNEL32.DLL_GetLastError]
nop
nop
nop
nop
cmp dword [ebp - 0x48], esp
je 0x402c0b
push 6
call fcn.00405a62
add esp, 4
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.00406400
add esp, 0x10
mov dword [ebp - 0x50], eax
push dword [ebp - 8]
push str._r_nInternetConnectError_r_nURL
push dword [ebp - 0x50]
push str.Error:
mov ecx, 4
call fcn.0040107b
add esp, 0x10
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x402c58
push ebx
call fcn.00405a5c
add esp, 4
mov dword [ebp - 0x58], 0
push 0
push dword [ebp - 0x58]
lea eax, [ebp - 0x54]
push eax
call fcn.004036b9
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x402c7d
push ebx
call fcn.00405a5c
add esp, 4
mov dword [ebp - 0x48], esp
push dword [ebp - 0x14]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x48], esp
je 0x402c9f
push 6
call fcn.00405a62
add esp, 4
mov eax, 0
jmp 0x403671
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00406c30
add esp, 0x10
mov dword [ebp - 0x48], eax
lea eax, [ebp - 8]
push eax
call fcn.00403cde
mov dword [ebp - 0x4c], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00406c30
add esp, 0x10
mov dword [ebp - 0x50], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00406c30
add esp, 0x10
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], esp
push 0
push 0xc4080100
push dword [ebp - 0x54]
push dword [ebp - 0x50]
push str.HTTP_1.1
push dword [ebp - 0x4c]
push dword [ebp - 0x48]
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
nop
nop
nop
nop
cmp dword [ebp - 0x58], esp
je 0x402d55
push 6
call fcn.00405a62
add esp, 4
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x402d68
push ebx
call fcn.00405a5c
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x402d78
push ebx
call fcn.00405a5c
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x402d88
push ebx
call fcn.00405a5c
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x402d98
push ebx
call fcn.00405a5c
add esp, 4
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x402f86
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00406c30
add esp, 0x10
mov dword [ebp - 0x48], eax
lea eax, [ebp - 8]
push eax
call fcn.00403cde
mov dword [ebp - 0x4c], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00406c30
add esp, 0x10
mov dword [ebp - 0x50], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00406c30
add esp, 0x10
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], esp
push 0
push 0xc4080100
push dword [ebp - 0x54]
push dword [ebp - 0x50]
push str.HTTP_1.0
push dword [ebp - 0x4c]
push dword [ebp - 0x48]
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
nop
nop
nop
nop
cmp dword [ebp - 0x58], esp
je 0x402e54
push 6
call fcn.00405a62
add esp, 4
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x402e67
push ebx
call fcn.00405a5c
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x402e77
push ebx
call fcn.00405a5c
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x402e87
push ebx
call fcn.00405a5c
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x402e97
push ebx
call fcn.00405a5c
add esp, 4
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x402f7c
mov dword [ebp - 0x48], esp
call dword [sym.imp.KERNEL32.DLL_GetLastError]
nop
nop
nop
nop
cmp dword [ebp - 0x48], esp
je 0x402ec6
push 6
call fcn.00405a62
add esp, 4
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.00406400
add esp, 0x10
mov dword [ebp - 0x50], eax
push dword [ebp - 8]
push str._r_nHttpOpenRequestError_r_nURL
push dword [ebp - 0x50]
push str.Error:
mov ecx, 4
call fcn.0040107b
add esp, 0x10
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x402f13
push ebx
call fcn.00405a5c
add esp, 4
mov dword [ebp - 0x58], 0
push 0
push dword [ebp - 0x58]
lea eax, [ebp - 0x54]
push eax
call fcn.004036b9
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x402f38
push ebx
call fcn.00405a5c
add esp, 4
mov dword [ebp - 0x48], esp
push dword [ebp - 0x14]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x48], esp
je 0x402f5a
push 6
call fcn.00405a62
add esp, 4
mov dword [ebp - 0x48], esp
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x48], esp
je 0x402f7c
push 6
call fcn.00405a62
add esp, 4
mov eax, 0
jmp 0x403671
push 0x80000002
push 0
push 1
push 0x80000301
push 0
push 1
push 0x80000004
push 0
push str.Accept:
push 0x80000004
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x402fbd
mov eax, 0x40922e
push eax
push 4
mov ebx, 0x148
call fcn.00406c50
add esp, 0x34
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0xffffffff
jne 0x40300d
push str.Accept:_image_gif__image_x_xbitmap__image_jpeg__image_pjpeg__application_x_shockwave_flash__application_vnd.ms_excel__application_vnd.ms_powerpoint__application_msword____r_n
push dword [ebp - 0x20]
mov ecx, 2
call fcn.0040107b
add esp, 8
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x403009
push ebx
call fcn.00405a5c
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
push 0x80000002
push 0
push 1
push 0x80000301
push 0
push 1
push 0x80000004
push 0
push str.Referer:
push 0x80000004
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x403044
mov eax, 0x40922e
push eax
push 4
mov ebx, 0x148
call fcn.00406c50
add esp, 0x34
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0xffffffff
jne 0x40309c
push 0x4094ed
push dword [ebp - 8]
push str.Referer:
push dword [ebp - 0x20]
mov ecx, 4
call fcn.0040107b
add esp, 0x10
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x403098
push ebx
call fcn.00405a5c
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
push 0x80000002
push 0
push 1
push 0x80000301
push 0
push 1
push 0x80000004
push 0
push str.Accept_Language:
push 0x80000004
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4030d3
mov eax, 0x40922e
push eax
push 4
mov ebx, 0x148
call fcn.00406c50
add esp, 0x34
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0xffffffff
jne 0x403123
push str.Accept_Language:_zh_cn_r_n
push dword [ebp - 0x20]
mov ecx, 2
call fcn.0040107b
add esp, 8
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40311f
push ebx
call fcn.00405a5c
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x403136
mov eax, 0x40922e
push eax
push 1
mov ebx, 0x130
call fcn.00406810
add esp, 0x10
mov dword [ebp - 0x48], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00406c30
add esp, 0x10
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], esp
push 0
push dword [ebp - 0x4c]
push dword [ebp - 0x48]
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
nop
nop
nop
nop
cmp dword [ebp - 0x50], esp
je 0x40319d
push 6
call fcn.00405a62
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x4031ad
push ebx
call fcn.00405a5c
add esp, 4
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
push 0x80000301
push 0
push 0x64
push 1
mov ebx, 0x184
call fcn.00406bf0
add esp, 0x10
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4031f0
push ebx
call fcn.00405a5c
add esp, 4
pop eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00403f09
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], esp
push 0
mov eax, 0x64
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x48]
push 5
push dword [ebp - 0x1c]
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
nop
nop
nop
nop
cmp dword [ebp - 0x4c], esp
je 0x40323b
push 6
call fcn.00405a62
add esp, 4
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x403358
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x48], esp
call dword [sym.imp.KERNEL32.DLL_GetLastError]
nop
nop
nop
nop
cmp dword [ebp - 0x48], esp
je 0x40326e
push 6
call fcn.00405a62
add esp, 4
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.00406400
add esp, 0x10
mov dword [ebp - 0x50], eax
push dword [ebp - 0x2c]
push str._r_nlen_r_n
push dword [ebp - 8]
push str._r_nHttpQueryError_r_nURL
push dword [ebp - 0x50]
push str.Error:
mov ecx, 6
call fcn.0040107b
add esp, 0x18
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x4032c3
push ebx
call fcn.00405a5c
add esp, 4
mov dword [ebp - 0x58], 0
push 0
push dword [ebp - 0x58]
lea eax, [ebp - 0x54]
push eax
call fcn.004036b9
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x4032e8
push ebx
call fcn.00405a5c
add esp, 4
mov dword [ebp - 0x48], esp
push dword [ebp - 0x1c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x48], esp
je 0x40330a
push 6
call fcn.00405a62
add esp, 4
mov dword [ebp - 0x48], esp
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x48], esp
je 0x40332c
push 6
call fcn.00405a62
add esp, 4
mov dword [ebp - 0x48], esp
push dword [ebp - 0x14]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x48], esp
je 0x40334e
push 6
call fcn.00405a62
add esp, 4
mov eax, 0
jmp 0x403671
push 0x80000004
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x40336b
mov eax, 0x40922e
push eax
push 1
mov ebx, 0x9dc
call fcn.004062b0
add esp, 0x10
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x48], esp
push 0x40
push 0x1000
push dword [ebp - 0x24]
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
nop
nop
nop
nop
cmp dword [ebp - 0x48], esp
je 0x4033b2
push 6
call fcn.00405a62
add esp, 4
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
mov ebx, dword [ebp + 0xc]
cmp dword [ebx], 0
jne 0x40343a
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x48], esp
push dword [ebp - 0x1c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x48], esp
je 0x4033ec
push 6
call fcn.00405a62
add esp, 4
mov dword [ebp - 0x48], esp
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x48], esp
je 0x40340e
push 6
call fcn.00405a62
add esp, 4
mov dword [ebp - 0x48], esp
push dword [ebp - 0x14]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x48], esp
je 0x403430
push 6
call fcn.00405a62
add esp, 4
mov eax, 0
jmp 0x403671
mov dword [ebp - 0x28], 0
push 0
mov ebx, 0x308
call sub.KERNEL32.DLL_GetTickCount
add esp, 4
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0xa
push dword [ebp - 0x28]
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.00403f25
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], esp
lea eax, [ebp - 0x44]
push eax
push 0x200
push dword [ebp - 0x48]
push dword [ebp - 0x1c]
call dword [sym.imp.WININET.dll_InternetReadFile]
nop
nop
nop
nop
cmp dword [ebp - 0x4c], esp
je 0x4034a2
push 6
call fcn.00405a62
add esp, 4
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jne 0x40355b
cmp dword [ebp - 0x28], 0
je 0x4034be
jmp 0x4035bf
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
mov eax, str.Read_File_Error
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
call fcn.004036b9
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x4034eb
push ebx
call fcn.00405a5c
add esp, 4
mov dword [ebp - 0x48], esp
push dword [ebp - 0x1c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x48], esp
je 0x40350d
push 6
call fcn.00405a62
add esp, 4
mov dword [ebp - 0x48], esp
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x48], esp
je 0x40352f
push 6
call fcn.00405a62
add esp, 4
mov dword [ebp - 0x48], esp
push dword [ebp - 0x14]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x48], esp
je 0x403551
push 6
call fcn.00405a62
add esp, 4
mov eax, 0
jmp 0x403671
push dword [ebp - 0x44]
push dword [ebp - 0x28]
call fcn.00403f25
mov dword [ebp - 0x28], eax
push 0
mov ebx, 0x308
call sub.KERNEL32.DLL_GetTickCount
add esp, 4
mov dword [ebp - 0x38], eax
fild dword [ebp - 0x38]
fstp qword [ebp - 0x4c]
fld qword [ebp - 0x4c]
fild dword [ebp - 0x34]
fstp qword [ebp - 0x54]
fsub qword [ebp - 0x54]
fstp qword [ebp - 0x5c]
fld qword [ebp - 0x5c]
call fcn.00402875
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x4035af
mov dword [ebp - 0x3c], 0xa
cmp dword [ebp - 0x44], 0
jne 0x4035b9
cmp dword [ebp - 0x40], 0
jne 0x403464
mov dword [ebp - 0x48], esp
push dword [ebp - 0x1c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x48], esp
je 0x4035e1
push 6
call fcn.00405a62
add esp, 4
mov dword [ebp - 0x48], esp
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x48], esp
je 0x403603
push 6
call fcn.00405a62
add esp, 4
mov dword [ebp - 0x48], esp
push dword [ebp - 0x14]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x48], esp
je 0x403625
push 6
call fcn.00405a62
add esp, 4
mov dword [ebp - 0x48], esp
push dword [ebp - 0x10]
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
nop
nop
nop
nop
cmp dword [ebp - 0x48], esp
je 0x403647
push 6
call fcn.00405a62
add esp, 4
mov dword [ebp - 0x48], esp
push dword [ebp - 8]
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
nop
nop
nop
nop
cmp dword [ebp - 0x48], esp
je 0x403669
push 6
call fcn.00405a62
add esp, 4
mov eax, dword [ebp - 0x28]
jmp 0x403671
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x403682
push ebx
call fcn.00405a5c
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x403692
push ebx
call fcn.00405a5c
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4036a2
push ebx
call fcn.00405a5c
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4036b2
push ebx
call fcn.00405a5c
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8