Function at 0x1400a74ac
Capabilities:
Set socket configuration

Disassembly:
jmp 0x1401a18c0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x2b8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, WSACleanup
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2d8]
mov rax, qword [0x1402571c0]
xor rax, rbp
mov qword [rbp + 0x278], rax
lea rcx, [0x140283beb]
call fcn.1400a8dd4
nop
mov byte [rbp + 4], 1
mov rax, qword [rbp + 0x2a0]
add rax, 0xb8
mov dl, 1
mov rcx, rax
call fcn.1400a824e
nop
mov edx, 8
lea rcx, [rbp + 0x28]
call fcn.1400a5f3f
mov rax, qword [rbp + 0x2a0]
add rax, 8
mov rcx, rax
call fcn.1400a8064
mov rdx, rax
lea rcx, [rbp + 0x28]
call fcn.1400a6d54
nop
mov rax, qword [rbp + 0x2a0]
add rax, 0x48
mov rcx, rax
call fcn.1400a6e58
cmp rax, 0xffffffffffffffff
je 0x1401a1baf
mov rax, qword [rbp + 0x2a0]
add rax, 0x48
mov rcx, rax
call fcn.1400a6e58
mov rcx, qword [rbp + 0x2a0]
mov r8, qword [rcx + 0x88]
mov rcx, qword [rbp + 0x2a0]
mov rdx, qword [rcx + 0x80]
mov rcx, rax
call fcn.1400a35e6
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
jne 0x1401a19dd
lea rcx, [rbp + 0x28]
call fcn.1400a941e
mov qword [rbp + 0x268], rax
mov rax, qword [rbp + 0x268]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x268]
call qword [rax + 0x18]
nop
jmp 0x1401a1954
mov rax, qword [rbp + 0x2a0]
add rax, 0x48
mov rcx, rax
call fcn.1400a6e58
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.WS2_32.dll_accept]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0xffffffffffffffff
jne 0x1401a1a7d
call qword [sym.imp.ucrtbased.dll__errno]
cmp dword [rax], 0x18
jne 0x1401a1a3f
mov dword [rbp + 0x1a4], 1
lea rdx, [rbp + 0x1a4]
lea rcx, [rbp + 0x188]
call fcn.1400a7551
mov rcx, rax
call fcn.1400a7d44
nop
jmp 0x1401a1954
mov rax, qword [rbp + 0x2a0]
add rax, 0x48
mov rcx, rax
call fcn.1400a6e58
cmp rax, 0xffffffffffffffff
je 0x1401a1a78
mov rax, qword [rbp + 0x2a0]
add rax, 0x48
mov rcx, rax
call fcn.1400a6e58
mov rcx, rax
call fcn.1400a6c5f
nop
mov byte [rbp + 4], 0
jmp 0x1401a1baf
mov rax, qword [rbp + 0x2a0]
imul rax, qword [rax + 0x60], 0x3e8
mov qword [rbp + 0x268], rax
mov rcx, qword [rbp + 0x2a0]
mov rax, qword [rcx + 0x68]
cqo
mov ecx, 0x3e8
idiv rcx
mov rcx, qword [rbp + 0x268]
add rcx, rax
mov rax, rcx
mov dword [rbp + 0x84], eax
mov dword [rsp + 0x20], 4
lea r9, [rbp + 0x84]
mov r8d, 0x1006
mov edx, 0xffff
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.WS2_32.dll_setsockopt]
nop
mov rax, qword [rbp + 0x2a0]
imul rax, qword [rax + 0x70], 0x3e8
mov qword [rbp + 0x268], rax
mov rcx, qword [rbp + 0x2a0]
mov rax, qword [rcx + 0x78]
cqo
mov ecx, 0x3e8
idiv rcx
mov rcx, qword [rbp + 0x268]
add rcx, rax
mov rax, rcx
mov dword [rbp + 0xa4], eax
mov dword [rsp + 0x20], 4
lea r9, [rbp + 0xa4]
mov r8d, 0x1005
mov edx, 0xffff
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.WS2_32.dll_setsockopt]
nop
lea rax, [rbp + 0x1c8]
mov qword [rbp + 0x228], rax
lea rcx, [rbp + 0x28]
call fcn.1400a941e
mov qword [rbp + 0x268], rax
lea r8, [rbp + 0x68]
mov rdx, qword [rbp + 0x2a0]
lea rcx, [rbp + 0x248]
call fcn.1400a8965
mov rdx, rax
mov rcx, qword [rbp + 0x228]
call fcn.1400a8fa5
mov qword [rbp + 0x270], rax
mov rax, qword [rbp + 0x268]
mov rax, qword [rax]
mov rdx, qword [rbp + 0x270]
mov rcx, qword [rbp + 0x268]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
jmp 0x1401a1954
lea rcx, [rbp + 0x28]
call fcn.1400a941e
mov qword [rbp + 0x268], rax
mov rax, qword [rbp + 0x268]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x268]
call qword [rax + reloc.WS2_32.dll_recv]
nop
lea rcx, [rbp + 0x28]
call fcn.1400a458b
nop
mov rax, qword [rbp + 0x2a0]
add rax, 0xb8
xor edx, edx
mov rcx, rax
call fcn.1400a824e
nop
movzx eax, byte [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_connect
call fcn.1400a7dda
mov eax, edi
mov rcx, qword [rbp + 0x278]
xor rcx, rbp
call fcn.1400a5d78
lea rsp, [rbp + 0x288]
pop rdi
pop rbp
ret