Function at 0x1400a5870
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x1403b8550]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov r14, rcx
mov rdx, qword [rcx + 0x30]
call fcn.140099490
cmp dword [rax + 4], 0
je 0x1400a5da4
mov rdx, qword [r14 + 0x30]
call fcn.140099490
mov edx, reloc.WS2_32.dll_ntohs
mov ecx, reloc.WS2_32.dll_shutdown
cmp dword [rax + 4], 1
cmovne edx, ecx
lea rcx, [rsp + 0x50]
call fcn.1400a3af0
nop
mov rbx, qword [r14 + 0x268]
mov ecx, 0x200
call fcn.140250dd4
mov rsi, rax
mov qword [rsp + 0x70], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_class_boost::asio::ssl::stream_class_boost::asio::basic_stream_socket_class_boost::asio::ip::tcp__class_boost::asio::any_io_executor___.0
mov qword [rsi], rax
lea rdi, [rsi + 0x10]
mov qword [rsp + 0x30], rdi
lea rcx, [rdi + 8]
mov rdx, rbx
call fcn.1400b58c0
nop
mov r8, qword [rdi + 0x80]
mov qword [rbp + 0x50], r8
mov rax, qword [rdi + 0x90]
mov qword [rbp + 0x60], rax
lea rdx, [rdi + 0x70]
lea rcx, [rbp + 0x40]
call qword [rreloc.WS2_32.dll_htonl + 8]
nop
mov rax, qword [rdi + 0x98]
mov qword [rbp + 0x68], rax
lea rcx, [rdi + 0xa0]
lea r8, [rbp + 0x40]
mov rdx, qword [rsp + 0x58]
call fcn.1400b7100
nop
lea rcx, [rbp + 0x40]
mov rax, qword [rbp + 0x50]
call qword [rax]
nop
mov qword [rbp + 0x30], rdi
mov qword [r14 + 0x2b0], rdi
mov rbx, qword [r14 + 0x2b8]
mov qword [rsp + 0x48], rbx
mov qword [r14 + 0x2b8], rsi
mov edi, 0xffffffff
test rbx, rbx
je 0x1400a59ce
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400a59ce
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400a59ce
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rax, qword [r14 + 0x2b0]
add rax, 8
mov qword [r14 + 0x280], rax
lea rcx, str.SSL_NOVERIFY
call fcn.1402871ac
mov rcx, qword [r14 + 0x2b0]
test rax, rax
je 0x1400a5a04
xor edx, edx
call fcn.1400b1950
jmp 0x1400a5b9c
mov edx, 1
call fcn.1400b1950
mov rdx, qword [r14 + 0x30]
add rdx, 0xc0
lea rcx, [rbp + 0x70]
call fcn.1400118f0
nop
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x10]
call fcn.1400118f0
lea rax, [rbp + 0x10]
mov qword [rsp + 0x30], rax
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x10]
call fcn.1400118f0
lea rax, [rbp - 0x10]
mov qword [rsp + 0x70], rax
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x30]
call fcn.1400118f0
nop
lea rcx, [rbp - 0x10]
call sym.ethminer.exe_public:_void___cdecl_Json::PathArgument::destructor_void____ptr64
nop
lea rcx, [rbp + 0x10]
call sym.ethminer.exe_public:_void___cdecl_Json::PathArgument::destructor_void____ptr64
lea rax, [rbp - 0x30]
mov qword [rbp - 0x78], rax
mov rbx, qword [r14 + 0x2b0]
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x50]
call fcn.1400118f0
lea rax, [rbp - 0x50]
mov qword [rsp + 0x30], rax
mov ecx, 0x28
call fcn.140250dd4
mov rsi, rax
mov qword [rsp + 0x70], rax
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x70]
call fcn.1400118f0
lea rax, [rbp - 0x70]
mov qword [rsp + 0x78], rax
lea rax, vtable.boost::asio::ssl::detail::verify_callback_class_verbose_verification_class_boost::asio::ssl::rfc2818_verification__.0
mov qword [rsi], rax
lea rcx, [rsi + 8]
mov qword [rbp - 0x80], rcx
lea rdx, [rbp - 0x70]
call fcn.1400118f0
nop
lea rcx, [rbp - 0x70]
call sym.ethminer.exe_public:_void___cdecl_Json::PathArgument::destructor_void____ptr64
nop
xor edx, edx
mov rcx, qword [rbx + 0xa0]
call fcn.140107c30
test rax, rax
je 0x1400a5b17
xor edx, edx
mov rcx, qword [rbx + 0xa0]
call fcn.140107c30
test rax, rax
je 0x1400a5b17
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
mov r8, rsi
xor edx, edx
mov rcx, qword [rbx + 0xa0]
call fcn.140108940
mov rcx, qword [rbx + 0xa0]
call fcn.140107ce0
mov edx, eax
lea r8, [0x1400a4310]
mov rcx, qword [rbx + 0xa0]
call fcn.140108970
nop
lea rcx, [rbp - 0x50]
call sym.ethminer.exe_public:_void___cdecl_Json::PathArgument::destructor_void____ptr64
nop
lea rcx, [rbp - 0x30]
call sym.ethminer.exe_public:_void___cdecl_Json::PathArgument::destructor_void____ptr64
nop
mov rdx, qword [rbp + 0x88]
cmp rdx, 0x10
jb 0x1400a5b9c
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a5b97
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a5ece
call fcn.140250e10
lea rdx, str.ROOT
xor ecx, ecx
call qword [sym.imp.CRYPT32.dll_CertOpenSystemStoreA]
mov r15, rax
test rax, rax
jne 0x1400a5c6f
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400a5c2d
call fcn.1401067f0
test rax, rax
je 0x1400a5be4
mov r8, qword [rax]
lea edx, [r15 + 1]
mov rcx, rax
call qword [r8]
xor edx, edx
mov rcx, qword [rsp + 0x58]
call fcn.140106d50
xor edx, edx
mov rcx, qword [rsp + 0x58]
call fcn.140106800
test rax, rax
je 0x1400a5c23
xor edx, edx
mov rcx, qword [rsp + 0x58]
call fcn.140106800
test rax, rax
je 0x1400a5c14
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x58]
call fcn.140106d60
mov rcx, qword [rsp + 0x58]
call fcn.140106600
mov rbx, qword [rsp + 0x68]
test rbx, rbx
je 0x1400a5ea3
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400a5ea3
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400a5ea3
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x1400a5ea3
call fcn.1401503c0
mov r12, rax
xor edx, edx
mov rcx, r15
call qword [sym.imp.CRYPT32.dll_CertEnumCertificatesInStore]
mov rbx, rax
test rax, rax
je 0x1400a5cce
nop word [rax + rax]
lea rdx, [rbx + 8]
mov r8d, dword [rbx + 0x10]
xor ecx, ecx
call fcn.14014b3f0
mov rsi, rax
test rax, rax
je 0x1400a5cba
mov rdx, rax
mov rcx, r12
call fcn.1401500d0
mov rcx, rsi
call fcn.14014b340
mov rdx, rbx
mov rcx, r15
call qword [sym.imp.CRYPT32.dll_CertEnumCertificatesInStore]
mov rbx, rax
test rax, rax
jne 0x1400a5c90
mov rcx, rbx
call qword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
xor edx, edx
mov rcx, r15
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov rdx, r12
mov rcx, qword [rsp + 0x58]
call fcn.140106c90
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400a5d67
call fcn.1401067f0
test rax, rax
je 0x1400a5d1e
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
xor edx, edx
mov rcx, qword [rsp + 0x58]
call fcn.140106d50
xor edx, edx
mov rcx, qword [rsp + 0x58]
call fcn.140106800
test rax, rax
je 0x1400a5d5d
xor edx, edx
mov rcx, qword [rsp + 0x58]
call fcn.140106800
test rax, rax
je 0x1400a5d4e
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x58]
call fcn.140106d60
mov rcx, qword [rsp + 0x58]
call fcn.140106600
mov rbx, qword [rsp + 0x68]
test rbx, rbx
je 0x1400a5d98
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400a5d98
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400a5d98
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rax, qword [r14 + 0x280]
jmp 0x1400a5e50
mov rdi, qword [r14 + 0x268]
mov ecx, 0xa8
call fcn.140250dd4
mov rsi, rax
mov qword [rbp - 0x80], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_class_boost::asio::basic_stream_socket_class_boost::asio::ip::tcp__class_boost::asio::any_io_executor__.0
mov qword [rsi], rax
lea rbx, [rsi + 0x10]
mov rdx, rdi
mov rcx, rbx
call fcn.1400b58c0
nop
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rsi
lea rdx, [rsp + 0x40]
lea rcx, [r14 + 0x2c0]
call fcn.140085a00
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400a5e42
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400a5e42
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400a5e42
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rax, qword [r14 + 0x2c0]
mov qword [r14 + 0x280], rax
mov dword [rsp + 0x38], 0x2710
mov rcx, qword [rax + 8]
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x38]
mov edx, 0xffff
mov r8d, 0x1006
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rax, qword [r14 + 0x280]
mov rcx, qword [rax + 8]
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x38]
mov edx, 0xffff
mov r8d, 0x1005
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.140250db0
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.14027fd34
nop
int3