Function at 0x471950
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x71134c
mov eax, dword fs:[0]
push eax
sub esp, 0x158
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 dword [ebp - 0x158], ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x164]
call fcn.00466c90
lea eax, [ebp - 0x164]
mov dword [ebp - 4], 0
push eax
push 0
push 0
lea ecx, [ebp - 0xcc]
call fcn.0045d7d0
movzx eax, word [ebp + 0xc]
xorps xmm0, xmm0
push eax
push 0x71c3a8
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 2
push 8
push eax
movlpd qword [ebp - 0x1c], xmm0
call fcn.00459790
add esp, 0x10
lea eax, [ebp - 0x164]
lea ecx, [ebp - 0x144]
push 0
push eax
call fcn.0045d6b0
xorps xmm0, xmm0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x40], 0
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x3c], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x471a10
sub ecx, edx
lea eax, [ebp - 0x1c]
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.0044b260
mov ecx, esi
mov byte [ebp - 4], 4
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x20], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x471a44
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x34]
call fcn.0044b260
xorps xmm0, xmm0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0xfc]
movups xmmword [ebp - 0x11c], xmm0
movups xmmword [ebp - 0x10c], xmm0
call fcn.00452ce0
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0xe4]
call fcn.00452ce0
movaps xmm0, xmmword [0x71e810]
movups xmmword [ebp - 0x11c], xmm0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x100], 0
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 8
cmp ecx, 0xf
jbe 0x471afc
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x471af2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x471fe6
push ecx
push edx
call fcn.006dec1c
add esp, 8
mov ecx, dword [ebp - 0x3c]
mov byte [ebp - 4], 9
cmp ecx, 0xf
jbe 0x471b34
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x471b2a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x471fe6
push ecx
push edx
call fcn.006dec1c
add esp, 8
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x144]
call fcn.0047f190
mov esi, dword [ebp - 0x40]
or edi, 0xffffffff
mov ecx, dword [eax]
imul eax, dword [eax + 8], 0x4c
add eax, dword [ecx]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x6c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x5c], xmm0
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x54], eax
test esi, esi
je 0x471b92
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x471b92
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x471b92
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0xcc]
mov eax, 2
cmp word [ebp - 0x6c], ax
mov esi, 0x17
xorps xmm0, xmm0
mov dword [ebp - 0x14c], 0
cmove esi, eax
movq qword [ebp - 0x154], xmm0
lea eax, [ebp - 0x154]
push eax
push 6
push 1
push esi
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0x44]
lea ecx, [ecx + 0x14]
push eax
call fcn.0047ae40
mov ecx, dword [eax + 8]
test cl, 1
je 0x471bef
cmp ecx, 1
jne 0x471c39
cmp dword [eax], 0
jne 0x471c39
xorps xmm0, xmm0
mov dword [ebp - 0x38], 2
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x28], xmm0
mov dword [ebp - 0x34], 0
movups xmm0, xmmword [ebp - 0x38]
mov dword [ebp - 0xac], esi
mov byte [ebp - 0xa8], 0
movups xmmword [ebp - 0xa4], xmm0
mov dword [ebp - 0x8c], 0
movq xmm0, qword [ebp - 0x28]
movq qword [ebp - 0x94], xmm0
mov eax, dword [ebp - 0x14c]
movq xmm0, qword [ebp - 0x154]
movq qword [ebp - 0x44], xmm0
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x471c63
cmp eax, 1
je 0x471c63
and eax, 1
or eax, 0x71d5f0
mov dword [ebp - 0x3c], eax
test byte [ebp - 0x3c], 1
movq qword [ebp - 0x154], xmm0
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x2c], str.E:_repoyjscloudclinkClientOfCSP_agent_boost_1.85.0libs_asioinclude_boost_asio_basic_socket_acceptor.hpp
mov dword [ebp - 0x28], 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 - 0x24], 0x1dd
mov dword [ebp - 0x20], 0x1a
je 0x471cab
cmp eax, 1
jne 0x471feb
cmp dword [ebp - 0x44], 0
setne al
test al, al
jne 0x471feb
mov eax, dword [ebp - 0x158]
cmp byte [eax + 4], 0
jne 0x471de5
cmp dword [ebp - 0xc8], 0xffffffff
xorps xmm0, xmm0
mov dword [ebp - 0x158], 1
movq qword [ebp - 0x154], xmm0
mov dword [ebp - 0x14c], 0
jne 0x471d3f
mov ecx, dword [0x7f5030]
mov eax, dword [0x7f5034]
cmp ecx, 0x257edfd1
jne 0x471cfd
cmp eax, 0xb2ab117a
je 0x471d0c
cmp ecx, 0x257edfd0
jne 0x471d10
cmp eax, 0xb2ab117a
jne 0x471d10
mov al, 1
jmp 0x471d24
mov eax, dword [0x7f5028]
mov ecx, 0x7f5028
push 0x2719
mov eax, dword [eax + 0x18]
call eax
movzx eax, al
mov dword [ebp - 0x44], 0x2719
add eax, 2
mov dword [ebp - 0x40], 0x7f5028
movq xmm0, qword [ebp - 0x44]
jmp 0x471d81
push 4
lea eax, [ebp - 0x158]
push eax
push 4
push 0xffff
push dword [ebp - 0xc8]
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
setne al
movzx eax, al
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.0047ba10
mov eax, dword [ebp - 0x14c]
add esp, 8
movq xmm0, qword [ebp - 0x154]
movq qword [ebp - 0x44], xmm0
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x471d9d
cmp eax, 1
je 0x471d9d
and eax, 1
or eax, 0x71ddf0
mov dword [ebp - 0x3c], eax
test byte [ebp - 0x3c], 1
movq qword [ebp - 0x154], xmm0
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x2c], str.E:_repoyjscloudclinkClientOfCSP_agent_boost_1.85.0libs_asioinclude_boost_asio_basic_socket_acceptor.hpp
mov dword [ebp - 0x28], 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 - 0x24], 0x32d
mov dword [ebp - 0x20], 0x1a
je 0x471de5
cmp eax, 1
jne 0x472000
cmp dword [ebp - 0x44], 0
setne al
test al, al
jne 0x472000
cmp word [ebp - 0x6c], 2
mov ecx, 0x10
mov eax, 0x1c
mov dword [ebp - 0x14c], 0
cmove eax, ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x154]
movq qword [ebp - 0x154], xmm0
push ecx
push eax
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0xc8]
call fcn.00477440
mov eax, dword [ebp - 0x14c]
add esp, 0x10
movq xmm0, qword [ebp - 0x154]
movq qword [ebp - 0x44], xmm0
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x471e50
cmp eax, 1
je 0x471e50
and eax, 1
or eax, 0x71d48c
mov dword [ebp - 0x3c], eax
test byte [ebp - 0x3c], 1
movq qword [ebp - 0x154], xmm0
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x2c], str.E:_repoyjscloudclinkClientOfCSP_agent_boost_1.85.0libs_asioinclude_boost_asio_basic_socket_acceptor.hpp
mov dword [ebp - 0x28], 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 - 0x24], 0x23c
mov dword [ebp - 0x20], 0x1a
je 0x471e98
cmp eax, 1
jne 0x472015
cmp dword [ebp - 0x44], 0
setne al
test al, al
jne 0x472015
lea eax, [ebp - 0x154]
mov dword [ebp - 0x14c], 0
push eax
push bind
push dword [ebp - 0xc8]
xorps xmm0, xmm0
movq qword [ebp - 0x154], xmm0
call fcn.0047c8a0
add esp, 0xc
mov dword [ebp - 0x2c], str.E:_repoyjscloudclinkClientOfCSP_agent_boost_1.85.0libs_asioinclude_boost_asio_basic_socket_acceptor.hpp
test byte [ebp - 0x14c], 1
mov dword [ebp - 0x28], str.void___thiscall_boost::asio::basic_socket_acceptor_class_boost::asio::ip::tcp_class_boost::asio::any_io_executor_::listen_int_
mov dword [ebp - 0x24], 0x26b
mov dword [ebp - 0x20], 0x1a
je 0x471f0b
cmp dword [ebp - 0x14c], 1
jne 0x47202a
cmp dword [ebp - 0x154], 0
setne al
test al, al
jne 0x47202a
lea ecx, [ebp - 0xcc]
mov byte [ebp - 0x145], 1
call fcn.00478400
lea ecx, [ebp - 0x11c]
call fcn.00467b20
lea ecx, [ebp - 0x144]
call fcn.00467d30
jmp 0x471f5c
lea ecx, [ebp - 0xcc]
mov dword [ebp - 4], 1
call fcn.00478400
mov ecx, dword [ebp - 0x15c]
call fcn.00481410
lea ecx, [ebp - 0xcc]
call fcn.00467df0
mov eax, dword [ebp - 0x164]
mov dword [ebp - 4], 0xb
mov esi, dword [eax + 0x1c]
test esi, esi
je 0x471fa6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [esi + 0x10]
test esi, esi
jne 0x471f98
lock xadd dword [0x7fdf0c], edi
dec edi
jne 0x471fb7
call dword [sym.imp.WS2_32.dll_WSACleanup]
lea ecx, [ebp - 0x164]
call fcn.0046a110
mov al, byte [ebp - 0x145]
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
call fcn.006e51cf
lea eax, [ebp - 0x2c]
push eax
push str.open
lea eax, [ebp - 0x154]
push eax
call fcn.0044f150
lea eax, [ebp - 0x2c]
push eax
push str.set_option
lea eax, [ebp - 0x154]
push eax
call fcn.0044f150
lea eax, [ebp - 0x2c]
push eax
push str.bind
lea eax, [ebp - 0x154]
push eax
call fcn.0044f150
lea eax, [ebp - 0x2c]
push eax
push str.listen
lea eax, [ebp - 0x154]
push eax
call fcn.0044f150
int3