Function at 0x1001f320
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100609f1
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x1007d00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
mov dword [eax + 0x24], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0x74], 0
mov dword [eax + 0x9c], 0
mov dword [eax + 0xa0], 0
mov byte [eax + 0xa4], 0
mov dword [eax + 0xa8], 0
mov dword [eax + 0xac], 0
mov dword [eax + 0xb0], 0
mov dword [eax + 0xb4], 0
mov dword [eax + 0xb8], 0
mov dword [eax + 0xbc], 0
mov dword [eax + 0xc0], bind
mov byte [eax + 0xc4], 0
mov dword [eax + 0xc8], 0
mov dword [eax + 0xcc], 0
mov dword [eax + 0xd0], 0
mov dword [eax + 0xd4], 0
mov dword [eax + 0xd8], 0
push 0x3c
mov dword [ebp - 4], 0
call fcn.1005d247
push 0x3c
mov esi, eax
push 0
push esi
mov dword [ebp - 0x14], esi
call sub.VCRUNTIME140.dll_memset
mov edi, dword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
push 2
push esi
call edi
mov dword [esi + 0x30], 0xfffffbff
mov dword [esi + 0x34], 0
mov eax, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov dword [esi + 0x38], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], esi
mov dword [eax + 0xe0], 0
mov dword [eax + 0xe4], 0
push 0x10
mov byte [ebp - 4], 1
call fcn.1005d247
mov dword [ebp - 0x14], eax
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x10]
movups xmmword [eax], xmm0
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], vtable.std::_Ref_count_class_websocketpp::log::basic_class_websocketpp::concurrency::basic__struct_websocketpp::log::alevel__.0
mov dword [eax + 0xc], esi
mov dword [ecx + 0xe0], esi
mov dword [ecx + 0xe4], eax
push 0x3c
mov byte [ebp - 4], 2
call fcn.1005d247
push 0x3c
mov esi, eax
push 0
push esi
mov dword [ebp - 0x14], esi
call sub.VCRUNTIME140.dll_memset
push 2
push esi
call edi
mov dword [esi + 0x30], 0xfffffffe
mov dword [esi + 0x34], 0
mov eax, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov dword [esi + 0x38], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], esi
mov dword [eax + 0xe8], 0
mov dword [eax + 0xec], 0
push 0x10
mov byte [ebp - 4], 3
call fcn.1005d247
add esp, 0x38
mov dword [ebp - 0x14], eax
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x10]
movups xmmword [eax], xmm0
mov dword [eax + 0xc], esi
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], vtable.std::_Ref_count_class_websocketpp::log::basic_class_websocketpp::concurrency::basic__struct_websocketpp::log::elevel__.0
mov dword [ecx + 0xe8], esi
mov esi, ecx
mov dword [esi + 0xec], eax
lea ecx, [esi + 0xf0]
mov byte [ebp - 4], 4
push 0x11
mov dword [ecx], 0
push str.WebSocket_0.8.2
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
call fcn.10021390
mov dword [esi + 0x12c], 0
mov dword [esi + 0x154], 0
mov dword [esi + 0x17c], 0
mov dword [esi + 0x1a4], 0
mov dword [esi + 0x1cc], 0
mov dword [esi + 0x1f4], 0
mov dword [esi + 0x21c], 0
mov dword [esi + 0x244], 0
mov dword [esi + 0x26c], 0
mov dword [esi + 0x294], 0
lea eax, [esi + 0x2b0]
mov dword [esi + 0x298], 0x1388
push 2
push eax
mov dword [esi + 0x29c], 0x1388
mov dword [esi + 0x2a0], 0x1388
mov dword [esi + 0x2a4], 0x1e84800
mov dword [esi + 0x2a8], 0x1e84800
mov byte [esi + 0x2ad], 1
call edi
mov byte [ebp - 4], 0x10
mov edi, dword [esi + 0xe0]
push edi
call dword [sym.imp.MSVCP140.dll__Mtx_lock]
add esp, 0xc
test eax, eax
je 0x1001f60f
push eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
mov eax, dword [edi + 0x30]
and eax, 0xfffffbff
or dword [edi + 0x34], eax
push edi
call dword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov edi, dword [esi + 0xe8]
push edi
call dword [sym.imp.MSVCP140.dll__Mtx_lock]
add esp, 8
test eax, eax
je 0x1001f63c
push eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
mov eax, dword [edi + 0x30]
and eax, 0xfffffffe
or dword [edi + 0x34], eax
push edi
call dword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov ecx, dword [esi + 0xe0]
add esp, 4
push str.endpoint_constructor
push 0x400
call fcn.1001eb40
mov eax, dword [esi + 0xe4]
test eax, eax
je 0x1001f672
lock inc dword [eax + 4]
mov edi, dword [esi + 0xd4]
or edx, 0xffffffff
mov eax, dword [esi + 0xe0]
mov ecx, dword [esi + 0xe4]
mov dword [esi + 0xd0], eax
mov dword [esi + 0xd4], ecx
test edi, edi
je 0x1001f6bc
mov eax, edx
lock xadd dword [edi + 4], eax
jne 0x1001f6bc
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or edx, 0xffffffff
mov eax, edx
lock xadd dword [edi + 8], eax
jne 0x1001f6bc
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
or edx, 0xffffffff
mov eax, dword [esi + 0xec]
test eax, eax
je 0x1001f6ca
lock inc dword [eax + 4]
mov edi, dword [esi + 0xcc]
mov eax, dword [esi + 0xe8]
mov ecx, dword [esi + 0xec]
mov dword [esi + 0xc8], eax
mov dword [esi + 0xcc], ecx
test edi, edi
je 0x1001f70d
mov eax, edx
lock xadd dword [edi + 4], eax
jne 0x1001f70d
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
dec eax
jne 0x1001f70d
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4