Function at 0x140067720
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x90
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x70], 0
mov dword [rsp + 0x50], 0
mov rax, qword [rsp + 0xa0]
cmp dword [rax + 0x54], 0
jne 0x140067776
mov rcx, qword [rsp + 0xa0]
call fcn.140067ab0
test eax, eax
je 0x140067776
xor eax, eax
jmp 0x140067aa4
mov rcx, qword [rsp + 0xa0]
call fcn.140064640
test eax, eax
je 0x1400677cc
mov edx, 1
mov rcx, qword [rsp + 0xa0]
call fcn.140068770
test eax, eax
jne 0x1400677ca
mov rax, qword [rsp + 0xa0]
add rax, 0x18
mov r8d, 0xffffffff
mov edx, 1
mov rcx, rax
call fcn.140066880
cmp eax, 0xffffffff
jne 0x1400677c8
xor eax, eax
jmp 0x140067aa4
jmp 0x140067787
jmp 0x1400677f4
mov edx, 1
mov rcx, qword [rsp + 0xa0]
call fcn.140068770
test eax, eax
jne 0x1400677f4
call fcn.1400826c8
mov dword [rax], listen
xor eax, eax
jmp 0x140067aa4
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0xb8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xa0]
mov dword [rax + 0x54], 0
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ResetEvent]
mov rax, qword [rsp + 0xa0]
cmp dword [rax + 0x58], 0
je 0x140067889
mov rax, qword [rsp + 0xa0]
mov ecx, dword [rax + 0x58]
call fcn.140067470
mov dword [rsp + 0x60], eax
call fcn.1400826c8
mov ecx, dword [rsp + 0x60]
mov dword [rax], ecx
mov r8, qword [rsp + 0xa0]
mov rax, qword [rsp + 0xa0]
mov edx, dword [rax + 0x58]
lea rcx, str.accept___ERROR:_async_io_completed_with_error:__d__io:_p
call fcn.140002e50
mov rax, qword [rsp + 0xa0]
mov dword [rax + 0x58], 0
jmp 0x140067a71
mov rax, qword [rsp + 0xa0]
add rax, 0x90
mov dword [rsp + 0x20], 8
mov r9, rax
mov r8d, 0x700b
mov edx, 0xffff
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax + 0x400]
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x140067900
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
call fcn.140067470
mov dword [rsp + 0x64], eax
call fcn.1400826c8
mov ecx, dword [rsp + 0x64]
mov dword [rax], ecx
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8, qword [rsp + 0xa0]
mov edx, eax
lea rcx, str.accept___ERROR:_setsockopt_failed:_d__io:_p
call fcn.140002e50
jmp 0x140067a71
mov ecx, 0xc0
call fcn.140078014
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x140067942
call fcn.1400826c8
mov dword [rax], reloc.WS2_32.dll_inet_ntoa
call fcn.1400826c8
mov r8, qword [rsp + 0xa0]
mov edx, dword [rax]
lea rcx, str.accept___ERROR:_d__io:_p
call fcn.140002e50
jmp 0x140067a71
mov rdi, qword [rsp + 0x58]
xor eax, eax
mov ecx, 0xc0
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rcx + 0x400]
mov qword [rax + 0x90], rcx
mov rax, qword [rsp + 0x58]
mov dword [rax + 0xb0], 3
mov rax, qword [rsp + 0x48]
mov qword [rax + 0x400], 0xffffffffffffffff
cmp qword [rsp + 0xa8], 0
je 0x140067a6a
cmp qword [rsp + 0xb0], 0
je 0x140067a6a
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rcx + 0x410]
mov qword [rsp + 0x68], rcx
mov rcx, qword [rsp + 0x68]
call qword [fcn.14000b810]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x74]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, 0x90
mov r8d, 0x90
xor edx, edx
mov rax, qword [rsp + 0x78]
mov rcx, rax
call qword [rsp + 0x68]
cmp dword [rsp + 0x40], 0
je 0x140067a6a
movsxd rax, dword [rsp + 0x40]
movsxd rcx, dword [rsp + 0x40]
mov r9, rax
mov r8, qword [rsp + 0x80]
mov rdx, rcx
mov rcx, qword [rsp + 0xa8]
call fcn.140066200
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x140067a5c
mov edx, dword [rsp + 0x50]
lea rcx, [0x1400e4d28]
call fcn.140002e50
jmp 0x140067a71
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rsp + 0x40]
mov dword [rax], ecx
mov rax, qword [rsp + 0x58]
jmp 0x140067aa4
mov rax, qword [rsp + 0x48]
cmp qword [rax + 0x400], 0xffffffffffffffff
je 0x140067aa2
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax + 0x400]
call qword [sym.imp.WS2_32.dll_closesocket]
mov rax, qword [rsp + 0x48]
mov qword [rax + 0x400], 0xffffffffffffffff
xor eax, eax
add rsp, 0x90
pop rdi
ret