Function at 0x48ce20
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x713211
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x7f9c40]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0xf8], 0
lea eax, [ebp - 0x74]
mov esi, dword [edi + 0xc]
mov dword [ebp - 0xf4], eax
lea eax, [ebp - 0xe8]
push 0
push eax
mov dword [ebp - 0x100], edi
mov dword [ebp - 4], 0
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0
call fcn.00461c60
mov ecx, dword [esi]
lea eax, [ebp - 0xe8]
add esp, 8
push esi
push 0x461200
push eax
call fcn.0047b220
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
lea eax, [ebp - 0x68]
mov dword [ebp - 0x54], 0x71e20c
mov dword [ebp - 0x5c], 0x71e21c
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x50], 0x71e1b8
push 0x10
mov byte [ebp - 4], 2
call fcn.006debec
add esp, 4
mov dword [ebp - 0xf4], eax
test eax, eax
je 0x48cf21
xorps xmm0, xmm0
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], vtable.std::_Ref_count_resource_void___struct_boost::asio::detail::socket_ops::noop_deleter_.0
mov dword [eax + 0xc], 0
jmp 0x48cf23
xor eax, eax
mov ecx, dword [ebp - 0x6c]
or esi, 0xffffffff
mov dword [ebp - 0x70], 0
mov dword [ebp - 0xf0], ecx
mov dword [ebp - 0x6c], eax
test ecx, ecx
je 0x48cf5e
mov eax, esi
lock xadd dword [ecx + 4], eax
jne 0x48cf5e
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0xf0]
mov eax, esi
lock xadd dword [ecx + 8], eax
jne 0x48cf5e
mov eax, dword [ecx]
call dword [eax + 4]
movzx eax, word [edi + 0x110]
push eax
lea eax, [ebp - 0x17]
mov byte [ebp - 4], 3
push eax
call fcn.0045ffe0
add esp, 8
lea ecx, [ebp - 0xf9]
push ecx
lea ecx, [ebp - 0x17]
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.0045d130
mov dword [ebp - 0xf8], 3
xorps xmm0, xmm0
mov byte [ebp - 4], 4
lea eax, [edi + 0x114]
push eax
lea ecx, [ebp - 0xa4]
movups xmmword [ebp - 0xc4], xmm0
movups xmmword [ebp - 0xb4], xmm0
call fcn.00452ce0
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x8c]
call fcn.00452ce0
movaps xmm0, xmmword [0x71e810]
movups xmmword [ebp - 0xc4], xmm0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
mov ecx, dword [ebp - 0x38]
mov byte [ebp - 4], 7
cmp ecx, 0xf
jbe 0x48d03c
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x48d032
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48d7b7
push ecx
push edx
call fcn.006dec1c
add esp, 8
mov ecx, dword [ebp - 0x74]
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0xc4]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x70]
mov dword [ebp - 0xe4], 0
push eax
lea eax, [ebp - 0x40]
xorps xmm0, xmm0
push eax
movq qword [ebp - 0xec], xmm0
call fcn.0047f250
test byte [ebp - 0xe4], 1
mov dword [ebp - 0xf8], 7
mov dword [ebp - 0x24], str.E:_repoyjscloudclinkClientOfCSP_agent_boost_1.85.0libs_asioinclude_boost_asio_ip_basic_resolver.hpp
mov dword [ebp - 0x20], str.class_boost::asio::ip::basic_resolver_results_class_boost::asio::ip::tcp____thiscall_boost::asio::ip::basic_resolver_class_boost::asio::ip::tcp_class_boost::asio::any_io_executor_::resolve_const_class_boost::asio::ip::basic_resolver_query_class_boost::asio::ip::tcp___
mov dword [ebp - 0x1c], 0xff
mov dword [ebp - 0x18], 0x1a
je 0x48d0c1
cmp dword [ebp - 0xe4], 1
jne 0x48d74e
cmp dword [ebp - 0xec], 0
setne al
test al, al
jne 0x48d74e
imul ecx, dword [ebp - 0x38], 0x4c
mov eax, dword [ebp - 0x40]
mov byte [ebp - 4], 7
add ecx, dword [eax]
movups xmm0, xmmword [ecx]
movups xmmword [ebp - 0xe0], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [ebp - 0xd0], xmm0
mov eax, dword [ecx + 0x18]
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xf0], ecx
test ecx, ecx
je 0x48d11c
mov eax, esi
lock xadd dword [ecx + 4], eax
jne 0x48d11c
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0xf0]
mov eax, esi
lock xadd dword [ecx + 8], eax
jne 0x48d11c
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, 2
mov dword [ebp - 0xe4], 0
cmp word [ebp - 0xe0], cx
mov eax, 0x17
xorps xmm0, xmm0
cmove eax, ecx
movq qword [ebp - 0xec], xmm0
lea ecx, [ebp - 0xec]
mov dword [ebp - 0xf0], eax
push ecx
lea ecx, [ebp - 0xf0]
push ecx
mov ecx, dword [edi + 0x68]
lea eax, [edi + 0x6c]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0047cee0
test byte [ebp - 0xe4], 1
mov dword [ebp - 0x24], str.E:_repoyjscloudclinkClientOfCSP_agent_boost_1.85.0libs_asioinclude_boost_asio_basic_socket_acceptor.hpp
mov dword [ebp - 0x20], str.void___thiscall_boost::asio::basic_socket_acceptor_class_boost::asio::ip::tcp_class_boost::asio::any_io_executor_::open_const_class_boost::asio::ip::tcp__
mov dword [ebp - 0x1c], 0x1dd
mov dword [ebp - 0x18], 0x1a
je 0x48d1ad
cmp dword [ebp - 0xe4], 1
jne 0x48d763
cmp dword [ebp - 0xec], 0
setne al
test al, al
jne 0x48d763
mov eax, dword [edi + 0x6c]
xorps xmm0, xmm0
mov dword [ebp - 0xf0], 1
movq qword [ebp - 0xec], xmm0
mov dword [ebp - 0xe4], 0
cmp eax, 0xffffffff
jne 0x48d230
mov ecx, dword [0x7f5030]
mov eax, dword [0x7f5034]
cmp ecx, 0x257edfd1
jne 0x48d1ee
cmp eax, 0xb2ab117a
je 0x48d1fd
cmp ecx, 0x257edfd0
jne 0x48d201
cmp eax, 0xb2ab117a
jne 0x48d201
mov al, 1
jmp 0x48d215
mov eax, dword [0x7f5028]
mov ecx, 0x7f5028
push 0x2719
mov eax, dword [eax + 0x18]
call eax
movzx eax, al
mov dword [ebp - 0x40], 0x2719
add eax, 2
mov dword [ebp - 0x3c], 0x7f5028
movq xmm0, qword [ebp - 0x40]
jmp 0x48d26d
push 4
lea ecx, [ebp - 0xf0]
push ecx
push 4
push 0xffff
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
setne al
movzx eax, al
push eax
lea eax, [ebp - 0xec]
push eax
call fcn.0047ba10
mov eax, dword [ebp - 0xe4]
add esp, 8
movq xmm0, qword [ebp - 0xec]
movq qword [ebp - 0x40], xmm0
mov dword [ebp - 0x38], eax
test eax, eax
je 0x48d289
cmp eax, 1
je 0x48d289
and eax, 1
or eax, 0x71ddf0
mov dword [ebp - 0x38], eax
test byte [ebp - 0x38], 1
movq qword [ebp - 0xec], xmm0
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0x24], str.E:_repoyjscloudclinkClientOfCSP_agent_boost_1.85.0libs_asioinclude_boost_asio_basic_socket_acceptor.hpp
mov dword [ebp - 0x20], str.void___thiscall_boost::asio::basic_socket_acceptor_class_boost::asio::ip::tcp_class_boost::asio::any_io_executor_::set_option_class_boost::asio::detail::socket_option::boolean_65535_4___const_class_boost::asio::detail::socket_option::boolean_65535_4___
mov dword [ebp - 0x1c], 0x32d
mov dword [ebp - 0x18], 0x1a
je 0x48d2d1
cmp eax, 1
jne 0x48d778
cmp dword [ebp - 0x40], 0
setne al
test al, al
jne 0x48d778
cmp word [ebp - 0xe0], 2
mov ecx, 0x10
mov eax, 0x1c
mov dword [ebp - 0xe4], 0
cmove eax, ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0xec]
movq qword [ebp - 0xec], xmm0
push ecx
push eax
lea eax, [ebp - 0xe0]
push eax
push dword [edi + 0x6c]
call fcn.00477440
mov eax, dword [ebp - 0xe4]
add esp, 0x10
movq xmm0, qword [ebp - 0xec]
movq qword [ebp - 0x40], xmm0
mov dword [ebp - 0x38], eax
test eax, eax
je 0x48d33f
cmp eax, 1
je 0x48d33f
and eax, 1
or eax, 0x71d48c
mov dword [ebp - 0x38], eax
test byte [ebp - 0x38], 1
movq qword [ebp - 0xec], xmm0
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0x24], str.E:_repoyjscloudclinkClientOfCSP_agent_boost_1.85.0libs_asioinclude_boost_asio_basic_socket_acceptor.hpp
mov dword [ebp - 0x20], str.void___thiscall_boost::asio::basic_socket_acceptor_class_boost::asio::ip::tcp_class_boost::asio::any_io_executor_::bind_const_class_boost::asio::ip::basic_endpoint_class_boost::asio::ip::tcp___
mov dword [ebp - 0x1c], 0x23c
mov dword [ebp - 0x18], 0x1a
je 0x48d387
cmp eax, 1
jne 0x48d78d
cmp dword [ebp - 0x40], 0
setne al
test al, al
jne 0x48d78d
lea eax, [ebp - 0xec]
mov dword [ebp - 0xe4], 0
push eax
push 0x64
push dword [edi + 0x6c]
xorps xmm0, xmm0
movq qword [ebp - 0xec], xmm0
call fcn.0047c8a0
add esp, 0xc
mov dword [ebp - 0x24], str.E:_repoyjscloudclinkClientOfCSP_agent_boost_1.85.0libs_asioinclude_boost_asio_basic_socket_acceptor.hpp
test byte [ebp - 0xe4], 1
mov dword [ebp - 0x20], str.void___thiscall_boost::asio::basic_socket_acceptor_class_boost::asio::ip::tcp_class_boost::asio::any_io_executor_::listen_int_
mov dword [ebp - 0x1c], 0x26b
mov dword [ebp - 0x18], 0x1a
je 0x48d3f4
cmp dword [ebp - 0xe4], 1
jne 0x48d7a2
cmp dword [ebp - 0xec], 0
setne al
test al, al
jne 0x48d7a2
push 0x5398
call fcn.006debec
add esp, 4
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xe4], eax
mov byte [ebp - 4], 9
test eax, eax
je 0x48d4d9
cmp dword [edi + 0x140], 0xf
lea esi, [edi + 0x12c]
jbe 0x48d42a
mov esi, dword [esi]
cmp dword [edi + 0x10c], 0xf
lea ecx, [edi + 0xf8]
jbe 0x48d43b
mov ecx, dword [ecx]
cmp dword [edi + 0xf4], 0xf
lea eax, [edi + 0xe0]
mov dword [ebp - 0xf8], eax
jbe 0x48d458
mov eax, dword [eax]
mov dword [ebp - 0xf8], eax
cmp dword [edi + 0xdc], 0xf
lea eax, [edi + 0xc8]
mov dword [ebp - 0xf0], eax
jbe 0x48d475
mov eax, dword [eax]
mov dword [ebp - 0xf0], eax
movups xmm0, xmmword [edi + 0x170]
mov eax, dword [edi + 0x198]
sub esp, 0x2c
mov edx, esp
push dword [edi + 0x15c]
movups xmmword [edx], xmm0
movups xmm0, xmmword [edi + 0x180]
movups xmmword [edx + 0x10], xmm0
movq xmm0, qword [edi + 0x190]
movq qword [edx + 0x20], xmm0
mov dword [edx + 0x28], eax
movzx eax, word [edi + 0x112]
push eax
movzx eax, word [edi + 0x110]
push eax
push esi
push ecx
push dword [ebp - 0xf8]
mov ecx, dword [ebp - 0xf4]
push dword [ebp - 0xf0]
push dword [edi + 0xc]
call fcn.004a09a0
jmp 0x48d4db
xor eax, eax
push eax
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 7
call fcn.0048b550
mov eax, dword [0x7f51d8]
movzx eax, byte [eax]
push eax
mov eax, dword [ebp - 0x108]
sub esp, 8
mov ecx, esp
mov dword [ebp - 0xe4], esp
mov dword [ecx], eax
mov eax, dword [ebp - 0x104]
mov dword [ecx + 4], eax
test eax, eax
je 0x48d520
mov ecx, 1
add eax, 4
lock xadd dword [eax], ecx
sub esp, 8
mov byte [ebp - 4], 0xb
mov esi, esp
lea eax, [edi + 4]
mov dword [ebp - 0xf4], esi
push eax
lea ecx, [esi + 4]
call fcn.004853c0
mov eax, dword [edi]
mov dword [esi], eax
lea eax, [ebp - 0x34]
push 0
push 0x48c920
push eax
mov byte [ebp - 4], 0xa
call fcn.0048bb90
add esp, 0x20
mov dword [ebp - 0xf4], eax
mov ecx, dword [ebp - 0x108]
mov byte [ebp - 4], 0xc
call fcn.004a32e0
mov ecx, dword [edi + 0x68]
lea edx, [edi + 0xac]
push edx
push dword [ebp - 0xf4]
lea esi, [edi + 0x6c]
push 0
push eax
push esi
call fcn.0048b720
lea ecx, [ebp - 0x2c]
call fcn.0048c590
mov byte [edi + 8], 1
or esi, 0xffffffff
mov edi, dword [ebp - 0x104]
test edi, edi
je 0x48d5ca
mov ecx, esi
lea eax, [edi + 4]
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x48d5ca
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edx, esi
lea eax, [edi + 8]
lock xadd dword [eax], edx
cmp edx, 1
jne 0x48d5ca
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
mov ecx, dword [ebp - 0x78]
mov byte [ebp - 4], 3
cmp ecx, 0xf
jbe 0x48d605
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x48d5fb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48d7b7
push ecx
push edx
call fcn.006dec1c
add esp, 8
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
cmp ecx, 0xf
jbe 0x48d654
mov edx, dword [ebp - 0xa4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x48d64a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48d7b7
push ecx
push edx
call fcn.006dec1c
add esp, 8
mov edi, dword [ebp - 0x6c]
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
test edi, edi
je 0x48d6a3
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x48d6a3
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x48d6a3
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
cmp dword [ebp - 0x58], 0
mov byte [ebp - 4], 0xd
je 0x48d6bb
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax]
call eax
add esp, 4
mov edi, dword [ebp - 0x6c]
test edi, edi
je 0x48d6e0
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x48d6e0
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x48d6e0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.006def69
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x24]
push eax
push str.resolve
lea eax, [ebp - 0xec]
push eax
call fcn.0044f150
lea eax, [ebp - 0x24]
push eax
push str.open
lea eax, [ebp - 0xec]
push eax
call fcn.0044f150
lea eax, [ebp - 0x24]
push eax
push str.set_option
lea eax, [ebp - 0xec]
push eax
call fcn.0044f150
lea eax, [ebp - 0x24]
push eax
push str.bind
lea eax, [ebp - 0xec]
push eax
call fcn.0044f150
lea eax, [ebp - 0x24]
push eax
push str.listen
lea eax, [ebp - 0xec]
push eax
call fcn.0044f150
call fcn.006e51cf
int3