Function at 0x41aca0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e4fdb
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x537700]
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 esi, dword [ebp + 8]
lea ecx, [ebp - 0xd8]
call fcn.00411350
lea eax, [ebp - 0xd8]
mov dword [ebp - 4], 0
push eax
push 0
push 0
lea ecx, [ebp - 0x90]
call fcn.00408100
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 2
push esi
push eax
call fcn.00425780
add esp, 8
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0xac]
push dword [ebp + 0xc]
push eax
call fcn.0040dfb0
mov ecx, dword [ebp - 0x90]
lea eax, [ebp - 0xbc]
push eax
mov edi, 2
mov dword [ebp - 0xb4], 0
cmp word [ebp - 0xac], di
lea eax, [ebp - 0x8c]
push 0x11
push edi
mov esi, 0x17
lea ecx, [ecx + 0x14]
cmove esi, edi
xorps xmm0, xmm0
push esi
push eax
lea eax, [ebp - 0xc8]
movq qword [ebp - 0xbc], xmm0
push eax
call fcn.00423dd0
mov ecx, dword [eax + 8]
test cl, 1
je 0x41ad81
cmp ecx, 1
jne 0x41adb8
cmp dword [eax], 0
jne 0x41adb8
xorps xmm0, xmm0
mov dword [ebp - 0x30], edi
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x20], xmm0
mov dword [ebp - 0x2c], 0
movups xmm0, xmmword [ebp - 0x30]
mov dword [ebp - 0x70], esi
mov byte [ebp - 0x6c], 0
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x50], 0
movq xmm0, qword [ebp - 0x20]
movq qword [ebp - 0x58], xmm0
mov eax, dword [ebp - 0xb4]
movq xmm0, qword [ebp - 0xbc]
movq qword [ebp - 0xc8], xmm0
mov dword [ebp - 0xc0], eax
test eax, eax
je 0x41adeb
cmp eax, 1
je 0x41adeb
and eax, 1
or eax, 0x4ef8e0
mov dword [ebp - 0xc0], eax
test byte [ebp - 0xc0], 1
movq qword [ebp - 0xbc], xmm0
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0x24], str.E:_repoyjscloudclinkClientOfCSP_agent_boost_1.85.0libs_asioinclude_boost_asio_basic_socket.hpp
mov dword [ebp - 0x20], str.void___thiscall_boost::asio::basic_socket_class_boost::asio::ip::udp_class_boost::asio::any_io_executor_::open_const_class_boost::asio::ip::udp__
mov dword [ebp - 0x1c], 0x1a9
mov dword [ebp - 0x18], 0x1a
je 0x41ae39
cmp eax, 1
jne 0x41b102
cmp dword [ebp - 0xc8], 0
setne al
test al, al
jne 0x41b102
mov ecx, dword [ebp - 0x8c]
xorps xmm0, xmm0
mov dword [ebp - 0xcc], 1
movq qword [ebp - 0xbc], xmm0
mov dword [ebp - 0xb4], 0
cmp ecx, 0xffffffff
jne 0x41aec6
mov edx, dword [0x537030]
mov eax, dword [0x537034]
cmp edx, 0x257edfd1
jne 0x41ae7d
cmp eax, 0xb2ab117a
je 0x41ae8c
cmp edx, 0x257edfd0
jne 0x41ae90
cmp eax, 0xb2ab117a
jne 0x41ae90
mov al, 1
jmp 0x41aeaa
mov eax, dword [0x537028]
mov ecx, 0x537028
push 0x2719
mov eax, dword [eax + 0x18]
call eax
mov ecx, dword [ebp - 0x8c]
movzx eax, al
mov dword [ebp - 0xbc], 0x2719
add eax, 2
mov dword [ebp - 0xb8], 0x537028
jmp 0x41af01
push 4
lea eax, [ebp - 0xcc]
push eax
push 4
push 0xffff
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
setne al
movzx eax, al
push eax
lea eax, [ebp - 0xbc]
push eax
call fcn.00424970
mov ecx, dword [ebp - 0x8c]
add esp, 8
mov eax, dword [ebp - 0xb4]
movq xmm0, qword [ebp - 0xbc]
movq qword [ebp - 0xc8], xmm0
mov dword [ebp - 0xc0], eax
test eax, eax
je 0x41af2e
cmp eax, 1
je 0x41af2e
and eax, 1
or eax, 0x4f087c
mov dword [ebp - 0xc0], eax
test byte [ebp - 0xc0], 1
movq qword [ebp - 0xbc], xmm0
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0x24], str.E:_repoyjscloudclinkClientOfCSP_agent_boost_1.85.0libs_asioinclude_boost_asio_basic_socket.hpp
mov dword [ebp - 0x20], str.void___thiscall_boost::asio::basic_socket_class_boost::asio::ip::udp_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], 0x400
mov dword [ebp - 0x18], 0x1a
je 0x41af7c
cmp eax, 1
jne 0x41b117
cmp dword [ebp - 0xc8], 0
setne al
test al, al
jne 0x41b117
cmp word [ebp - 0xac], di
mov edx, 0x10
mov eax, 0x1c
mov dword [ebp - 0xb4], 0
cmove eax, edx
xorps xmm0, xmm0
lea edx, [ebp - 0xbc]
movq qword [ebp - 0xbc], xmm0
push edx
push eax
lea eax, [ebp - 0xac]
push eax
push ecx
call fcn.004207a0
mov eax, dword [ebp - 0xb4]
add esp, 0x10
movq xmm0, qword [ebp - 0xbc]
movq qword [ebp - 0xc8], xmm0
mov dword [ebp - 0xc0], eax
test eax, eax
je 0x41aff0
cmp eax, 1
je 0x41aff0
and eax, 1
or eax, 0x4ef704
mov dword [ebp - 0xc0], eax
test byte [ebp - 0xc0], 1
movq qword [ebp - 0xbc], xmm0
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0x24], str.E:_repoyjscloudclinkClientOfCSP_agent_boost_1.85.0libs_asioinclude_boost_asio_basic_socket.hpp
mov dword [ebp - 0x20], str.void___thiscall_boost::asio::basic_socket_class_boost::asio::ip::udp_class_boost::asio::any_io_executor_::bind_const_class_boost::asio::ip::basic_endpoint_class_boost::asio::ip::udp___
mov dword [ebp - 0x1c], 0x319
mov dword [ebp - 0x18], 0x1a
je 0x41b03e
cmp eax, 1
jne 0x41b12c
cmp dword [ebp - 0xc8], 0
setne al
test al, al
jne 0x41b12c
lea ecx, [ebp - 0x90]
mov byte [ebp - 0xad], 0
call fcn.004216c0
jmp 0x41b076
lea ecx, [ebp - 0x90]
mov dword [ebp - 4], 1
call fcn.004216c0
mov ecx, dword [ebp - 0xd0]
call fcn.00429e70
lea ecx, [ebp - 0x90]
call fcn.004124f0
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 4], 4
mov esi, dword [eax + 0x1c]
test esi, esi
je 0x41b0c0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [esi + 0x10]
test esi, esi
jne 0x41b0b2
or ecx, 0xffffffff
lock xadd dword [0x53b31c], ecx
jne 0x41b0d3
call dword [sym.imp.WS2_32.dll_WSACleanup]
lea ecx, [ebp - 0xd8]
call fcn.004146a0
mov al, byte [ebp - 0xad]
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.004b847a
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x24]
push eax
push str.open
lea eax, [ebp - 0xbc]
push eax
call fcn.00404ed0
lea eax, [ebp - 0x24]
push eax
push str.set_option
lea eax, [ebp - 0xbc]
push eax
call fcn.00404ed0
lea eax, [ebp - 0x24]
push eax
push str.bind
lea eax, [ebp - 0xbc]
push eax
call fcn.00404ed0
int3