Function at 0x1400010e0
Capabilities:
Set socket configuration

Disassembly:
push rbp
push rbx
push rsi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xb8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0xf], rax
xor r12d, r12d
mov dword [rbp - 9], 0x25a207b9
mov qword [rsp + 0x40], r12
lea rax, [rbp + 7]
mov qword [rsp + 0x38], r12
mov r15, r9
mov qword [rsp + 0x30], rax
mov r14d, r8d
lea rax, [rbp - 0x39]
mov dword [rsp + 0x28], 8
mov rsi, rdx
mov qword [rsp + 0x20], rax
lea r9d, [r12 + 0x10]
mov dword [rbp + 0xb], r12d
lea r8, [rbp - 9]
mov qword [rbp - 0x39], r12
mov edx, 0xc8000006
mov dword [rbp - 5], 0x4660ddf3
mov rbx, rcx
mov dword [rbp - 1], 0xe576e98e
mov dword [rbp + 3], 0x3e06748c
mov dword [rbp + 7], r12d
call qword [sym.imp.WS2_32.dll_WSAIoctl]
cmp eax, 0xffffffff
je 0x1400012bb
xorps xmm0, xmm0
mov qword [rbp - 0x31], r12
movdqu xmmword [rbp - 0x29], xmm0
call qword [sym.imp.WS2_32.dll_WSACreateEvent]
mov qword [rbp - 0x19], rax
test rax, rax
je 0x1400012e8
lea rax, [rbp - 0x31]
mov qword [rsp + 0xb0], rdi
mov edi, dword [rbp + 0x7f]
mov r9, r15
mov qword [rsp + 0x30], rax
mov r8d, r14d
lea rax, [rbp - 0x11]
mov rdx, rsi
mov qword [rsp + 0x28], rax
mov rcx, rbx
mov dword [rsp + 0x20], edi
call qword [rbp - 0x39]
test eax, eax
jne 0x14000125f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
jne 0x140001206
mov rcx, qword [rbp - 0x19]
lea edx, [rax + 3]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x14000122b
lea rdx, [rbp - 0x31]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CancelIoEx]
mov eax, 0x274c
mov rdi, qword [rsp + 0xb0]
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.1400019a0
add rsp, 0xb8
pop r15
pop r14
pop r12
pop rsi
pop rbx
pop rbp
ret
test eax, eax
jne 0x140001315
lea rax, [rbp + 0xb]
mov r9d, 1
lea r8, [rbp - 0x11]
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x31]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_WSAGetOverlappedResult]
test eax, eax
jne 0x14000125f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
jmp 0x140001206
xor r9d, r9d
mov dword [rsp + 0x20], r12d
mov edx, 0xffff
mov r8d, 0x7010
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x140001340
mov eax, r12d
cmp dword [rbp - 0x11], edi
je 0x140001206
lea rdx, str.ConnectEx_bytes_transferred
lea rcx, [0x1400033a0]
call fcn.140001070
lea rdx, [0x140003eb8]
mov dword [rbp - 0x41], 1
lea rcx, [rbp - 0x41]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.Couldnt_get_ConnectEx_func_pointer
lea rcx, [0x1400033a0]
call fcn.140001070
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, [0x140003eb8]
mov dword [rbp - 0x41], eax
lea rcx, [rbp - 0x41]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.Failed_WSACreateEvent
lea rcx, [0x1400033a0]
call fcn.140001070
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, [0x140003eb8]
mov dword [rbp - 0x41], eax
lea rcx, [rbp - 0x41]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.Unexpected_WaitForSingleObject_status
lea rcx, [0x1400033a0]
call fcn.140001070
lea rdx, [0x140003eb8]
mov dword [rbp - 0x41], 1
lea rcx, [rbp - 0x41]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.Couldnt_set_SO_UPDATE_CONNECT_CONTEXT
lea rcx, [0x1400033a0]
call fcn.140001070
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, [0x140003eb8]
mov dword [rbp - 0x41], eax
lea rcx, [rbp - 0x41]
call sub.VCRUNTIME140.dll__CxxThrowException
int3