Function at 0x40af8c
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
sub esp, 0x74
lea ebp, [esp - 4]
mov eax, dword [0x479f14]
xor eax, ebp
mov dword [ebp + 0x74], eax
push 0x1c
mov eax, 0x45c1f7
call fcn.0043acbe
mov esi, ecx
xor ebx, ebx
push ebx
lea ecx, [ebp + 0x3c]
mov dword [ebp], esi
mov dword [ebp + 0x54], 0xf
call fcn.0040755c
mov dword [ebp - 4], ebx
push str.Content_Type:_application_x_www_form_urlencoded
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 1
call fcn.004062be
push ebx
push ebx
push ebx
push ebx
push str.Post_Multipart
mov byte [ebp - 4], 2
call dword [sym.imp.WININET.dll_InternetOpenW]
cmp eax, ebx
jne 0x40affd
mov dword [ebp - 0x18], ebx
push 0x470c8c
lea eax, [ebp - 0x18]
push eax
call fcn.0043a095
push ebx
push ebx
push 3
push ebx
push ebx
push ebx
push str.rules.wd.360.cn
push eax
call dword [sym.imp.WININET.dll_InternetConnectW]
cmp eax, ebx
jne 0x40b021
mov dword [ebp + 4], ebx
push 0x470c8c
lea eax, [ebp + 4]
jmp 0x40aff7
push ebx
push 0x84080000
push ebx
push ebx
push str.HTTP_1.1
push str.control.php_actget_scores
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebp + 0x1c], eax
cmp eax, ebx
jne 0x40b053
mov dword [ebp - 0x14], ebx
push 0x470c8c
lea eax, [ebp - 0x14]
jmp 0x40aff7
push 0x46108c
lea ecx, [ebp + 0x58]
call fcn.0040ad9f
mov eax, dword [esi + 0x10]
add esi, 4
push esi
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 3
call fcn.0041fb50
mov eax, dword [esi + 0x10]
push esi
push eax
lea ecx, [ebp - 0x20]
call fcn.0041fb50
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp + 0xc]
call fcn.0041eb57
test al, al
jne 0x40b0c7
lea ecx, [ebp + 0xc]
call fcn.0042611c
cmp dword [eax + 0x18], 8
jb 0x40b0a4
mov eax, dword [eax + 4]
jmp 0x40b0a7
add eax, 4
push eax
lea ecx, [ebp + 0x58]
call fcn.0040ac92
push 0x461088
lea ecx, [ebp + 0x58]
call fcn.0040ac92
lea ecx, [ebp + 0xc]
call fcn.00409c33
jmp 0x40b074
push 1
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp + 0x58]
call fcn.0040a3fc
mov ecx, eax
call fcn.0040a422
push dword [eax + 4]
lea ecx, [ebp + 0x58]
push dword [eax]
lea eax, [ebp - 0x28]
push eax
call fcn.0040a7e5
push 0x461084
lea ecx, [ebp + 0x58]
call fcn.0040ac92
cmp dword [ebp + 0x70], 8
mov edi, dword [ebp + 0x5c]
jae 0x40b10a
lea edi, [ebp + 0x5c]
cmp edi, ebx
je 0x40b11d
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x40b121
xor eax, eax
jmp 0x40b13a
lea esi, [eax + eax]
mov eax, esi
call fcn.0043bc40
mov dword [ebp - 0x10], esp
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.004099a6
push eax
lea ecx, [ebp + 0x20]
call fcn.00408583
cmp dword [ebp + 0x38], 0x10
mov edx, dword [ebp + 0x24]
mov byte [ebp - 4], 4
jae 0x40b153
lea edx, [ebp + 0x24]
push dword [ebp + 0x34]
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax - 0xc]
push edx
push ecx
push eax
push dword [ebp + 0x1c]
call dword [sym.imp.WININET.dll_HttpSendRequestW]
push 0x1000
call fcn.004339c0
mov esi, eax
pop ecx
cmp esi, ebx
jne 0x40b189
mov dword [ebp + 8], ebx
push 0x470c8c
lea eax, [ebp + 8]
jmp 0x40aff7
mov dword [ebp + 0x14], ebx
lea eax, [ebp + 0x14]
push eax
push 0xffa
push esi
push dword [ebp + 0x1c]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x40b1b8
mov eax, dword [ebp + 0x14]
cmp eax, ebx
je 0x40b1b8
push esi
lea ecx, [ebp + 0x3c]
mov byte [eax + esi], bl
call fcn.0040a83a
jmp 0x40b18c
push ebx
push 1
lea ecx, [ebp + 0x20]
call fcn.0040781c
push ebx
push 1
lea ecx, [ebp + 0x58]
call fcn.0040a08f
mov ecx, dword [ebp + 0x18]
add ecx, 0xfffffff0
call fcn.004014f1
cmp dword [ebp + 0x54], 0x10
mov eax, dword [ebp + 0x40]
jae 0x40b1e5
lea eax, [ebp + 0x40]
mov ecx, dword [ebp]
push eax
call fcn.0040aa96
push ebx
push 1
lea ecx, [ebp + 0x3c]
mov esi, eax
call fcn.0040781c
mov eax, esi
jmp 0x40b213
lea esp, [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x74]
xor ecx, ebp
call fcn.0043a7c3
add ebp, 0x78
leave
ret