Function at 0x404440
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 0x42094f
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [section..data]
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 dword [ebp - 0x20], edx
mov edi, ecx
mov esi, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x18]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x28], 0
test esi, esi
je 0x404496
mov dword [esi], 0
test ebx, ebx
je 0x4044a0
mov dword [ebx], 0
push 0
push 0
push 0
push 1
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x4047ce
cmp eax, 0xffffffff
je 0x4047ce
push 0
push 0
push 3
push 0
push 0
push 0x50
push edi
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x404763
cmp eax, 0xffffffff
je 0x404763
push 0
push 0
push 0
push 0
push str.HTTP_1.1
push dword [ebp - 0x20]
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edi, eax
test edi, edi
je 0x4046f3
cmp edi, 0xffffffff
je 0x4046f3
push dword [ebp + 0x14]
push dword [ebp - 0x34]
push 0x5d
push str.Accept:_application_octet_stream_r_nContent_Type:_application_octet_stream_r_nConnection:_close_r_n
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x4045a5
mov esi, dword [0x42de5c]
test esi, esi
jne 0x404569
push 0xc8
call fcn.004094bf
add esp, 4
mov dword [ebp - 0x24], eax
mov ecx, eax
mov dword [ebp - 4], 3
call fcn.00401230
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x42de5c], esi
push str.__14____4__
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x93
push 0x427c8c
push esi
call fcn.00402a00
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
add esp, 0x18
push edi
call esi
push dword [ebp - 0x2c]
call esi
push dword [ebp - 0x30]
call esi
mov eax, dword [ebp - 0x28]
jmp 0x404824
lea eax, [ebp - 0x38]
mov word [ebp - 0x14], 0
push eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0xa
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x38], 0
push eax
push 0x13
xorps xmm0, xmm0
push edi
movq qword [ebp - 0x1c], xmm0
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x40464d
mov esi, dword [0x42de5c]
test esi, esi
jne 0x404611
push 0xc8
call fcn.004094bf
add esp, 4
mov dword [ebp - 0x24], eax
mov ecx, eax
mov dword [ebp - 4], 4
call fcn.00401230
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x42de5c], esi
push str.__15____4__
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x9b
push 0x427c8c
push esi
call fcn.00402a00
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
add esp, 0x18
push edi
call esi
push dword [ebp - 0x2c]
call esi
push dword [ebp - 0x30]
call esi
mov eax, dword [ebp - 0x28]
jmp 0x404824
lea eax, [ebp - 0x1c]
push eax
call fcn.0041088d
add esp, 4
mov dword [ebp - 0x28], eax
test ebx, ebx
je 0x4046cc
test esi, esi
je 0x4046cc
push 0x400
xor esi, esi
call fcn.004104d0
add esp, 4
mov ebx, eax
lea eax, [ebp - 0x20]
push eax
push 0x400
push ebx
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x4046c3
nop word [eax + eax]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4046e7
add esi, eax
lea eax, [esi + 0x400]
push eax
push ebx
call fcn.004105e0
add esp, 8
mov ebx, eax
lea eax, [ebp - 0x20]
push eax
push 0x400
lea eax, [ebx + esi]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x404690
push ebx
call fcn.0040ff30
add esp, 4
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
push dword [ebp - 0x2c]
call esi
push dword [ebp - 0x30]
call esi
mov eax, dword [ebp - 0x28]
jmp 0x404824
mov eax, dword [ebp - 0x40]
mov dword [eax], esi
mov eax, dword [ebp - 0x24]
mov dword [eax], ebx
jmp 0x4046cc
mov esi, dword [0x42de5c]
test esi, esi
jne 0x40472a
push 0xc8
call fcn.004094bf
add esp, 4
mov dword [ebp - 0x24], eax
mov ecx, eax
mov dword [ebp - 4], 2
call fcn.00401230
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x42de5c], esi
push str.__13____4__
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x8e
push 0x427c8c
push esi
call fcn.00402a00
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
add esp, 0x18
push dword [ebp - 0x2c]
call esi
push dword [ebp - 0x30]
call esi
mov eax, dword [ebp - 0x28]
jmp 0x404824
mov esi, dword [0x42de5c]
test esi, esi
jne 0x40479a
push 0xc8
call fcn.004094bf
add esp, 4
mov dword [ebp - 0x2c], eax
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.00401230
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x42de5c], esi
push 0x50
push edi
push str.__12____10__http:___s:_d__4__
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x88
push 0x427c8c
push esi
call fcn.00402a00
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
add esp, 0x20
push dword [ebp - 0x30]
call esi
mov eax, dword [ebp - 0x28]
jmp 0x404824
mov esi, dword [0x42de5c]
test esi, esi
jne 0x404801
push 0xc8
call fcn.004094bf
add esp, 4
mov dword [ebp - 0x30], eax
mov ecx, eax
mov dword [ebp - 4], esi
call fcn.00401230
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x42de5c], esi
push str.__11____4__
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x82
push 0x427c8c
push esi
call fcn.00402a00
add esp, 0x18
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.004094b1
mov esp, ebp
pop ebp
ret