Function at 0x41b150
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e505c
mov eax, dword fs:[0]
push eax
sub esp, 0x158
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 - 0x164]
call fcn.00411350
lea eax, [ebp - 0x164]
mov dword [ebp - 4], 0
push eax
push 0
push 0
lea ecx, [ebp - 0xcc]
call fcn.00408040
movzx eax, word [ebp + 0xc]
xorps xmm0, xmm0
push eax
push 0x4eecb0
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 2
push 8
push eax
movlpd qword [ebp - 0x1c], xmm0
call fcn.0042aba0
add esp, 0x10
lea eax, [ebp - 0x164]
lea ecx, [ebp - 0x144]
push 0
push eax
call fcn.00407f20
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]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41b203
sub ecx, edx
lea eax, [ebp - 0x1c]
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.00401bf0
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 0x41b237
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x34]
call fcn.00401bf0
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.0040e140
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0xe4]
call fcn.0040e140
movaps xmm0, xmmword [0x4f1100]
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 0x41b2ef
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41b2e5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b865
push ecx
push edx
call fcn.004b812d
add esp, 8
mov ecx, dword [ebp - 0x3c]
mov byte [ebp - 4], 9
cmp ecx, 0xf
jbe 0x41b327
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41b31d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b865
push ecx
push edx
call fcn.004b812d
add esp, 8
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x144]
call fcn.00427c40
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 0x41b385
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x41b385
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x41b385
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.00423dd0
mov ecx, dword [eax + 8]
test cl, 1
je 0x41b3e2
cmp ecx, 1
jne 0x41b42c
cmp dword [eax], 0
jne 0x41b42c
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 0x41b456
cmp eax, 1
je 0x41b456
and eax, 1
or eax, 0x4efd30
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 0x41b49e
cmp eax, 1
jne 0x41b86a
cmp dword [ebp - 0x44], 0
setne al
test al, al
jne 0x41b86a
mov edx, dword [ebp - 0xc8]
xorps xmm0, xmm0
mov dword [ebp - 0x158], 1
movq qword [ebp - 0x154], xmm0
mov dword [ebp - 0x14c], 0
cmp edx, 0xffffffff
jne 0x41b53a
mov esi, dword [0x537030]
mov ecx, dword [0x537034]
cmp esi, 0x257edfd1
jne 0x41b4e4
cmp ecx, 0xb2ab117a
je 0x41b4f4
cmp esi, 0x257edfd0
jne 0x41b4f8
cmp ecx, 0xb2ab117a
jne 0x41b4f8
mov al, 1
jmp 0x41b51e
mov eax, dword [0x537028]
mov ecx, 0x537028
push 0x2719
mov eax, dword [eax + 0x18]
call eax
mov edx, dword [ebp - 0xc8]
mov ecx, dword [0x537034]
mov esi, dword [0x537030]
movzx eax, al
mov dword [ebp - 0x154], 0x2719
add eax, 2
mov dword [ebp - 0x150], 0x537028
jmp 0x41b581
push 4
lea eax, [ebp - 0x158]
push eax
push 4
push 0xffff
push edx
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.00424970
mov edx, dword [ebp - 0xc8]
add esp, 8
mov ecx, dword [0x537034]
mov esi, dword [0x537030]
mov eax, dword [ebp - 0x14c]
movq xmm0, qword [ebp - 0x154]
movq qword [ebp - 0x44], xmm0
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x41b5a5
cmp eax, 1
je 0x41b5a5
and eax, 1
or eax, 0x4f0540
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 0x41b5ed
cmp eax, 1
jne 0x41b87f
cmp dword [ebp - 0x44], 0
setne al
test al, al
jne 0x41b87f
mov dword [ebp - 0x158], 1
cmp edx, 0xffffffff
jne 0x41b630
cmp esi, 0x257edfd1
jne 0x41b60c
cmp ecx, 0xb2ab117a
je 0x41b66c
cmp esi, 0x257edfd0
jne 0x41b61c
cmp ecx, 0xb2ab117a
je 0x41b66c
mov eax, dword [0x537028]
mov ecx, 0x537028
push 0x2719
call dword [eax + 0x18]
jmp 0x41b666
or byte [ebp - 0xc4], 8
lea eax, [ebp - 0x158]
push 4
push eax
push 0x80
push 0xffff
push edx
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
setne al
movzx eax, al
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00424970
add esp, 8
mov edx, dword [ebp - 0xc8]
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 edx
call fcn.004207a0
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 0x41b6d2
cmp eax, 1
je 0x41b6d2
and eax, 1
or eax, 0x4efbcc
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 0x41b71a
cmp eax, 1
jne 0x41b894
cmp dword [ebp - 0x44], 0
setne al
test al, al
jne 0x41b894
lea eax, [ebp - 0x154]
mov dword [ebp - 0x14c], 0
push eax
push 0xa
push dword [ebp - 0xc8]
xorps xmm0, xmm0
movq qword [ebp - 0x154], xmm0
call fcn.004255b0
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 0x41b78a
cmp dword [ebp - 0x14c], 1
jne 0x41b8a9
cmp dword [ebp - 0x154], 0
setne al
test al, al
jne 0x41b8a9
lea ecx, [ebp - 0xcc]
mov byte [ebp - 0x145], 0
call fcn.00421740
lea ecx, [ebp - 0x11c]
call fcn.00412280
lea ecx, [ebp - 0x144]
call fcn.00412430
jmp 0x41b7db
lea ecx, [ebp - 0xcc]
mov dword [ebp - 4], 1
call fcn.00421740
mov ecx, dword [ebp - 0x15c]
call fcn.00429e70
lea ecx, [ebp - 0xcc]
call fcn.004124f0
mov eax, dword [ebp - 0x164]
mov dword [ebp - 4], 0xb
mov esi, dword [eax + 0x1c]
test esi, esi
je 0x41b825
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [esi + 0x10]
test esi, esi
jne 0x41b817
lock xadd dword [0x53b31c], edi
dec edi
jne 0x41b836
call dword [sym.imp.WS2_32.dll_WSACleanup]
lea ecx, [ebp - 0x164]
call fcn.004146a0
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.004b847a
mov esp, ebp
pop ebp
ret 8
call fcn.004be0cf
lea eax, [ebp - 0x2c]
push eax
push str.open
lea eax, [ebp - 0x154]
push eax
call fcn.00404ed0
lea eax, [ebp - 0x2c]
push eax
push str.set_option
lea eax, [ebp - 0x154]
push eax
call fcn.00404ed0
lea eax, [ebp - 0x2c]
push eax
push str.bind
lea eax, [ebp - 0x154]
push eax
call fcn.00404ed0
lea eax, [ebp - 0x2c]
push eax
push str.listen
lea eax, [ebp - 0x154]
push eax
call fcn.00404ed0
int3