Function at 0x44bff5
Capabilities:
Check http status code
Connect to http server
Create http request
Get http content length
Read data from internet
Receive data
Reference http user-agent string
Send data
Send http request

Disassembly:
push ebp
sub esp, 0x48c
lea ebp, [esp - 4]
mov eax, dword [0x4650e0]
xor eax, ebp
mov dword [ebp + 0x48c], eax
push 0x144
mov eax, 0x44f980
call fcn.0042fb3d
mov eax, dword [ebp + 0x498]
sub esp, 0x1c
mov edi, ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.0040191c
lea esi, [ebp - 0xe0]
call fcn.00402a3f
xor ebx, ebx
mov dword [ebp - 4], ebx
mov ecx, esp
mov dword [ebp - 0x18], esp
push edi
call fcn.0040191c
lea esi, [ebp - 0xa8]
call fcn.00402a3f
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.kunbang
call fcn.0040191c
lea esi, [ebp - 0x8c]
call fcn.00402a3f
mov byte [ebp - 4], 2
mov eax, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.004027da
pop ecx
lea edi, [ebp - 0x134]
call fcn.00402790
add esp, 0x1c
push 0x4667c4
lea esi, [ebp - 0xc4]
mov byte [ebp - 4], 3
call fcn.004026e4
push 0x4667e0
lea esi, [ebp - 0x70]
mov byte [ebp - 4], 4
call fcn.004026e4
push 0x45c1a4
lea esi, [ebp - 0x118]
mov byte [ebp - 4], 5
call fcn.0040217f
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 6
call fcn.0044db85
push 7
pop edi
mov dword [ebp - 4], edi
xor eax, eax
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x14], ebx
mov word [ebp + 4], ax
push 0x45c4ac
lea eax, [ebp + 0x54]
push 0x46a2c4
push eax
mov byte [ebp - 4], 0xf
call fcn.004038b6
add esp, 0xc
mov byte [ebp - 4], 0x10
push 0xffffffffffffffff
push ebx
lea ecx, [ebp]
call fcn.00402658
push ebx
push 1
lea esi, [ebp + 0x54]
mov byte [ebp - 4], 0xf
call fcn.0040273f
sub esp, 0x1c
lea eax, [ebp - 0xe0]
mov esi, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.004026e4
sub esp, 0x1c
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0xa8]
mov esi, esp
mov dword [ebp - 0x34], esp
push eax
call fcn.004026e4
sub esp, 0x1c
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x8c]
mov esi, esp
mov dword [ebp - 0x38], esp
push eax
call fcn.004026e4
sub esp, 0x1c
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x134]
mov esi, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.004026e4
sub esp, 0x1c
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0xc4]
mov esi, esp
mov dword [ebp - 0x30], esp
push eax
call fcn.004026e4
sub esp, 0x1c
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x70]
mov esi, esp
mov dword [ebp - 0x2c], esp
push eax
call fcn.004026e4
sub esp, 0x1c
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x118]
mov esi, esp
mov dword [ebp - 0x28], esp
push eax
call fcn.004026e4
sub esp, 0x1c
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0xfc]
mov esi, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.004026e4
lea ecx, [ebp + 0x54]
mov byte [ebp - 4], 0xf
call fcn.00403373
add esp, 0xe0
push 0xffffffffffffffff
push ebx
lea ecx, [ebp]
mov byte [ebp - 4], 0x18
call fcn.004022f3
push ebx
push 1
lea esi, [ebp + 0x54]
call fcn.0040273f
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], 0x400
cmp dword [ebp + 0x18], 8
mov esi, dword [ebp + 4]
jae 0x44c22a
lea esi, [ebp + 4]
push 0x3ff
lea eax, [ebp + 0x8d]
push ebx
push eax
mov dword [ebp - 0x10], ebx
mov byte [ebp + 0x8c], bl
call fcn.0042f410
or dword [ebp - 0x34], 0xffffffff
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x20], 4
mov dword [ebp - 0x2c], 0x3a98
mov dword [ebp + 0x34], edi
mov dword [ebp + 0x30], ebx
mov word [ebp + 0x20], ax
mov dword [ebp + 0x50], edi
mov dword [ebp + 0x4c], ebx
mov word [ebp + 0x3c], ax
mov eax, esi
mov byte [ebp - 4], 0x1b
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
cmp dx, bx
jne 0x44c282
sub eax, ecx
sar eax, 1
jne 0x44c2ae
xor edi, edi
push ebx
inc edi
push edi
lea esi, [ebp + 0x38]
call fcn.0040273f
push ebx
push edi
lea esi, [ebp + 0x1c]
call fcn.0040273f
jmp 0x44c6bb
push esi
lea esi, [ebp + 0x70]
call fcn.0040217f
mov byte [ebp - 4], 0x1c
cmp dword [ebp + 0x84], edi
ja 0x44c2d0
push ebx
push 1
call fcn.0040273f
jmp 0x44c6a2
push 0xffffffffffffffff
push edi
lea eax, [ebp + 0x70]
push eax
lea esi, [ebp + 0x54]
mov dword [ebp - 0x14], 0x50
call fcn.004037a0
push 0xffffffffffffffff
push ebx
lea ecx, [ebp + 0x70]
mov byte [ebp - 4], 0x1d
call fcn.00402658
push ebx
push 1
mov byte [ebp - 4], 0x1c
call fcn.0040273f
xor edi, edi
cmp dword [ebp + 0x84], ebx
jbe 0x44c385
lea eax, [ebp + 0x70]
call fcn.00401694
cmp word [eax], 0x3a
je 0x44c332
lea eax, [ebp + 0x70]
call fcn.00401694
cmp word [eax], 0x2f
je 0x44c332
inc edi
cmp edi, dword [ebp + 0x84]
jb 0x44c30b
jmp 0x44c385
push edi
push ebx
lea eax, [ebp + 0x70]
push eax
lea esi, [ebp + 0x54]
call fcn.004037a0
push 0xffffffffffffffff
push ebx
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 0x1e
call fcn.00402658
push ebx
push 1
mov byte [ebp - 4], 0x1c
call fcn.0040273f
push 0xffffffffffffffff
push edi
lea eax, [ebp + 0x70]
push eax
lea esi, [ebp + 0x54]
call fcn.004037a0
push 0xffffffffffffffff
push ebx
lea ecx, [ebp + 0x70]
mov byte [ebp - 4], 0x1f
call fcn.00402658
push ebx
push 1
mov byte [ebp - 4], 0x1c
call fcn.0040273f
xor edi, edi
lea eax, [ebp + 0x70]
call fcn.00401694
cmp word [eax], 0x3a
jne 0x44c41f
inc edi
cmp dword [ebp + 0x84], edi
jbe 0x44c41f
lea eax, [ebp + 0x70]
call fcn.00401694
cmp word [eax], 0x2f
je 0x44c3bb
inc edi
cmp edi, dword [ebp + 0x84]
jb 0x44c3a2
jmp 0x44c41f
push edi
push 1
lea eax, [ebp + 0x70]
push eax
lea esi, [ebp + 0x54]
call fcn.004037a0
mov byte [ebp - 4], 0x20
cmp dword [ebp + 0x6c], 8
mov eax, dword [ebp + 0x58]
jae 0x44c3da
lea eax, [ebp + 0x58]
push eax
call fcn.0042cf26
pop ecx
movzx eax, ax
push 0xffffffffffffffff
mov dword [ebp - 0x14], eax
push edi
lea eax, [ebp + 0x70]
push eax
lea esi, [ebp - 0x150]
call fcn.004037a0
push 0xffffffffffffffff
push ebx
lea ecx, [ebp + 0x70]
mov byte [ebp - 4], 0x21
call fcn.00402658
push ebx
push 1
call fcn.0040273f
push ebx
push 1
lea esi, [ebp + 0x54]
mov byte [ebp - 4], 0x1c
call fcn.0040273f
push 0xffffffffffffffff
push ebx
lea eax, [ebp + 0x70]
lea ecx, [ebp + 0x38]
call fcn.00402658
push ebx
push 1
lea esi, [ebp + 0x70]
mov byte [ebp - 4], 0x1b
call fcn.0040273f
push ebx
push ebx
push ebx
push ebx
push str.Mozilla_5.0__Windows_NT_6.1__WOW64__rv:14.0__Gecko_20100101_Firefox_14.0.1
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionW]
mov dword [ebp - 0x24], eax
push 4
lea eax, [ebp - 0x2c]
push eax
push 2
push dword [ebp - 0x24]
call esi
push 4
lea eax, [ebp - 0x2c]
push eax
push 8
push dword [ebp - 0x24]
call esi
push 4
lea eax, [ebp - 0x2c]
push eax
push 7
pop edi
push edi
push dword [ebp - 0x24]
call esi
cmp dword [ebp - 0x24], ebx
je 0x44c6a2
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp + 0x20]
jae 0x44c492
lea eax, [ebp + 0x20]
push ebx
push ebx
push 3
push ebx
push ebx
push dword [ebp - 0x14]
push eax
push dword [ebp - 0x24]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x44c683
cmp dword [ebp + 0x50], 8
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x54], str.text_html_application_xhtmlxml_application_xml_q0.9___q0.8_r_n
mov dword [ebp - 0x50], ebx
jae 0x44c4c6
lea eax, [ebp + 0x3c]
push ebx
push SysReAllocString
lea ecx, [ebp - 0x54]
push ecx
push ebx
push str.HTTP_1.0
push eax
push 0x45c418
push dword [ebp - 0x14]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x44c683
mov ecx, 0x45c2d8
mov eax, ecx
lea esi, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
cmp dx, bx
jne 0x44c4fa
push ebx
sub eax, esi
push ebx
sar eax, 1
push eax
push ecx
push dword [ebp - 0x10]
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x44c683
mov esi, dword [sym.imp.WININET.dll_HttpQueryInfoW]
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x20000013
push dword [ebp - 0x10]
call esi
test eax, eax
je 0x44c683
cmp dword [ebp - 0x1c], 0xc8
je 0x44c5e5
cmp dword [ebp - 0x1c], 0x12c
jbe 0x44c683
cmp dword [ebp - 0x1c], 0x12f
ja 0x44c683
xor eax, eax
mov dword [ebp + 0x88], edi
mov dword [ebp + 0x84], ebx
mov word [ebp + 0x74], ax
push ebx
lea eax, [ebp - 0x20]
push eax
push ebx
push 0x21
push dword [ebp - 0x10]
mov byte [ebp - 4], 0x22
call esi
test eax, eax
je 0x44c5d5
mov ecx, dword [ebp - 0x20]
lea eax, [ebp + 0x70]
call fcn.0040377a
cmp dword [ebp + 0x88], 8
mov eax, dword [ebp + 0x74]
jae 0x44c5a9
lea eax, [ebp + 0x74]
push ebx
lea ecx, [ebp - 0x20]
push ecx
push eax
push 0x21
push dword [ebp - 0x10]
call esi
test eax, eax
je 0x44c5d5
cmp dword [ebp + 0x88], 8
mov eax, dword [ebp + 0x74]
jae 0x44c5c9
lea eax, [ebp + 0x74]
lea ecx, [ebp - 0x4c]
push ecx
push eax
call fcn.00402ec3
pop ecx
pop ecx
push ebx
push 1
lea esi, [ebp + 0x70]
call fcn.0040273f
jmp 0x44c683
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x20000005
push dword [ebp - 0x10]
call esi
test eax, eax
je 0x44c663
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x34], eax
jmp 0x44c663
mov eax, dword [ebp - 0x28]
cmp eax, ebx
je 0x44c683
mov ecx, dword [ebp - 0x44]
add dword [ebp - 0x30], eax
cmp ecx, ebx
mov dword [ebp - 0x18], eax
jl 0x44c65b
cmp eax, ebx
jl 0x44c65b
lea edi, [ecx + eax]
cmp edi, ebx
jle 0x44c65b
cmp edi, dword [ebp - 0x48]
jle 0x44c640
cmp edi, dword [ebp - 0x40]
jle 0x44c63d
mov eax, edi
lea esi, [ebp - 0x4c]
call fcn.00402e30
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x48], edi
push dword [ebp - 0x18]
lea eax, [ebp + 0x8c]
push eax
mov eax, dword [ebp - 0x4c]
add ecx, eax
push ecx
call fcn.0042d210
add esp, 0xc
mov dword [ebp - 0x44], edi
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x34]
jae 0x44c683
lea eax, [ebp - 0x28]
push eax
push 0x400
lea eax, [ebp + 0x8c]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x28], ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x44c607
push dword [ebp - 0x24]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
cmp dword [ebp - 0x14], ebx
je 0x44c698
push dword [ebp - 0x14]
call esi
cmp dword [ebp - 0x10], ebx
je 0x44c6a2
push dword [ebp - 0x10]
call esi
push ebx
push 1
lea esi, [ebp + 0x38]
call fcn.0040273f
push ebx
push 1
lea esi, [ebp + 0x1c]
call fcn.0040273f
xor edi, edi
inc edi
xor eax, eax
lea esi, [ebp - 0x4c]
call fcn.00402e30
push ebx
push edi
lea esi, [ebp]
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
call fcn.0040273f
push ebx
push edi
lea esi, [ebp - 0xfc]
call fcn.0040273f
push ebx
push edi
lea esi, [ebp - 0x118]
call fcn.0040273f
push ebx
push edi
lea esi, [ebp - 0x70]
call fcn.0040273f
push ebx
push edi
lea esi, [ebp - 0xc4]
call fcn.0040273f
push ebx
push edi
lea esi, [ebp - 0x134]
call fcn.0040273f
push ebx
push edi
lea esi, [ebp - 0x8c]
call fcn.0040273f
push ebx
push edi
lea esi, [ebp - 0xa8]
call fcn.0040273f
push ebx
push edi
lea esi, [ebp - 0xe0]
call fcn.0040273f
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x48c]
xor ecx, ebp
call fcn.0042cac7
add ebp, 0x490
leave
ret