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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44186d
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x24bc
call fcn.00441230
mov eax, dword [0x46a034]
xor eax, esp
mov dword [esp + 0x24b8], eax
push ebx
push esi
push edi
mov eax, dword [0x46a034]
xor eax, esp
push eax
lea eax, [esp + 0x24d0]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
mov edi, dword [ebp + 8]
cmp dword [edi + 4], 0
je 0x402145
push section..data
lea ecx, [esp + 0x1c]
call fcn.004023e0
and dword [esp + 0x24d8], 0
push str.counterNamesCsv
lea ecx, [esp + 0x28]
call fcn.0040221e
mov byte [esp + 0x24d8], 1
mov eax, dword [edi]
xor bl, bl
mov esi, dword [eax]
mov dword [esp + 0x20], esi
cmp esi, eax
je 0x401f98
test bl, bl
je 0x401f52
push 0x44b25c
call fcn.004010d9
pop ecx
push eax
push 0x44b25c
lea ecx, [esp + 0x2c]
call fcn.0040294a
lea edx, [esi + 0x10]
lea ecx, [esp + 0x3c]
call fcn.0040ff5c
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x24e4], 2
call fcn.004028a3
lea ecx, [esp + 0x3c]
mov byte [esp + 0x24d8], 1
call fcn.00402286
lea ecx, [esp + 0x20]
mov bl, 1
call fcn.0040275d
mov esi, dword [esp + 0x20]
cmp esi, dword [edi]
jne 0x401f34
mov eax, dword [edi]
mov ecx, edi
push dword [eax + 4]
call fcn.00402582
mov eax, dword [edi]
xor ebx, ebx
mov dword [eax + 4], eax
mov eax, dword [edi]
lea ecx, [esp + 0x54]
mov dword [eax], eax
mov eax, dword [edi]
mov dword [eax + 8], eax
mov dword [edi + 4], ebx
call fcn.00401585
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x3c]
call fcn.0040ffd4
mov esi, eax
cmp dword [esi + 0x14], 8
jb 0x401fd7
mov esi, dword [esi]
lea ecx, [esp + 0x54]
call fcn.00401d18
push esi
lea ecx, [esp + 0x58]
call fcn.004017a7
push ebx
push 1
lea ecx, [esp + 0x44]
call fcn.0040253d
mov esi, dword [esp + 0x24a4]
push ebx
push ebx
push ebx
push ebx
push 0x44b260
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esp + 0x14], eax
test eax, eax
je 0x402115
push ebx
push ebx
push 3
lea ecx, [esp + 0x3a6]
push ecx
lea ecx, [esp + 0x2a8]
push ecx
push dword [esp + 0x24b4]
lea ecx, [esp + 0xae]
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetConnectW]
mov ebx, eax
test ebx, ebx
je 0x402105
lea eax, [esp + 0x49c]
push eax
lea ecx, [esp + 0x1c]
call fcn.00402170
lea eax, [esp + 0x149e]
push eax
lea ecx, [esp + 0x1c]
call fcn.004021ab
push 0
xor eax, eax
mov ecx, 0x800000
cmp esi, 3
cmove eax, ecx
push eax
push 0
push 0x44b168
push str.HTTP_1.0
push dword [esp + 0x2c]
push 0x44b294
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov edi, eax
test edi, edi
je 0x402109
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]
push 4
lea eax, [esp + 0x20]
push eax
push 2
push edi
mov dword [esp + 0x2c], 0x1388
call esi
push 4
lea eax, [esp + 0x20]
push eax
push 6
push edi
call esi
push 4
lea eax, [esp + 0x20]
push eax
push 5
push edi
call esi
push dword [esp + 0x34]
cmp dword [esp + 0x3c], 0x10
lea eax, [esp + 0x28]
cmovae eax, dword [esp + 0x28]
push eax
push 0
push 0
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
jmp 0x402109
mov edi, dword [esp + 0x14]
push dword [esp + 0x14]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x40211d
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x14]
test ebx, ebx
je 0x402128
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
test edi, edi
je 0x402133
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea ecx, [esp + 0x24]
call fcn.00402286
lea ecx, [esp + 0x18]
call fcn.00402409
mov ecx, dword [esp + 0x24d0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x24b8]
xor ecx, esp
call fcn.0043df0a
mov esp, ebp
pop ebp
ret 4