Function at 0x4905c0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x713560
mov eax, dword fs:[0]
push eax
sub esp, 0x80
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
cmp dword [edi + 0xa8], 0xf
lea eax, [edi + 0x94]
movzx esi, word [edi + 0x8c]
mov dword [ebp - 0x7c], edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x70], esi
jbe 0x490618
mov eax, dword [eax]
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x50], 0
push ecx
push eax
lea eax, [ebp - 0x30]
xorps xmm0, xmm0
push eax
movq qword [ebp - 0x58], xmm0
call fcn.0047caf0
add esp, 0xc
mov dword [ebp - 0x6c], str.E:_repoyjscloudclinkClientOfCSP_agent_boost_1.85.0libs_asioinclude_boost_asio_ip_impl_address.ipp
test byte [ebp - 0x50], 1
mov dword [ebp - 0x68], str.class_boost::asio::ip::address___cdecl_boost::asio::ip::make_address_const_char__
mov dword [ebp - 0x64], 0x6c
mov dword [ebp - 0x60], 0x18
je 0x490673
cmp dword [ebp - 0x50], 1
jne 0x490a0d
cmp dword [ebp - 0x58], 0
setne al
test al, al
jne 0x490a0d
cmp dword [ebp - 0x30], 0
xorps xmm0, xmm0
mov byte [ebp - 4], 1
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x34], 0
jne 0x4906bf
mov eax, 2
push esi
mov word [ebp - 0x4c], ax
call dword [sym.imp.WS2_32.dll_htons]
push dword [ebp - 0x2c]
mov word [ebp - 0x4a], ax
call dword [sym.imp.WS2_32.dll_ntohl]
push eax
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [ebp - 0x48], eax
mov esi, 0x17
jmp 0x4906f4
push dword [ebp - 0x70]
mov esi, 0x17
mov word [ebp - 0x4c], si
call dword [sym.imp.WS2_32.dll_htons]
cmp dword [ebp - 0x30], 1
mov word [ebp - 0x4a], ax
mov dword [ebp - 0x48], 0
jne 0x490a1a
movups xmm0, xmmword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
movups xmmword [ebp - 0x44], xmm0
mov ecx, dword [edi + 0x10]
lea edx, [edi + 0x14]
mov eax, 2
mov byte [ebp - 4], 0
cmp word [ebp - 0x4c], ax
xorps xmm0, xmm0
movq qword [ebp - 0x78], xmm0
cmove esi, eax
mov dword [ebp - 0x70], 0
lea eax, [ebp - 0x78]
push eax
push 0x11
push 2
push esi
push edx
lea eax, [ebp - 0x68]
lea ecx, [ecx + 0x14]
push eax
call fcn.0047ae40
mov ecx, dword [eax + 8]
test cl, 1
je 0x490741
cmp ecx, 1
jne 0x49077c
cmp dword [eax], 0
jne 0x49077c
xorps xmm0, xmm0
mov dword [ebp - 0x30], 2
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x20], xmm0
mov dword [ebp - 0x2c], 0
movups xmm0, xmmword [ebp - 0x30]
mov dword [edi + 0x30], esi
mov byte [edi + 0x34], 0
movups xmmword [edi + 0x38], xmm0
movq xmm0, qword [ebp - 0x20]
movq qword [edi + 0x48], xmm0
mov dword [edi + 0x50], 0
mov eax, dword [ebp - 0x70]
movq xmm0, qword [ebp - 0x78]
movq qword [ebp - 0x58], xmm0
mov dword [ebp - 0x50], eax
test eax, eax
je 0x4907a0
cmp eax, 1
je 0x4907a0
and eax, 1
or eax, 0x71d1a0
mov dword [ebp - 0x50], eax
test byte [ebp - 0x50], 1
movq qword [ebp - 0x78], xmm0
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], str.E:_repoyjscloudclinkClientOfCSP_agent_boost_1.85.0libs_asioinclude_boost_asio_basic_socket.hpp
mov dword [ebp - 0x68], 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 - 0x64], 0x1a9
mov dword [ebp - 0x60], 0x1a
je 0x4907e2
cmp eax, 1
jne 0x490a2b
cmp dword [ebp - 0x58], 0
setne al
test al, al
jne 0x490a2b
mov eax, dword [edi + 0x14]
xorps xmm0, xmm0
mov dword [ebp - 0x70], 1
movq qword [ebp - 0x58], xmm0
mov dword [ebp - 0x50], 0
cmp eax, 0xffffffff
jne 0x49085c
mov ecx, dword [0x7f5030]
mov eax, dword [0x7f5034]
cmp ecx, 0x257edfd1
jne 0x49081a
cmp eax, 0xb2ab117a
je 0x490829
cmp ecx, 0x257edfd0
jne 0x49082d
cmp eax, 0xb2ab117a
jne 0x49082d
mov al, 1
jmp 0x490841
mov eax, dword [0x7f5028]
mov ecx, 0x7f5028
push 0x2719
mov eax, dword [eax + 0x18]
call eax
movzx eax, al
mov dword [ebp - 0x68], 0x2719
add eax, 2
mov dword [ebp - 0x64], 0x7f5028
movq xmm0, qword [ebp - 0x68]
jmp 0x49088d
push 4
lea ecx, [ebp - 0x70]
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 - 0x58]
push eax
call fcn.0047ba10
mov eax, dword [ebp - 0x50]
add esp, 8
movq xmm0, qword [ebp - 0x58]
movq qword [ebp - 0x68], xmm0
mov dword [ebp - 0x60], eax
test eax, eax
je 0x4908a9
cmp eax, 1
je 0x4908a9
and eax, 1
or eax, 0x71df8c
mov dword [ebp - 0x60], eax
test byte [ebp - 0x60], 1
movq qword [ebp - 0x58], xmm0
mov dword [ebp - 0x50], 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 0x4908eb
cmp eax, 1
jne 0x490a3d
cmp dword [ebp - 0x68], 0
setne al
test al, al
jne 0x490a3d
cmp word [ebp - 0x4c], 2
mov ecx, 0x10
mov eax, 0x1c
mov dword [ebp - 0x50], 0
cmove eax, ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x58]
movq qword [ebp - 0x58], xmm0
push ecx
push eax
lea eax, [ebp - 0x4c]
push eax
push dword [edi + 0x14]
call fcn.00477440
mov eax, dword [ebp - 0x50]
add esp, 0x10
movq xmm0, qword [ebp - 0x58]
movq qword [ebp - 0x68], xmm0
mov dword [ebp - 0x60], eax
test eax, eax
je 0x490944
cmp eax, 1
je 0x490944
and eax, 1
or eax, 0x71cfc8
mov dword [ebp - 0x60], eax
test byte [ebp - 0x60], 1
movq qword [ebp - 0x58], xmm0
mov dword [ebp - 0x50], 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 0x490986
cmp eax, 1
jne 0x490a4f
cmp dword [ebp - 0x68], 0
setne al
test al, al
jne 0x490a4f
mov al, byte [ebp - 0x59]
lea esi, [edi + 0x70]
mov byte [ebp - 0x84], al
lea edx, [edi + 0x14]
mov al, byte [ebp - 0x59]
mov byte [ebp - 0x83], al
lea eax, [edi + 0x10c]
mov dword [ebp - 0x74], eax
lea eax, [edi + 0x54]
push eax
lea eax, [ebp - 0x8c]
mov byte [edi + 8], 1
push eax
push 0
push esi
lea eax, [ebp - 0x74]
mov dword [ebp - 0x8c], 0x48fd80
push eax
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x80], edi
mov ecx, dword [edi + 0x10]
push edx
mov dword [ebp - 0x70], 0x4fdc
call fcn.0048e790
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 - 0x6c]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0047b190
lea ecx, [ebp - 0x68]
call fcn.004666d0
lea eax, [ebp - 0x68]
push eax
call fcn.00462a10
lea eax, [ebp - 0x6c]
push eax
push str.open
lea eax, [ebp - 0x78]
push eax
call fcn.0044f150
lea eax, [ebp - 0x24]
push eax
push str.set_option
lea eax, [ebp - 0x58]
push eax
call fcn.0044f150
lea eax, [ebp - 0x24]
push eax
push str.bind
lea eax, [ebp - 0x58]
push eax
call fcn.0044f150
int3