Function at 0x432d80
Capabilities:
Set socket configuration

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov r9, r8
mov rdi, r8
mov r8d, 0xffffffff
mov rbx, rcx
mov r12d, edx
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
mov edx, r8d
mov ecx, r8d
call qword [sym.imp.WS2_32.dll_WSASocketW]
cmp rax, 0xffffffffffffffff
mov rsi, rax
je 0x432f23
cmp qword [rbx + 0x110], 0xffffffffffffffff
mov r13d, dword [rdi + 0x4c]
mov rbp, qword [rbx + 8]
mov dword [rsp + 0x30], 1
jne 0x432f40
lea r8, [rsp + 0x30]
mov edx, 0x8004667e
mov rcx, rax
call qword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
je 0x432f60
xor r8d, r8d
mov edx, 1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
je 0x432e80
xor r9d, r9d
mov rdx, qword [rbp + 0x38]
mov r8, rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
test rax, rax
mov eax, dword [rbx + 0x58]
je 0x433030
cmp r13d, 0x17
je 0x432fb0
mov rdx, qword [0x00451840]
mov edx, dword [rdx]
test eax, 0x80000
jne 0x432e57
test edx, edx
je 0x432fc0
test eax, 0x1000000
jne 0x432f70
test eax, 0x2000000
jne 0x432ed2
cmp r13d, 0x17
mov qword [rbx + 0x110], rsi
jne 0x432e93
or eax, 0x400000
mov dword [rbx + 0x58], eax
jmp 0x432e93
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
test ebp, ebp
jne 0x432f45
mov eax, dword [rbx + 0x58]
mov edx, dword [rdi + 0x274]
mov dword [rbx + 0x118], edx
mov edx, eax
or eax, 0x10002000
or edx, 0x1000e080
cmp r12d, 1
cmove eax, edx
xor ebp, ebp
mov dword [rbx + 0x58], eax
mov rax, qword [rbx + 8]
add dword [rax + 0xb0], 1
mov eax, ebp
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x3c], 0x3c
lea r9, [rsp + 0x38]
mov dword [rsp + 0x20], 4
mov r8d, 8
mov edx, 0xffff
mov rcx, rsi
mov rbp, qword [sym.imp.WS2_32.dll_setsockopt]
call rbp
cmp eax, 0xffffffff
je 0x433016
mov eax, dword [rsp + 0x38]
test eax, eax
jne 0x432ff0
mov eax, dword [rbx + 0x58]
jmp 0x432e69
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebp, eax
mov eax, ebp
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov ebp, 0xfffff00e
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
mov eax, ebp
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 ebp, eax
jmp 0x432e88
mov dword [rsp + 0x34], 1
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov r8d, 1
mov edx, 6
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x433040
mov eax, dword [rbx + 0x58]
jmp 0x432e62
mov rdx, qword [0x00451850]
mov edx, dword [rdx]
jmp 0x432e48
mov edx, 3
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetFileCompletionNotificationModes]
test eax, eax
je 0x432e80
mov eax, dword [rbx + 0x58]
or eax, 0x20000
mov dword [rbx + 0x58], eax
jmp 0x432e57
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x3c]
mov r8d, 3
mov edx, 6
mov rcx, rsi
call rbp
cmp eax, 0xffffffff
jne 0x432f1b
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
mov ebp, eax
jne 0x432f45
jmp 0x432f1b
or eax, 0x80000
mov dword [rbx + 0x58], eax
jmp 0x432e35
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
mov ebp, eax
jne 0x432f45
jmp 0x432fa2