Function at 0x4092ad
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.00458c77
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.0045d450
add esp, 0x10
mov dword [ebp - 0x18], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0045d450
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], esp
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
cmp dword [ebp - 0x20], esp
je 0x409376
push 6
call fcn.00458c83
add esp, 4
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x409389
push ebx
call fcn.00458c7d
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x409399
push ebx
call fcn.00458c7d
add esp, 4
mov eax, dword [ebp - 0x24]
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 0x4093ea
push 0x6d94ec
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 0x6d94ec
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov eax, 0xffffffff
jmp 0x409b4f
push dword [ebp + 8]
call fcn.00409b93
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.0040117e
add esp, 0xc
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x409422
push ebx
call fcn.00458c7d
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 8]
clc
test ebx, ebx
je 0x409436
push ebx
call fcn.00458c7d
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.00409b93
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], esp
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x409479
push 6
call fcn.00458c83
add esp, 4
mov dword [ebp - 0x24], eax
push 0x80000301
push 0
push closesocket
push 0x80000301
push 0
push 0x100
push 0x80000301
push 0
push 0x4000000
push 3
mov ebx, 0xc8
call fcn.0045d3f0
add esp, 0x28
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], esp
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x24]
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
cmp dword [ebp - 0x2c], esp
je 0x4094ea
push 6
call fcn.00458c83
add esp, 4
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4094fd
push ebx
call fcn.00458c7d
add esp, 4
mov eax, dword [ebp - 0x30]
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 0x40957b
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], esp
mov ebx, dword [ebp - 0x14]
push dword [ebx]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x409547
push 6
call fcn.00458c83
add esp, 4
push 0x6d94ec
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 0x6d94ec
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov eax, 0xffffffff
jmp 0x409b4f
mov ebx, dword [ebp - 4]
add ebx, 0xc
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], esp
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
cmp dword [ebp - 0x18], esp
je 0x4095c6
push 6
call fcn.00458c83
add esp, 4
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 0x40966e
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], esp
mov ebx, dword [ebp - 0x14]
push dword [ebx]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x40960d
push 6
call fcn.00458c83
add esp, 4
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], esp
mov ebx, dword [ebp - 0x14]
push dword [ebx]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x40963a
push 6
call fcn.00458c83
add esp, 4
push 0x6d94ec
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 0x6d94ec
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov eax, 0xffffffff
jmp 0x409b4f
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.0045d3f0
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
mov dword [ebp - 0x24], esp
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
cmp dword [ebp - 0x24], esp
je 0x40971e
push 6
call fcn.00458c83
add esp, 4
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x40973d
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.0045dd80
add esp, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x409772
push ebx
call fcn.00458c7d
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.0040629f
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 4]
add ebx, 0x18
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], esp
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
cmp dword [ebp - 0x20], esp
je 0x4097c3
push 6
call fcn.00458c83
add esp, 4
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x40988b
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], esp
mov ebx, dword [ebp - 0x14]
push dword [ebx]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x4097fd
push 6
call fcn.00458c83
add esp, 4
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], esp
mov ebx, dword [ebp - 0x14]
push dword [ebx]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x40982a
push 6
call fcn.00458c83
add esp, 4
mov ebx, dword [ebp - 4]
add ebx, 0xc
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], esp
mov ebx, dword [ebp - 0x14]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x409857
push 6
call fcn.00458c83
add esp, 4
push 0x6d94ec
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 0x6d94ec
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov eax, 0xffffffff
jmp 0x409b4f
mov ebx, dword [ebp - 4]
add ebx, 0x18
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
cmp dword [ebx], 0
jne 0x4098a5
jmp 0x409a8f
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 0x4098cd
mov eax, 0x48138d
push eax
push 2
mov ebx, 0x1a0
call fcn.0045ddb0
add esp, 0x1c
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4098f7
push ebx
call fcn.00458c7d
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
mov dword [ebp - 0x20], esp
push 0
push dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
push dword [ebx]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x409930
add eax, 8
push eax
mov ebx, dword [ebp - 0x14]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WriteFile]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x409952
push 6
call fcn.00458c83
add esp, 4
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x409a1a
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], esp
mov ebx, dword [ebp - 0x14]
push dword [ebx]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x40998c
push 6
call fcn.00458c83
add esp, 4
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], esp
mov ebx, dword [ebp - 0x14]
push dword [ebx]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x4099b9
push 6
call fcn.00458c83
add esp, 4
mov ebx, dword [ebp - 4]
add ebx, 0xc
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], esp
mov ebx, dword [ebp - 0x14]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x4099e6
push 6
call fcn.00458c83
add esp, 4
push 0x6d94ec
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 0x6d94ec
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov eax, 0xffffffff
jmp 0x409b4f
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.004011da
mov ebx, dword [ebp - 0x14]
mov dword [ebx], eax
push 0x6d94ec
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 0x6d94ec
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
jmp 0x40973d
mov ebx, dword [ebp - 4]
add ebx, 0xc
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], esp
mov ebx, dword [ebp - 0x14]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x409abc
push 6
call fcn.00458c83
add esp, 4
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], esp
mov ebx, dword [ebp - 0x14]
push dword [ebx]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x409ae9
push 6
call fcn.00458c83
add esp, 4
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], esp
mov ebx, dword [ebp - 0x14]
push dword [ebx]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x409b16
push 6
call fcn.00458c83
add esp, 4
push 0x6d94ec
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 0x6d94ec
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov eax, 0
jmp 0x409b4f
push eax
mov ebx, dword [ebp - 4]
push ebx
call fcn.00458c7d
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x409b6c
push ebx
call fcn.00458c7d
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x409b7c
push ebx
call fcn.00458c7d
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x409b8c
push ebx
call fcn.00458c7d
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10