Function at 0x1400756f0
Capabilities:
Set socket configuration

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov r9, r8
mov dword [rsp + 0x28], 1
mov rbx, rcx
mov ebp, edx
mov dword [rsp + 0x20], 0
mov rdi, r8
mov edx, 0xffffffff
mov r8d, 0xffffffff
mov ecx, 0xffffffff
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140075858
mov r13d, dword [rdi + 0x4c]
mov r12, qword [rbx + 8]
mov dword [rsp + 0x34], 1
cmp qword [rbx + 0x110], 0xffffffffffffffff
jne 0x140075880
lea r8, [rsp + 0x34]
mov edx, 0x8004667e
mov rcx, rax
call qword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
je 0x1400758a0
xor r8d, r8d
mov edx, 1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
je 0x140075800
xor r9d, r9d
mov rdx, qword [r12 + 0x38]
mov r8, rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
test rax, rax
mov eax, dword [rbx + 0x58]
je 0x140075940
mov ecx, eax
and ecx, 0x80000
cmp r13d, 0x17
je 0x140075870
mov rdx, qword [0x1402342a0]
mov edx, dword [rdx]
or edx, ecx
je 0x140075950
test eax, 0x1000000
jne 0x1400758b0
test eax, 0x2000000
jne 0x1400758f0
mov edx, eax
mov qword [rbx + 0x110], rsi
or edx, 0x400000
cmp r13d, 0x17
cmove eax, edx
jmp 0x140075811
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12d, eax
test r12d, r12d
jne 0x140075886
mov eax, dword [rbx + 0x58]
mov ecx, eax
or eax, 0x2000e080
mov edx, dword [rdi + 0x274]
or ecx, 0x20002000
cmp ebp, 1
cmovne eax, ecx
mov dword [rbx + 0x118], edx
xor r12d, r12d
mov dword [rbx + 0x58], eax
mov rax, qword [rbx + 8]
add dword [rax + 0xa8], 1
mov eax, r12d
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rdx, qword [0x1402342b0]
mov edx, dword [rdx]
jmp 0x1400757c4
mov r12d, 0xfffff00e
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
mov eax, r12d
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r12d, eax
jmp 0x140075809
mov dword [rsp + 0x3c], 1
lea r9, [rsp + 0x3c]
mov r8d, 1
mov rcx, rsi
mov dword [rsp + 0x20], 4
mov edx, 6
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x1400759c0
mov eax, dword [rbx + 0x58]
test eax, 0x2000000
je 0x1400757e2
mov dword [rsp + 0x38], 1
lea r9, [rsp + 0x38]
mov rcx, rsi
mov r12, qword [sym.imp.WS2_32.dll_setsockopt]
mov dword [rsp + 0x3c], 0x3c
mov r8d, 8
mov edx, 0xffff
mov dword [rsp + 0x20], 4
call r12
cmp eax, 0xffffffff
je 0x1400759a3
mov eax, dword [rsp + 0x38]
test eax, eax
jne 0x140075980
mov eax, dword [rbx + 0x58]
jmp 0x1400757e2
or eax, 0x80000
mov dword [rbx + 0x58], eax
jmp 0x1400757cc
mov edx, 3
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetFileCompletionNotificationModes]
test eax, eax
je 0x140075800
mov eax, dword [rbx + 0x58]
or eax, 0x20000
mov dword [rbx + 0x58], eax
jmp 0x1400757cc
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x3c]
mov edx, 6
mov rcx, rsi
mov r8d, 3
call r12
cmp eax, 0xffffffff
jne 0x140075932
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r12d, eax
test eax, eax
jne 0x140075886
jmp 0x140075932
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r12d, eax
test eax, eax
jne 0x140075886
jmp 0x1400758e2