Function at 0x438490
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e70e0
mov eax, dword fs:[0]
push eax
sub esp, 0x80
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 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 0x4384e8
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.00425800
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 0x438543
cmp dword [ebp - 0x50], 1
jne 0x4388d8
cmp dword [ebp - 0x58], 0
setne al
test al, al
jne 0x4388d8
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 0x43858f
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 0x4385c4
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 0x4388e5
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 - 0x58], xmm0
cmove esi, eax
mov dword [ebp - 0x50], 0
lea eax, [ebp - 0x58]
push eax
push 0x11
push 2
push esi
push edx
lea eax, [ebp - 0x68]
lea ecx, [ecx + 0x14]
push eax
call fcn.00423dd0
mov ecx, dword [eax + 8]
test cl, 1
je 0x438611
cmp ecx, 1
jne 0x43864c
cmp dword [eax], 0
jne 0x43864c
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 - 0x50]
movq xmm0, qword [ebp - 0x58]
movq qword [ebp - 0x78], xmm0
mov dword [ebp - 0x70], eax
test eax, eax
je 0x438670
cmp eax, 1
je 0x438670
and eax, 1
or eax, 0x4ef8e0
mov dword [ebp - 0x70], eax
test byte [ebp - 0x70], 1
movq qword [ebp - 0x58], xmm0
mov dword [ebp - 0x50], 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 0x4386b2
cmp eax, 1
jne 0x4388f6
cmp dword [ebp - 0x78], 0
setne al
test al, al
jne 0x4388f6
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 0x438727
mov ecx, dword [0x537030]
mov eax, dword [0x537034]
cmp ecx, 0x257edfd1
jne 0x4386ea
cmp eax, 0xb2ab117a
je 0x4386f9
cmp ecx, 0x257edfd0
jne 0x4386fd
cmp eax, 0xb2ab117a
jne 0x4386fd
mov al, 1
jmp 0x438711
mov eax, dword [0x537028]
mov ecx, 0x537028
push 0x2719
mov eax, dword [eax + 0x18]
call eax
movzx eax, al
mov dword [ebp - 0x58], 0x2719
add eax, 2
mov dword [ebp - 0x54], 0x537028
jmp 0x438753
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.00424970
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 0x438774
cmp eax, 1
je 0x438774
and eax, 1
or eax, 0x4f087c
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 0x4387b6
cmp eax, 1
jne 0x438908
cmp dword [ebp - 0x68], 0
setne al
test al, al
jne 0x438908
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.004207a0
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 0x43880f
cmp eax, 1
je 0x43880f
and eax, 1
or eax, 0x4ef704
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 0x438851
cmp eax, 1
jne 0x43891a
cmp dword [ebp - 0x68], 0
setne al
test al, al
jne 0x43891a
mov al, byte [ebp - 0x59]
lea edx, [edi + 0x70]
mov byte [ebp - 0x84], al
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
mov ecx, dword [edi + 0x10]
push eax
push 0
push edx
lea eax, [ebp - 0x74]
mov dword [ebp - 0x8c], 0x437bb0
push eax
lea eax, [edi + 0x14]
mov dword [ebp - 0x88], 0
push eax
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x70], 0x4fdc
call fcn.00436530
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
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00424120
lea ecx, [ebp - 0x68]
call fcn.00410d10
lea eax, [ebp - 0x68]
push eax
call fcn.0040d200
lea eax, [ebp - 0x6c]
push eax
push str.open
lea eax, [ebp - 0x58]
push eax
call fcn.00404ed0
lea eax, [ebp - 0x24]
push eax
push str.set_option
lea eax, [ebp - 0x58]
push eax
call fcn.00404ed0
lea eax, [ebp - 0x24]
push eax
push str.bind
lea eax, [ebp - 0x58]
push eax
call fcn.00404ed0
int3