Function at 0x42be90
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47054c
mov eax, dword fs:[0]
push eax
mov eax, 0x24b0
call fcn.004493a0
mov eax, dword [0x49d3d4]
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 - 0x24b0], ecx
mov edi, dword [ebp + 8]
cmp dword [edi + 4], 0
je 0x42c13b
call fcn.00406f56
push eax
lea ecx, [ebp - 0x24b4]
call fcn.0040da7d
and dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push str.counterNamesCsv
call fcn.00403984
mov eax, dword [edi]
xor bl, bl
mov byte [ebp - 4], 1
mov esi, dword [eax]
mov dword [ebp - 0x24bc], esi
cmp esi, eax
je 0x42bf6f
test bl, bl
je 0x42bf28
push 0x47d9dc
call fcn.0040afc3
pop ecx
push eax
push 0x47d9dc
lea ecx, [ebp - 0x28]
call fcn.00408f00
add esi, 0x10
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.0040eb50
pop ecx
pop ecx
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00408e61
push 0
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00408c45
lea ecx, [ebp - 0x24bc]
mov bl, 1
call fcn.0041b60a
mov esi, dword [ebp - 0x24bc]
cmp esi, dword [edi]
jne 0x42bf0b
mov ecx, edi
call fcn.0042bb1f
lea ecx, [ebp - 0x24ac]
call fcn.0042b27e
push 2
lea ecx, [ebp - 0x24ac]
call fcn.0042b8b0
push dword [ebp - 0x24b0]
lea eax, [ebp - 0x40]
push eax
call fcn.0040eabd
pop ecx
pop ecx
cmp dword [eax + 0x14], 8
jb 0x42bfa7
mov eax, dword [eax]
xor ebx, ebx
lea ecx, [ebp - 0x24ac]
push ebx
push eax
call fcn.0042b18d
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.00408c9a
mov esi, dword [ebp - 0x5c]
push ebx
push ebx
push ebx
push ebx
push 0x47d9e0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x24b0], eax
test eax, eax
je 0x42c0ff
push ebx
push ebx
push 3
lea ecx, [ebp - 0x2166]
push ecx
lea ecx, [ebp - 0x2268]
push ecx
push dword [ebp - 0x60]
lea ecx, [ebp - 0x246a]
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetConnectW]
mov ebx, eax
test ebx, ebx
je 0x42c0eb
lea eax, [ebp - 0x2064]
push eax
call fcn.0040e167
pop ecx
push eax
lea eax, [ebp - 0x2064]
push eax
lea ecx, [ebp - 0x24b4]
call fcn.0040e0ee
lea eax, [ebp - 0x1062]
push eax
call fcn.0040e167
pop ecx
push eax
lea eax, [ebp - 0x1062]
push eax
lea ecx, [ebp - 0x24b4]
call fcn.0040dc2c
push 0
xor eax, eax
mov ecx, 0x800000
cmp esi, 3
cmove eax, ecx
push eax
push 0
push 0x473ad4
push str.HTTP_1.0
push dword [ebp - 0x24b4]
push 0x47da14
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov edi, eax
test edi, edi
je 0x42c0f1
push 0x20000000
push 0xffffffffffffffff
push str.Content_Type:_application_x_www_form_urlencoded
push edi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionW]
lea eax, [ebp - 0x24b8]
push 4
push eax
push 2
push edi
mov dword [ebp - 0x24b8], 0x1388
call esi
push 4
lea eax, [ebp - 0x24b8]
push eax
push 6
push edi
call esi
push 4
lea eax, [ebp - 0x24b8]
push eax
push 5
push edi
call esi
push dword [ebp - 0x18]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0
push 0
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
jmp 0x42c0f1
mov edi, dword [ebp - 0x24b0]
push dword [ebp - 0x24b0]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x42c10b
mov ebx, dword [ebp - 0x24b0]
mov edi, dword [ebp - 0x24b0]
test ebx, ebx
je 0x42c116
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
test edi, edi
je 0x42c121
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00408c45
mov ecx, dword [ebp - 0x24b4]
lea ecx, [ecx - 0x10]
call fcn.0040e07f
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.00449233
mov esp, ebp
pop ebp
ret 4