Function at 0x14006ec68
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x1c8
mov rax, qword [0x14009ab40]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov byte [rsp + 0x30], 1
mov rax, qword [rsp + 0x1d0]
add rax, 0x98
mov dl, 1
mov rcx, rax
call fcn.14004eb28
mov rdx, qword [rsp + 0x1d0]
lea rcx, [rsp + 0xc0]
call fcn.140046398
mov rdx, rax
lea rcx, [rsp + 0x120]
call fcn.140031a78
nop
lea rdx, [rsp + 0x120]
lea rcx, [rsp + 0x160]
call fcn.14004cc58
nop
lea rcx, [rsp + 0x120]
call fcn.14004d948
mov rax, qword [rsp + 0x1d0]
add rax, 8
mov rcx, rax
call fcn.140052878
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140031610
nop
mov rax, qword [rsp + 0x1d0]
add rax, 0x48
mov rcx, rax
call fcn.14004f49c
cmp rax, 0xffffffffffffffff
je 0x14006efef
mov rax, qword [rsp + 0x1d0]
mov rax, qword [rax + 0x88]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x1d0]
mov rax, qword [rax + 0x80]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x1d0]
add rax, 0x48
mov rcx, rax
call fcn.14004f49c
mov qword [rsp + 0x80], rax
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
call fcn.14007624c
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
jne 0x14006edbe
lea rcx, [rsp + 0x40]
call fcn.140034090
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x58]
call qword [rax + 0x18]
jmp 0x14006ed0e
mov rax, qword [rsp + 0x1d0]
add rax, 0x48
mov rcx, rax
call fcn.14004f49c
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.WS2_32.dll_accept]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0xffffffffffffffff
jne 0x14006ee80
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 0x18
jne 0x14006ee25
mov dword [rsp + 0x48], 1
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0xc8]
call fcn.1400312f4
mov rcx, rax
call fcn.140044ce0
jmp 0x14006ed0e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x14006ee3b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 0xb
jne 0x14006ee40
jmp 0x14006ed0e
mov rax, qword [rsp + 0x1d0]
add rax, 0x48
mov rcx, rax
call fcn.14004f49c
cmp rax, 0xffffffffffffffff
je 0x14006ee7b
mov rax, qword [rsp + 0x1d0]
add rax, 0x48
mov rcx, rax
call fcn.14004f49c
mov rcx, rax
call fcn.14006a390
mov byte [rsp + 0x30], 0
jmp 0x14006efef
mov rax, qword [rsp + 0x1d0]
imul rax, qword [rax + 0x60], 0x3e8
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x1d0]
mov rax, qword [rcx + 0x68]
cqo
mov ecx, 0x3e8
idiv rcx
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
mov dword [rsp + 0x4c], eax
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x4c]
mov r8d, 0x1006
mov edx, 0xffff
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rax, qword [rsp + 0x1d0]
imul rax, qword [rax + 0x70], 0x3e8
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0x1d0]
mov rax, qword [rcx + 0x78]
cqo
mov ecx, 0x3e8
idiv rcx
mov rcx, qword [rsp + 0x98]
add rcx, rax
mov rax, rcx
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x50]
mov r8d, 0x1005
mov edx, 0xffff
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WS2_32.dll_setsockopt]
lea rcx, [rsp + 0x40]
call fcn.140034090
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov rax, qword [rax + 8]
mov qword [rsp + 0xb8], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0xa0], rax
lea r8, [rsp + 0x38]
mov rdx, qword [rsp + 0x1d0]
lea rcx, [rsp + 0xd0]
call fcn.140046574
mov rdx, rax
mov rcx, qword [rsp + 0xa0]
call fcn.140031fb0
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xb0], rax
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x60]
call qword [rsp + 0xb8]
movzx eax, al
test eax, eax
jne 0x14006efea
mov rcx, qword [rsp + 0x38]
call fcn.1400769a4
mov rcx, qword [rsp + 0x38]
call fcn.14006a390
jmp 0x14006ed0e
lea rcx, [rsp + 0x40]
call fcn.140034090
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x68]
call qword [rax + reloc.WS2_32.dll_recv]
nop
lea rcx, [rsp + 0x40]
call fcn.14004db7c
mov al, byte [rsp + 0x30]
mov byte [rsp + 0x31], al
lea rcx, [rsp + 0x160]
call fcn.14004e820
mov al, byte [rsp + 0x31]
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.14007dac0
add rsp, 0x1c8
ret