Function at 0x100025d6
Capabilities:
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, 0x38
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
cmp dword [ebp + 0x18], 0
jne 0x1000269d
push 0x80000004
push 0
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
push 1
mov ebx, 0x168
call fcn.10014f60
add esp, 0x10
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], esp
push 0
push 0x1002224f
push 0x1002224f
push 1
push dword [ebp - 0x28]
call dword [sym.imp.WININET.dll_InternetOpenA]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x1000267f
push 6
call fcn.10014782
add esp, 4
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x10002692
push ebx
call fcn.1001477c
add esp, 4
mov eax, dword [ebp - 0x30]
mov dword [ebp - 4], eax
jmp 0x1000276e
push 0x80000004
push 0
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
push 1
mov ebx, 0x168
call fcn.10014f60
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp + 0x14]
push dword [ebx]
push str.http
mov ecx, 2
call fcn.1000180d
add esp, 8
mov dword [ebp - 0x2c], eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x100026eb
mov eax, 0x1002224f
push eax
push 1
mov ebx, 0x168
call fcn.10014f60
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x10002711
push ebx
call fcn.1001477c
add esp, 4
mov dword [ebp - 0x34], esp
push 0
push 0x1002224f
push dword [ebp - 0x30]
push 3
push dword [ebp - 0x28]
call dword [sym.imp.WININET.dll_InternetOpenA]
nop
nop
nop
nop
cmp dword [ebp - 0x34], esp
je 0x10002745
push 6
call fcn.10014782
add esp, 4
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x10002758
push ebx
call fcn.1001477c
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x10002768
push ebx
call fcn.1001477c
add esp, 4
mov eax, dword [ebp - 0x38]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10002782
mov eax, 0x1002224f
jmp 0x10003069
push dword [ebp + 8]
call fcn.100030a1
mov dword [ebp - 0x28], eax
push dword [ebp + 8]
call fcn.10003472
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], esp
push 0
push 0
push 3
push 0x1002224f
push 0x1002224f
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
push dword [ebp - 4]
call dword [sym.imp.WININET.dll_InternetConnectA]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x100027d9
push 6
call fcn.10014782
add esp, 4
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x100027ec
push ebx
call fcn.1001477c
add esp, 4
mov eax, dword [ebp - 0x34]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10002828
mov dword [ebp - 0x28], esp
push dword [ebp - 4]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x28], esp
je 0x1000281e
push 6
call fcn.10014782
add esp, 4
mov eax, 0x1002224f
jmp 0x10003069
push 0x80000004
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x1000283d
mov eax, 0x1002224f
push eax
push 1
mov ebx, 0x150
call fcn.10015230
add esp, 0x10
mov dword [ebp - 0x28], eax
push str.POST
push dword [ebp - 0x28]
call fcn.1000204b
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x10002881
push ebx
call fcn.1001477c
add esp, 4
cmp dword [ebp - 0x2c], 0
je 0x100028a9
mov eax, 0x100223d3
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x100028a3
push ebx
call fcn.1001477c
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
push dword [ebp + 8]
call fcn.10003896
mov dword [ebp - 0x28], eax
push 0x80000004
push 0
push 0x1002224f
push 1
mov ebx, 0x168
call fcn.10014f60
add esp, 0x10
mov dword [ebp - 0x2c], eax
push 0x80000004
push 0
push 0x1002224f
push 1
mov ebx, 0x168
call fcn.10014f60
add esp, 0x10
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], esp
push 0
push SysReAllocString
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
push str.HTTP_1.1
push dword [ebp - 0x28]
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push dword [ebp - 8]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
nop
nop
nop
nop
cmp dword [ebp - 0x34], esp
je 0x10002935
push 6
call fcn.10014782
add esp, 4
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x10002948
push ebx
call fcn.1001477c
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x10002958
push ebx
call fcn.1001477c
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x10002968
push ebx
call fcn.1001477c
add esp, 4
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x100029c6
mov dword [ebp - 0x28], esp
push dword [ebp - 4]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x28], esp
je 0x1000299a
push 6
call fcn.10014782
add esp, 4
mov dword [ebp - 0x28], esp
push dword [ebp - 8]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x28], esp
je 0x100029bc
push 6
call fcn.10014782
add esp, 4
mov eax, 0x1002224f
jmp 0x10003069
mov dword [ebp - 0x10], 0x4650
mov dword [ebp - 0x28], esp
push 4
lea eax, [ebp - 0x10]
push eax
push 2
push dword [ebp - 0xc]
call dword [sym.imp.WININET.dll_InternetSetOptionA]
nop
nop
nop
nop
cmp dword [ebp - 0x28], esp
je 0x100029fd
push 6
call fcn.10014782
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], esp
push 4
lea eax, [ebp - 0x10]
push eax
push 6
push dword [ebp - 0xc]
call dword [sym.imp.WININET.dll_InternetSetOptionA]
nop
nop
nop
nop
cmp dword [ebp - 0x28], esp
je 0x10002a30
push 6
call fcn.10014782
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], esp
push 4
lea eax, [ebp - 0x10]
push eax
push 5
push dword [ebp - 0xc]
call dword [sym.imp.WININET.dll_InternetSetOptionA]
nop
nop
nop
nop
cmp dword [ebp - 0x28], esp
je 0x10002a63
push 6
call fcn.10014782
add esp, 4
mov dword [ebp - 0x14], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0x80000301
push 0
push 1
push 0x80000004
push 0
push str.Accept:
push 0x80000004
push 0
mov ebx, dword [ebp + 0x1c]
mov eax, dword [ebx]
test eax, eax
jne 0x10002a9f
mov eax, 0x1002224f
push eax
push 4
mov ebx, 0x148
call fcn.10014c40
add esp, 0x34
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
jne 0x10002af5
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
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
mov ecx, 2
call fcn.1000180d
add esp, 8
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x10002aef
push ebx
call fcn.1001477c
add esp, 4
pop eax
mov ebx, dword [ebp + 0x1c]
mov dword [ebx], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0x80000301
push 0
push 1
push 0x80000004
push 0
push str.Referer:
push 0x80000004
push 0
mov ebx, dword [ebp + 0x1c]
mov eax, dword [ebx]
test eax, eax
jne 0x10002b2e
mov eax, 0x1002224f
push eax
push 4
mov ebx, 0x148
call fcn.10014c40
add esp, 0x34
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
jne 0x10002b8e
push 0x100224a2
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.Referer:
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
mov ecx, 4
call fcn.1000180d
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x10002b88
push ebx
call fcn.1001477c
add esp, 4
pop eax
mov ebx, dword [ebp + 0x1c]
mov dword [ebx], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0x80000301
push 0
push 1
push 0x80000004
push 0
push str.Accept_Language:
push 0x80000004
push 0
mov ebx, dword [ebp + 0x1c]
mov eax, dword [ebx]
test eax, eax
jne 0x10002bc7
mov eax, 0x1002224f
push eax
push 4
mov ebx, 0x148
call fcn.10014c40
add esp, 0x34
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
jne 0x10002c1d
push str.Accept_Language:_zh_cn_r_n
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
mov ecx, 2
call fcn.1000180d
add esp, 8
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x10002c17
push ebx
call fcn.1001477c
add esp, 4
pop eax
mov ebx, dword [ebp + 0x1c]
mov dword [ebx], eax
push 0x100223d3
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.1000204b
add esp, 8
cmp eax, 0
jne 0x10002c9c
push 0x80000004
push 0
mov ebx, dword [ebp + 0x1c]
mov eax, dword [ebx]
test eax, eax
jne 0x10002c4d
mov eax, 0x1002224f
push eax
push 1
mov ebx, 0x130
call fcn.100152b0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], esp
push 0
push 0x1002224f
push dword [ebp - 0x28]
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
push dword [ebp - 0xc]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x10002c97
push 6
call fcn.10014782
add esp, 4
jmp 0x10002e08
push 0x1002224f
mov ebx, dword [ebp + 0x24]
push dword [ebx]
call fcn.1000204b
add esp, 8
cmp eax, 0
je 0x10002d80
push str.Content_Type:_application_x_www_form_urlencoded_r_n
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
mov ecx, 2
call fcn.1000180d
add esp, 8
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x10002ce7
push ebx
call fcn.1001477c
add esp, 4
pop eax
mov ebx, dword [ebp + 0x1c]
mov dword [ebx], eax
push 0x80000004
push 0
mov ebx, dword [ebp + 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x10002d02
mov eax, 0x1002224f
push eax
push 1
mov ebx, 0x130
call fcn.100152b0
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.10014f60
add esp, 0x10
mov dword [ebp - 0x2c], eax
push 0x100224a2
push dword [ebp - 0x2c]
push str.Content_Length:
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
mov ecx, 4
call fcn.1000180d
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x10002d64
push ebx
call fcn.1001477c
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp + 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x10002d7a
push ebx
call fcn.1001477c
add esp, 4
pop eax
mov ebx, dword [ebp + 0x1c]
mov dword [ebx], eax
push 0x80000004
push 0
mov ebx, dword [ebp + 0x1c]
mov eax, dword [ebx]
test eax, eax
jne 0x10002d95
mov eax, 0x1002224f
push eax
push 1
mov ebx, 0x130
call fcn.100152b0
add esp, 0x10
mov dword [ebp - 0x28], eax
push 0x80000004
push 0
mov ebx, dword [ebp + 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x10002dc0
mov eax, 0x1002224f
push eax
push 1
mov ebx, 0x130
call fcn.100152b0
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], esp
push dword [ebp - 0x2c]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
push dword [ebp - 0x28]
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
push dword [ebp - 0xc]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x10002e08
push 6
call fcn.10014782
add esp, 4
mov dword [ebp - 0x18], 1
cmp dword [ebp - 0x18], 0
jle 0x10002f10
push 0x80000301
push 0
push 0x200
push 1
mov ebx, 0x1bc
call fcn.100152d0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x10002e4e
push ebx
call fcn.1001477c
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
push 0
mov ebx, 0x350
call fcn.10015300
add esp, 4
mov dword [ebp - 0x28], esp
lea eax, [ebp - 0x18]
push eax
push 0x200
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10002e7a
add eax, 8
push eax
push dword [ebp - 0xc]
call dword [sym.imp.WININET.dll_InternetReadFile]
nop
nop
nop
nop
cmp dword [ebp - 0x28], esp
je 0x10002e9a
push 6
call fcn.10014782
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x18]
push VariantCopy
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x10002eb7
mov eax, 0x10022513
push eax
push 2
mov ebx, 0x1a0
call fcn.10015370
add esp, 0x1c
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push dword [ebp - 0x20]
mov ecx, 2
call fcn.1000257f
add esp, 8
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x10002ef3
push ebx
call fcn.1001477c
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10002f07
push ebx
call fcn.1001477c
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
jmp 0x10002e0f
cmp dword [ebp + 0x30], 0
mov eax, 0
sete al
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x10002fd2
push 0x80000301
push 0
push 0x400
push 1
mov ebx, 0x184
call fcn.100153a0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x10002f5e
push ebx
call fcn.1001477c
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], esp
push 0
mov eax, 0x400
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x24]
push 0x16
push dword [ebp - 0xc]
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
nop
nop
nop
nop
cmp dword [ebp - 0x28], esp
je 0x10002f9d
push 6
call fcn.10014782
add esp, 4
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x10002fb9
push eax
mov ebx, eax
call fcn.100017a2
inc eax
push eax
call fcn.10014776
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x10002fcc
push ebx
call fcn.1001477c
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
mov dword [ebp - 0x28], esp
push dword [ebp - 4]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x28], esp
je 0x10002ff4
push 6
call fcn.10014782
add esp, 4
mov dword [ebp - 0x28], esp
push dword [ebp - 8]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x28], esp
je 0x10003016
push 6
call fcn.10014782
add esp, 4
mov dword [ebp - 0x28], esp
push dword [ebp - 0xc]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x28], esp
je 0x10003038
push 6
call fcn.10014782
add esp, 4
push VariantCopy
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x1000304b
mov eax, 0x10022513
push eax
push 1
mov ebx, 0x168
call fcn.10014f60
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
jmp 0x10003069
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x1000307a
push ebx
call fcn.1001477c
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1000308a
push ebx
call fcn.1001477c
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1000309a
push ebx
call fcn.1001477c
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x2c