Function at 0x14007de70
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 - 0x5d0]
sub rsp, 0x6d0
mov rax, qword [0x1400af040]
xor rax, rsp
mov qword [rbp + 0x5c0], rax
mov r12, r8
mov qword [rsp + 0x48], r8
mov rdi, rdx
mov qword [rsp + 0x40], rdx
mov r14, rcx
mov qword [rsp + 0x50], rcx
mov qword [rbp + 0x58], rdx
mov qword [rbp + 0x60], r8
lea rsi, [rcx + 0x150]
mov rax, qword [rsi + 0x10]
test al, 1
je 0x14007df1e
cmp rax, 1
jne 0x14007deda
cmp dword [rsi], 0
je 0x14007df1e
mov rbx, qword [rdx + 8]
mov rdi, 0xffffffffffffffff
test rbx, rbx
je 0x14007df14
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14007df14
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14007df14
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + VariantCopy]
nop
mov rbx, qword [r12 + 8]
jmp 0x14007e8a6
xor ebx, ebx
mov dword [rsp + 0x64], ebx
movabs rcx, 0x4d54ee85da812030
add rcx, qword [0x1400af0c0]
lea r15, [0x1400af0b8]
cmp rcx, 1
jbe 0x14007df54
mov rax, qword [0x1400af0b8]
lea edx, [rbx + 3]
mov rcx, r15
call qword [rax + 0x30]
jmp 0x14007df56
mov al, 1
movzx eax, al
add rax, 2
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x60], 3
mov qword [rsp + 0x68], r15
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rsi], xmm0
movsd xmm1, qword [rsp + 0x70]
movsd qword [rsi + 0x10], xmm1
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x158], xmm0
mov qword [rbp + 0x168], rax
mov rax, qword [rdi + 8]
test rax, rax
je 0x14007dfa2
lock inc dword [rax + 8]
mov r13, qword [rdi]
mov qword [rbp + 0x158], r13
mov r15, qword [rdi + 8]
mov qword [rbp + 0x160], r15
mov r8, qword [rdi + 0x10]
mov qword [rbp + 0x168], r8
mov r10, r13
mov r9, r8
mov rdi, 0xffffffffffffffff
nop
test r10, r10
jne 0x14007dfe1
cmp qword [r12], r10
je 0x14007e77e
jmp 0x14007dfe4
mov r9, r8
cmp r13, qword [r12]
jne 0x14007dff5
cmp r9, qword [r12 + 0x10]
je 0x14007e77e
lea rcx, [rsp + 0x58]
call fcn.140064fb0
mov rdx, qword [r14 + 0x168]
cmp rdx, qword [rsp + 0x58]
je 0x14007e022
mov ecx, 1
mov eax, 0xff
cmovl ecx, eax
test cl, cl
js 0x14007e71c
mov rax, qword [rbp + 0x168]
lea rax, [rax + rax*2]
shl rax, 5
add rax, qword [r13]
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x180], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rbp + 0x190], xmm1
mov eax, dword [rax + 0x18]
mov dword [rbp + 0x198], eax
lea r12, [r14 + 0xb0]
mov rcx, qword [r12]
cmp qword [r12 + 8], rdi
je 0x14007e0a6
xor eax, eax
lock cmpxchg qword [rcx + 0x38], rbx
je 0x14007e07e
mov rdx, qword [r12 + 8]
mov rcx, rax
call fcn.140069ee0
lea rbx, [r12 + 0x10]
mov r9, rsi
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [r12 + 8]
call fcn.1400693e0
mov r15, qword [rbp + 0x160]
mov r13, qword [rbp + 0x158]
jmp 0x14007e0c3
xorps xmm0, xmm0
movups xmmword [rbp + 0x68], xmm0
mov qword [rbp + 0x78], rbx
movups xmmword [rsi], xmm0
movsd xmm0, qword [rbp + 0x78]
movsd qword [rsi + 0x10], xmm0
lea rbx, [r12 + 0x10]
mov qword [r12 + 8], rdi
mov byte [rbx], 0
xor eax, eax
mov qword [r12 + 0x18], rax
mov rbx, qword [r12 + 0x20]
mov qword [r12 + 0x20], rax
test rbx, rbx
je 0x14007e118
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14007e10a
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14007e10a
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + VariantCopy]
mov r13, qword [rbp + 0x158]
mov r15, qword [rbp + 0x160]
mov ebx, 0x17
cmp word [rbp + 0x180], 2
mov eax, 2
cmove ebx, eax
mov rcx, qword [r12]
add rcx, 0x28
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 6
mov dword [rsp + 0x20], 1
mov r9d, ebx
lea r8, [r12 + 8]
lea rdx, [rbp + 0x128]
call fcn.14006a390
mov rcx, qword [rax + 0x10]
test cl, 1
je 0x14007e172
cmp rcx, 1
jne 0x14007e1ac
cmp dword [rax], 0
jne 0x14007e1ac
mov dword [r12 + 0x40], ebx
mov byte [r12 + 0x44], 0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x28], xmm1
xor eax, eax
mov dword [rbp + 0x38], eax
mov qword [rbp + 0x20], 2
movups xmm0, xmmword [rbp + 0x20]
movups xmmword [r12 + 0x48], xmm0
unpckhpd xmm1, xmm1
movsd qword [r12 + 0x58], xmm1
mov dword [r12 + 0x60], eax
movups xmm1, xmmword [rsi]
movups xmmword [rbp + 0x40], xmm1
movsd xmm0, qword [rsi + 0x10]
movsd qword [rbp + 0x50], xmm0
mov rax, qword [rsi + 0x10]
cmp rax, 2
jb 0x14007e1dd
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 + 0x50], rax
movsd xmm0, qword [rbp + 0x50]
movups xmmword [rsi], xmm1
movsd qword [rsi + 0x10], xmm0
mov rax, qword [rsi + 0x10]
test al, 1
je 0x14007e200
cmp rax, 1
jne 0x14007e65c
cmp dword [rsi], 0
jne 0x14007e65c
mov r14, qword [rsp + 0x50]
test byte [r14 + 0xc0], 2
jne 0x14007e221
mov r9, rsi
lea rdx, [rbp + 0x140]
mov rcx, r12
call fcn.140078d10
mov r8d, 0x1c
cmp word [rbp + 0x180], 2
mov eax, select
cmove r8d, eax
mov rcx, qword [r14 + 0xb8]
mov qword [rbp + 0xb0], rcx
cmp byte [r14 + 0xf4], 0
jne 0x14007e269
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0xbc], xmm0
mov qword [rbp + 0xcc], rax
mov dword [rbp + 0xd4], eax
cmp rcx, rdi
jne 0x14007e2d9
xor r12d, r12d
mov dword [rsp + 0x7c], r12d
movabs rcx, 0x4d54ee85da812030
add rcx, qword [0x1400af560]
cmp rcx, 1
jbe 0x14007e2a5
mov rax, qword [0x1400af558]
mov edx, 0x2719
lea rcx, [0x1400af558]
call qword [rax + 0x30]
jmp 0x14007e2a7
mov al, 1
movzx eax, al
add rax, 2
mov qword [rbp - 0x78], rax
mov dword [rsp + 0x78], 0x2719
lea rcx, [0x1400af558]
mov qword [rbp - 0x80], rcx
movups xmm0, xmmword [rsp + 0x78]
movups xmmword [rsi], xmm0
movsd xmm1, qword [rbp - 0x78]
movsd qword [rsi + 0x10], xmm1
jmp 0x14007e2fd
lea rdx, [rbp + 0x180]
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
setne dl
mov rcx, rsi
call fcn.140069320
xor r12d, r12d
lea rcx, [0x1400af558]
mov rax, qword [rsi + 0x10]
test al, 1
je 0x14007e82a
cmp rax, 1
jne 0x14007e318
cmp dword [rsi], 0
je 0x14007e82a
mov dword [rbp - 0x6c], r12d
mov rbx, qword [0x1400af560]
movabs rax, 0x4d54ee85da812030
add rax, rbx
cmp rax, 1
jbe 0x14007e34e
mov rax, qword [0x1400af558]
mov edx, 0x2734
call qword [rax + 0x30]
mov rbx, qword [0x1400af560]
jmp 0x14007e350
mov al, 1
movzx eax, al
add rax, 2
mov qword [rbp - 0x60], rax
mov dword [rbp - 0x70], 0x2734
lea rax, [0x1400af558]
mov qword [rbp - 0x68], rax
movups xmm0, xmmword [rbp - 0x70]
movups xmmword [rbp + 0x80], xmm0
movsd xmm1, qword [rbp - 0x60]
movsd qword [rbp + 0x90], xmm1
lea rdx, [rbp + 0x80]
mov rcx, rsi
call fcn.140066cd0
test al, al
jne 0x14007e415
mov dword [rbp - 0x54], r12d
movabs rax, 0x4d54ee85da812030
add rax, rbx
cmp rax, 1
jbe 0x14007e3c7
mov rax, qword [0x1400af558]
mov edx, 0x2733
lea rcx, [0x1400af558]
call qword [rax + 0x30]
jmp 0x14007e3c9
mov al, 1
movzx eax, al
add rax, 2
mov qword [rbp - 0x48], rax
mov dword [rbp - 0x58], 0x2733
lea rax, [0x1400af558]
mov qword [rbp - 0x50], rax
movups xmm0, xmmword [rbp - 0x58]
movups xmmword [rbp + 0x98], xmm0
movsd xmm1, qword [rbp - 0x48]
movsd qword [rbp + 0xa8], xmm1
lea rdx, [rbp + 0x98]
mov rcx, rsi
call fcn.140066cd0
test al, al
je 0x14007e661
mov rcx, r14
call fcn.140078c40
mov r8d, eax
mov rcx, qword [r14 + 0xb8]
mov qword [rbp + 0xd8], rcx
cmp byte [r14 + 0xf4], 0
jne 0x14007e451
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0xe4], xmm0
mov qword [rbp + 0xf4], rax
mov dword [rbp + 0xfc], eax
cmp rcx, rdi
jne 0x14007e4bf
xor ebx, ebx
mov dword [rbp - 0x3c], ebx
movabs rcx, 0x4d54ee85da812030
add rcx, qword [0x1400af560]
cmp rcx, 1
jbe 0x14007e48a
mov rax, qword [0x1400af558]
mov edx, 0x2719
lea rcx, [0x1400af558]
call qword [rax + 0x30]
jmp 0x14007e48c
mov al, 1
movzx eax, al
add rax, 2
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x40], 0x2719
lea rax, [0x1400af558]
mov qword [rbp - 0x38], rax
movups xmm0, xmmword [rbp - 0x40]
movups xmmword [rsi], xmm0
movsd xmm1, qword [rbp - 0x30]
movsd qword [rsi + 0x10], xmm1
jmp 0x14007e663
mov qword [rbp + 0x3b8], rcx
mov dword [rbp + 0x3b0], 1
mov qword [rbp + 0x1a8], rcx
mov dword [rbp + 0x1a0], 1
test r8d, r8d
js 0x14007e51d
mov eax, 0x10624dd3
imul r8d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [rbp + 0x178], edx
imul eax, edx, 0x3e8
sub r8d, eax
imul eax, r8d, 0x3e8
mov dword [rbp + 0x17c], eax
lea rax, [rbp + 0x178]
jmp 0x14007e520
mov rax, r12
inc ecx
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1a0]
lea r8, [rbp + 0x3b0]
xor edx, edx
call qword [sym.imp.WS2_32.dll_select]
mov ebx, eax
mov edx, eax
shr edx, 0x1f
mov rcx, rsi
call fcn.140069320
test ebx, ebx
js 0x14007e661
mov dword [rbp + 0x170], r12d
mov rcx, qword [r14 + 0xb8]
mov qword [rbp + 0x100], rcx
cmp byte [r14 + 0xf4], 0
jne 0x14007e58c
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x10c], xmm0
mov qword [rbp + 0x11c], rax
mov dword [rbp + 0x124], eax
cmp rcx, rdi
je 0x14007e7c7
mov dword [rbp + 0x174], 4
lea rax, [rbp + 0x174]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x170]
mov edx, 0xffff
mov r8d, 0x1007
call qword [sym.imp.WS2_32.dll_getsockopt]
mov ebx, eax
test eax, eax
setne dl
mov rcx, rsi
call fcn.140069320
cmp ebx, edi
je 0x14007e82a
mov ebx, dword [rbp + 0x170]
mov dword [rbp - 0x24], r12d
movabs rcx, 0x4d54ee85da812030
add rcx, qword [0x1400af560]
cmp rcx, 1
jbe 0x14007e610
mov rax, qword [0x1400af558]
mov edx, ebx
lea rcx, [0x1400af558]
call qword [rax + 0x30]
jmp 0x14007e615
test ebx, ebx
setne al
movzx eax, al
add rax, 2
mov qword [rbp - 0x18], rax
mov dword [rbp - 0x28], ebx
lea rax, [0x1400af558]
mov qword [rbp - 0x20], rax
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [rsi], xmm0
movsd xmm1, qword [rbp - 0x18]
movsd qword [rsi + 0x10], xmm1
mov rax, qword [rsi + 0x10]
test al, 1
je 0x14007e82a
cmp rax, 1
jne 0x14007e661
cmp dword [rsi], 0
je 0x14007e82a
jmp 0x14007e661
mov r14, qword [rsp + 0x50]
xor ebx, ebx
mov r8, qword [rbp + 0x168]
inc r8
mov qword [rbp + 0x168], r8
mov r10, r13
mov r9, r8
mov rcx, qword [r13 + 8]
sub rcx, qword [r13]
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r8, rdx
mov r12, qword [rsp + 0x48]
jne 0x14007dfd0
mov r13, rbx
mov qword [rbp + 0x158], rbx
mov rbx, r15
xor eax, eax
mov r15d, eax
mov qword [rbp + 0x160], rax
test rbx, rbx
je 0x14007e700
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14007e6f2
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14007e6f2
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + VariantCopy]
mov r13, qword [rbp + 0x158]
mov r15, qword [rbp + 0x160]
xor ebx, ebx
mov qword [rbp + 0x168], rbx
mov r10d, ebx
mov r8d, ebx
mov r9d, ebx
mov r12, qword [rsp + 0x48]
jmp 0x14007dfd0
mov dword [rbp - 0xc], ebx
movabs rcx, 0x4d54ee85da812030
add rcx, qword [0x1400af560]
cmp rcx, 1
jbe 0x14007e74e
mov rax, qword [0x1400af558]
mov edx, 0x274c
lea rcx, [0x1400af558]
call qword [rax + 0x30]
jmp 0x14007e750
mov al, 1
movzx eax, al
add rax, 2
mov qword [rbp], rax
mov dword [rbp - 0x10], 0x274c
lea rax, [0x1400af558]
mov qword [rbp - 8], rax
movups xmm0, xmmword [rbp - 0x10]
movups xmmword [rsi], xmm0
movsd xmm1, qword [rbp]
movsd qword [rsi + 0x10], xmm1
test r15, r15
je 0x14007e7b9
mov eax, edi
lock xadd dword [r15 + 8], eax
cmp eax, 1
jne 0x14007e7b9
mov rbx, qword [rbp + 0x160]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14007e7b9
mov rcx, qword [rbp + 0x160]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
mov rbx, qword [rsp + 0x40]
mov rbx, qword [rbx + 8]
jmp 0x14007dee5
mov dword [rbp + 0xc], r12d
movabs rcx, 0x4d54ee85da812030
add rcx, qword [0x1400af560]
cmp rcx, 1
jbe 0x14007e7fa
mov rax, qword [0x1400af558]
mov edx, 0x2719
lea rcx, [0x1400af558]
call qword [rax + 0x30]
jmp 0x14007e7fc
mov al, 1
movzx eax, al
add rax, 2
mov qword [rbp + 0x18], rax
mov dword [rbp + 8], 0x2719
lea rax, [0x1400af558]
mov qword [rbp + 0x10], rax
movups xmm0, xmmword [rbp + 8]
movups xmmword [rsi], xmm0
movsd xmm1, qword [rbp + 0x18]
movsd qword [rsi + 0x10], xmm1
test r15, r15
je 0x14007e865
mov eax, edi
lock xadd dword [r15 + 8], eax
cmp eax, 1
jne 0x14007e865
mov rbx, qword [rbp + 0x160]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14007e865
mov rcx, qword [rbp + 0x160]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
mov rbx, qword [rsp + 0x40]
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x14007e89d
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14007e89d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14007e89d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + VariantCopy]
nop
mov rbx, qword [rsp + 0x48]
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x14007e8d2
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14007e8d2
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14007e8d2
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + VariantCopy]
mov rcx, qword [rbp + 0x5c0]
xor rcx, rsp
call fcn.14007fe40
mov rbx, qword [rsp + 0x728]
add rsp, 0x6d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret