Function at 0x425cb0
Capabilities:
Create tcp socket
Create udp socket
Get local ipv4 addresses
Get socket information
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e5a4d
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x537700]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x64], ecx
push 1
push 0
push 0
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov esi, eax
cmp esi, 0xffffffff
je 0x425cfe
xorps xmm0, xmm0
xor eax, eax
jmp 0x425d1c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push 0x537028
push eax
lea ecx, [ebp - 0x40]
call fcn.00402f30
or esi, 0xffffffff
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 0x28], eax
movq qword [ebp - 0x30], xmm0
mov dword [ebp - 0x68], esi
mov dword [ebp - 4], 0
cmp esi, 0xffffffff
jne 0x425d76
mov dword [ebp - 0x54], str.E:_repoyjscloudclinkClientOfCSP_agent_boost_1.85.0libs_asioinclude_boost_asio_detail_impl_socket_select_interrupter.ipp
mov dword [ebp - 0x50], str.void___thiscall_boost::asio::detail::socket_select_interrupter::open_descriptors_void_
mov dword [ebp - 0x4c], 0x32
mov dword [ebp - 0x48], 0x1a
test al, 1
je 0x425d6d
cmp eax, 1
jne 0x4263c2
cmp dword [ebp - 0x30], 0
setne al
test al, al
jne 0x4263c2
jmp 0x425d76
mov dword [ebp - 0x34], 1
jmp 0x425d82
mov dword [ebp - 0x34], 1
cmp esi, 0xffffffff
jne 0x425ddc
mov ecx, dword [0x537030]
mov eax, dword [0x537034]
cmp ecx, 0x257edfd1
jne 0x425d9c
cmp eax, 0xb2ab117a
je 0x425dab
cmp ecx, 0x257edfd0
jne 0x425daf
cmp eax, 0xb2ab117a
jne 0x425daf
mov al, 1
jmp 0x425dc3
mov eax, dword [0x537028]
mov ecx, 0x537028
push 0x2719
mov eax, dword [eax + 0x18]
call eax
movzx eax, al
add eax, 2
mov dword [ebp - 0x30], 0x2719
mov dword [ebp - 0x2c], 0x537028
mov dword [ebp - 0x28], eax
jmp 0x425e05
push 4
lea eax, [ebp - 0x34]
push eax
push 4
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
setne al
movzx eax, al
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00424970
add esp, 8
mov ebx, dword [sym.imp.WS2_32.dll_htonl]
xorps xmm0, xmm0
mov eax, 2
movlpd qword [ebp - 0x18], xmm0
push 0x7f000001
mov edi, 0x10
mov word [ebp - 0x20], ax
call ebx
mov dword [ebp - 0x1c], eax
xor eax, eax
mov word [ebp - 0x1e], ax
lea eax, [ebp - 0x30]
push eax
push edi
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.004207a0
add esp, 0x10
cmp eax, 0xffffffff
jne 0x425e83
test byte [ebp - 0x28], 1
mov dword [ebp - 0x54], str.E:_repoyjscloudclinkClientOfCSP_agent_boost_1.85.0libs_asioinclude_boost_asio_detail_impl_socket_select_interrupter.ipp
mov dword [ebp - 0x50], str.void___thiscall_boost::asio::detail::socket_select_interrupter::open_descriptors_void_
mov dword [ebp - 0x4c], 0x42
mov dword [ebp - 0x48], 0x1a
je 0x425e83
cmp dword [ebp - 0x28], 1
jne 0x4263d4
cmp dword [ebp - 0x30], 0
setne al
test al, al
jne 0x4263d4
cmp esi, 0xffffffff
jne 0x425ee6
mov ecx, dword [0x537030]
mov eax, dword [0x537034]
cmp ecx, 0x257edfd1
jne 0x425ea2
cmp eax, 0xb2ab117a
je 0x425eb1
cmp ecx, 0x257edfd0
jne 0x425eb5
cmp eax, 0xb2ab117a
jne 0x425eb5
mov al, 1
jmp 0x425ec9
mov eax, dword [0x537028]
mov ecx, 0x537028
push 0x2719
mov eax, dword [eax + 0x18]
call eax
movzx eax, al
mov ecx, 0x2719
add eax, 2
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], 0x537028
mov dword [ebp - 0x28], eax
jmp 0x425fb2
lea eax, [ebp - 0x60]
mov dword [ebp - 0x60], edi
push eax
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.WS2_32.dll_getsockname]
mov edi, eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x58], eax
test edi, edi
jne 0x425f80
xorps xmm0, xmm0
mov dword [ebp - 0x28], edi
movq qword [ebp - 0x30], xmm0
mov edi, eax
push 0
call ebx
cmp dword [ebp - 0x1c], eax
jne 0x425f24
push 0x7f000001
call ebx
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x30]
push eax
push closesocket
push esi
call fcn.004255b0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x425ff3
test byte [ebp - 0x28], 1
mov dword [ebp - 0x54], str.E:_repoyjscloudclinkClientOfCSP_agent_boost_1.85.0libs_asioinclude_boost_asio_detail_impl_socket_select_interrupter.ipp
mov dword [ebp - 0x50], str.void___thiscall_boost::asio::detail::socket_select_interrupter::open_descriptors_void_
mov dword [ebp - 0x4c], 0x50
mov dword [ebp - 0x48], 0x1a
je 0x425ff3
cmp dword [ebp - 0x28], 1
jne 0x4263e6
cmp dword [ebp - 0x30], 0
setne al
test al, al
jne 0x4263e6
jmp 0x425ff3
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push 0x537028
push eax
lea ecx, [ebp - 0x50]
call fcn.00402f30
cmp edi, 0xffffffff
mov edi, dword [ebp - 0x58]
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x30], xmm0
mov dword [ebp - 0x28], eax
jne 0x425f11
mov ecx, dword [ebp - 0x30]
test byte [ebp - 0x28], 1
mov dword [ebp - 0x54], str.E:_repoyjscloudclinkClientOfCSP_agent_boost_1.85.0libs_asioinclude_boost_asio_detail_impl_socket_select_interrupter.ipp
mov dword [ebp - 0x50], str.void___thiscall_boost::asio::detail::socket_select_interrupter::open_descriptors_void_
mov dword [ebp - 0x4c], 0x46
mov dword [ebp - 0x48], 0x1a
je 0x425f11
cmp eax, 1
jne 0x4263f8
test ecx, ecx
setne al
test al, al
jne 0x4263f8
jmp 0x425f11
push 1
push 0
push 0
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x426013
xorps xmm0, xmm0
xor eax, eax
jmp 0x426031
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push 0x537028
push eax
lea ecx, [ebp - 0x50]
call fcn.00402f30
or ebx, 0xffffffff
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 0x28], eax
movq qword [ebp - 0x30], xmm0
mov dword [ebp - 0x60], ebx
mov byte [ebp - 4], 1
cmp ebx, 0xffffffff
jne 0x42607d
mov dword [ebp - 0x44], str.E:_repoyjscloudclinkClientOfCSP_agent_boost_1.85.0libs_asioinclude_boost_asio_detail_impl_socket_select_interrupter.ipp
mov dword [ebp - 0x40], str.void___thiscall_boost::asio::detail::socket_select_interrupter::open_descriptors_void_
mov dword [ebp - 0x3c], 0x55
mov dword [ebp - 0x38], 0x1a
test al, 1
je 0x42607d
cmp eax, 1
jne 0x42640a
cmp dword [ebp - 0x30], 0
setne al
test al, al
jne 0x42640a
lea eax, [ebp - 0x30]
push eax
push edi
lea eax, [ebp - 0x20]
push eax
push ebx
call fcn.00421d50
add esp, 0x10
cmp eax, 0xffffffff
jne 0x4260cf
test byte [ebp - 0x28], 1
mov dword [ebp - 0x44], str.E:_repoyjscloudclinkClientOfCSP_agent_boost_1.85.0libs_asioinclude_boost_asio_detail_impl_socket_select_interrupter.ipp
mov dword [ebp - 0x40], str.void___thiscall_boost::asio::detail::socket_select_interrupter::open_descriptors_void_
mov dword [ebp - 0x3c], 0x59
mov dword [ebp - 0x38], 0x1a
je 0x4260cf
cmp dword [ebp - 0x28], 1
jne 0x42641c
cmp dword [ebp - 0x30], 0
setne al
test al, al
jne 0x42641c
cmp esi, 0xffffffff
jne 0x42612e
mov ecx, dword [0x537030]
mov eax, dword [0x537034]
cmp ecx, 0x257edfd1
jne 0x4260ee
cmp eax, 0xb2ab117a
je 0x4260fd
cmp ecx, 0x257edfd0
jne 0x426101
cmp eax, 0xb2ab117a
jne 0x426101
mov al, 1
jmp 0x426115
mov eax, dword [0x537028]
mov ecx, 0x537028
push 0x2719
mov eax, dword [eax + 0x18]
call eax
movzx eax, al
add eax, 2
mov dword [ebp - 0x30], 0x2719
mov dword [ebp - 0x2c], 0x537028
or edi, 0xffffffff
jmp 0x426169
push 0
push 0
push esi
call dword [sym.imp.WS2_32.dll_accept]
mov edi, eax
cmp edi, 0xffffffff
jne 0x42615f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push 0x537028
push eax
lea ecx, [ebp - 0x50]
call fcn.00402f30
or edi, edi
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
jmp 0x426164
xorps xmm0, xmm0
xor eax, eax
movq qword [ebp - 0x30], xmm0
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x58], edi
mov byte [ebp - 4], 2
cmp edi, 0xffffffff
jne 0x4261b0
mov dword [ebp - 0x44], str.E:_repoyjscloudclinkClientOfCSP_agent_boost_1.85.0libs_asioinclude_boost_asio_detail_impl_socket_select_interrupter.ipp
mov dword [ebp - 0x40], str.void___thiscall_boost::asio::detail::socket_select_interrupter::open_descriptors_void_
mov dword [ebp - 0x3c], 0x5d
mov dword [ebp - 0x38], 0x1a
test al, 1
je 0x4261b0
cmp eax, 1
jne 0x42642e
cmp dword [ebp - 0x30], 0
setne al
test al, al
jne 0x42642e
lea eax, [ebp - 0x30]
mov dword [ebp - 0x5c], 1
push eax
lea eax, [ebp - 0x5c]
mov byte [ebp - 0x21], 0
push eax
push 0x8004667e
lea eax, [ebp - 0x21]
push eax
push ebx
call fcn.00425170
add esp, 0x14
test eax, eax
je 0x426214
test byte [ebp - 0x28], 1
mov dword [ebp - 0x44], str.E:_repoyjscloudclinkClientOfCSP_agent_boost_1.85.0libs_asioinclude_boost_asio_detail_impl_socket_select_interrupter.ipp
mov dword [ebp - 0x40], str.void___thiscall_boost::asio::detail::socket_select_interrupter::open_descriptors_void_
mov dword [ebp - 0x3c], 0x63
mov dword [ebp - 0x38], 0x1a
je 0x426214
cmp dword [ebp - 0x28], 1
jne 0x426440
cmp dword [ebp - 0x30], 0
setne al
test al, al
jne 0x426440
mov dword [ebp - 0x34], 1
cmp ebx, 0xffffffff
jne 0x42627a
mov ecx, dword [0x537030]
mov eax, dword [0x537034]
cmp ecx, 0x257edfd1
jne 0x42623a
cmp eax, 0xb2ab117a
je 0x426249
cmp ecx, 0x257edfd0
jne 0x42624d
cmp eax, 0xb2ab117a
jne 0x42624d
mov al, 1
jmp 0x426261
mov eax, dword [0x537028]
mov ecx, 0x537028
push 0x2719
mov eax, dword [eax + 0x18]
call eax
movzx eax, al
add eax, 2
mov dword [ebp - 0x30], 0x2719
mov dword [ebp - 0x2c], 0x537028
mov dword [ebp - 0x28], eax
jmp 0x4262a0
push 4
lea eax, [ebp - 0x34]
push eax
push 1
push 6
push ebx
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
setne al
movzx eax, al
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00424970
add esp, 8
lea eax, [ebp - 0x30]
mov dword [ebp - 0x5c], 1
push eax
lea eax, [ebp - 0x5c]
mov byte [ebp - 0x21], 0
push eax
push 0x8004667e
lea eax, [ebp - 0x21]
push eax
push edi
call fcn.00425170
add esp, 0x14
test eax, eax
je 0x426304
test byte [ebp - 0x28], 1
mov dword [ebp - 0x44], str.E:_repoyjscloudclinkClientOfCSP_agent_boost_1.85.0libs_asioinclude_boost_asio_detail_impl_socket_select_interrupter.ipp
mov dword [ebp - 0x40], str.void___thiscall_boost::asio::detail::socket_select_interrupter::open_descriptors_void_
mov dword [ebp - 0x3c], 0x6d
mov dword [ebp - 0x38], 0x1a
je 0x426304
cmp dword [ebp - 0x28], 1
jne 0x426452
cmp dword [ebp - 0x30], 0
setne al
test al, al
jne 0x426452
mov dword [ebp - 0x34], 1
cmp edi, 0xffffffff
jne 0x42634d
mov edx, dword [0x537030]
mov eax, dword [0x537034]
cmp edx, 0x257edfd1
jne 0x42632a
cmp eax, 0xb2ab117a
je 0x426373
cmp edx, 0x257edfd0
jne 0x426339
cmp eax, 0xb2ab117a
je 0x426373
mov eax, dword [0x537028]
mov ecx, 0x537028
push 0x2719
call dword [eax + 0x18]
jmp 0x426373
push 4
lea eax, [ebp - 0x34]
push eax
push 1
push 6
push edi
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
setne al
movzx eax, al
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00424970
add esp, 8
mov eax, dword [ebp - 0x64]
mov dword [eax], edi
mov dword [eax + 4], ebx
cmp esi, 0xffffffff
je 0x4263a6
lea eax, [ebp - 0x30]
mov dword [ebp - 0x28], 0
push eax
push 1
lea eax, [ebp - 0x21]
mov byte [ebp - 0x21], 0
push eax
xorps xmm0, xmm0
push esi
movq qword [ebp - 0x30], xmm0
call fcn.004217c0
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b847a
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x54]
push eax
push str.socket_select_interrupter
lea eax, [ebp - 0x30]
push eax
call fcn.00404ed0
lea eax, [ebp - 0x54]
push eax
push str.socket_select_interrupter
lea eax, [ebp - 0x30]
push eax
call fcn.00404ed0
lea eax, [ebp - 0x54]
push eax
push str.socket_select_interrupter
lea eax, [ebp - 0x30]
push eax
call fcn.00404ed0
lea eax, [ebp - 0x54]
push eax
push str.socket_select_interrupter
lea eax, [ebp - 0x30]
push eax
call fcn.00404ed0
lea eax, [ebp - 0x44]
push eax
push str.socket_select_interrupter
lea eax, [ebp - 0x30]
push eax
call fcn.00404ed0
lea eax, [ebp - 0x44]
push eax
push str.socket_select_interrupter
lea eax, [ebp - 0x30]
push eax
call fcn.00404ed0
lea eax, [ebp - 0x44]
push eax
push str.socket_select_interrupter
lea eax, [ebp - 0x30]
push eax
call fcn.00404ed0
lea eax, [ebp - 0x44]
push eax
push str.socket_select_interrupter
lea eax, [ebp - 0x30]
push eax
call fcn.00404ed0
lea eax, [ebp - 0x44]
push eax
push str.socket_select_interrupter
lea eax, [ebp - 0x30]
push eax
call fcn.00404ed0
int3