Function at 0x4044c0
Capabilities:
Check http status code
Connect to http server
Get hostname
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf58
mov eax, dword [0x6c22a0]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0xf50], ecx
mov dword [ebp - 0x814], 0
push 1
push 0
push 3
push 0
push 0
push 0
push str.www.alt_invest.ru
mov eax, dword [ebp - 0xf50]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebp - 0x818], eax
cmp dword [ebp - 0x818], 0
jne 0x404524
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x814], eax
jmp 0x404780
push 1
push 0x4400000
push 0
push 0
push 0
push str.activate_check.php
push str.POST
mov edx, dword [ebp - 0x818]
push edx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebp - 0x81c], eax
cmp dword [ebp - 0x81c], 0
jne 0x404568
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x814], eax
jmp 0x404773
mov dword [ebp - 0xc24], 0x100
lea eax, [ebp - 0xc24]
push eax
lea ecx, [ebp - 0x810]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
mov dword [ebp - 0xd40], 0x114
lea edx, [ebp - 0xd40]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0xd30], 2
jne 0x4045b2
mov dword [ebp - 0xf54], str.WinNT
jmp 0x4045bc
mov dword [ebp - 0xf54], 0x6bd670
mov eax, dword [ebp - 0xd34]
push eax
mov ecx, dword [ebp - 0xd38]
push ecx
mov edx, dword [ebp - 0xd3c]
push edx
mov eax, dword [ebp - 0xf54]
push eax
push 0xfde9
lea ecx, [ebp - 0x810]
push ecx
lea ecx, [ebp - 0xdc4]
call fcn.00405880
mov ecx, eax
call fcn.004058e0
push eax
mov ecx, 0x6c2f28
call fcn.00405180
push eax
push 0xfde9
mov ecx, dword [ebp - 0xf50]
add ecx, 0x24
call fcn.004058e0
push eax
lea ecx, [ebp - 0xe48]
call fcn.00405880
mov ecx, eax
call fcn.004058e0
push eax
mov edx, dword [0x6c2f58]
push edx
push str.sn_ldpw_sid_ldhost_s___s__d._d._d_
lea eax, [ebp - 0xc20]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x28
lea ecx, [ebp - 0xe48]
call fcn.004058b0
lea ecx, [ebp - 0xdc4]
call fcn.004058b0
lea ecx, [ebp - 0xc20]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea edx, [ebp - 0xc20]
push edx
push 0xffffffffffffffff
push str.Content_Type:_application_x_www_form_urlencoded
mov eax, dword [ebp - 0x81c]
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x404699
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x814], eax
jmp 0x404766
mov dword [ebp - 0xc24], 4
push 0
lea ecx, [ebp - 0xc24]
push ecx
lea edx, [ebp - 0x814]
push edx
push 0x20000013
mov eax, dword [ebp - 0x81c]
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x4046d5
cmp dword [ebp - 0x814], 0xc8
je 0x4046e4
mov dword [ebp - 0x814], 0x2f78
jmp 0x404766
lea ecx, [ebp - 0xc24]
push ecx
push 0x3ff
lea edx, [ebp - 0xc20]
push edx
mov eax, dword [ebp - 0x81c]
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x404712
mov dword [ebp - 0xc24], 0
mov ecx, dword [ebp - 0xc24]
mov byte [ebp + ecx - 0xc20], 0
push 0x400
push 0xfde9
lea edx, [ebp - 0xc20]
push edx
lea ecx, [ebp - 0xf4c]
call fcn.00405850
mov ecx, eax
call fcn.004058e0
push eax
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea ecx, [ebp - 0xf4c]
call fcn.004058b0
mov dword [ebp - 0x814], 0
mov ecx, dword [ebp - 0x81c]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x818]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 0x814], 0
je 0x4047a2
mov eax, dword [ebp - 0x814]
push eax
mov ecx, dword [ebp - 0xf50]
call fcn.004048a0
xor eax, eax
jmp 0x404889
push 0xa
lea ecx, [ebp - 0x810]
push ecx
call fcn.00401b50
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4047cd
xor edx, edx
mov eax, dword [ebp - 4]
mov word [eax], dx
mov ecx, dword [ebp - 4]
add ecx, 2
mov dword [ebp - 4], ecx
lea edx, [ebp - 0x810]
push edx
call fcn.006b206b
add esp, 4
mov dword [ebp - 0xf58], eax
cmp dword [ebp - 0xf58], 0
je 0x4047ff
cmp dword [ebp - 0xf58], 1
je 0x404832
cmp dword [ebp - 0xf58], 2
je 0x40483b
jmp 0x404844
cmp dword [ebp - 4], 0
jne 0x40480e
mov dword [ebp - 8], 0x28
jmp 0x404830
mov eax, dword [ebp - 4]
push eax
mov ecx, 0x6c2f28
call fcn.004015c0
test eax, eax
jne 0x404829
mov dword [ebp - 8], 0x22
jmp 0x404830
mov eax, 1
jmp 0x404889
jmp 0x40484b
mov dword [ebp - 8], 0x27
jmp 0x40484b
mov dword [ebp - 8], 0x26
jmp 0x40484b
mov dword [ebp - 8], 0x28
push 0
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0xf50]
mov eax, dword [edx + 4]
push eax
mov ecx, 0x6c2f28
call fcn.00401480
mov ecx, dword [ebp - 0xf50]
add ecx, 0x28
call fcn.00405f60
push 0
push 0xffffffffffffffff
push 0
mov ecx, dword [ebp - 0xf50]
add ecx, 0x28
call fcn.00405620
xor eax, eax
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.006b1c84
mov esp, ebp
pop ebp
ret