Function at 0x4eb1b0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
lea ebp, [esp - 0x1c4]
sub esp, 0x1c4
push 0xffffffffffffffff
push 0x54bb85
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x595c60]
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 [0x59e798]
test al, 1
jne 0x4eb22e
or eax, 1
mov dword [0x59e790], 0
mov dword [0x59e798], eax
mov dword [0x59e794], 1
jmp 0x4eb344
cmp dword [0x59e790], 0
je 0x4eb344
sub esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x110]
call fcn.0047b550
mov edx, str.._tstelemetry.cpp
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x110]
call fcn.0047f130
mov edx, 0x56a378
mov ecx, eax
call fcn.0047f130
push 0x1b
mov ecx, eax
call fcn.0047b1b0
mov edx, 0x56a378
mov ecx, eax
call fcn.0047f130
mov edx, 0x576028
mov ecx, eax
call fcn.0047f130
lea eax, [ebp + 0x1a8]
push eax
lea ecx, [ebp - 0x110]
call fcn.0047b6a0
mov ecx, eax
mov byte [ebp - 4], 2
cmp dword [ecx + 0x14], 0x10
jb 0x4eb2b1
mov ecx, dword [ecx]
mov eax, dword [0x59e798]
test al, 1
jne 0x4eb2d8
or eax, 1
mov dword [0x59e790], 0
mov dword [0x59e798], eax
mov dword [0x59e794], 1
jmp 0x4eb2e7
mov eax, dword [0x59e790]
test eax, eax
je 0x4eb2e7
push ecx
call eax
add esp, 4
cmp dword [ebp + 0x1bc], 0x10
jb 0x4eb303
mov eax, dword [ebp + 0x1a8]
test eax, eax
je 0x4eb303
push eax
call fcn.005074d4
add esp, 4
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0
call fcn.0047b620
lea eax, [ebp - 0xc0]
mov dword [ebp - 0xc0], 0x56a6f8
push eax
call fcn.0052889f
add esp, 4
mov dword [ebp - 4], 0xffffffff
jmp 0x4eb344
lea eax, [ebp]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov edi, eax
test edi, edi
je 0x4eb3c8
sub esp, 8
lea ecx, [ebp - 0x110]
call fcn.0047b550
push edi
mov edx, str.WSAStartup_failed:
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x110]
call fcn.0047f130
mov ecx, eax
call fcn.0047b1b0
lea eax, [ebp + 0x190]
push eax
lea ecx, [ebp - 0x110]
call fcn.0047b6a0
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 0x10
jb 0x4eb3a4
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x60]
lea eax, [ebp - 0x14]
push eax
call fcn.00506cc3
push 0x591bd4
lea eax, [ebp - 0x60]
mov dword [ebp - 0x60], vtable.std::runtime_error.0
push eax
call fcn.0053e44f
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 0x4eb463
sub esp, 8
lea ecx, [ebp - 0x110]
call fcn.0047b550
push edi
mov edx, str.WSAStringToAddressA_failed:
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x110]
call fcn.0047f130
mov ecx, eax
call fcn.0047b1b0
lea eax, [ebp + 0x190]
push eax
lea ecx, [ebp - 0x110]
call fcn.0047b6a0
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 0x10
jb 0x4eb43f
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x48]
lea eax, [ebp - 0x14]
push eax
call fcn.00506cc3
push 0x591bd4
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], vtable.std::runtime_error.0
push eax
call fcn.0053e44f
call fcn.00406620
mov edi, eax
test edi, edi
je 0x4eb4dd
sub esp, 8
lea ecx, [ebp - 0x110]
call fcn.0047b550
push edi
mov edx, str.TS_Init_failed:
mov dword [ebp - 4], 8
lea ecx, [ebp - 0x110]
call fcn.0047f130
mov ecx, eax
call fcn.0047b1b0
lea eax, [ebp + 0x190]
push eax
lea ecx, [ebp - 0x110]
call fcn.0047b6a0
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], 0x10
jb 0x4eb4b9
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x3c]
lea eax, [ebp - 0x14]
push eax
call fcn.00506cc3
push 0x591bd4
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], vtable.std::runtime_error.0
push eax
call fcn.0053e44f
push 0x5760b0
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 0x4eb56f
sub esp, 8
lea ecx, [ebp - 0x110]
call fcn.0047b550
push ebx
mov edx, str.TS_HandleCreate_failed:
mov dword [ebp - 4], 0xa
lea ecx, [ebp - 0x110]
call fcn.0047f130
mov ecx, eax
call fcn.0047b1b0
lea eax, [ebp + 0x190]
push eax
lea ecx, [ebp - 0x110]
call fcn.0047b6a0
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 0x10
jb 0x4eb54b
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x54]
lea eax, [ebp - 0x14]
push eax
call fcn.00506cc3
push 0x591bd4
lea eax, [ebp - 0x54]
mov dword [ebp - 0x54], vtable.std::runtime_error.0
push eax
call fcn.0053e44f
call fcn.004ecc10
cmp dword [eax], 0
je 0x4eb59c
push 0x4eb170
push dword [edi]
call fcn.004102c0
call fcn.004ecc10
push 0x3ffff
push dword [eax + 4]
push dword [edi]
call fcn.0040ffd0
add esp, 0x14
lea eax, [ebp + 0x1b4]
push eax
call fcn.004ec5e0
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0xc
push eax
call fcn.004ec6e0
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0xd
push eax
call fcn.004ec7e0
lea eax, [ebp + 0x190]
mov byte [ebp - 4], 0xe
push eax
call fcn.004ebe50
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 0x4eb5f5
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.0047ac60
lea ecx, [ebp - 0x30]
call fcn.0048e720
lea ecx, [ebp - 0x24]
call fcn.0048e720
lea ecx, [ebp + 0x1b4]
mov dword [ebp - 4], 0xffffffff
call fcn.0048e720
cmp ebx, 1
je 0x4eb6a8
push edi
call fcn.00403ff0
push ecx
lea ecx, [ebp - 0x110]
call fcn.0047b550
push ebx
mov edx, str.TS_NetLookupConfigureInternal_failed:
mov dword [ebp - 4], 0xf
lea ecx, [ebp - 0x110]
call fcn.0047f130
mov ecx, eax
call fcn.0047b1b0
lea eax, [ebp + 0x190]
push eax
lea ecx, [ebp - 0x110]
call fcn.0047b6a0
push eax
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x10
call fcn.004774d0
push 0x591bd4
lea eax, [ebp - 0x6c]
push eax
call fcn.0053e44f
lea eax, [esi + 8]
push eax
push dword [edi]
call fcn.004025c0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4eb71a
push edi
call fcn.00403ff0
push ecx
lea ecx, [ebp - 0x1a8]
call fcn.0047b550
push ebx
mov edx, str.TS_AttributesCreate_failed:
mov dword [ebp - 4], 0x11
lea ecx, [ebp - 0x1a8]
call fcn.0047f130
mov ecx, eax
call fcn.0047b1b0
lea eax, [ebp + 0x190]
push eax
lea ecx, [ebp - 0x1a8]
call fcn.0047b6a0
push eax
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x12
call fcn.004774d0
push 0x591bd4
lea eax, [ebp - 0x78]
push eax
call fcn.0053e44f
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.00506c7d
lea esp, [ebp + 0x1c4]
pop ebp
ret