Function at 0x180008990
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x390]
sub rsp, 0x490
mov rax, qword [0x18006d830]
xor rax, rsp
mov qword [rbp + 0x380], rax
xor r15d, r15d
mov dword [rsp + 0x68], 1
mov rbx, rcx
mov qword [rsp + 0x58], r15
mov rcx, qword [rcx]
lea r14, str._s:_d
mov dword [rsp + 0x50], r15d
mov edi, r15d
mov qword [rsp + 0x70], r15
mov esi, r15d
test rcx, rcx
je 0x180008a19
cmp dword [rbx + 0x3c], r15d
jne 0x180008a06
lea edx, [r15 + 3]
call qword [0x18004e388]
mov qword [rbx], r15
mov word [rbx + 0x68], r15w
mov dword [rbx + 0x38], 1
mov dword [rbx + 0x40], r15d
movsd xmm1, qword [rbx + 0x20]
movsd xmm2, qword [0x180052f38]
cvttsd2si rax, xmm1
mov dword [rsp + 0x78], eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, xmm2
cvttsd2si ecx, xmm1
mov dword [rsp + 0x7c], ecx
test eax, eax
jne 0x180008a4f
test ecx, ecx
je 0x180008a54
lea rdi, [rsp + 0x78]
movsd xmm1, qword [rbx + 0x28]
mov rcx, qword [rbx + 8]
cvttsd2si rax, xmm1
add rcx, 0x18
mov dword [rsp + 0x60], eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, xmm2
cvttsd2si eax, xmm1
mov dword [rsp + 0x64], eax
cmp byte [rcx], 0x2f
jne 0x180008aae
cmp word [rbx + 0x10], 1
jge 0x180008aae
mov r9, rcx
lea r8, str.unix:___s
lea rcx, [rbp - 0x80]
mov edx, 0x400
call qword [0x18004e410]
mov esi, 1
jmp 0x180008af5
cmp word [rbx + 0x10], si
jne 0x180008abd
mov eax, 0x18eb
mov word [rbx + 0x10], ax
mov edx, 0x3a
call qword [0x18004e0b8]
mov r9, qword [rbx + 8]
lea r8, str.__s_:_d
test rax, rax
lea rcx, [rbp - 0x80]
movsx eax, word [rbx + 0x10]
mov edx, 0x400
cmove r8, r14
mov dword [rsp + 0x20], eax
add r9, 0x18
call qword [0x18004e410]
mov r14d, eax
cmp dword [rbx + 0x3c], r15d
je 0x180008b3c
mov rax, qword [rbx + 0x48]
lea r9, [rbp - 0x80]
xor edx, edx
lea rcx, [rsp + 0x58]
test rax, rax
je 0x180008b24
add rax, 0x18
lea r8, str.phpredis:_s:_s
mov qword [rsp + 0x20], rax
jmp 0x180008b36
movsd xmm0, qword [rbx + 0x20]
lea r8, str.phpredis:_s:_f
movsd qword [rsp + 0x20], xmm0
call qword [0x18004e390]
lea rax, [rsp + 0x50]
movsxd rdx, r14d
mov qword [rsp + 0x40], rax
lea rcx, [rbp - 0x80]
lea rax, [rsp + 0x70]
mov r9d, 2
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call qword [0x18004e360]
mov rcx, qword [rsp + 0x58]
mov qword [rbx], rax
test rcx, rcx
je 0x180008b8d
call qword [0x18004e4f8]
mov rax, qword [rbx]
test rax, rax
jne 0x180008be1
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x180008bd9
mov r8d, dword [rax + 0x10]
lea rdx, [rax + 0x18]
mov rcx, rbx
call sym.php_redis.dll_qedis_sock_set_err
mov rcx, qword [rsp + 0x70]
test byte [rcx + 5], 2
jne 0x180008bd9
add dword [rcx], 0xffffffff
jne 0x180008bd9
test byte [rcx + 5], 1
je 0x180008bd3
call qword [0x18004e120]
or eax, 0xffffffff
jmp 0x180008c77
call qword [0x18004e4f8]
or eax, 0xffffffff
jmp 0x180008c77
mov rdi, qword [rax + 8]
test esi, esi
jne 0x180008c2f
mov rcx, qword [rdi]
lea r9, [rsp + 0x68]
lea edx, [rsi + 6]
mov dword [rsp + 0x20], 4
lea r8d, [rsi + 1]
call qword [sym.imp.WS2_32.dll_setsockopt]
lea r9, [rbx + 0xa0]
mov dword [rsp + 0x20], 4
mov dword [rsp + 0x50], eax
lea r8d, [rsi + 8]
mov rcx, qword [rdi]
mov edx, 0xffff
call qword [sym.imp.WS2_32.dll_setsockopt]
mov dword [rsp + 0x50], eax
mov rax, qword [rbx]
inc dword [rax + 0x90]
cmp dword [rsp + 0x60], r15d
jne 0x180008c46
cmp dword [rsp + 0x64], r15d
je 0x180008c5b
mov rcx, qword [rbx]
lea r9, [rsp + 0x60]
xor r8d, r8d
lea edx, [r8 + 4]
call qword [0x18004e368]
mov rcx, qword [rbx]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 3]
call qword [0x18004e368]
xor eax, eax
mov dword [rbx + 0x38], 2
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.18004cbf0
lea r11, [rsp + 0x490]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret