Function at 0x471490
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7112cb
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
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 esi, dword [ebp + 8]
lea ecx, [ebp - 0xd8]
call fcn.00466c90
lea eax, [ebp - 0xd8]
mov dword [ebp - 4], 0
push eax
push 0
push 0
lea ecx, [ebp - 0x90]
call fcn.0045d890
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 2
push esi
push eax
call fcn.0047ca70
add esp, 8
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0xac]
push dword [ebp + 0xc]
push eax
call fcn.00463760
mov ecx, dword [ebp - 0x90]
mov eax, 2
cmp word [ebp - 0xac], ax
mov esi, 0x17
xorps xmm0, xmm0
mov dword [ebp - 0xb4], 0
cmove esi, eax
movq qword [ebp - 0xbc], xmm0
lea eax, [ebp - 0xbc]
push eax
push 0x11
push 2
push esi
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0xc8]
lea ecx, [ecx + 0x14]
push eax
call fcn.0047ae40
mov ecx, dword [eax + 8]
test cl, 1
je 0x471574
cmp ecx, 1
jne 0x4715af
cmp dword [eax], 0
jne 0x4715af
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 [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 0x4715e2
cmp eax, 1
je 0x4715e2
and eax, 1
or eax, 0x71d1a0
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 0x471630
cmp eax, 1
jne 0x471908
cmp dword [ebp - 0xc8], 0
setne al
test al, al
jne 0x471908
cmp byte [edi + 4], 0
jne 0x47177c
cmp dword [ebp - 0x8c], 0xffffffff
xorps xmm0, xmm0
mov dword [ebp - 0xcc], 1
movq qword [ebp - 0xbc], xmm0
mov dword [ebp - 0xb4], 0
jne 0x4716c7
mov ecx, dword [0x7f5030]
mov eax, dword [0x7f5034]
cmp ecx, 0x257edfd1
jne 0x47167c
cmp eax, 0xb2ab117a
je 0x47168b
cmp ecx, 0x257edfd0
jne 0x47168f
cmp eax, 0xb2ab117a
jne 0x47168f
mov al, 1
jmp 0x4716a3
mov eax, dword [0x7f5028]
mov ecx, 0x7f5028
push 0x2719
mov eax, dword [eax + 0x18]
call eax
movzx eax, al
mov dword [ebp - 0xc8], 0x2719
add eax, 2
mov dword [ebp - 0xc4], 0x7f5028
movq xmm0, qword [ebp - 0xc8]
jmp 0x471709
push 4
lea eax, [ebp - 0xcc]
push eax
push 4
push 0xffff
push dword [ebp - 0x8c]
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.0047ba10
mov eax, dword [ebp - 0xb4]
add esp, 8
movq xmm0, qword [ebp - 0xbc]
movq qword [ebp - 0xc8], xmm0
mov dword [ebp - 0xc0], eax
test eax, eax
je 0x47172e
cmp eax, 1
je 0x47172e
and eax, 1
or eax, 0x71df8c
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 0x47177c
cmp eax, 1
jne 0x47191d
cmp dword [ebp - 0xc8], 0
setne al
test al, al
jne 0x47191d
cmp word [ebp - 0xac], 2
mov ecx, 0x10
mov eax, 0x1c
mov dword [ebp - 0xb4], 0
cmove eax, ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0xbc]
movq qword [ebp - 0xbc], xmm0
push ecx
push eax
lea eax, [ebp - 0xac]
push eax
push dword [ebp - 0x8c]
call fcn.00477440
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 0x4717f6
cmp eax, 1
je 0x4717f6
and eax, 1
or eax, 0x71cfc8
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 0x471844
cmp eax, 1
jne 0x471932
cmp dword [ebp - 0xc8], 0
setne al
test al, al
jne 0x471932
lea ecx, [ebp - 0x90]
mov byte [ebp - 0xad], 0
call fcn.00478380
jmp 0x47187c
lea ecx, [ebp - 0x90]
mov dword [ebp - 4], 1
call fcn.00478380
mov ecx, dword [ebp - 0xd0]
call fcn.00481410
lea ecx, [ebp - 0x90]
call fcn.00467df0
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 4], 4
mov esi, dword [eax + 0x1c]
test esi, esi
je 0x4718c6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [esi + 0x10]
test esi, esi
jne 0x4718b8
or ecx, 0xffffffff
lock xadd dword [0x7fdf0c], ecx
jne 0x4718d9
call dword [sym.imp.WS2_32.dll_WSACleanup]
lea ecx, [ebp - 0xd8]
call fcn.0046a110
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.006def69
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x24]
push eax
push str.open
lea eax, [ebp - 0xbc]
push eax
call fcn.0044f150
lea eax, [ebp - 0x24]
push eax
push str.set_option
lea eax, [ebp - 0xbc]
push eax
call fcn.0044f150
lea eax, [ebp - 0x24]
push eax
push str.bind
lea eax, [ebp - 0xbc]
push eax
call fcn.0044f150
int3