Function at 0x1401c70d8
Capabilities:
Set socket configuration

Disassembly:
jmp 0x1402f0960
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]
lea rcx, reloc.WS2_32.dll_accept
call fcn.1401ca792
mov byte [rbp + 4], 1
mov rax, qword [rbp + 0x2a0]
add rax, 0xb0
mov dl, 1
mov rcx, rax
call fcn.1401c8ea1
mov rax, qword [rbp + 0x2a0]
add rax, 8
mov rcx, rax
call fcn.1401c8a5f
mov rdx, rax
lea rcx, [rbp + 0x28]
call fcn.1401c6115
nop
mov rax, qword [rbp + 0x2a0]
add rax, 0x48
mov rcx, rax
call fcn.1401c6345
cmp rax, 0xffffffffffffffff
je 0x1402f0c27
mov rax, qword [rbp + 0x2a0]
add rax, 0x48
mov rcx, rax
call fcn.1401c6345
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.1401bed5c
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
jne 0x1402f0a5b
lea rcx, [rbp + 0x28]
call fcn.1401cb59d
mov qword [rbp + 0x268], rax
mov rax, qword [rbp + 0x268]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x268]
call qword [rax + 0x18]
jmp 0x1402f09d3
mov rax, qword [rbp + 0x2a0]
add rax, 0x48
mov rcx, rax
call fcn.1401c6345
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 0x1402f0af8
call fcn.1401c27ef
cmp dword [rax], 0x18
jne 0x1402f0abb
mov dword [rbp + 0x1a4], 1
lea rdx, [rbp + 0x1a4]
lea rcx, [rbp + 0x188]
call fcn.1401c72b8
mov rcx, rax
call fcn.1401c8384
jmp 0x1402f09d3
mov rax, qword [rbp + 0x2a0]
add rax, 0x48
mov rcx, rax
call fcn.1401c6345
cmp rax, 0xffffffffffffffff
je 0x1402f0af3
mov rax, qword [rbp + 0x2a0]
add rax, 0x48
mov rcx, rax
call fcn.1401c6345
mov rcx, rax
call fcn.1401c5f99
mov byte [rbp + 4], 0
jmp 0x1402f0c27
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]
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]
lea rax, [rbp + 0x1c8]
mov qword [rbp + 0x228], rax
lea rcx, [rbp + 0x28]
call fcn.1401cb59d
mov qword [rbp + 0x268], rax
lea r8, [rbp + 0x68]
mov rdx, qword [rbp + 0x2a0]
lea rcx, [rbp + 0x248]
call fcn.1402963e0
mov rdx, rax
mov rcx, qword [rbp + 0x228]
call fcn.140262930
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]
jmp 0x1402f09d3
lea rcx, [rbp + 0x28]
call fcn.1401cb59d
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.1401c0d37
mov rax, qword [rbp + 0x2a0]
add rax, 0xb0
xor edx, edx
mov rcx, rax
call fcn.1401c8ea1
movzx eax, byte [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_connect
call fcn.1401c8505
mov eax, edi
lea rsp, [rbp + 0x288]
pop rdi
pop rbp
ret