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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x470204
mov eax, dword fs:[0]
push eax
mov eax, 0x24b0
call fcn.004491a0
mov eax, dword [0x49e5f4]
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 0x42c257
call fcn.004073d3
push eax
lea ecx, [ebp - 0x24b4]
call fcn.0040de0c
and dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push str.counterNamesCsv
call fcn.00403e21
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 0x42c08b
test bl, bl
je 0x42c044
push 0x47dabc
call fcn.0040b332
pop ecx
push eax
push 0x47dabc
lea ecx, [ebp - 0x28]
call fcn.004092fb
add esi, 0x10
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.0040ee93
pop ecx
pop ecx
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.0040925c
push 0
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00409040
lea ecx, [ebp - 0x24bc]
mov bl, 1
call fcn.0041b88c
mov esi, dword [ebp - 0x24bc]
cmp esi, dword [edi]
jne 0x42c027
mov ecx, edi
call fcn.0042bc3c
lea ecx, [ebp - 0x24ac]
call fcn.0042b39b
push 2
lea ecx, [ebp - 0x24ac]
call fcn.0042b9cd
push dword [ebp - 0x24b0]
lea eax, [ebp - 0x40]
push eax
call fcn.0040ee00
pop ecx
pop ecx
cmp dword [eax + 0x14], 8
jb 0x42c0c3
mov eax, dword [eax]
xor ebx, ebx
lea ecx, [ebp - 0x24ac]
push ebx
push eax
call fcn.0042b2aa
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.00409095
mov esi, dword [ebp - 0x5c]
push ebx
push ebx
push ebx
push ebx
push 0x47dac0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x24b0], eax
test eax, eax
je 0x42c21b
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 0x42c207
lea eax, [ebp - 0x2064]
push eax
call fcn.0040596e
pop ecx
push eax
lea eax, [ebp - 0x2064]
push eax
lea ecx, [ebp - 0x24b4]
call fcn.0040e47d
lea eax, [ebp - 0x1062]
push eax
call fcn.0040596e
pop ecx
push eax
lea eax, [ebp - 0x1062]
push eax
lea ecx, [ebp - 0x24b4]
call fcn.0040dfbb
push 0
xor eax, eax
mov ecx, 0x800000
cmp esi, 3
cmove eax, ecx
push eax
push 0
push 0x473ba0
push str.HTTP_1.0
push dword [ebp - 0x24b4]
push 0x47daf4
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov edi, eax
test edi, edi
je 0x42c20d
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 0x42c20d
mov edi, dword [ebp - 0x24b0]
push dword [ebp - 0x24b0]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x42c227
mov ebx, dword [ebp - 0x24b0]
mov edi, dword [ebp - 0x24b0]
test ebx, ebx
je 0x42c232
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
test edi, edi
je 0x42c23d
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00409040
mov ecx, dword [ebp - 0x24b4]
lea ecx, [ecx - 0x10]
call fcn.0040e40e
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.00449031
mov esp, ebp
pop ebp
ret 4