Function at 0x416ee0
Capabilities:
Connect socket
Initialize winsock library
Resolve dns
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58fd98
mov eax, dword fs:[0]
push eax
sub esp, 0x1d4
mov eax, dword [0x5fb1a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 2
call fcn.0042b730
mov ecx, eax
mov byte [ebp - 4], 1
test ecx, ecx
je 0x417113
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x1b8], esi
lea eax, [ebp - 0x1b0]
mov byte [ebp - 4], 3
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x4170bf
mov eax, dword [ebp + 8]
push eax
push dword [eax - 0xc]
lea eax, [ebp - 0x1b8]
push str.POST__collect_HTTP_1.1_r_nContent_Type:_application_x_www_form_urlencoded_r_nHost:_www.google_analytics.com_r_nContent_Length:__d_r_n_r_n_s
push eax
call fcn.0040f620
mov esi, dword [ebp - 0x1b8]
xorps xmm0, xmm0
push 0x50
push 0x5a1ddc
push 0x10
mov eax, dword [esi - 0xc]
mov dword [ebp - 0x1c0], eax
or eax, 0xffffffff
mov dword [ebp - 0x1bc], eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x1e0], 0
movlpd qword [ebp - 0x1d0], xmm0
movlpd qword [ebp - 0x1c8], xmm0
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x1dc], 2
mov dword [ebp - 0x1d8], 1
mov dword [ebp - 0x1d4], 6
call fcn.00417890
add esp, 0x20
lea eax, [ebp - 0x1b4]
push eax
lea eax, [ebp - 0x1e0]
push eax
lea eax, [ebp - 0x20]
push eax
push str.www.google_analytics.com
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x417129
mov edi, dword [ebp - 0x1b4]
test edi, edi
je 0x417064
nop dword [eax + eax]
push dword [edi + 0xc]
push dword [edi + 8]
push dword [edi + 4]
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x1bc], eax
cmp eax, 0xffffffff
je 0x41710c
push dword [edi + 0x10]
push dword [edi + 0x18]
push eax
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x41705e
call fcn.00566e79
mov eax, dword [ebp - 0x1bc]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov edi, dword [edi + 0x1c]
test edi, edi
je 0x41711d
jmp 0x417010
mov edi, dword [ebp - 0x1b4]
push edi
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov edi, dword [ebp - 0x1bc]
cmp edi, 0xffffffff
je 0x417129
cmp dword [esi - 4], 1
jle 0x417094
push dword [esi - 0xc]
lea ecx, [ebp - 0x1b8]
call fcn.004046c0
mov esi, dword [ebp - 0x1b8]
push 0
push dword [ebp - 0x1c0]
push esi
push edi
call dword [sym.imp.WS2_32.dll_send]
cmp eax, dword [ebp - 0x1c0]
je 0x4170b2
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4170d9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x4170f1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055e52e
mov esp, ebp
pop ebp
ret
call fcn.00566e79
jmp 0x41711d
push 0x80004005
call fcn.00403cc0
push dword [ebp - 0x1b4]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
call fcn.00572cbe
int3