Function at 0x10083ab0
Capabilities:
Set socket configuration

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ee9dd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x48
mov eax, dword [0x1012eb00]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x30], edi
mov eax, dword [ebx + 8]
mov esi, dword [ebx + 0xc]
push eax
sub esp, 8
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], esi
call fcn.1008ce20
mov dword [ebp - 4], 0
lea edx, [ebp - 0x20]
push edx
mov eax, 2
mov dword [ebp - 0x18], 0
cmp word [esi], ax
mov ecx, 0x17
push 6
cmovne eax, ecx
lea esi, [edi + 4]
mov ecx, dword [edi]
xorps xmm0, xmm0
push 1
push eax
mov dword [ebp - 0x30], eax
add ecx, 0x14
push esi
lea eax, [ebp - 0x2c]
movq qword [ebp - 0x20], xmm0
push eax
call fcn.10056be0
mov ecx, dword [eax + 8]
test cl, 1
je 0x10083b5e
cmp ecx, 1
jne 0x10083b9c
cmp dword [eax], 0
jne 0x10083b9c
mov eax, dword [ebp - 0x30]
xorps xmm0, xmm0
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x4c], 2
mov dword [ebp - 0x48], 0
movups xmm0, xmmword [ebp - 0x4c]
mov dword [esi + 0x1c], eax
mov byte [esi + 0x20], 0
movups xmmword [esi + 0x24], xmm0
movq xmm0, qword [ebp - 0x3c]
movq qword [esi + 0x34], xmm0
mov dword [esi + 0x3c], 0
mov eax, dword [ebp - 0x18]
movq xmm0, qword [ebp - 0x20]
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], eax
test eax, eax
je 0x10083bc0
cmp eax, 1
je 0x10083bc0
and eax, 1
or eax, 0x10103f90
mov dword [ebp - 0x24], eax
test byte [ebp - 0x24], 1
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x40], str.F:Programs_boost_1_85_0_boost_1_85_0_boost_asio_basic_socket_acceptor.hpp
mov dword [ebp - 0x3c], str.__thiscall_boost::asio::basic_socket_acceptor_class_boost::asio::ip::tcp_class_boost::asio::any_io_executor_::basic_socket_acceptor_class_boost::asio::io_context__class_boost::asio::io_context__const_class_boost::asio::ip::basic_endpoint_class_boost::asio::ip::tcp___bool_int_
mov dword [ebp - 0x38], 0x123
mov dword [ebp - 0x34], 0x1a
je 0x10083c02
cmp eax, 1
jne 0x10083ecd
cmp dword [ebp - 0x2c], 0
setne al
test al, al
jne 0x10083ecd
mov eax, dword [esi]
mov dword [ebp - 0x30], 1
cmp eax, 0xffffffff
jne 0x10083c70
mov edx, dword [0x1012ee80]
mov ecx, dword [0x1012ee84]
cmp edx, 0x257edfd1
jne 0x10083c2c
cmp ecx, 0xb2ab117a
je 0x10083c3c
cmp edx, 0x257edfd0
jne 0x10083c40
cmp ecx, 0xb2ab117a
jne 0x10083c40
mov al, 1
jmp 0x10083c5a
mov eax, dword [0x1012ee78]
mov ecx, 0x1012ee78
push 0x2719
mov eax, dword [eax + 0x18]
call eax
mov edx, dword [0x1012ee80]
movzx eax, al
mov dword [ebp - 0x20], 0x2719
add eax, 2
mov dword [ebp - 0x1c], 0x1012ee78
jmp 0x10083c9a
push 4
lea ecx, [ebp - 0x30]
push ecx
push 4
push 0xffff
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
lea ecx, [ebp - 0x20]
setne dl
call fcn.10055620
mov eax, dword [ebp - 0x18]
mov edx, dword [0x1012ee80]
movq xmm0, qword [ebp - 0x20]
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], eax
test eax, eax
je 0x10083cbb
cmp eax, 1
je 0x10083cbb
and eax, 1
or eax, 0x10111308
mov dword [ebp - 0x24], eax
test byte [ebp - 0x24], 1
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x40], str.F:Programs_boost_1_85_0_boost_1_85_0_boost_asio_basic_socket_acceptor.hpp
mov dword [ebp - 0x3c], str.__thiscall_boost::asio::basic_socket_acceptor_class_boost::asio::ip::tcp_class_boost::asio::any_io_executor_::basic_socket_acceptor_class_boost::asio::io_context__class_boost::asio::io_context__const_class_boost::asio::ip::basic_endpoint_class_boost::asio::ip::tcp___bool_int_
mov dword [ebp - 0x38], 0x128
mov dword [ebp - 0x34], 0x1c
je 0x10083cfd
cmp eax, 1
jne 0x10083ede
cmp dword [ebp - 0x2c], 0
setne al
test al, al
jne 0x10083ede
mov ecx, dword [ebp - 0x50]
mov eax, 0x10
mov esi, dword [esi]
cmp word [ecx], 2
mov ecx, 0x1c
cmovne eax, ecx
mov ecx, dword [0x1012ee84]
cmp esi, 0xffffffff
jne 0x10083d78
cmp edx, 0x257edfd1
jne 0x10083d2e
cmp ecx, 0xb2ab117a
je 0x10083d3e
cmp edx, 0x257edfd0
jne 0x10083d42
cmp ecx, 0xb2ab117a
jne 0x10083d42
mov al, 1
jmp 0x10083d62
mov eax, dword [0x1012ee78]
mov ecx, 0x1012ee78
push 0x2719
mov eax, dword [eax + 0x18]
call eax
mov ecx, dword [0x1012ee84]
mov edx, dword [0x1012ee80]
movzx eax, al
mov dword [ebp - 0x20], 0x2719
add eax, 2
mov dword [ebp - 0x1c], 0x1012ee78
jmp 0x10083d9f
push eax
push dword [ebp - 0x50]
push esi
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
lea ecx, [ebp - 0x20]
setne dl
call fcn.10055620
mov eax, dword [ebp - 0x18]
mov ecx, dword [0x1012ee84]
mov edx, dword [0x1012ee80]
movq xmm0, qword [ebp - 0x20]
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], eax
test eax, eax
je 0x10083dc0
cmp eax, 1
je 0x10083dc0
and eax, 1
or eax, 0x101113f0
mov dword [ebp - 0x24], eax
test byte [ebp - 0x24], 1
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x40], str.F:Programs_boost_1_85_0_boost_1_85_0_boost_asio_basic_socket_acceptor.hpp
mov dword [ebp - 0x3c], str.__thiscall_boost::asio::basic_socket_acceptor_class_boost::asio::ip::tcp_class_boost::asio::any_io_executor_::basic_socket_acceptor_class_boost::asio::io_context__class_boost::asio::io_context__const_class_boost::asio::ip::basic_endpoint_class_boost::asio::ip::tcp___bool_int_
mov dword [ebp - 0x38], 0x12b
mov dword [ebp - 0x34], 0x1a
je 0x10083e02
cmp eax, 1
jne 0x10083eef
cmp dword [ebp - 0x2c], 0
setne al
test al, al
jne 0x10083eef
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
jne 0x10083e5c
cmp edx, 0x257edfd1
jne 0x10083e1a
cmp ecx, 0xb2ab117a
je 0x10083e2a
cmp edx, 0x257edfd0
jne 0x10083e2e
cmp ecx, 0xb2ab117a
jne 0x10083e2e
mov al, 1
jmp 0x10083e42
mov eax, dword [0x1012ee78]
mov ecx, 0x1012ee78
push 0x2719
mov eax, dword [eax + 0x18]
call eax
movzx eax, al
mov ecx, 0x2719
add eax, 2
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], 0x1012ee78
mov dword [ebp - 0x18], eax
jmp 0x10083e7b
push accept
push eax
call dword [sym.imp.WS2_32.dll_listen]
test eax, eax
lea ecx, [ebp - 0x20]
setne dl
call fcn.10055620
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
test byte [ebp - 0x18], 1
mov dword [ebp - 0x40], str.F:Programs_boost_1_85_0_boost_1_85_0_boost_asio_basic_socket_acceptor.hpp
mov dword [ebp - 0x3c], str.__thiscall_boost::asio::basic_socket_acceptor_class_boost::asio::ip::tcp_class_boost::asio::any_io_executor_::basic_socket_acceptor_class_boost::asio::io_context__class_boost::asio::io_context__const_class_boost::asio::ip::basic_endpoint_class_boost::asio::ip::tcp___bool_int_
mov dword [ebp - 0x38], 0x12e
mov dword [ebp - 0x34], 0x1a
je 0x10083eab
cmp eax, 1
jne 0x10083f00
test ecx, ecx
setne al
test al, al
jne 0x10083f00
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100e4fca
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
lea eax, [ebp - 0x40]
mov edx, str.open
push eax
lea ecx, [ebp - 0x20]
call fcn.10053810
lea eax, [ebp - 0x40]
mov edx, str.set_option
push eax
lea ecx, [ebp - 0x20]
call fcn.10053810
lea eax, [ebp - 0x40]
mov edx, str.bind
push eax
lea ecx, [ebp - 0x20]
call fcn.10053810
lea eax, [ebp - 0x40]
mov edx, str.listen
push eax
lea ecx, [ebp - 0x20]
call fcn.10053810
int3