Function at 0x4088a9
Capabilities:
Create http request
Download and write a file
Inspect section memory permissions
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push 0x24
call fcn.00450dae
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 9
rep stosd dword es:[edi], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
mov dword [ebx], 0
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x14], ebx
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00455590
add esp, 0x10
mov dword [ebp - 0x18], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00455590
add esp, 0x10
mov dword [ebp - 0x1c], eax
push 0
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
push 0
mov ebx, dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.WININET.dll_InternetOpenA]
nop
nop
nop
nop
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x408970
push ebx
call fcn.00450db4
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x408980
push ebx
call fcn.00450db4
add esp, 4
mov eax, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x14]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
cmp dword [ebx], 0
jne 0x4089d1
push 0x4ebd39
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
push dword [ebp + 0x14]
push 0
push 0
push 0xffffffffffffffff
call dword [ebp + 0x10]
push 0x4ebd39
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov eax, 0xffffffff
jmp 0x408fbc
push dword [ebp + 8]
call fcn.00409000
mov dword [ebp - 0x14], eax
push str._r_nAccept_Language:_zh_cn_r_n
push dword [ebp - 0x14]
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_nReferer:
mov ecx, 3
call fcn.004010d5
add esp, 0xc
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x408a09
push ebx
call fcn.00450db4
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x408a1d
push ebx
call fcn.00450db4
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x18], ebx
push dword [ebp + 8]
call fcn.00409000
mov dword [ebp - 0x1c], eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
nop
nop
nop
nop
mov dword [ebp - 0x20], eax
push 0x80000301
push 0
push SysReAllocString
push 0x80000301
push 0
push 0x100
push 0x80000301
push 0
push 0x4000000
push 3
mov ebx, 0xc8
call fcn.00455530
add esp, 0x28
mov dword [ebp - 0x24], eax
push 0
push dword [ebp - 0x24]
push dword [ebp - 0x20]
push dword [ebp - 8]
push dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
push dword [ebx]
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
nop
nop
nop
nop
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x408aba
push ebx
call fcn.00450db4
add esp, 4
mov eax, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x14]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
cmp dword [ebx], 0
jne 0x408b23
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
push dword [ebx]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
push 0x4ebd39
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
push dword [ebp + 0x14]
push 0
push 0
push 0xffffffffffffffff
call dword [ebp + 0x10]
push 0x4ebd39
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov eax, 0xffffffff
jmp 0x408fbc
mov ebx, dword [ebp - 4]
add ebx, 0xc
mov dword [ebp - 0x14], ebx
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
nop
nop
nop
nop
mov ebx, dword [ebp - 0x14]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
add ebx, 0xc
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
cmp dword [ebx], 0xffffffff
jne 0x408bd7
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
push dword [ebx]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
push dword [ebx]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
push 0x4ebd39
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
push dword [ebp + 0x14]
push 0
push 0
push 0xffffffffffffffff
call dword [ebp + 0x10]
push 0x4ebd39
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov eax, 0xffffffff
jmp 0x408fbc
mov ebx, dword [ebp - 4]
add ebx, 0x10
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
mov dword [ebx], 0
mov ebx, dword [ebp - 4]
add ebx, 0x14
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
mov dword [ebx], 4
mov ebx, dword [ebp - 4]
add ebx, 0x1c
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
mov dword [ebx], 0
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x14], ebx
push 0x80000301
push 0
push 0x20000000
push 0x80000301
push 0
push 5
push 2
mov ebx, 0xc8
call fcn.00455530
add esp, 0x1c
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 4]
add ebx, 0x10
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 4]
add ebx, 0x14
mov dword [ebp - 0x20], ebx
push 0
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
push dword [ebx]
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
nop
nop
nop
nop
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x408c91
mov ebx, dword [ebp - 4]
add ebx, 0x10
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
mov dword [ebx], 0
push 0x80000301
push 0
push 0x4000
push 1
mov ebx, 0x1bc
call fcn.00455ec0
add esp, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x408cc6
push ebx
call fcn.00450db4
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0xc]
push eax
call fcn.00405f8b
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 4]
add ebx, 0x18
mov dword [ebp - 0x1c], ebx
push dword [ebp - 0x1c]
push 0x4000
push dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
push dword [ebx]
call dword [sym.imp.WININET.dll_InternetReadFile]
nop
nop
nop
nop
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x408d8b
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
push dword [ebx]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
push dword [ebx]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
mov ebx, dword [ebp - 4]
add ebx, 0xc
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
push 0x4ebd39
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
push dword [ebp + 0x14]
push 0
push 0
push 0xffffffffffffffff
call dword [ebp + 0x10]
push 0x4ebd39
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov eax, 0xffffffff
jmp 0x408fbc
mov ebx, dword [ebp - 4]
add ebx, 0x18
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
cmp dword [ebx], 0
jne 0x408da5
jmp 0x408f3b
mov ebx, dword [ebp - 4]
add ebx, 0x18
mov dword [ebp - 0x14], ebx
push 0x80000301
push 0
mov ebx, dword [ebp - 0x14]
push dword [ebx]
push VariantCopy
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x408dcd
mov eax, 0x47938d
push eax
push 2
mov ebx, 0x1a0
call fcn.00455ef0
add esp, 0x1c
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x408df7
push ebx
call fcn.00450db4
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 4]
add ebx, 0xc
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 4]
add ebx, 0x18
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 4]
add ebx, 0x20
mov dword [ebp - 0x1c], ebx
push 0
push dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
push dword [ebx]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x408e2d
add eax, 8
push eax
mov ebx, dword [ebp - 0x14]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WriteFile]
nop
nop
nop
nop
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x408ec6
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
push dword [ebx]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
push dword [ebx]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
mov ebx, dword [ebp - 4]
add ebx, 0xc
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
push 0x4ebd39
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
push dword [ebp + 0x14]
push 0
push 0
push 0xffffffffffffffff
call dword [ebp + 0x10]
push 0x4ebd39
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov eax, 0xffffffff
jmp 0x408fbc
mov ebx, dword [ebp - 4]
add ebx, 0x1c
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 4]
add ebx, 0x1c
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 4]
add ebx, 0x18
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x18]
fild dword [ebx]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
mov ebx, dword [ebp - 0x1c]
fild dword [ebx]
fstp qword [ebp - 0x2c]
fadd qword [ebp - 0x2c]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
call fcn.00401131
mov ebx, dword [ebp - 0x14]
mov dword [ebx], eax
push 0x4ebd39
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov eax, dword [ebp - 4]
push dword [ebp + 0x14]
push dword [eax + 0x1c]
push dword [eax + 0x10]
push 1
call dword [ebp + 0x10]
push 0x4ebd39
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
jmp 0x408c91
mov ebx, dword [ebp - 4]
add ebx, 0xc
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
push dword [ebx]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
push dword [ebx]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
push 0x4ebd39
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov eax, dword [ebp - 4]
push dword [ebp + 0x14]
push dword [eax + 0x1c]
push dword [eax + 0x10]
push 0
call dword [ebp + 0x10]
push 0x4ebd39
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov eax, 0
jmp 0x408fbc
push eax
mov ebx, dword [ebp - 4]
push ebx
call fcn.00450db4
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x408fd9
push ebx
call fcn.00450db4
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x408fe9
push ebx
call fcn.00450db4
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x408ff9
push ebx
call fcn.00450db4
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10