Function at 0x4eba80
Capabilities:
Initialize winsock library

Disassembly:
push ebp
lea ebp, [esp - 0x1c4]
sub esp, 0x1c4
push 0xffffffffffffffff
push 0x54c395
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x596c60]
xor eax, ebp
mov dword [ebp + 0x1c0], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [esi + 0x90]
mov dword [esi], 0x3800
xor eax, eax
xchg dword [ecx], eax
mov eax, dword [0x59f750]
test al, 1
jne 0x4ebafe
or eax, 1
mov dword [0x59f748], 0
mov dword [0x59f750], eax
mov dword [0x59f74c], 1
jmp 0x4ebc14
cmp dword [0x59f748], 0
je 0x4ebc14
sub esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x110]
call fcn.0047b4d0
mov edx, str.._tstelemetry.cpp
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x110]
call fcn.0047f0b0
mov edx, 0x56b378
mov ecx, eax
call fcn.0047f0b0
push 0x1b
mov ecx, eax
call fcn.0047b130
mov edx, 0x56b378
mov ecx, eax
call fcn.0047f0b0
mov edx, 0x577068
mov ecx, eax
call fcn.0047f0b0
lea eax, [ebp + 0x1a8]
push eax
lea ecx, [ebp - 0x110]
call fcn.0047b620
mov ecx, eax
mov byte [ebp - 4], 2
cmp dword [ecx + 0x14], 0x10
jb 0x4ebb81
mov ecx, dword [ecx]
mov eax, dword [0x59f750]
test al, 1
jne 0x4ebba8
or eax, 1
mov dword [0x59f748], 0
mov dword [0x59f750], eax
mov dword [0x59f74c], 1
jmp 0x4ebbb7
mov eax, dword [0x59f748]
test eax, eax
je 0x4ebbb7
push ecx
call eax
add esp, 4
cmp dword [ebp + 0x1bc], 0x10
jb 0x4ebbd3
mov eax, dword [ebp + 0x1a8]
test eax, eax
je 0x4ebbd3
push eax
call fcn.00507b54
add esp, 4
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0
call fcn.0047b5a0
lea eax, [ebp - 0xc0]
mov dword [ebp - 0xc0], 0x56b700
push eax
call fcn.00528f2f
add esp, 4
mov dword [ebp - 4], 0xffffffff
jmp 0x4ebc14
lea eax, [ebp]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov edi, eax
test edi, edi
je 0x4ebc98
sub esp, 8
lea ecx, [ebp - 0x110]
call fcn.0047b4d0
push edi
mov edx, str.WSAStartup_failed:
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x110]
call fcn.0047f0b0
mov ecx, eax
call fcn.0047b130
lea eax, [ebp + 0x190]
push eax
lea ecx, [ebp - 0x110]
call fcn.0047b620
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 0x10
jb 0x4ebc74
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x60]
lea eax, [ebp - 0x14]
push eax
call fcn.00507343
push 0x592a54
lea eax, [ebp - 0x60]
mov dword [ebp - 0x60], vtable.std::runtime_error.0
push eax
call fcn.0053eadf
lea eax, [esi + 0x10]
mov dword [ebp - 0x18], 0x80
mov ecx, 2
mov word [eax], cx
lea ecx, [ebp - 0x18]
push ecx
push eax
push 0
push 2
push str.255.255.255.255
call dword [sym.imp.WS2_32.dll_WSAStringToAddressA]
mov edi, eax
test edi, edi
je 0x4ebd33
sub esp, 8
lea ecx, [ebp - 0x110]
call fcn.0047b4d0
push edi
mov edx, str.WSAStringToAddressA_failed:
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x110]
call fcn.0047f0b0
mov ecx, eax
call fcn.0047b130
lea eax, [ebp + 0x190]
push eax
lea ecx, [ebp - 0x110]
call fcn.0047b620
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 0x10
jb 0x4ebd0f
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x48]
lea eax, [ebp - 0x14]
push eax
call fcn.00507343
push 0x592a54
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], vtable.std::runtime_error.0
push eax
call fcn.0053eadf
call fcn.00406620
mov edi, eax
test edi, edi
je 0x4ebdad
sub esp, 8
lea ecx, [ebp - 0x110]
call fcn.0047b4d0
push edi
mov edx, str.TS_Init_failed:
mov dword [ebp - 4], 8
lea ecx, [ebp - 0x110]
call fcn.0047f0b0
mov ecx, eax
call fcn.0047b130
lea eax, [ebp + 0x190]
push eax
lea ecx, [ebp - 0x110]
call fcn.0047b620
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], 0x10
jb 0x4ebd89
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x3c]
lea eax, [ebp - 0x14]
push eax
call fcn.00507343
push 0x592a54
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], vtable.std::runtime_error.0
push eax
call fcn.0053eadf
push 0x5770f0
push str.CPInstaller
push 0
lea edi, [esi + 4]
push str.MCAFEE_DIAMOND
push edi
call fcn.00403c80
mov ebx, eax
add esp, 0x14
test ebx, ebx
je 0x4ebe3f
sub esp, 8
lea ecx, [ebp - 0x110]
call fcn.0047b4d0
push ebx
mov edx, str.TS_HandleCreate_failed:
mov dword [ebp - 4], 0xa
lea ecx, [ebp - 0x110]
call fcn.0047f0b0
mov ecx, eax
call fcn.0047b130
lea eax, [ebp + 0x190]
push eax
lea ecx, [ebp - 0x110]
call fcn.0047b620
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 0x10
jb 0x4ebe1b
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x54]
lea eax, [ebp - 0x14]
push eax
call fcn.00507343
push 0x592a54
lea eax, [ebp - 0x54]
mov dword [ebp - 0x54], vtable.std::runtime_error.0
push eax
call fcn.0053eadf
call fcn.004ed4e0
cmp dword [eax], 0
je 0x4ebe6c
push 0x4eba40
push dword [edi]
call fcn.004102c0
call fcn.004ed4e0
push 0x3ffff
push dword [eax + 4]
push dword [edi]
call fcn.0040ffd0
add esp, 0x14
lea eax, [ebp + 0x1b4]
push eax
call fcn.004eceb0
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0xc
push eax
call fcn.004ecfb0
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0xd
push eax
call fcn.004ed0b0
lea eax, [ebp + 0x190]
mov byte [ebp - 4], 0xe
push eax
call fcn.004ec720
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x20]
mov ebx, dword [ebp + 0x1b8]
sub ecx, dword [ebp - 0x30]
sub edx, dword [ebp - 0x24]
sub ebx, dword [ebp + 0x1b4]
cmp dword [eax + 0x14], 0x10
jb 0x4ebec5
mov eax, dword [eax]
push ecx
push dword [ebp - 0x30]
push edx
push dword [ebp - 0x24]
push ebx
push dword [ebp + 0x1b4]
push 0xffffffffffffffff
push str.cloud.gti.mcafee.com
push eax
push dword [edi]
call fcn.0040a3c0
add esp, 0x28
lea ecx, [ebp + 0x190]
mov ebx, eax
call fcn.0047abe0
lea ecx, [ebp - 0x30]
call fcn.0048e690
lea ecx, [ebp - 0x24]
call fcn.0048e690
lea ecx, [ebp + 0x1b4]
mov dword [ebp - 4], 0xffffffff
call fcn.0048e690
cmp ebx, 1
je 0x4ebf78
push edi
call fcn.00403ff0
push ecx
lea ecx, [ebp - 0x110]
call fcn.0047b4d0
push ebx
mov edx, str.TS_NetLookupConfigureInternal_failed:
mov dword [ebp - 4], 0xf
lea ecx, [ebp - 0x110]
call fcn.0047f0b0
mov ecx, eax
call fcn.0047b130
lea eax, [ebp + 0x190]
push eax
lea ecx, [ebp - 0x110]
call fcn.0047b620
push eax
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x10
call fcn.00477450
push 0x592a54
lea eax, [ebp - 0x6c]
push eax
call fcn.0053eadf
lea eax, [esi + 8]
push eax
push dword [edi]
call fcn.004025c0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4ebfea
push edi
call fcn.00403ff0
push ecx
lea ecx, [ebp - 0x1a8]
call fcn.0047b4d0
push ebx
mov edx, str.TS_AttributesCreate_failed:
mov dword [ebp - 4], 0x11
lea ecx, [ebp - 0x1a8]
call fcn.0047f0b0
mov ecx, eax
call fcn.0047b130
lea eax, [ebp + 0x190]
push eax
lea ecx, [ebp - 0x1a8]
call fcn.0047b620
push eax
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x12
call fcn.00477450
push 0x592a54
lea eax, [ebp - 0x78]
push eax
call fcn.0053eadf
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1c0]
xor ecx, ebp
call fcn.005072fd
lea esp, [ebp + 0x1c4]
pop ebp
ret