Function at 0x100144a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006b42e
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x101aa2a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x10], ecx
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x101b015c], eax
jne 0x100146e1
call fcn.10014710
push 0xbc
call fcn.10045ca9
mov ebx, eax
add esp, 4
mov dword [ebp - 0x14], ebx
push dword [ebp + 0xc]
mov dword [ebp - 4], 0
lea esi, [ebx + 0xc]
push ecx
push 0x101b0150
xorps xmm0, xmm0
mov ecx, esi
movq qword [ebx], xmm0
push edi
push dword [ebp - 0x10]
mov dword [ebx + 8], 0
mov dword [ebx + 4], 1
mov dword [ebx + 8], 1
mov dword [ebx], vtable.std::_Ref_count_obj2_struct_sock_instance_.0
call fcn.10013380
or edi, 0xffffffff
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x10014599
mov eax, dword [esi + 4]
test eax, eax
je 0x10014550
cmp dword [eax + 4], 0
jne 0x10014599
lea eax, [ebx + 4]
lock inc dword [eax]
lea eax, [ebx + 8]
lock inc dword [eax]
mov ecx, dword [esi + 4]
mov dword [esi], esi
mov dword [esi + 4], ebx
test ecx, ecx
je 0x10014576
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x10014576
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
lea ecx, [ebx + 4]
lock xadd dword [ecx], eax
jne 0x10014599
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
mov eax, edi
lea ecx, [ebx + 8]
lock xadd dword [ecx], eax
jne 0x10014599
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov ebx, dword [0x101b14f0]
mov eax, dword [ebp - 0x14]
mov dword [0x101b14ec], esi
mov dword [0x101b14f0], eax
test ebx, ebx
je 0x100145d6
mov eax, edi
lock xadd dword [ebx + 4], eax
jne 0x100145d0
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
mov eax, edi
lock xadd dword [ebx + 8], eax
jne 0x100145d0
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov esi, dword [0x101b14ec]
test esi, esi
jne 0x100145fe
push str.shared_ptr_failure_
call fcn.10019cf0
add esp, 4
call fcn.10014710
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
push 0x101a0f08
call fcn.10019d30
add esp, 8
mov ecx, esi
push eax
call fcn.10013cc0
mov eax, dword [0x101b14ec]
test eax, eax
je 0x10014625
cmp byte [eax + 0x14], 0
je 0x10014661
mov esi, dword [0x101b14f0]
mov dword [0x101b14ec], 0
mov dword [0x101b14f0], 0
test esi, esi
je 0x10014661
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10014661
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x10014661
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x101b015c], eax
jne 0x100146e1
mov eax, dword [0x101b14f4]
test eax, eax
jne 0x100146e1
push 8
mov dword [0x101b14f4], eax
call fcn.10045ca9
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
push 1
mov dword [ebp - 4], 1
call fcn.10045ca9
add esp, 4
mov dword [ebp - 0x10], eax
lea edi, [esi + 4]
mov byte [ebp - 4], 2
push edi
push 0
push eax
push 0x10017fa0
push 0
push 0
call fcn.1005284f
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x100146f3
mov eax, dword [0x101b14f4]
mov dword [0x101b14f4], esi
test eax, eax
je 0x100146e1
cmp dword [eax + 4], 0
jne 0x10014700
push 8
push eax
call fcn.10046108
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 6
mov dword [edi], 0
call fcn.1004371a
call fcn.10052a04
int3