Function at 0x10120a20
Capabilities:
Initialize winsock library

Disassembly:
push ebp
lea ebp, [esp - 0x1c0]
sub esp, 0x1c0
push 0xffffffffffffffff
push 0x1021624c
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x10282800]
xor eax, ebp
mov dword [ebp + 0x1bc], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x20], esi
push 0xc
call fcn.101e3738
mov edi, eax
add esp, 4
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
test edi, edi
je 0x10120b59
push 0x20
call fcn.101e3738
mov ebx, eax
add esp, 4
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 1
test ebx, ebx
je 0x10120aba
mov ecx, ebx
call fcn.10114b60
mov esi, eax
call fcn.100e0d20
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], eax
test esi, esi
jne 0x10120ca0
mov dword [ebx + 0x1c], esi
mov esi, dword [ebp - 0x20]
mov dword [ebx + 0x18], edi
jmp 0x10120abc
xor ebx, ebx
mov dword [edi], ebx
mov byte [ebp - 4], 2
mov eax, 1
lock xadd dword [0x1028dd80], eax
inc eax
mov ebx, 0x1028dd84
cmp eax, 1
jne 0x10120ae8
lea eax, [ebp]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
xchg dword [ebx], eax
xor ebx, ebx
mov eax, 0x1028dd84
lock xadd dword [eax], ebx
test ebx, ebx
jne 0x10120cae
push 0x64
mov byte [ebp - 4], 3
call fcn.101e3738
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x10120b23
push ebx
push 0xffffffffffffffff
push edi
mov ecx, eax
call fcn.100fe3c0
mov ebx, eax
jmp 0x10120b25
xor ebx, ebx
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 5
push 0
push eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
call fcn.100f5330
mov ecx, dword [edi]
lea eax, [ebp - 0x24]
add esp, 8
push ebx
push eax
call fcn.101117c0
mov dword [edi + 8], ebx
jmp 0x10120b5b
xor edi, edi
mov dword [ebp - 0x14], edi
cmp dword [esi + 0xd8], 0
mov dword [ebp - 4], 6
je 0x10120b98
mov ecx, dword [esi + 0xc8]
push str.asio::init_asio_called_from_the_wrong_state
push 2
call fcn.10136ce0
lea eax, [ebp - 0x1c]
push 9
push eax
call fcn.10123350
add esp, 8
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x10120c73
mov ecx, dword [esi + 0xd0]
push str.asio::init_asio
push 0x400
call fcn.10136ad0
push 0x60
mov dword [esi + 0xa0], edi
mov byte [esi + 0xa4], 1
call fcn.101e3738
mov edi, eax
add esp, 4
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 7
test edi, edi
je 0x10120be4
push dword [esi + 0xa0]
mov ecx, edi
push 0
push 0
call fcn.100e49f0
jmp 0x10120be6
xor edi, edi
mov dword [ebp - 0x10], edi
push 0x10
mov byte [ebp - 4], 8
call fcn.101e3738
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
je 0x10120c25
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_asio::basic_socket_acceptor_class_asio::ip::tcp__class_asio::any_io_executor__.0
mov dword [eax + 0xc], edi
jmp 0x10120c27
xor eax, eax
mov dword [esi + 0xa8], edi
mov edi, dword [esi + 0xac]
mov byte [ebp - 4], 6
mov dword [esi + 0xac], eax
test edi, edi
je 0x10120c62
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x10120c62
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], ebx
dec ebx
jne 0x10120c62
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov dword [esi + 0xd8], 1
xor ecx, ecx
mov eax, 0x10282038
test ecx, ecx
jne 0x10120cc7
mov byte [esi + 0xa4], cl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1bc]
xor ecx, ebp
call fcn.101e3b75
lea esp, [ebp + 0x1c0]
pop ebp
ret
push str.mutex
lea eax, [ebp - 0x1c]
push eax
call fcn.100dfa60
call fcn.100e0d20
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push str.winsock
push eax
mov dword [ebp - 0x1c], ebx
call fcn.100dfa60
push eax
push ecx
lea ecx, [ebp + 0x190]
call fcn.100fc5b0
push 0x10273520
lea eax, [ebp + 0x190]
push eax
call fcn.101e50f0
int3