Function at 0x41bfe0
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
Resolve function by parsing pe exports
Send data
Send http request

Disassembly:
push 0xffffffffffffffff
push 0x4d6883
mov eax, dword fs:[0]
push eax
sub esp, 0x4c0
mov eax, dword [0x536f50]
xor eax, esp
mov dword [esp + 0x4bc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x536f50]
xor eax, esp
push eax
lea eax, [esp + 0x4d4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4e8]
mov esi, dword [esp + 0x4e4]
xor ebx, ebx
push 0x3ff
lea ecx, [esp + 0xd5]
push ebx
push ecx
mov dword [esp + 0x3c], eax
mov byte [esp + 0x23], bl
mov dword [esp + 0x24], ebx
mov byte [esp + 0xdc], bl
call fcn.0047a920
mov edi, 7
xor edx, edx
add esp, 0xc
mov dword [esp + 0x24], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], 4
mov dword [esp + 0x28], 0x3a98
mov dword [esp + 0xcc], edi
mov dword [esp + 0xc8], ebx
mov word [esp + 0xb8], dx
xor eax, eax
mov dword [esp + 0x4dc], ebx
mov dword [esp + 0x94], edi
mov dword [esp + 0x90], ebx
mov word [esp + 0x80], ax
mov eax, esi
mov byte [esp + 0x4dc], 1
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41c0c1
sub eax, edx
sar eax, 1
je 0x41c17a
xor ecx, ecx
mov eax, esi
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], cx
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41c0f0
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x68]
call fcn.00402500
mov byte [esp + 0x4dc], 2
cmp dword [esp + 0x74], edi
ja 0x41c181
mov esi, 8
cmp dword [esp + 0x78], esi
jb 0x41c130
mov edx, dword [esp + 0x64]
push edx
call fcn.004798f2
add esp, 4
cmp dword [esp + 0x94], esi
jb 0x41c149
mov ecx, dword [esp + 0x80]
push ecx
call fcn.004798f2
add esp, 4
xor edx, edx
mov dword [esp + 0x94], edi
mov dword [esp + 0x90], ebx
mov word [esp + 0x80], dx
cmp dword [esp + 0xcc], esi
jb 0x41c17a
mov eax, dword [esp + 0xb8]
push eax
call fcn.004798f2
add esp, 4
xor al, al
jmp 0x41c6d1
push 0xffffffffffffffff
push edi
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x6c]
mov dword [esp + 0x28], 0x50
call fcn.00410880
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x4e8], 3
call fcn.00401da0
mov ebp, 8
mov byte [esp + 0x4dc], 2
cmp dword [esp + 0xb0], ebp
jb 0x41c1d8
mov ecx, dword [esp + 0x9c]
push ecx
call fcn.004798f2
add esp, 4
mov ecx, dword [esp + 0x74]
xor esi, esi
cmp ecx, ebx
jbe 0x41c2ce
cmp esi, ecx
jbe 0x41c1f3
call fcn.0047b9cb
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x64]
cmp dword [esp + 0x78], ebp
jae 0x41c201
lea eax, [esp + 0x64]
cmp word [eax + esi*2], 0x3a
je 0x41c234
cmp esi, ecx
jbe 0x41c215
call fcn.0047b9cb
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x64]
cmp dword [esp + 0x78], ebp
jae 0x41c223
lea eax, [esp + 0x64]
cmp word [eax + esi*2], 0x2f
je 0x41c234
inc esi
cmp esi, ecx
jb 0x41c1f3
jmp 0x41c2ce
push esi
push ebx
lea edx, [esp + 0xa0]
push edx
lea ecx, [esp + 0x6c]
call fcn.00410880
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xc0]
mov byte [esp + 0x4e8], 4
call fcn.00401da0
mov byte [esp + 0x4dc], 2
cmp dword [esp + 0xb0], ebp
jb 0x41c280
mov eax, dword [esp + 0x9c]
push eax
call fcn.004798f2
add esp, 4
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0xa0]
push ecx
lea ecx, [esp + 0x6c]
call fcn.00410880
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x4e8], 5
call fcn.00401da0
mov byte [esp + 0x4dc], 2
cmp dword [esp + 0xb0], ebp
jb 0x41c2ca
mov edx, dword [esp + 0x9c]
push edx
call fcn.004798f2
add esp, 4
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x64]
cmp dword [esp + 0x78], ebp
jae 0x41c2dc
lea eax, [esp + 0x64]
cmp word [eax], 0x3a
jne 0x41c3bc
mov esi, 1
cmp ecx, esi
jbe 0x41c3bc
cmp esi, ecx
jbe 0x41c300
call fcn.0047b9cb
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x64]
cmp dword [esp + 0x78], ebp
jae 0x41c30e
lea eax, [esp + 0x64]
cmp word [eax + esi*2], 0x2f
je 0x41c31f
inc esi
cmp esi, ecx
jb 0x41c300
jmp 0x41c3bc
push esi
push 1
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x6c]
call fcn.00410880
mov eax, dword [esp + 0x9c]
mov byte [esp + 0x4dc], 6
cmp dword [esp + 0xb0], ebp
jae 0x41c352
lea eax, [esp + 0x9c]
push eax
call fcn.0047be2e
add esp, 4
movzx ecx, ax
push 0xffffffffffffffff
push esi
lea edx, [esp + 0x4c]
mov dword [esp + 0x24], ecx
push edx
lea ecx, [esp + 0x6c]
call fcn.00410880
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x4e8], 7
call fcn.00401da0
cmp dword [esp + 0x5c], ebp
jb 0x41c39b
mov eax, dword [esp + 0x48]
push eax
call fcn.004798f2
add esp, 4
mov byte [esp + 0x4dc], 2
cmp dword [esp + 0xb0], ebp
jb 0x41c3bc
mov ecx, dword [esp + 0x9c]
push ecx
call fcn.004798f2
add esp, 4
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x68]
push edx
lea ecx, [esp + 0x88]
call fcn.00401da0
mov byte [esp + 0x4dc], 1
cmp dword [esp + 0x78], ebp
jb 0x41c3eb
mov eax, dword [esp + 0x64]
push eax
call fcn.004798f2
add esp, 4
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]
push 4
lea ecx, [esp + 0x2c]
push ecx
mov edi, eax
push 2
push edi
call esi
push 4
lea edx, [esp + 0x2c]
push edx
push ebp
push edi
call esi
push 4
lea eax, [esp + 0x2c]
push eax
push 7
push edi
call esi
cmp edi, ebx
je 0x41c67a
cmp dword [esp + 0xcc], 8
mov eax, dword [esp + 0xb8]
jae 0x41c445
lea eax, [esp + 0xb8]
mov ecx, dword [esp + 0x1c]
push ebx
push ebx
push 3
push ebx
push ebx
push ecx
push eax
push edi
call dword [sym.imp.WININET.dll_InternetConnectW]
mov ebp, eax
cmp ebp, ebx
je 0x41c65f
cmp dword [esp + 0x94], 8
mov eax, dword [esp + 0x80]
mov dword [esp + 0x3c], str.text_html_application_xhtmlxml_application_xml_q0.9___q0.8_r_n
mov dword [esp + 0x40], ebx
jae 0x41c486
lea eax, [esp + 0x80]
push ebx
push SysReAllocString
lea edx, [esp + 0x44]
push edx
push ebx
push str.HTTP_1.0
push eax
push 0x4dee10
push ebp
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov esi, eax
mov dword [esp + 0x18], esi
cmp esi, ebx
je 0x41c65f
mov eax, 0x4dee04
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41c4c0
push ebx
sub eax, edx
push ebx
sar eax, 1
push eax
push 0x4dee04
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x41c65f
mov esi, dword [sym.imp.WININET.dll_HttpQueryInfoW]
lea eax, [esp + 0x34]
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x2c]
push edx
push 0x20000013
push eax
call esi
test eax, eax
je 0x41c65f
mov eax, dword [esp + 0x24]
cmp eax, 0xc8
je 0x41c5c3
cmp eax, 0x12c
jbe 0x41c65f
cmp eax, 0x12f
ja 0x41c65f
xor ecx, ecx
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], cx
mov eax, dword [esp + 0x18]
push ebx
lea edx, [esp + 0x24]
push edx
push ebx
push 0x21
push eax
mov byte [esp + 0x4f0], 8
call esi
test eax, eax
je 0x41c5b5
mov ecx, dword [esp + 0x20]
push ecx
lea ecx, [esp + 0x64]
call fcn.00401800
cmp dword [esp + 0x78], 8
mov eax, dword [esp + 0x64]
jae 0x41c580
lea eax, [esp + 0x64]
push ebx
lea edx, [esp + 0x24]
push edx
push eax
mov eax, dword [esp + 0x24]
push 0x21
push eax
call esi
test eax, eax
je 0x41c5b5
cmp dword [esp + 0x78], 8
mov eax, dword [esp + 0x64]
jae 0x41c5a3
lea eax, [esp + 0x64]
mov ecx, dword [esp + 0x30]
push ecx
push eax
call fcn.0041bfe0
add esp, 8
mov byte [esp + 0x17], al
lea ecx, [esp + 0x60]
call fcn.00401780
jmp 0x41c65f
lea edx, [esp + 0x34]
push edx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x2c]
push ecx
push 0x20000005
push edx
call esi
test eax, eax
je 0x41c5ea
mov eax, dword [esp + 0x24]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x18]
mov esi, dword [sym.imp.WININET.dll_InternetReadFile]
lea ecx, [esp + 0x1c]
push ecx
push 0x400
lea edx, [esp + 0xd8]
push edx
push eax
mov dword [esp + 0x2c], ebx
call esi
test eax, eax
je 0x41c65a
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x41c65a
add dword [esp + 0x2c], eax
push eax
lea ecx, [esp + 0xd4]
push ecx
mov ecx, dword [esp + 0x38]
call fcn.0041b150
mov edx, dword [esp + 0x38]
cmp dword [esp + 0x2c], edx
jae 0x41c65a
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
push 0x400
lea ecx, [esp + 0xd8]
push ecx
push edx
mov dword [esp + 0x2c], ebx
call esi
test eax, eax
jne 0x41c611
mov byte [esp + 0x17], 1
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
cmp ebp, ebx
je 0x41c66f
push ebp
call esi
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x41c67a
push eax
call esi
mov esi, 8
cmp dword [esp + 0x94], esi
jb 0x41c698
mov eax, dword [esp + 0x80]
push eax
call fcn.004798f2
add esp, 4
xor ecx, ecx
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], ebx
mov word [esp + 0x80], cx
cmp dword [esp + 0xcc], esi
jb 0x41c6cd
mov edx, dword [esp + 0xb8]
push edx
call fcn.004798f2
add esp, 4
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x4d4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4bc]
xor ecx, esp
call fcn.0047a885
add esp, 0x4cc
ret