Function at 0x434bf0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e6d61
mov eax, dword fs:[0]
push eax
sub esp, 0x104
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, ecx
mov dword [ebp - 0xf8], 0
lea eax, [ebp - 0x74]
mov edi, dword [esi + 0xc]
mov dword [ebp - 0xf4], eax
lea eax, [ebp - 0xe8]
push 0
push eax
mov dword [ebp - 0x104], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0
call fcn.0040c470
mov ecx, dword [edi]
lea eax, [ebp - 0xe8]
add esp, 8
push edi
push 0x40b8f0
push eax
call fcn.004241b0
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
lea eax, [ebp - 0x68]
mov dword [ebp - 0x54], 0x4f0afc
mov dword [ebp - 0x5c], 0x4f0b0c
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x50], 0x4f0aa8
push 0x10
mov byte [ebp - 4], 2
call fcn.004b80fd
add esp, 4
mov dword [ebp - 0xf4], eax
test eax, eax
je 0x434cf1
xorps xmm0, xmm0
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], vtable.std::_Ref_count_resource_void___struct_boost::asio::detail::socket_ops::noop_deleter_.0
mov dword [eax + 0xc], 0
jmp 0x434cf3
xor eax, eax
mov ecx, dword [ebp - 0x6c]
or edi, 0xffffffff
mov dword [ebp - 0x70], 0
mov dword [ebp - 0xf0], ecx
mov dword [ebp - 0x6c], eax
test ecx, ecx
je 0x434d2e
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x434d2e
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0xf0]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x434d2e
mov eax, dword [ecx]
call dword [eax + 4]
movzx eax, word [esi + 0x110]
push eax
lea eax, [ebp - 0x17]
mov byte [ebp - 4], 3
push eax
call fcn.0040a8e0
add esp, 8
lea ecx, [ebp - 0xf9]
push ecx
lea ecx, [ebp - 0x17]
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.004079b0
mov dword [ebp - 0xf8], 3
xorps xmm0, xmm0
mov byte [ebp - 4], 4
lea eax, [esi + 0x114]
push eax
lea ecx, [ebp - 0xa4]
movups xmmword [ebp - 0xc4], xmm0
movups xmmword [ebp - 0xb4], xmm0
call fcn.0040e140
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x8c]
call fcn.0040e140
movaps xmm0, xmmword [0x4f1100]
movups xmmword [ebp - 0xc4], xmm0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
mov ecx, dword [ebp - 0x38]
mov byte [ebp - 4], 7
cmp ecx, 0xf
jbe 0x434e0c
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x434e02
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43559c
push ecx
push edx
call fcn.004b812d
add esp, 8
mov ecx, dword [ebp - 0x74]
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0xc4]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x70]
mov dword [ebp - 0xe4], 0
push eax
lea eax, [ebp - 0x40]
xorps xmm0, xmm0
push eax
movq qword [ebp - 0xec], xmm0
call fcn.00427d00
test byte [ebp - 0xe4], 1
mov dword [ebp - 0xf8], 7
mov dword [ebp - 0x24], str.E:_repoyjscloudclinkClientOfCSP_agent_boost_1.85.0libs_asioinclude_boost_asio_ip_basic_resolver.hpp
mov dword [ebp - 0x20], str.class_boost::asio::ip::basic_resolver_results_class_boost::asio::ip::tcp____thiscall_boost::asio::ip::basic_resolver_class_boost::asio::ip::tcp_class_boost::asio::any_io_executor_::resolve_const_class_boost::asio::ip::basic_resolver_query_class_boost::asio::ip::tcp___
mov dword [ebp - 0x1c], 0xff
mov dword [ebp - 0x18], 0x1a
je 0x434e91
cmp dword [ebp - 0xe4], 1
jne 0x435533
cmp dword [ebp - 0xec], 0
setne al
test al, al
jne 0x435533
imul ecx, dword [ebp - 0x38], 0x4c
mov eax, dword [ebp - 0x40]
mov byte [ebp - 4], 7
add ecx, dword [eax]
movups xmm0, xmmword [ecx]
movups xmmword [ebp - 0xe0], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [ebp - 0xd0], xmm0
mov eax, dword [ecx + 0x18]
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xf0], ecx
test ecx, ecx
je 0x434eec
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x434eec
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0xf0]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x434eec
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, 2
mov dword [ebp - 0xe4], 0
cmp word [ebp - 0xe0], cx
mov eax, 0x17
xorps xmm0, xmm0
cmove eax, ecx
movq qword [ebp - 0xec], xmm0
lea ecx, [ebp - 0xec]
mov dword [ebp - 0xf0], eax
push ecx
lea ecx, [ebp - 0xf0]
push ecx
mov ecx, dword [esi + 0x68]
lea eax, [esi + 0x6c]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00425bf0
test byte [ebp - 0xe4], 1
mov dword [ebp - 0x24], str.E:_repoyjscloudclinkClientOfCSP_agent_boost_1.85.0libs_asioinclude_boost_asio_basic_socket_acceptor.hpp
mov dword [ebp - 0x20], 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 - 0x1c], 0x1dd
mov dword [ebp - 0x18], 0x1a
je 0x434f7d
cmp dword [ebp - 0xe4], 1
jne 0x435548
cmp dword [ebp - 0xec], 0
setne al
test al, al
jne 0x435548
mov eax, dword [esi + 0x6c]
xorps xmm0, xmm0
mov dword [ebp - 0xf0], 1
movq qword [ebp - 0xec], xmm0
mov dword [ebp - 0xe4], 0
cmp eax, 0xffffffff
jne 0x435001
mov ecx, dword [0x537030]
mov eax, dword [0x537034]
cmp ecx, 0x257edfd1
jne 0x434fbe
cmp eax, 0xb2ab117a
je 0x434fcd
cmp ecx, 0x257edfd0
jne 0x434fd1
cmp eax, 0xb2ab117a
jne 0x434fd1
mov al, 1
jmp 0x434fe5
mov eax, dword [0x537028]
mov ecx, 0x537028
push 0x2719
mov eax, dword [eax + 0x18]
call eax
movzx eax, al
mov dword [ebp - 0xec], 0x2719
add eax, 2
mov dword [ebp - 0xe8], 0x537028
jmp 0x435036
push 4
lea ecx, [ebp - 0xf0]
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 - 0xec]
push eax
call fcn.00424970
mov eax, dword [ebp - 0xe4]
add esp, 8
movq xmm0, qword [ebp - 0xec]
movq qword [ebp - 0x40], xmm0
mov dword [ebp - 0x38], eax
test eax, eax
je 0x43505a
cmp eax, 1
je 0x43505a
and eax, 1
or eax, 0x4f0540
mov dword [ebp - 0x38], eax
test byte [ebp - 0x38], 1
movq qword [ebp - 0xec], xmm0
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0x24], str.E:_repoyjscloudclinkClientOfCSP_agent_boost_1.85.0libs_asioinclude_boost_asio_basic_socket_acceptor.hpp
mov dword [ebp - 0x20], 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 - 0x1c], 0x32d
mov dword [ebp - 0x18], 0x1a
je 0x4350a2
cmp eax, 1
jne 0x43555d
cmp dword [ebp - 0x40], 0
setne al
test al, al
jne 0x43555d
cmp word [ebp - 0xe0], 2
mov ecx, 0x10
mov eax, 0x1c
mov dword [ebp - 0xe4], 0
cmove eax, ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0xec]
movq qword [ebp - 0xec], xmm0
push ecx
push eax
lea eax, [ebp - 0xe0]
push eax
push dword [esi + 0x6c]
call fcn.004207a0
mov eax, dword [ebp - 0xe4]
add esp, 0x10
movq xmm0, qword [ebp - 0xec]
movq qword [ebp - 0x40], xmm0
mov dword [ebp - 0x38], eax
test eax, eax
je 0x435110
cmp eax, 1
je 0x435110
and eax, 1
or eax, 0x4efbcc
mov dword [ebp - 0x38], eax
test byte [ebp - 0x38], 1
movq qword [ebp - 0xec], xmm0
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0x24], str.E:_repoyjscloudclinkClientOfCSP_agent_boost_1.85.0libs_asioinclude_boost_asio_basic_socket_acceptor.hpp
mov dword [ebp - 0x20], 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 - 0x1c], 0x23c
mov dword [ebp - 0x18], 0x1a
je 0x435158
cmp eax, 1
jne 0x435572
cmp dword [ebp - 0x40], 0
setne al
test al, al
jne 0x435572
lea eax, [ebp - 0xec]
mov dword [ebp - 0xe4], 0
push eax
push 0x64
push dword [esi + 0x6c]
xorps xmm0, xmm0
movq qword [ebp - 0xec], xmm0
call fcn.004255b0
add esp, 0xc
mov dword [ebp - 0x24], str.E:_repoyjscloudclinkClientOfCSP_agent_boost_1.85.0libs_asioinclude_boost_asio_basic_socket_acceptor.hpp
test byte [ebp - 0xe4], 1
mov dword [ebp - 0x20], str.void___thiscall_boost::asio::basic_socket_acceptor_class_boost::asio::ip::tcp_class_boost::asio::any_io_executor_::listen_int_
mov dword [ebp - 0x1c], 0x26b
mov dword [ebp - 0x18], 0x1a
je 0x4351c5
cmp dword [ebp - 0xe4], 1
jne 0x435587
cmp dword [ebp - 0xec], 0
setne al
test al, al
jne 0x435587
push 0x5320
call fcn.004b80fd
add esp, 4
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xe4], eax
mov byte [ebp - 4], 9
test eax, eax
je 0x4352bb
cmp dword [esi + 0x140], 0xf
lea ecx, [esi + 0x12c]
jbe 0x4351fb
mov ecx, dword [ecx]
cmp dword [esi + 0x10c], 0xf
lea eax, [esi + 0xf8]
mov dword [ebp - 0xf8], eax
jbe 0x435218
mov eax, dword [eax]
mov dword [ebp - 0xf8], eax
cmp dword [esi + 0xf4], 0xf
lea eax, [esi + 0xe0]
mov dword [ebp - 0x100], eax
jbe 0x435235
mov eax, dword [eax]
mov dword [ebp - 0x100], eax
cmp dword [esi + 0xdc], 0xf
lea eax, [esi + 0xc8]
mov dword [ebp - 0xf0], eax
jbe 0x435252
mov eax, dword [eax]
mov dword [ebp - 0xf0], eax
movups xmm0, xmmword [esi + 0x170]
mov eax, dword [esi + 0x198]
sub esp, 0x2c
mov edx, esp
push dword [esi + 0x15c]
movups xmmword [edx], xmm0
movups xmm0, xmmword [esi + 0x180]
movups xmmword [edx + 0x10], xmm0
movq xmm0, qword [esi + 0x190]
movq qword [edx + 0x20], xmm0
mov dword [edx + 0x28], eax
movzx eax, word [esi + 0x112]
push eax
movzx eax, word [esi + 0x110]
push eax
push ecx
push dword [ebp - 0xf8]
mov ecx, dword [ebp - 0xf4]
push dword [ebp - 0x100]
push dword [ebp - 0xf0]
push dword [esi + 0xc]
call fcn.00447e20
jmp 0x4352bd
xor eax, eax
push eax
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 7
call fcn.004332b0
mov eax, dword [0x537168]
movzx eax, byte [eax]
push eax
mov eax, dword [ebp - 0x10c]
sub esp, 8
mov ecx, esp
mov dword [ebp - 0xe4], esp
mov dword [ecx], eax
mov eax, dword [ebp - 0x108]
mov dword [ecx + 4], eax
test eax, eax
je 0x435302
mov ecx, 1
add eax, 4
lock xadd dword [eax], ecx
sub esp, 8
mov byte [ebp - 4], 0xb
mov eax, esp
mov dword [ebp - 0xf4], eax
lea ecx, [eax + 4]
lea eax, [esi + 4]
push eax
call fcn.0042d220
mov ecx, dword [ebp - 0xf4]
mov eax, dword [esi]
push 0
push 0x434680
mov dword [ecx], eax
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 0xa
call fcn.004338f0
add esp, 0x20
mov dword [ebp - 0xf4], eax
mov ecx, dword [ebp - 0x10c]
mov byte [ebp - 4], 0xc
call fcn.0044a2f0
mov ecx, dword [esi + 0x68]
lea edx, [esi + 0xac]
push edx
push dword [ebp - 0xf4]
push 0
push eax
lea eax, [esi + 0x6c]
push eax
call fcn.00433480
lea ecx, [ebp - 0x2c]
call fcn.004342f0
mov byte [esi + 8], 1
mov esi, dword [ebp - 0x108]
test esi, esi
je 0x4353af
mov ecx, edi
lea eax, [esi + 4]
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x4353af
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edx, edi
lea eax, [esi + 8]
lock xadd dword [eax], edx
cmp edx, 1
jne 0x4353af
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov ecx, dword [ebp - 0x78]
mov byte [ebp - 4], 3
cmp ecx, 0xf
jbe 0x4353ea
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4353e0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43559c
push ecx
push edx
call fcn.004b812d
add esp, 8
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
cmp ecx, 0xf
jbe 0x435439
mov edx, dword [ebp - 0xa4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43542f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43559c
push ecx
push edx
call fcn.004b812d
add esp, 8
mov esi, dword [ebp - 0x6c]
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
test esi, esi
je 0x435488
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x435488
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x435488
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp dword [ebp - 0x58], 0
mov byte [ebp - 4], 0xd
je 0x4354a0
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax]
call eax
add esp, 4
mov esi, dword [ebp - 0x6c]
test esi, esi
je 0x4354c5
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4354c5
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x4354c5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
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 - 0x24]
push eax
push str.resolve
lea eax, [ebp - 0xec]
push eax
call fcn.00404ed0
lea eax, [ebp - 0x24]
push eax
push str.open
lea eax, [ebp - 0xec]
push eax
call fcn.00404ed0
lea eax, [ebp - 0x24]
push eax
push str.set_option
lea eax, [ebp - 0xec]
push eax
call fcn.00404ed0
lea eax, [ebp - 0x24]
push eax
push str.bind
lea eax, [ebp - 0xec]
push eax
call fcn.00404ed0
lea eax, [ebp - 0x24]
push eax
push str.listen
lea eax, [ebp - 0xec]
push eax
call fcn.00404ed0
call fcn.004be0cf
int3