Function at 0x44c4a0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47c0ad
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4991c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
cmp dword [edx], 0xffffffff
mov edi, dword [ebp + 8]
mov dword [ebp - 0x28], esi
mov esi, dword [ebp + 0x1c]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x30], eax
je 0x44c55a
mov ecx, dword [0x499a00]
mov eax, dword [0x499a04]
cmp ecx, 0x257edfd1
jne 0x44c50a
cmp eax, 0xb2ab117a
je 0x44c519
cmp ecx, 0x257edfd0
jne 0x44c51d
cmp eax, 0xb2ab117a
jne 0x44c51d
mov al, 1
jmp 0x44c52e
mov eax, dword [0x4999f8]
mov ecx, 0x4999f8
push 1
mov eax, dword [eax + 0x18]
call eax
movzx ecx, al
mov dword [ebp - 0x1c], 1
add ecx, 2
mov dword [ebp - 0x18], 0x4999f8
movq xmm0, qword [ebp - 0x1c]
movq qword [esi], xmm0
mov dword [esi + 8], ecx
movq qword [edi], xmm0
mov dword [edi + 8], ecx
jmp 0x44c765
push 1
push 0
push 0
push dword [ebp - 0x28]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_WSASocketW]
cmp eax, 0xffffffff
mov dword [ebp - 0x28], eax
mov ecx, esi
sete dl
call fcn.0044aee0
mov ecx, dword [ebp - 0x28]
cmp ecx, 0xffffffff
jne 0x44c58a
or ecx, ecx
mov dword [ebp - 0x28], ecx
jmp 0x44c5ab
cmp dword [ebp - 0x20], 0x17
jne 0x44c5ab
push 4
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push eax
push 0x1b
push 0x29
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 4], 0
cmp ecx, 0xffffffff
jne 0x44c5c7
movq xmm0, qword [esi]
movq qword [edi], xmm0
mov eax, dword [esi + 8]
jmp 0x44c762
mov eax, dword [ebp - 0x2c]
push 0
push 0
mov eax, dword [eax + 4]
push dword [eax + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
test eax, eax
jne 0x44c64b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [0x499a50]
mov ecx, eax
mov eax, dword [0x499a54]
mov dword [ebp - 0x2c], ecx
cmp edx, 0x257edfd1
jne 0x44c604
cmp eax, 0xb2ab117a
je 0x44c613
cmp edx, 0x257edfd0
jne 0x44c61a
cmp eax, 0xb2ab117a
jne 0x44c61a
test ecx, ecx
setne al
jmp 0x44c62d
mov eax, dword [0x499a48]
push ecx
mov ecx, 0x499a48
mov eax, dword [eax + 0x18]
call eax
mov ecx, dword [ebp - 0x2c]
movzx eax, al
mov dword [ebp - 0x1c], ecx
add eax, 2
mov dword [ebp - 0x18], 0x499a48
movq xmm0, qword [ebp - 0x1c]
movq qword [esi], xmm0
mov dword [esi + 8], eax
jmp 0x44c659
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi + 8], 0
mov eax, dword [esi + 8]
movq xmm0, qword [esi]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], eax
test al, 1
je 0x44c6b6
cmp eax, 1
jne 0x44c67c
cmp dword [ebp - 0x1c], 0
setne al
test al, al
je 0x44c6b6
movq xmm0, qword [esi]
lea edx, [ebp - 0x21]
mov ecx, dword [ebp - 0x28]
movq qword [edi], xmm0
xorps xmm0, xmm0
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
lea eax, [ebp - 0x1c]
push eax
push 1
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov byte [ebp - 0x21], 0
call fcn.0044af70
add esp, 8
jmp 0x44c765
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ecx], eax
mov eax, dword [ebp - 0x30]
sub eax, 1
je 0x44c6de
sub eax, 1
je 0x44c6d8
mov byte [ecx + 4], 0
jmp 0x44c6e2
mov byte [ecx + 4], 0x20
jmp 0x44c6e2
mov byte [ecx + 4], 0x10
push 0x10
call fcn.0047639c
mov edx, dword [ebp - 0x34]
xorps xmm0, xmm0
add esp, 4
mov dword [ebp - 0x30], eax
movups xmmword [eax], 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_resource_void___struct_boost::asio::detail::socket_ops::noop_deleter_.0
mov dword [eax + 0xc], 0
mov ecx, dword [edx + 0xc]
mov dword [edx + 8], 0
mov dword [ebp - 0x30], ecx
mov dword [edx + 0xc], eax
test ecx, ecx
je 0x44c752
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x44c752
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x30]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x44c752
mov eax, dword [ecx]
call dword [eax + 4]
xorps xmm0, xmm0
xor eax, eax
movq qword [esi], xmm0
mov dword [esi + 8], eax
movq qword [edi], xmm0
mov dword [edi + 8], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00475d09
mov esp, ebp
pop ebp
ret 0x18