Function at 0x14001ab90
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 0x14001abe6
mov rcx, qword [rsp + 0xa0]
call fcn.14001c340
test eax, eax
je 0x14001abe6
xor eax, eax
jmp 0x14001af14
mov rcx, qword [rsp + 0xa0]
call fcn.1400148f0
test eax, eax
je 0x14001ac3c
mov edx, 1
mov rcx, qword [rsp + 0xa0]
call fcn.14001a7f0
test eax, eax
jne 0x14001ac3a
mov rax, qword [rsp + 0xa0]
add rax, 0x18
mov r8d, 0xffffffff
mov edx, 1
mov rcx, rax
call fcn.140019e30
cmp eax, 0xffffffff
jne 0x14001ac38
xor eax, eax
jmp 0x14001af14
jmp 0x14001abf7
jmp 0x14001ac64
mov edx, 1
mov rcx, qword [rsp + 0xa0]
call fcn.14001a7f0
test eax, eax
jne 0x14001ac64
call fcn.1400318f4
mov dword [rax], listen
xor eax, eax
jmp 0x14001af14
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 0x14001acf9
mov rax, qword [rsp + 0xa0]
mov ecx, dword [rax + 0x58]
call fcn.14001c240
mov dword [rsp + 0x60], eax
call fcn.1400318f4
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.140003a10
mov rax, qword [rsp + 0xa0]
mov dword [rax + 0x58], 0
jmp 0x14001aee1
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 0x14001ad70
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
call fcn.14001c240
mov dword [rsp + 0x64], eax
call fcn.1400318f4
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.140003a10
jmp 0x14001aee1
mov ecx, 0xc0
call fcn.140031834
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x14001adb2
call fcn.1400318f4
mov dword [rax], listen
call fcn.1400318f4
mov r8, qword [rsp + 0xa0]
mov edx, dword [rax]
lea rcx, str.accept___ERROR:_d__io:_p
call fcn.140003a10
jmp 0x14001aee1
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 0x14001aeda
cmp qword [rsp + 0xb0], 0
je 0x14001aeda
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.14002a6b0]
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 0x14001aeda
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.14001a620
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x14001aecc
mov edx, dword [rsp + 0x50]
lea rcx, [0x140074de8]
call fcn.140003a10
jmp 0x14001aee1
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rsp + 0x40]
mov dword [rax], ecx
mov rax, qword [rsp + 0x58]
jmp 0x14001af14
mov rax, qword [rsp + 0x48]
cmp qword [rax + 0x400], 0xffffffffffffffff
je 0x14001af12
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