Function at 0x44f6c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e8f68
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x537700]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], edx
mov dword [ecx], 0
mov dword [ecx + 4], 0
lea edi, [ecx + 0x10]
mov dword [ebp - 4], 0
mov ecx, edi
mov dword [ebp - 0x10], edi
call fcn.0044f410
mov dword [edi], vtable.boost::asio::basic_streambuf_class_std::allocator_char__.0
mov dword [edi + 0x38], 0xffffffff
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
lea eax, [ebp - 0x19]
mov byte [ebp - 4], 2
push eax
push 0x80
lea ecx, [edi + 0x3c]
call fcn.0044e530
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x3c]
mov dword [eax], ecx
mov eax, dword [edi + 0x1c]
mov dword [eax], ecx
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x3c]
mov dword [eax], ecx
mov eax, dword [edi + 0x20]
mov dword [eax], ecx
mov eax, dword [edi + 0x30]
mov dword [eax], 0x80
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 3
push 0
push eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
call fcn.0040c490
mov esi, dword [ebp - 0x20]
lea eax, [ebp - 0x14]
add esp, 8
mov ecx, dword [esi]
push esi
push 0x40ba10
push eax
call fcn.004241b0
mov edi, dword [ebp - 0x18]
xorps xmm0, xmm0
mov dword [edi + 0x58], eax
lea eax, [edi + 0x9c]
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x78], 2
mov byte [edi + 0x7c], 0
movups xmmword [edi + 0x80], xmm0
movq qword [edi + 0x90], xmm0
mov dword [edi + 0x98], 0
mov dword [edi + 0x80], 2
mov dword [edi + 0x84], 0
mov dword [eax + 4], esi
mov dword [eax + 0x14], 0x4f0afc
mov dword [eax + 0xc], 0x4f0b0c
mov dword [eax + 0x10], eax
mov dword [eax + 0x18], 0x4f0aa8
mov esi, dword [edi + 0x68]
mov eax, dword [edi + 0x58]
mov dword [ebp - 0x18], eax
mov dword [edi + 0x5c], 0xffffffff
mov byte [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
test esi, esi
je 0x44f865
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x44f865
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x44f865
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp - 0x18]
lea eax, [esi + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x40]
lea ecx, [edi + 0x5c]
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], 0
mov eax, dword [esi + 0x40]
test eax, eax
je 0x44f88c
mov dword [eax + 0x18], ecx
lea eax, [esi + 0x28]
mov dword [esi + 0x40], ecx
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [ebp - 0x20]
lea eax, [ebp - 0x14]
push 0
push eax
mov byte [ebp - 4], 4
mov dword [edi + 0xb8], esi
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
call fcn.0040c450
mov ecx, dword [esi]
lea eax, [ebp - 0x14]
add esp, 8
push esi
push 0x40b880
push eax
call fcn.004241b0
mov dword [edi + 0xc0], eax
lea esi, [edi + 0xc8]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], esi
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0xfffffffe
push eax
mov ecx, esi
mov dword [ebp - 0x10], closesocket
mov dword [ebp - 0x18], 0xfffffffe
call fcn.0040e290
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xffffffff
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov edx, dword [ebp - 0x20]
lea eax, [edi + 0xe8]
mov dword [eax + 4], edx
mov dword [eax + 0x14], 0x4f0afc
mov dword [eax + 0xc], 0x4f0b0c
mov dword [eax + 0x10], eax
mov dword [eax + 0x18], 0x4f0aa8
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0xfffffffe
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x10], closesocket
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x18], 0xfffffffe
call fcn.0040e290
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov dword [esi], eax
mov dword [esi + 4], ecx
mov byte [esi + 8], 0
mov dword [edi + 0x108], 0
push 0xc800
mov byte [ebp - 4], 8
call fcn.004b8967
mov dword [edi + 8], eax
add esp, 4
mov dword [edi + 0xc], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4