Function at 0x4162e0
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 0x463628
mov eax, dword fs:[0]
push eax
sub esp, 0x1d4
mov eax, dword [0x47e700]
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.0042a268
mov ecx, eax
mov byte [ebp - 4], 1
test ecx, ecx
je 0x416513
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 0x4164bf
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.0040ed10
mov esi, dword [ebp - 0x1b8]
xorps xmm0, xmm0
push 0x50
push 0x4676bc
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.00416c70
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 0x416529
mov edi, dword [ebp - 0x1b4]
test edi, edi
je 0x416464
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 0x41650c
push dword [edi + 0x10]
push dword [edi + 0x18]
push eax
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x41645e
call fcn.004406ad
mov eax, dword [ebp - 0x1bc]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov edi, dword [edi + 0x1c]
test edi, edi
je 0x41651d
jmp 0x416410
mov edi, dword [ebp - 0x1b4]
push edi
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov edi, dword [ebp - 0x1bc]
cmp edi, 0xffffffff
je 0x416529
cmp dword [esi - 4], 1
jle 0x416494
push dword [esi - 0xc]
lea ecx, [ebp - 0x1b8]
call fcn.00403d50
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 0x4164b2
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 0x4164d9
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 0x4164f1
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.00438287
mov esp, ebp
pop ebp
ret
call fcn.004406ad
jmp 0x41651d
push 0x80004005
call fcn.00403310
push dword [ebp - 0x1b4]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
call fcn.0044a55e
int3