Function at 0x140093430
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x14016f8a0]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov eax, dword [rdx + 4]
mov rbx, rdx
mov rdi, rcx
cmp dword [rcx + 0x210], eax
jne 0x140093725
mov eax, dword [rdx]
cmp dword [rcx + 0x20c], eax
jne 0x140093725
mov qword [rsp + 0x90], rsi
call fcn.1400a3910
mov rsi, rax
test rax, rax
je 0x1400934e3
mov r8, qword [rax]
mov edx, 0x402
mov rcx, rax
call qword [rhtons + 8]
cmp eax, 5
jl 0x1400934e3
movzx ecx, word [rbx + 0x10]
lea r9, str.id_p_handle_p:_setting_socket_options_to:_keep_alive__d__keep_idle__d__keep_alive_interval__d__max_failed_probe_count__d
movzx eax, word [rbx + 0xc]
movzx edx, word [rbx + 0xe]
movzx r8d, byte [rbx + 0x12]
mov r10, qword [rsi]
mov dword [rsp + 0x48], ecx
mov rcx, rsi
mov dword [rsp + 0x40], eax
mov rax, qword [rdi + 0x220]
mov dword [rsp + 0x38], edx
mov edx, 5
mov dword [rsp + 0x30], r8d
mov r8d, 0x402
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
call qword [r10]
movups xmm0, xmmword [rbx]
movups xmmword [rdi + 0x20c], xmm0
mov eax, dword [rbx + 0x10]
mov dword [rdi + 0x21c], eax
cmp dword [rdi + 0x210], 2
je 0x140093719
cmp dword [rdi + 0x20c], 0
jne 0x140093719
cmp byte [rdi + 0x21e], 0
je 0x140093685
cmp word [rdi + 0x218], 0
je 0x1400935fb
movzx eax, word [rdi + 0x21a]
test ax, ax
je 0x1400935fb
xor r9d, r9d
mov ecx, eax
mov r8d, 0x3e8
lea edx, [r9 + 1]
call fcn.14004d4a0
movzx ecx, word [rdi + 0x218]
xor r9d, r9d
mov r8d, 0x3e8
mov rbx, rax
lea edx, [r9 + 1]
call fcn.14004d4a0
xor ecx, ecx
mov dword [rsp + 0x60], eax
mov qword [rsp + 0x40], rcx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rcx
lea r8, [rsp + 0x58]
mov qword [rsp + 0x30], rax
mov edx, 0x98000004
mov dword [rsp + 0x28], ecx
lea r9d, [rcx + 0xc]
mov qword [rsp + 0x20], rcx
mov dword [rsp + 0x50], ecx
mov rcx, qword [rdi + 0x220]
mov dword [rsp + 0x58], 1
mov dword [rsp + 0x5c], ebx
call qword [sym.imp.WS2_32.dll_WSAIoctl]
test eax, eax
je 0x140093685
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
call fcn.1400a3910
mov rbx, rax
test rax, rax
je 0x140093685
mov r8, qword [rax]
mov edx, 0x402
mov rcx, rax
call qword [rhtons + 8]
cmp eax, 3
jl 0x140093685
lea r9, str.id_p_handle_p:_WSAIoctl___call_for_setting_keep_alive_values_failed_with_WSAError__d
jmp 0x14009365c
mov rcx, qword [rdi + 0x220]
lea r9, [rsp + 0x50]
mov edx, 0xffff
mov dword [rsp + 0x50], 1
mov r8d, 8
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x140093685
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
call fcn.1400a3910
mov rbx, rax
test rax, rax
je 0x140093685
mov r8, qword [rax]
mov edx, 0x402
mov rcx, rax
call qword [rhtons + 8]
cmp eax, 3
jl 0x140093685
lea r9, str.id_p_handle_p:_setsockopt___call_for_enabling_keep_alive_failed_with_WSAError__d
mov rcx, qword [rdi + 0x220]
mov r8d, 0x402
mov r10, qword [rbx]
mov edx, 3
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x28], rcx
mov rcx, rbx
mov qword [rsp + 0x20], rdi
call qword [r10]
movzx eax, word [rdi + 0x21c]
test ax, ax
je 0x140093719
mov rcx, qword [rdi + 0x220]
lea r9, [rsp + 0x50]
mov edx, 6
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x20], 4
lea r8d, [rdx + 0xa]
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x140093719
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
call fcn.1400a3910
mov rbx, rax
test rax, rax
je 0x140093719
mov r9, qword [rax]
mov edx, 0x402
mov rcx, rax
call qword [r9 + htons]
cmp eax, 3
jl 0x140093719
mov rcx, qword [rdi + 0x220]
lea r9, str.id_p_handle_p:_setsockopt___call_for_setting_keep_alive_probe_count_value_failed_with_WSAError__d._This_likely_isnt_a_problem._Its_more_likely_youre_on_an_old_version_of_windows._This_feature_was_added_in_Windows_10_1703
mov r10, qword [rbx]
mov edx, 3
mov dword [rsp + 0x30], esi
mov r8d, 0x402
mov qword [rsp + 0x28], rcx
mov rcx, rbx
mov qword [rsp + 0x20], rdi
call qword [r10]
mov rsi, qword [rsp + 0x90]
xor eax, eax
jmp 0x140093734
mov ecx, 0x41d
call fcn.1400a32b0
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400b91a0
mov rbx, qword [rsp + 0x98]
add rsp, 0x70
pop rdi
ret