Function at 0x44e7c0
Capabilities:
Set socket configuration

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x128
mov rbp, r9
mov r14, r8
mov rbx, rdx
mov rsi, rcx
cmp word [rdx], 0
mov eax, 2
mov edi, 0x17
cmove edi, eax
mov rax, qword [0x00576068]
cmp rax, 3
jne 0x44e969
mov dword [rsp + 0x28], 0x81
and dword [rsp + 0x20], 0
mov ecx, edi
mov edx, 1
mov r8d, 6
xor r9d, r9d
call sub.ws2_32.dll_WSASocketW
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x44e852
lea r12, [rsp + 0x60]
mov dword [r12], 1
mov rcx, r15
mov edx, 0x8004667e
mov r8, r12
call sub.ws2_32.dll_ioctlsocket
cmp eax, 0xffffffff
je 0x44e8b1
xor edx, edx
jmp 0x44e8b9
call fcn.004562dd
lea rdx, str.tcp_open_errortcp_set_nonblocking_errortcp_bind_local_error
lea rdi, [rsp + 0xa0]
mov r8d, 0xe
mov rcx, rdi
mov r9, rax
call fcn.0044e55f
mov r15, qword [rdi]
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x44e82c
mov rcx, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0xb8]
mov qword [rsi], r15
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x18], rdx
mov dword [rsi + 0x88], 0x3b9aca01
jmp 0x44eb85
call fcn.004562dd
mov rdx, rax
lea r8, [0x0051e966]
lea rdi, [rsp + 0xa0]
mov r9d, 0x19
mov rcx, rdi
call fcn.0044ec74
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x44e8f7
movups xmm0, xmmword [rsp + 0xa0]
movups xmmword [rsi], xmm0
mov rcx, qword [rsp + 0xb8]
jmp 0x44eb6b
mov r13, qword [r14 + 0x40]
mov edi, dword [r14 + 0x48]
mov rcx, qword [r14 + 0x50]
mov eax, dword [r14 + 0x58]
cmp edi, 0x3b9aca00
mov qword [rsp + 0x50], rbp
jne 0x44e925
mov edi, 0x3b9aca00
cmp eax, 0x3b9aca00
jne 0x44e931
jmp 0x44ea87
mov ebp, 0x3b9aca00
cmp eax, 0x3b9aca00
je 0x44e933
mov ebp, eax
cmp edi, 0x3b9aca01
je 0x44ea87
mov qword [rsp + 0x58], rcx
mov rcx, r15
mov edx, 8
mov r8d, 1
call fcn.004b3fa3
test rax, rax
je 0x44e9a2
mov rcx, rax
call fcn.0044ec90
jmp 0x44ea87
lea rax, [rsp + 0x80]
mov byte [rax], 1
lea r8, [rsp + 0x60]
mov qword [r8], rax
lea rax, str._usr_local_cargo_registry_src_index.crates.io_6f17d22bba15001f_socket2_0.5.7_src_sys_windows.rs
mov qword [rsp + 0x20], rax
lea rcx, [0x00576068]
lea r9, [0x00536fb0]
xor edx, edx
call fcn.004d7810
jmp 0x44e801
xor r9d, r9d
mov r10d, 0
cmp edi, 0x3b9aca00
je 0x44e9f0
mov ecx, 0x3e8
mov rax, r13
mul rcx
mov rcx, rax
mov r8, rdx
xor r10d, r10d
mov r11d, 0xf4240
mov eax, edi
xor edx, edx
div r11d
add rax, rcx
adc r8, 0
mov ecx, 0xffffffff
cmp rax, rcx
cmovae rax, rcx
neg r8
sbb r10d, r10d
or r10d, eax
cmp ebp, 0x3b9aca00
je 0x44ea37
mov ecx, 0x3e8
mov rax, qword [rsp + 0x58]
mul rcx
mov rcx, rax
mov r8, rdx
xor r9d, r9d
mov r11d, 0xf4240
mov eax, ebp
xor edx, edx
div r11d
add rax, rcx
adc r8, 0
mov ecx, 0xffffffff
cmp rax, rcx
cmovae rax, rcx
neg r8
sbb r9d, r9d
or r9d, eax
lea r8, [rsp + 0xa0]
mov dword [r8], 1
mov dword [r8 + 4], r10d
mov dword [r8 + 8], r9d
and dword [rsp + 0x60], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
and dword [rsp + 0x28], 0
mov qword [rsp + 0x30], r12
and qword [rsp + 0x20], 0
mov rcx, r15
mov edx, 0x98000004
mov r9d, 0xc
call sub.ws2_32.dll_WSAIoctl
cmp eax, 0xffffffff
je 0x44ec6a
cmp word [rbx], 0
je 0x44eab3
cmp byte [r14 + 0x6e], 0
je 0x44eaf4
movups xmm0, xmmword [r14 + 0x6f]
lea rdx, [rsp + 0x60]
movups xmmword [rdx + 4], xmm0
and qword [rdx + 0x14], 0
and word [rdx + 0x1c], 0
mov word [rdx], 1
jmp 0x44eacf
cmp byte [r14 + 0x69], 0
je 0x44eafa
mov eax, dword [r14 + 0x6a]
lea rdx, [rsp + 0x60]
and word [rdx + 6], 0
mov dword [rdx + 2], eax
and word [rdx], 0
lea rdi, [rsp + 0xa0]
mov rcx, rdi
call fcn.004b4033
mov rcx, r15
mov rdx, rdi
call fcn.004b3fda
mov rdx, rax
mov r12, qword [rsp + 0x50]
jmp 0x44eb32
mov ax, 1
jmp 0x44eafc
xor eax, eax
mov r12, qword [rsp + 0x50]
lea rdx, [rsp + 0x60]
mov word [rdx], ax
xorps xmm0, xmm0
movups xmmword [rdx + 2], xmm0
movups xmmword [rdx + 0xe], xmm0
lea rdi, [rsp + 0xa0]
mov rcx, rdi
call fcn.004b4033
mov rcx, r15
mov rdx, rdi
call fcn.004b3fda
mov rdx, rax
lea r8, [0x0051e97f]
lea rdi, [rsp + 0x80]
mov r9d, 0x14
mov rcx, rdi
call fcn.0044ec74
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x44eb9a
movups xmm0, xmmword [rsp + 0x80]
movups xmmword [rsi], xmm0
mov rcx, qword [rsp + 0x98]
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x18], rcx
mov dword [rsi + 0x88], 0x3b9aca01
mov rcx, r15
call sub.ws2_32.dll_closesocket
nop
add rsp, 0x128
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp byte [r14 + 0x80], 0
je 0x44ebc4
mov rcx, r15
mov edx, 4
mov r8d, 1
call fcn.004b3fa3
test rax, rax
je 0x44ebc4
mov rcx, rax
call fcn.0044ec90
cmp qword [r14 + 0x20], 0
je 0x44ebfc
mov rax, qword [r14 + 0x28]
mov rcx, rax
shr rcx, 0x20
xor r8d, r8d
neg rcx
sbb r8d, r8d
or r8d, eax
mov rcx, r15
mov edx, 0x1001
call fcn.004b3fa3
test rax, rax
je 0x44ebfc
mov rcx, rax
call fcn.0044ec90
mov edi, dword [rsp + 0x190]
cmp qword [r14 + 0x30], 0
je 0x44ec3b
mov rax, qword [r14 + 0x38]
mov rcx, rax
shr rcx, 0x20
xor r8d, r8d
neg rcx
sbb r8d, r8d
or r8d, eax
mov rcx, r15
mov edx, 0x1002
call fcn.004b3fa3
test rax, rax
je 0x44ec3b
mov rcx, rax
call fcn.0044ec90
mov qword [rsi + 0x70], r15
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
xor eax, eax
mov byte [rsi + 0x78], al
mov qword [rsi + 0x80], r12
mov dword [rsi + 0x88], edi
mov byte [rsi + 0x90], al
jmp 0x44eb85
call fcn.004562dd
jmp 0x44e95c