Function at 0x407cb0
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 0x467ad8
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x104c
call fcn.00466b40
mov eax, dword [0x47d00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x1058], edi
mov dword [ebp - 0x1054], esi
mov dword [ebp - 0x1034], eax
mov dword [ebp - 0x103c], ecx
mov dword [ebp - 0x102c], 0
mov dword [ebp - 4], 1
mov dword [edi], 0
mov byte [ebp - 4], 3
mov eax, dword [eax]
mov dword [ebp - 0x102c], 1
test eax, eax
je 0x4080f2
cmp dword [eax + 4], 0
je 0x4080f2
mov eax, dword [esi + 0x34]
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
test eax, eax
je 0x407d59
push eax
call ebx
mov dword [esi + 0x34], 0
mov eax, dword [esi + 0x30]
test eax, eax
je 0x407d6a
push eax
call ebx
mov dword [esi + 0x30], 0
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x407d7b
push eax
call ebx
mov dword [esi + 0x2c], 0
push 0
push 0
push 0
push 0
push str.Http_connect
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi + 0x2c], eax
test eax, eax
je 0x40804b
mov dword [ebp - 0x1020], 0
mov dword [ebp - 0x101c], 0
mov ecx, dword [ebp - 0x1034]
lea eax, [ebp - 0x1028]
push eax
lea eax, [ebp - 0x101c]
mov byte [ebp - 4], 5
push eax
lea edx, [ebp - 0x1020]
mov dword [ebp - 0x1028], 0x50
call fcn.00404fd0
mov ebx, dword [ebp - 0x1028]
mov eax, 0x1bb
add esp, 8
cmp bx, ax
jne 0x407df1
mov byte [esi + 0x28], 1
mov eax, dword [ebp - 0x1020]
test eax, eax
jne 0x407e03
lea eax, [ebp - 0x1020]
jmp 0x407e31
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x1020]
inc eax
push eax
call fcn.004019f0
mov eax, dword [ebp - 0x1020]
mov ecx, dword [eax + 4]
cmp byte [ecx + eax + 0x10], 0
je 0x407e2e
mov byte [ecx + eax + 0x10], 0
mov eax, dword [ebp - 0x1020]
add eax, 0x10
push 0
push 0
push 3
push 0
push 0
push ebx
push eax
push dword [esi + 0x2c]
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ecx, eax
mov dword [esi + 0x30], ecx
test ecx, ecx
je 0x408066
cmp byte [esi + 0x28], 0
mov eax, accept
mov ebx, 0x80802000
cmove ebx, eax
mov eax, dword [ebp - 0x101c]
test eax, eax
jne 0x407e76
lea eax, [ebp - 0x101c]
jmp 0x407ea7
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x101c]
inc eax
push eax
call fcn.004019f0
mov eax, dword [ebp - 0x101c]
mov ecx, dword [eax + 4]
cmp byte [ecx + eax + 0x10], 0
je 0x407ea1
mov byte [ecx + eax + 0x10], 0
mov eax, dword [ebp - 0x101c]
mov ecx, dword [esi + 0x30]
add eax, 0x10
cmp dword [ebp - 0x103c], 0
mov edx, str.POST
push 0
push ebx
push 0
push 0
push str.HTTP_1.1
push eax
mov eax, 0x4778f4
cmovne eax, edx
push eax
push ecx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [esi + 0x34], eax
test eax, eax
je 0x408081
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x407ee7
mov ecx, dword [eax + 4]
jmp 0x407ee9
xor ecx, ecx
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x407ef5
mov ebx, dword [eax + 4]
jmp 0x407ef7
xor ebx, ebx
push ecx
lea ecx, [ebp + 0x14]
call fcn.00401430
push eax
push ebx
lea ecx, [ebp + 0x18]
call fcn.00401430
push eax
push dword [esi + 0x34]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x40809c
push 0x1001
lea eax, [ebp - 0x1018]
push 0
push eax
call fcn.0044c9f0
add esp, 0xc
mov dword [ebp - 0x1024], 0x1000
lea eax, [ebp - 0x1024]
push 0
push eax
lea eax, [ebp - 0x1018]
push eax
push 0x15
push dword [esi + 0x34]
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x4080b7
lea eax, [ebp - 0x1018]
push 0x477924
push eax
call fcn.0044c200
add esp, 8
test eax, eax
jne 0x4080d2
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
lea eax, [ebp - 0x1024]
push eax
push 0x1000
lea eax, [ebp - 0x1018]
push eax
push dword [esi + 0x34]
call ebx
test eax, eax
je 0x407fe8
nop dword [eax]
mov eax, dword [ebp - 0x1024]
test eax, eax
je 0x407fe8
cmp eax, 0x1001
jae 0x4080ed
push eax
mov byte [ebp + eax - 0x1018], 0
mov ecx, edi
lea eax, [ebp - 0x1018]
push eax
call fcn.00401a60
lea eax, [ebp - 0x1024]
push eax
push 0x1000
lea eax, [ebp - 0x1018]
push eax
push dword [esi + 0x34]
call ebx
test eax, eax
jne 0x407fa0
lea ecx, [ebp - 0x101c]
call fcn.004013f0
lea ecx, [ebp - 0x1020]
call fcn.004013f0
jmp 0x40801b
lea ecx, [ebp + 0x14]
call fcn.004013f0
lea ecx, [ebp + 0x18]
call fcn.004013f0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00414803
mov esp, ebp
pop ebp
ret 0x14
push 0x47b71c
lea eax, [ebp - 0x1030]
mov dword [ebp - 0x1030], 1
push eax
call fcn.0044c78e
push 0x47b71c
lea eax, [ebp - 0x1038]
mov dword [ebp - 0x1038], 2
push eax
call fcn.0044c78e
push 0x47b71c
lea eax, [ebp - 0x1040]
mov dword [ebp - 0x1040], 1
push eax
call fcn.0044c78e
push 0x47b71c
lea eax, [ebp - 0x1044]
mov dword [ebp - 0x1044], 3
push eax
call fcn.0044c78e
push 0x47b71c
lea eax, [ebp - 0x1048]
mov dword [ebp - 0x1048], 4
push eax
call fcn.0044c78e
push 0x47b71c
lea eax, [ebp - 0x104c]
mov dword [ebp - 0x104c], 5
push eax
call fcn.0044c78e
call fcn.00414eae
push 0x47b71c
lea eax, [ebp - 0x1050]
mov dword [ebp - 0x1050], 0x10
push eax
call fcn.0044c78e
int3