Function at 0x402b30
Capabilities:
Create tcp socket
Create thread
Create udp socket
Execute command
Get local ipv4 addresses
Get mac address on windows
Initialize winsock library
Send data
Send data on socket
Set console window title
Start tcp server
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x228
mov eax, dword [0x407008]
xor eax, esp
mov dword [esp + 0x224], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
push str.MobileRCU_Server
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
mov eax, 0x4000
xor edi, edi
mov dword [esp + 0x14], eax
nop dword [eax]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov esi, eax
lea eax, [esp + 0x14]
push eax
push esi
push 0
push 0x2e
push 0
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
test eax, eax
je 0x402bb7
push esi
cmp eax, 0x6f
jne 0x402c5f
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
inc edi
add esp, 4
xor esi, esi
cmp edi, 3
je 0x402c5e
mov eax, dword [esp + 0x14]
jmp 0x402b70
mov edi, esi
test esi, esi
je 0x402c5e
mov dword [esp + 0x30], esi
cmp dword [edi + 0x40], 0x18
je 0x402c4f
push dword [edi + 0x24]
push str._ADAPTER_:__S_n
call fcn.00401030
push dword [edi + 0x28]
push str._NAME_:_____S_n
call fcn.00401030
mov esi, dword [edi + 0x10]
add esp, 0x10
test esi, esi
je 0x402c42
mov ecx, 2
mov eax, dword [esi + 0xc]
cmp cx, word [eax]
jne 0x402c3b
push 0x10
lea ecx, [esp + 0x214]
add eax, 4
push ecx
push eax
xorps xmm0, xmm0
push 2
movaps xmmword [esp + 0x220], xmm0
call dword [sym.imp.WS2_32.dll_inet_ntop]
lea eax, [esp + 0x210]
push eax
push str._IP_:_______s_n
call fcn.00401030
add esp, 8
mov ecx, 2
mov esi, dword [esi + 8]
test esi, esi
jne 0x402bf8
push 0x4052c4
call fcn.00401030
add esp, 4
mov edi, dword [edi + 8]
test edi, edi
jne 0x402bc5
mov esi, dword [esp + 0x30]
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
cmp dword [ebp + 8], 2
jl 0x402d91
mov edx, dword [esp + 0x10]
mov dword [esp + 0x18], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0xf
mov edx, dword [edx + 4]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402c96
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x20]
call fcn.00403100
cmp dword [esp + 0x2c], 0x10
lea ecx, [esp + 0x18]
mov edi, dword [esp + 0x18]
cmovae ecx, edi
cmp dword [esp + 0x28], 0xd
jne 0x402d16
mov edx, str._cursorreset
mov esi, 9
nop dword [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x402ce1
add ecx, 4
add edx, 4
sub esi, 4
jae 0x402cd0
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x402d08
cmp esi, 0xfffffffd
je 0x402d04
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x402d08
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x402d08
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x402d08
xor eax, eax
jmp 0x402d0d
sbb eax, eax
or eax, 1
mov byte [esp + 0xf], 1
test eax, eax
je 0x402d1b
mov byte [esp + 0xf], 0
mov eax, dword [esp + 0x2c]
cmp eax, 0x10
jb 0x402d51
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x402d47
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402d47
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edi
call fcn.00403c1f
add esp, 8
cmp byte [esp + 0xf], 0
je 0x402d91
push 0
push 0
push 0
push 0x57
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov edx, str.:::_Cursor_RESET_SUCCESS_n
push 0x4034e0
push ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
cmp eax, 1
je 0x402d81
mov edx, str.:::_Cursor_RESET_ERROR_n
call fcn.004032a0
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea eax, [esp + 0x80]
push eax
push 0x102
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x402dd1
push 0x4034e0
push ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Error
call fcn.004032a0
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push 0x6f1
mov dword [esp + 0x40], 0x10
call dword [sym.imp.WS2_32.dll_htons]
push 0
mov word [esp + 0x46], ax
mov eax, 2
push 1
push eax
mov word [esp + 0x4c], ax
mov dword [esp + 0x50], 0
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
lea eax, [esp + 0x40]
push 0x10
push eax
push edi
mov dword [esp + 0x1c], edi
call dword [sym.imp.WS2_32.dll_bind]
push bind
push edi
call dword [sym.imp.WS2_32.dll_listen]
xor esi, esi
nop dword [eax + eax]
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x44]
push eax
push edi
call dword [sym.imp.WS2_32.dll_accept]
mov edi, eax
test edi, edi
jne 0x402e5c
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Error_2_n
call fcn.004032a0
jmp 0x402fa5
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
add esp, 4
mov dword [esp + 0x30], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x34], edx
push eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64]
add esp, 4
mov dword [esp + 0x214], str._d__m__Y__H:_M:_S
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x50], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esp + 0x60], xmm0
mov eax, dword [eax + 0x20]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x50]
mov dword [esp + 0x210], eax
mov eax, str._d__m__Y__H:_M:_S
inc eax
cmp byte [eax], 0
jne 0x402eb0
push 0x4034e0
push dword [0x4075a8]
mov edx, str.Client_Connected__
mov dword [esp + 0x220], eax
push ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.004032a0
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
mov edx, 0x405438
mov ecx, eax
call fcn.004032a0
push ecx
lea edx, [esp + 0x218]
mov ecx, eax
call fcn.00403550
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0x1c
push str.Hello._It_s_Server_messages_
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0xf
call fcn.00403100
cmp dword [esp + 0x2c], 0x10
lea eax, [esp + 0x18]
push 0
push dword [esp + 0x2c]
cmovae eax, dword [esp + 0x20]
push eax
push edi
call dword [sym.imp.WS2_32.dll_send]
inc dword [0x4075a8]
push 0
push 0
push esi
push 0x401740
push 0
push 0
mov dword [esi*4 + 0x407418], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [esp + 0x2c]
cmp edx, 0x10
jb 0x402fa5
mov ecx, dword [esp + 0x18]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402f9b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402d41
push edx
push ecx
call fcn.00403c1f
add esp, 8
inc esi
cmp esi, 0x64
jge 0x402fb4
mov edi, dword [esp + 0x10]
jmp 0x402e30
push str.pause
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, dword [esp + 0x230]
add esp, 4
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.00403990
mov esp, ebp
pop ebp
ret