Function at 0x10055910
Capabilities:
Initialize winsock library

Disassembly:
push ebp
lea ebp, [esp - 0x2c4]
sub esp, 0x2c4
push 0xffffffffffffffff
push 0x100f9cd4
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x10143964]
xor eax, ebp
mov dword [ebp + 0x2c0], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0x2cc]
mov dword [ebp - 0x10], ebx
push 0x1014a868
mov dword [ebp - 0x1c], 0x1014a868
mov byte [ebp - 0x18], 0
call sub.MSVCP140.dll__Mtx_lock
add esp, 4
test eax, eax
jne 0x10055c14
mov byte [ebp - 0x18], 1
mov dword [ebp - 4], eax
or edi, 0xffffffff
mov eax, dword [0x1014a89c]
test eax, eax
je 0x100559e1
mov edx, dword [eax + 4]
lea esi, [eax + 4]
test edx, edx
je 0x100559e1
nop
lea ecx, [edx + 1]
mov eax, edx
lock cmpxchg dword [esi], ecx
cmp eax, edx
je 0x100559a5
mov edx, eax
test eax, eax
jne 0x10055990
jmp 0x100559e1
mov eax, dword [0x1014a898]
mov esi, dword [0x1014a89c]
test eax, eax
je 0x100559be
mov dword [ebx], eax
mov dword [ebx + 4], esi
jmp 0x10055be2
test esi, esi
je 0x100559e1
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x100559e1
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x100559e1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [0x1014a7d8]
mov dword [ebp - 0x10], esi
test esi, esi
je 0x10055a21
mov esi, dword [esi + 4]
test esi, esi
je 0x10055a14
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10055a14
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x10055a14
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push 8
push dword [ebp - 0x10]
call fcn.100f01b2
add esp, 8
push 8
call fcn.100f0182
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 1
test edi, edi
je 0x10055b79
push 1
call fcn.100f0182
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 2
test esi, esi
je 0x10055b1d
mov cl, byte [0x1014a7dc]
mov byte [0x1014a7dc], 1
test cl, cl
jne 0x10055b1f
mov eax, dword [0x1014a500]
test eax, eax
je 0x10055ad0
cmp dword [eax + 4], 5
jl 0x10055ad0
push 0
push 0
push 0x101008a0
push 0x81
push str.rtc::Init::Init
push 5
lea ecx, [ebp + 0x190]
call fcn.10005670
mov esi, eax
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 3
push str.Global_initialization
push ecx
call fcn.10006870
mov ecx, dword [0x1014a500]
add esp, 8
push esi
call fcn.10006c30
lea ecx, [ebp + 0x190]
mov byte [ebp - 4], 2
call fcn.10006040
mov esi, dword [ebp - 0x10]
lea eax, [ebp]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x10055c1a
call fcn.1006fda0
push 4
mov ecx, eax
call fcn.100707a0
call fcn.100714f0
call fcn.1006b610
call fcn.10051810
call fcn.10079050
call fcn.1004f500
push 0x1014a7e0
call fcn.1006b640
add esp, 4
jmp 0x10055b1f
xor esi, esi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [ebp - 0x10], esi
push 0x10
mov byte [ebp - 4], 6
call fcn.100f0182
add esp, 4
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10055b70
xorps xmm0, xmm0
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], vtable.std::_Ref_count_class_rtc::Init_.0
mov dword [eax + 0xc], esi
mov dword [edi], esi
mov dword [edi + 4], eax
jmp 0x10055b7b
xor eax, eax
mov dword [edi], esi
mov dword [edi + 4], eax
jmp 0x10055b7b
xor edi, edi
mov dword [0x1014a7d8], edi
xor ecx, ecx
mov eax, dword [edi + 4]
xor edx, edx
test eax, eax
je 0x10055b94
mov ecx, dword [edi]
lock inc dword [eax + 8]
mov edx, eax
mov dword [0x1014a898], ecx
mov ecx, dword [0x1014a89c]
mov dword [0x1014a89c], edx
test ecx, ecx
je 0x10055bba
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
dec eax
jne 0x10055bba
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [0x1014a7d8]
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov eax, dword [ecx + 4]
test eax, eax
je 0x10055bd8
lock inc dword [eax + 4]
mov eax, dword [ecx]
mov dword [ebx], eax
mov eax, dword [ecx + 4]
mov dword [ebx + 4], eax
push 0x1014a868
call sub.MSVCP140.dll__Mtx_unlock
mov eax, ebx
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2c0]
xor ecx, ebp
call fcn.100f06e3
lea esp, [ebp + 0x2c4]
pop ebp
ret
push eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
lea eax, [ebp + 0x2a8]
push eax
call fcn.100252c0
push eax
lea eax, [ebp + 0x290]
mov byte [ebp - 4], 4
push str.WSAStartup_failed__error
push eax
call fcn.10019800
add esp, 0x14
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.1004cbe0
push 0x10124fbc
lea eax, [ebp - 0x28]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3