Function at 0x4779c0
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 0x568fe9
mov eax, dword fs:[0]
push eax
mov eax, 0x447c
call fcn.00528110
mov eax, dword [0x5c5ebc]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x4038], eax
push 0
push 0
push 3
push 0
push 0
push 0x50
push 0x582244
mov eax, dword [ebp - 0x4038]
push eax
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebp - 0x14], eax
xor ecx, ecx
mov word [ebp - 0x302c], cx
push 0x2000
push 0
lea edx, [ebp - 0x302a]
push edx
call fcn.005281f0
add esp, 0xc
mov byte [ebp - 0x1024], 0
push 0x1000
push 0
lea eax, [ebp - 0x1023]
push eax
call fcn.005281f0
add esp, 0xc
mov byte [ebp - 0x4034], 0
push 0x1000
push 0
lea ecx, [ebp - 0x4033]
push ecx
call fcn.005281f0
add esp, 0xc
push 0x58226c
lea edx, [ebp - 0x4444]
push edx
call fcn.00499e90
add esp, 8
mov dword [ebp - 0x4460], eax
mov eax, dword [ebp - 0x4460]
mov dword [ebp - 0x4464], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x4464]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x4448]
push ecx
call fcn.00499e90
add esp, 8
mov dword [ebp - 0x4468], eax
mov edx, dword [ebp - 0x4468]
mov dword [ebp - 0x446c], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x446c]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x444c]
push eax
call fcn.00499e90
add esp, 8
mov dword [ebp - 0x4470], eax
mov ecx, dword [ebp - 0x4470]
mov edx, dword [ecx]
push edx
push str.cc__s__s__s
lea eax, [ebp - 0x1024]
push eax
call fcn.0052a9d1
add esp, 0x14
lea ecx, [ebp - 0x444c]
call fcn.00412130
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4448]
call fcn.00412130
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4444]
call fcn.00412130
mov dword [ebp - 0x18], 0x1001
push 2
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x4034]
push edx
lea eax, [ebp - 0x1024]
push eax
call fcn.00529140
add esp, 4
push eax
lea ecx, [ebp - 0x1024]
push ecx
call fcn.0046b740
add esp, 0x14
lea edx, [ebp - 0x4450]
push edx
call fcn.0043b890
add esp, 4
mov dword [ebp - 0x4474], eax
mov eax, dword [ebp - 0x4474]
mov dword [ebp - 0x4478], eax
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x4478]
call fcn.00415f60
push eax
lea ecx, [ebp - 0x4454]
push ecx
call fcn.004cb660
add esp, 8
mov dword [ebp - 0x447c], eax
mov edx, dword [ebp - 0x447c]
mov dword [ebp - 0x4480], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x4480]
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x4034]
push edx
lea eax, [ebp - 0x4458]
push eax
call fcn.00499f80
add esp, 8
mov dword [ebp - 0x4484], eax
mov ecx, dword [ebp - 0x4484]
mov edx, dword [ecx]
push edx
push str._reg_index.php_id_sdate_s
lea eax, [ebp - 0x302c]
push eax
call fcn.00527b98
add esp, 0x10
lea ecx, [ebp - 0x4458]
call fcn.00415e20
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4454]
call fcn.00415e20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4450]
call fcn.00415e20
push 0
push 0x28f500
push 0
push 0
push 0
lea ecx, [ebp - 0x302c]
push ecx
push 0x5822bc
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x477daf
mov byte [ebp - 0x443c], 0
push 0x3ff
push 0
lea ecx, [ebp - 0x443b]
push ecx
call fcn.005281f0
add esp, 0xc
mov dword [ebp - 0x403c], 0
lea edx, [ebp - 0x403c]
push edx
push 0x400
lea eax, [ebp - 0x443c]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x477daf
lea edx, [ebp - 0x443c]
push edx
lea eax, [ebp - 0x4034]
push eax
call fcn.0052a310
add esp, 8
lea ecx, [ebp - 0x4034]
push ecx
call fcn.00529140
add esp, 4
mov byte [ebp + eax - 0x4036], 0
mov byte [ebp - 0x1024], 0
mov dword [ebp - 0x4440], 0x1001
lea edx, [ebp - 0x4440]
push edx
lea eax, [ebp - 0x1024]
push eax
lea ecx, [ebp - 0x4034]
push ecx
call fcn.00529140
add esp, 4
push eax
lea edx, [ebp - 0x4034]
push edx
call fcn.0046bb40
add esp, 0x10
mov eax, dword [ebp - 0x4440]
mov byte [ebp + eax - 0x1024], 0
lea ecx, [ebp - 0x1024]
push ecx
lea edx, [ebp - 0x445c]
push edx
call fcn.00499f50
add esp, 8
mov dword [ebp - 0x4488], eax
mov ecx, dword [ebp - 0x4488]
call fcn.00415f60
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.005282c4
add esp, 8
lea ecx, [ebp - 0x445c]
call fcn.00415e20
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x4038]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, 1
jmp 0x477dd2
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x4038]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00527aad
mov esp, ebp
pop ebp
ret