Function at 0x14006f388
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x1c8
mov rax, qword [0x14009ac40]
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.14004eb60
nop
mov rdx, qword [rsp + 0x1d0]
lea rcx, [rsp + 0xc0]
call fcn.140046340
mov rdx, rax
lea rcx, [rsp + 0x120]
call fcn.1400314e8
nop
lea rdx, [rsp + 0x120]
lea rcx, [rsp + 0x160]
call fcn.14004cc10
nop
lea rcx, [rsp + 0x120]
call fcn.14004d934
nop
mov rax, qword [rsp + 0x1d0]
add rax, 8
mov rcx, rax
call fcn.14005290c
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140031074
nop
mov rax, qword [rsp + 0x1d0]
add rax, 0x48
mov rcx, rax
call fcn.14004f4d4
cmp rax, 0xffffffffffffffff
je 0x14006f716
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.14004f4d4
mov qword [rsp + 0x80], rax
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
call fcn.140076ac8
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
jne 0x14006f4e1
lea rcx, [rsp + 0x40]
call fcn.140033be8
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x58]
call qword [rax + 0x18]
nop
jmp 0x14006f430
mov rax, qword [rsp + 0x1d0]
add rax, 0x48
mov rcx, rax
call fcn.14004f4d4
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 0x14006f5a4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 0x18
jne 0x14006f549
mov dword [rsp + 0x48], 1
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0xc8]
call fcn.140030d50
mov rcx, rax
call fcn.140044bd8
nop
jmp 0x14006f430
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x14006f55f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 0xb
jne 0x14006f564
jmp 0x14006f430
mov rax, qword [rsp + 0x1d0]
add rax, 0x48
mov rcx, rax
call fcn.14004f4d4
cmp rax, 0xffffffffffffffff
je 0x14006f59f
mov rax, qword [rsp + 0x1d0]
add rax, 0x48
mov rcx, rax
call fcn.14004f4d4
mov rcx, rax
call fcn.14006ab2c
mov byte [rsp + 0x30], 0
jmp 0x14006f716
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]
nop
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]
nop
lea rcx, [rsp + 0x40]
call fcn.140033be8
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.14004652c
mov rdx, rax
mov rcx, qword [rsp + 0xa0]
call fcn.140031a20
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 0x14006f711
mov rcx, qword [rsp + 0x38]
call fcn.14007722c
mov rcx, qword [rsp + 0x38]
call fcn.14006ab2c
nop
jmp 0x14006f430
lea rcx, [rsp + 0x40]
call fcn.140033be8
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.14004db9c
nop
mov al, byte [rsp + 0x30]
mov byte [rsp + 0x31], al
lea rcx, [rsp + 0x160]
call fcn.14004e854
mov al, byte [rsp + 0x31]
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.14007e590
add rsp, 0x1c8
ret