Function at 0x14000f0e0
Capabilities:
Connect socket
Get socket status

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x560]
sub rsp, 0x660
mov rax, qword [0x14001d008]
xor rax, rsp
mov qword [rbp + 0x550], rax
mov r13, r8
mov r12, rdx
mov qword [rsp + 0x48], rcx
mov qword [rbp - 0x18], rdx
mov qword [rbp - 0x10], r8
lea r14, [rcx + 0x150]
xor ebx, ebx
test byte [r14 + 0x10], 1
je 0x14000f14c
cmp qword [r14 + 0x10], 1
jne 0x14000f13f
cmp dword [r14], ebx
je 0x14000f14c
mov rbx, qword [rdx + 8]
or rsi, 0xffffffffffffffff
jmp 0x14000f895
mov dword [rsp + 0x5c], ebx
movabs rcx, 0x4d54ee85da812030
add rcx, qword [0x14001d070]
mov edi, 3
lea rsi, [0x14001d068]
cmp rcx, 1
jbe 0x14000f184
mov rax, qword [0x14001d068]
mov edx, edi
mov rcx, rsi
call qword [rax + 0x30]
jmp 0x14000f186
mov al, 1
movzx eax, al
add rax, 2
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x58], edi
mov qword [rsp + 0x60], rsi
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [r14], xmm0
movsd xmm1, qword [rsp + 0x68]
movsd qword [r14 + 0x10], xmm1
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0xe8], xmm0
mov qword [rbp + 0xf8], rax
mov rax, qword [r12 + 8]
test rax, rax
je 0x14000f1d1
lock inc dword [rax + 8]
mov r15, qword [r12]
mov qword [rsp + 0x40], r15
mov qword [rbp + 0xe8], r15
mov rdi, qword [r12 + 8]
mov qword [rbp + 0xf0], rdi
mov r8, qword [r12 + 0x10]
mov qword [rbp + 0xf8], r8
mov r10, r15
mov r9, r8
or rsi, 0xffffffffffffffff
jmp 0x14000f207
xor ebx, ebx
test r10, r10
jne 0x14000f216
cmp qword [r13], rbx
jne 0x14000f219
mov al, 1
jmp 0x14000f22a
mov r9, r8
cmp r15, qword [r13]
je 0x14000f223
mov al, bl
jmp 0x14000f22a
cmp r9, qword [r13 + 0x10]
sete al
test al, al
jne 0x14000f858
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
mov r8, rax
cmp rbx, 0x989680
jne 0x14000f253
imul rax, r8, 0x64
jmp 0x14000f276
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
mov rax, r8
cqo
idiv rbx
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
mov rdx, qword [rsp + 0x48]
cmp qword [rdx + 0x168], rax
jl 0x14000f84a
mov rax, qword [rbp + 0xf8]
lea rcx, [rax + rax*2]
shl rcx, 5
add rcx, qword [r15]
movups xmm0, xmmword [rcx]
movups xmmword [rbp + 0x110], xmm0
movsd xmm1, qword [rcx + 0x10]
movsd qword [rbp + 0x120], xmm1
mov eax, dword [rcx + 0x18]
mov dword [rbp + 0x128], eax
lea rax, [rdx + 0xb0]
mov qword [rsp + 0x50], rax
mov rcx, qword [rax]
lea r15, [rax + 8]
xor eax, eax
cmp qword [r15], rsi
je 0x14000f350
xor edx, edx
lock cmpxchg qword [rcx + 0x38], rdx
mov qword [rsp + 0x40], rax
je 0x14000f324
mov rbx, qword [r15]
lea rdi, [rax + 0x30]
mov qword [rbp - 8], rdi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [rbp], 1
mov edx, 0x3e3
lea rcx, [rbp + 0x70]
call fcn.14000ab44
lea r8, [rbp + 0x70]
mov rdx, rbx
mov rcx, qword [rsp + 0x40]
call fcn.140004efc
nop
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rbx, [r15 + 8]
mov r9, r14
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [r15]
call fcn.140004c60
mov rdi, qword [rbp + 0xf0]
mov rax, qword [rbp + 0xe8]
mov qword [rsp + 0x40], rax
xor eax, eax
jmp 0x14000f36e
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
mov qword [rbp + 0x18], rax
movups xmmword [r14], xmm0
movsd xmm0, qword [rbp + 0x18]
movsd qword [r14 + 0x10], xmm0
lea rbx, [r15 + 8]
mov qword [r15], rsi
mov byte [rbx], al
mov qword [r15 + 0x10], rax
mov rbx, qword [r15 + 0x18]
mov qword [r15 + 0x18], rax
test rbx, rbx
je 0x14000f3be
mov eax, esi
lock xadd dword [rbx + 8], eax
add eax, esi
jne 0x14000f3ab
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
add eax, esi
jne 0x14000f3ab
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + ioctlsocket]
mov rax, qword [rbp + 0xe8]
mov qword [rsp + 0x40], rax
mov rdi, qword [rbp + 0xf0]
mov ebx, 0x17
lea eax, [rbx - 0x15]
cmp word [rbp + 0x110], ax
cmove ebx, eax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
add rcx, 0x28
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 6
mov dword [rsp + 0x20], 1
mov r9d, ebx
mov r8, r15
lea rdx, [rbp + 0xb8]
call fcn.140005188
test byte [rax + 0x10], 1
je 0x14000f416
cmp qword [rax + 0x10], 1
jne 0x14000f44b
xor edx, edx
cmp dword [rax], edx
jne 0x14000f44b
mov dword [r15 + 0x38], ebx
xor eax, eax
mov byte [r15 + 0x3c], al
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
mov dword [rbp - 0x60], eax
lea ecx, [rax + 2]
mov qword [rbp - 0x78], rcx
movups xmm0, xmmword [rbp - 0x78]
movups xmmword [r15 + 0x40], xmm0
unpckhpd xmm1, xmm1
movsd qword [r15 + 0x50], xmm1
mov dword [r15 + 0x58], eax
jmp 0x14000f450
mov ecx, 2
movups xmm1, xmmword [r14]
movups xmmword [rbp - 0x58], xmm1
movsd xmm0, qword [r14 + 0x10]
movsd qword [rbp - 0x48], xmm0
mov rax, qword [r14 + 0x10]
cmp rax, rcx
jb 0x14000f482
and eax, 1
lea rcx, str.C:Users_ntoskrnlDesktopSDK_boost_asio_182_0_boost_asiodetailwin_iocp_socket_service.hpp
or rax, rcx
mov qword [rbp - 0x48], rax
movsd xmm0, qword [rbp - 0x48]
movups xmmword [r14], xmm1
movsd qword [r14 + 0x10], xmm0
test byte [r14 + 0x10], 1
je 0x14000f4ac
cmp qword [r14 + 0x10], 1
jne 0x14000f789
xor r15d, r15d
cmp dword [r14], r15d
jne 0x14000f789
jmp 0x14000f4af
xor r15d, r15d
mov rbx, qword [rsp + 0x48]
mov eax, 2
test byte [rbx + 0xc0], al
jne 0x14000f4d7
mov r9, r14
lea rdx, [rbp + 0xd0]
lea rcx, [rbx + 0xb0]
call fcn.14000a3ac
mov eax, select
lea ecx, [rax - 0xe]
lea r8d, [rax + 0xc]
cmp word [rbp + 0x110], cx
cmove r8d, eax
mov rcx, qword [rbx + 0xb8]
mov qword [rbp + 0x20], rcx
cmp byte [rbx + 0xf4], r15b
jne 0x14000f512
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x2c], xmm0
mov qword [rbp + 0x3c], rax
mov dword [rbp + 0x44], eax
cmp rcx, rsi
jne 0x14000f526
mov edx, 0x2719
mov rcx, r14
call fcn.14000aab8
jmp 0x14000f540
lea rdx, [rbp + 0x110]
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
setne dl
mov rcx, r14
call fcn.140004bb0
test byte [r14 + 0x10], 1
je 0x14000f858
cmp qword [r14 + 0x10], 1
jne 0x14000f55b
cmp dword [r14], r15d
je 0x14000f858
mov edx, 0x2734
lea rcx, [rbp + 0x88]
call fcn.14000ab44
lea rdx, [rbp + 0x88]
mov rcx, r14
call fcn.14000265c
test al, al
jne 0x14000f5a7
mov edx, 0x2733
lea rcx, [rbp + 0xa0]
call fcn.14000ab44
lea rdx, [rbp + 0xa0]
mov rcx, r14
call fcn.14000265c
test al, al
je 0x14000f789
mov rcx, rbx
call fcn.14000a2b0
mov r8d, eax
mov rcx, qword [rbx + 0xb8]
mov qword [rbp - 0x40], rcx
cmp byte [rbx + 0xf4], r15b
jne 0x14000f5d6
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x34], xmm0
mov qword [rbp - 0x24], rax
mov dword [rbp - 0x1c], eax
cmp rcx, rsi
jne 0x14000f5ed
mov edx, 0x2719
mov rcx, r14
call fcn.14000aab8
jmp 0x14000f789
mov qword [rbp + 0x348], rcx
mov dword [rbp + 0x340], 1
mov qword [rbp + 0x138], rcx
mov dword [rbp + 0x130], 1
test r8d, r8d
js 0x14000f64b
mov eax, 0x10624dd3
imul r8d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [rbp + 0x108], edx
imul eax, edx, 0x3e8
sub r8d, eax
imul eax, r8d, 0x3e8
mov dword [rbp + 0x10c], eax
lea rax, [rbp + 0x108]
jmp 0x14000f64e
mov rax, r15
mov ecx, dword [rbp - 0x40]
inc ecx
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x130]
lea r8, [rbp + 0x340]
xor edx, edx
call qword [sym.imp.WS2_32.dll_select]
mov ebx, eax
test eax, eax
sets dl
mov rcx, r14
call fcn.140004bb0
test ebx, ebx
js 0x14000f789
mov dword [rbp + 0x100], r15d
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax + 0xb8]
mov qword [rbp + 0x48], rcx
cmp byte [rax + 0xf4], r15b
jne 0x14000f6b5
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x54], xmm0
mov qword [rbp + 0x64], rax
mov dword [rbp + 0x6c], eax
cmp rcx, rsi
je 0x14000f843
mov dword [rbp + 0x104], 4
lea rax, [rbp + 0x104]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x100]
mov edx, 0xffff
mov r8d, 0x1007
call qword [sym.imp.WS2_32.dll_getsockopt]
mov ebx, eax
test eax, eax
setne dl
mov rcx, r14
call fcn.140004bb0
cmp ebx, esi
je 0x14000f858
mov ebx, dword [rbp + 0x100]
mov dword [rsp + 0x74], r15d
movabs rcx, 0x4d54ee85da812030
add rcx, qword [0x14001d0e0]
cmp rcx, 1
jbe 0x14000f73a
mov rax, qword [0x14001d0d8]
mov edx, ebx
lea rcx, [0x14001d0d8]
call qword [rax + 0x30]
jmp 0x14000f73f
test ebx, ebx
setne al
movzx eax, al
add rax, 2
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x70], ebx
lea rax, [0x14001d0d8]
mov qword [rsp + 0x78], rax
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [r14], xmm0
movsd xmm1, qword [rbp - 0x80]
movsd qword [r14 + 0x10], xmm1
test byte [r14 + 0x10], 1
je 0x14000f858
cmp qword [r14 + 0x10], 1
jne 0x14000f789
cmp dword [r14], r15d
je 0x14000f858
mov r8, qword [rbp + 0xf8]
inc r8
mov qword [rbp + 0xf8], r8
mov r15, qword [rsp + 0x40]
mov r10, r15
mov r9, r8
mov rcx, qword [r15 + 8]
sub rcx, qword [r15]
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r8, rdx
jne 0x14000f205
xor eax, eax
mov r15d, eax
mov qword [rsp + 0x40], rax
mov qword [rbp + 0xe8], rax
mov rbx, rdi
mov edi, eax
mov qword [rbp + 0xf0], rax
test rbx, rbx
je 0x14000f82c
mov eax, esi
lock xadd dword [rbx + 8], eax
add eax, esi
jne 0x14000f819
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
add eax, esi
jne 0x14000f819
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + ioctlsocket]
mov r15, qword [rbp + 0xe8]
mov qword [rsp + 0x40], r15
mov rdi, qword [rbp + 0xf0]
xor ebx, ebx
mov qword [rbp + 0xf8], rbx
mov r10d, ebx
mov r8d, ebx
mov r9d, ebx
jmp 0x14000f207
mov edx, 0x2719
jmp 0x14000f84f
mov edx, 0x274c
mov rcx, r14
call fcn.14000aab8
nop
test rdi, rdi
je 0x14000f890
mov eax, esi
lock xadd dword [rdi + 8], eax
add eax, esi
jne 0x14000f890
mov rbx, qword [rbp + 0xf0]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
add eax, esi
jne 0x14000f890
mov rcx, qword [rbp + 0xf0]
mov rax, qword [rcx]
call qword [rax + ioctlsocket]
nop
mov rbx, qword [r12 + 8]
test rbx, rbx
je 0x14000f8c2
mov eax, esi
lock xadd dword [rbx + 8], eax
add eax, esi
jne 0x14000f8c2
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
add eax, esi
jne 0x14000f8c2
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + ioctlsocket]
nop
mov rbx, qword [r13 + 8]
test rbx, rbx
je 0x14000f8f2
mov eax, esi
lock xadd dword [rbx + 8], eax
add eax, esi
jne 0x14000f8f2
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
add eax, esi
jne 0x14000f8f2
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + ioctlsocket]
mov rcx, qword [rbp + 0x550]
xor rcx, rsp
call fcn.140011270
mov rbx, qword [rsp + 0x6b8]
add rsp, 0x660
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret