Function at 0x4128b0
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
push 0xffffffffffffffff
push 0x66ae3d
mov eax, dword fs:[0]
push eax
mov eax, 0x103c
call fcn.00602c80
mov eax, dword [0x71cf78]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1044], eax
mov eax, dword [ebp + 0x10]
push 0x1000
mov dword [ebp - 0x1040], eax
lea eax, [ebp - 0x1010]
push 0
push eax
mov dword [ebp - 0x101c], esi
call fcn.00605ec0
add esp, 0xc
call fcn.00423a7b
mov ecx, eax
test ecx, ecx
je 0x412fb6
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1020], eax
push 0x68ffbf
lea ecx, [ebp - 0x1020]
mov dword [ebp - 4], 0
call fcn.00402ad0
test al, al
jne 0x41295d
push 0
push 0x68ffbf
lea ecx, [ebp - 0x1020]
call fcn.00408790
mov dword [ebp - 4], 1
mov dword [ebp - 0x103c], 0xc350
call fcn.00423a7b
mov ecx, eax
test ecx, ecx
je 0x412fc0
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ebx, eax
lea eax, [ebx + 0x10]
mov dword [ebp - 0x1048], eax
mov byte [ebp - 4], 2
call fcn.00423a7b
mov ecx, eax
test ecx, ecx
je 0x412fca
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x102c], eax
mov byte [ebp - 4], 3
test esi, esi
jne 0x4129ba
xor ecx, ecx
jmp 0x4129c9
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4129c0
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x102c]
call fcn.00408790
mov edi, dword [ebp - 0x102c]
mov esi, dword [edi - 0xc]
test esi, esi
js 0x412fac
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, esi
or eax, ecx
jge 0x412a0a
push esi
lea ecx, [ebp - 0x102c]
call fcn.00403540
mov edi, dword [ebp - 0x102c]
lea eax, [esi + 1]
push eax
push edi
call fcn.0062f962
push eax
call fcn.0040b820
add esp, 0xc
cmp esi, dword [edi - 8]
jg 0x412fac
mov eax, dword [ebp - 0x1044]
mov dword [edi - 0xc], esi
mov byte [esi + edi], 0
mov dword [eax], 0
call fcn.00423a7b
mov ecx, eax
test ecx, ecx
je 0x412fd4
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x1014], esi
mov byte [ebp - 4], 4
call fcn.00423a7b
mov ecx, eax
test ecx, ecx
je 0x412fde
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1028], eax
cmp dword [edi - 0xc], 0
mov byte [ebp - 4], 5
jl 0x412c82
push str.HTTP:__
push edi
call fcn.0062f811
add esp, 8
test eax, eax
je 0x412c2a
sub eax, edi
cmp eax, 0xffffffff
jle 0x412c2a
lea eax, [ebp - 0x1028]
push eax
lea eax, [ebp - 0x1014]
push eax
push dword [ebp - 0x101c]
call fcn.0040c800
mov esi, dword [ebp - 0x1014]
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x1024], eax
cmp dword [esi - 0xc], eax
jl 0x412c1e
push 0x690bcc
push esi
call fcn.0062f811
add esp, 8
test eax, eax
je 0x412c1e
sub eax, esi
cmp eax, 0xffffffff
jle 0x412c1e
cmp dword [esi - 4], 1
jle 0x412b14
push dword [esi - 0xc]
lea ecx, [ebp - 0x1014]
call fcn.00402c10
mov esi, dword [ebp - 0x1014]
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x412b20
sub ecx, edx
cmp dword [esi - 0xc], 0
mov dword [ebp - 0x101c], ecx
jge 0x412b3a
or edx, 0xffffffff
jmp 0x412b5c
push 0x690bcc
push esi
call fcn.0062f811
mov ecx, dword [ebp - 0x101c]
mov edx, eax
sub edx, esi
add esp, 8
test eax, eax
mov eax, 0xffffffff
cmove edx, eax
push ecx
lea eax, [edx + 1]
push eax
lea eax, [ebp - 0x101c]
push eax
lea ecx, [ebp - 0x1014]
call fcn.0040de20
cmp dword [esi - 0xc], 0
mov byte [ebp - 4], 6
jge 0x412b82
or ecx, 0xffffffff
jmp 0x412b9e
push 0x690bcc
push esi
call fcn.0062f811
mov ecx, eax
add esp, 8
sub ecx, esi
test eax, eax
mov eax, 0xffffffff
cmove ecx, eax
push ecx
push 0
lea eax, [ebp - 0x1034]
push eax
lea ecx, [ebp - 0x1014]
call fcn.0040de20
push eax
lea ecx, [ebp - 0x1014]
mov byte [ebp - 4], 7
call fcn.0040a060
mov edx, dword [ebp - 0x1034]
or eax, 0xffffffff
mov byte [ebp - 4], 6
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x412be5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x101c]
push esi
call fcn.0062e5d6
add esp, 4
mov dword [ebp - 0x1018], eax
mov byte [ebp - 4], 5
add esi, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [esi + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x412c16
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x1014]
jmp 0x412c9a
mov dword [ebp - 0x1018], 0x50
jmp 0x412c9a
cmp dword [edi - 0xc], 0
jl 0x412c82
push str.HTTPS:__
push edi
call fcn.0062f811
add esp, 8
test eax, eax
je 0x412c82
sub eax, edi
cmp eax, 0xffffffff
jle 0x412c82
lea eax, [ebp - 0x1028]
push eax
lea eax, [ebp - 0x1014]
push eax
push dword [ebp - 0x101c]
call fcn.0040c800
mov esi, dword [ebp - 0x1014]
mov eax, 0x801000
add esp, 0xc
mov dword [ebp - 0x1024], eax
mov dword [ebp - 0x1018], 0x1bb
jmp 0x412c9a
mov eax, dword [ebp - 0x1034]
mov dword [ebp - 0x1024], eax
mov eax, dword [ebp - 0x1034]
mov dword [ebp - 0x1018], eax
push 0
push 0x68ffbf
lea ecx, [ebp - 0x1020]
call fcn.0040b8b0
push 0
push 0
push 0
push 0
push str.Mozilla_4.0__compatible__MSIE_5.5_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x1030], eax
test eax, eax
je 0x412d8f
push 4
lea ecx, [ebp - 0x103c]
push ecx
push 2
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionA]
push 0
push 0
push 3
push 0x690c00
push 0x690c00
push dword [ebp - 0x1018]
push esi
push dword [ebp - 0x1030]
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp - 0x1018], eax
test eax, eax
je 0x412d83
push 4
lea ecx, [ebp - 0x103c]
push ecx
push 6
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionA]
push 4
lea eax, [ebp - 0x103c]
push eax
push 5
push dword [ebp - 0x1018]
call dword [sym.imp.WININET.dll_InternetSetOptionA]
mov eax, dword [ebp - 0x1024]
push 1
or eax, 0x80680000
push eax
mov eax, dword [ebp - 0x1028]
push 0
push 0x68ffbf
push str.HTTP_1.0
push eax
push 0x690c10
push dword [ebp - 0x1018]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov ecx, eax
mov dword [ebp - 0x101c], ecx
test ecx, ecx
jne 0x412e42
push dword [ebp - 0x1018]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x1030]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x1028]
or eax, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 4
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x412db1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [esi - 0x10]
mov byte [ebp - 4], 3
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x412dcf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
mov byte [ebp - 4], 2
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x412dea
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
mov byte [ebp - 4], 1
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x412e02
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1020]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x412e24
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006026e7
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x1020]
push 0
push 0x68ffbf
push dword [eax - 0xc]
push eax
push ecx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x412e75
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x101c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x412d77
lea eax, [ebp - 0x1038]
mov dword [ebp - 0x1024], 0
push eax
push 0xfff
lea eax, [ebp - 0x1010]
push eax
push dword [ebp - 0x101c]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x412e64
mov eax, dword [ebp - 0x1038]
test eax, eax
je 0x412f4d
cmp eax, 0x1000
jae 0x412fe8
mov byte [ebp + eax - 0x1010], 0
add eax, dword [ebp - 0x1024]
push eax
mov eax, dword [ebp - 0x1040]
push dword [eax]
call fcn.0063c8fd
mov ecx, dword [ebp - 0x1040]
push dword [ebp - 0x1038]
mov dword [ecx], eax
lea ecx, [ebp - 0x1010]
add eax, dword [ebp - 0x1024]
push ecx
push eax
call fcn.006053c0
mov ecx, dword [ebp - 0x1044]
add esp, 0x14
mov eax, dword [ebp - 0x1024]
add eax, dword [ebp - 0x1038]
mov dword [ebp - 0x1024], eax
mov dword [ecx], eax
lea eax, [ebp - 0x1038]
push eax
push 0xfff
lea eax, [ebp - 0x1010]
push eax
push dword [ebp - 0x101c]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x412ea2
push dword [ebp - 0x101c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x412d77
push dword [ebp - 0x101c]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x1018]
call esi
push dword [ebp - 0x1030]
call esi
lea ecx, [ebp - 0x1028]
call fcn.00401fd0
lea ecx, [ebp - 0x1014]
call fcn.00401fd0
lea ecx, [ebp - 0x102c]
call fcn.00401fd0
lea ecx, [ebp - 0x1048]
call fcn.00401fd0
lea ecx, [ebp - 0x1020]
call fcn.00401fd0
mov eax, 1
jmp 0x412e26
push 0x80070057
call fcn.004020e0
push 0x80004005
call fcn.004020e0
push 0x80004005
call fcn.004020e0
push 0x80004005
call fcn.004020e0
push 0x80004005
call fcn.004020e0
push 0x80004005
call fcn.004020e0
call fcn.00602dcd
int3