Function at 0x4035c0
Capabilities:
Create tcp socket
Create thread
Initialize winsock library
Start tcp server

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c4
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x1c0], eax
push ebx
push esi
push edi
push 0x42cbd8
call fcn.00401080
add esp, 4
push 0x42bd76
push 2
call fcn.00407d25
push 0x5c
push str.C:UsersAdminDownloads12_remotehwinfoSourcemain.cpp
mov edi, eax
call fcn.00404e20
add esp, 0x10
cmp dword [0x430a0c], 0
lea esi, [eax + 1]
je 0x40367a
push 0
call fcn.0040cb90
add esp, 4
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x14], edx
push eax
call fcn.0040ce87
add esp, 4
mov ecx, eax
mov eax, dword [ecx + 0x14]
push edi
push 8
push edi
push str.setlocale_LC_CTYPE_____
push 0x3bb
push esi
push dword [ecx]
add eax, 0x76c
push dword [ecx + 4]
push dword [ecx + 8]
push eax
mov eax, dword [ecx + 0x10]
inc eax
push eax
push dword [ecx + 0xc]
push str.__02d._02d._04d__02d:_02d:_02d___8s:_04d____102s___20zd__0x_0zX__n
push dword [0x430a0c]
call fcn.00401050
push dword [0x430a0c]
call fcn.004082ac
add esp, 0x3c
mov edx, 0x430604
mov ecx, str.index.html
call fcn.00401100
mov dword [0x430a10], eax
test eax, eax
jne 0x4036a6
mov edx, 0x430604
mov ecx, str._html__n_t_head__n_t_t_title_RemoteHWInfo__title__n_t__head__n_t_body__n_t__body__n__html_
call fcn.00401540
mov dword [0x430a10], eax
mov edx, 0x430600
mov ecx, str.404.html
call fcn.00401100
mov dword [0x430a08], eax
test eax, eax
jne 0x4036d2
mov edx, 0x430600
mov ecx, str._html__n_t_head__n_t_t_title_RemoteHWInfo__title__n_t__head__n_t_body__n_t_t404_Not_Found_n_t__body__n__html_
call fcn.00401540
mov dword [0x430a08], eax
push 0x190
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.00405330
add esp, 0xc
lea eax, [esp + 0x38]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0x5c
push str.C:UsersAdminDownloads12_remotehwinfoSourcemain.cpp
mov edi, eax
call fcn.00404e20
add esp, 8
cmp dword [0x430a0c], 0
lea esi, [eax + 1]
je 0x40377a
push 0
call fcn.0040cb90
add esp, 4
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x14], edx
push eax
call fcn.0040ce87
add esp, 4
mov ecx, eax
mov eax, dword [ecx + 0x14]
push edi
push 8
push edi
push str.WSAStartup_MAKEWORD_2__2___wsaData_
push 0x3c9
push esi
push dword [ecx]
add eax, 0x76c
push dword [ecx + 4]
push dword [ecx + 8]
push eax
mov eax, dword [ecx + 0x10]
inc eax
push eax
push dword [ecx + 0xc]
push str.__02d._02d._04d__02d:_02d:_02d___8s:_04d____102s___20zd__0x_0zX__n
push dword [0x430a0c]
call fcn.00401050
push dword [0x430a0c]
call fcn.004082ac
add esp, 0x3c
test edi, edi
jne 0x403c61
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
push 0x5c
push str.C:UsersAdminDownloads12_remotehwinfoSourcemain.cpp
mov ebx, eax
call fcn.00404e20
add esp, 8
lea esi, [eax + 1]
cmp dword [0x430a0c], edi
je 0x403810
push edi
call fcn.0040cb90
add esp, 4
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x14], edx
push eax
call fcn.0040ce87
add esp, 4
mov ecx, eax
mov eax, dword [ecx + 0x14]
push ebx
push 8
push ebx
push str.serverSocket__socket_AF_INET__SOCK_STREAM__IPPROTO_TCP_
push 0x3cd
push esi
push dword [ecx]
add eax, 0x76c
push dword [ecx + 4]
push dword [ecx + 8]
push eax
mov eax, dword [ecx + 0x10]
inc eax
push eax
push dword [ecx + 0xc]
push str.__02d._02d._04d__02d:_02d:_02d___8s:_04d____102s___20zd__0x_0zX__n
push dword [0x430a0c]
call fcn.00401050
push dword [0x430a0c]
call fcn.004082ac
add esp, 0x3c
cmp ebx, 0xffffffff
je 0x403bd7
mov eax, 2
mov dword [esp + 0x2c], 0
mov word [esp + 0x28], ax
xorps xmm0, xmm0
movzx eax, word [0x42fab0]
push eax
movlpd qword [esp + 0x34], xmm0
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x2a], ax
lea eax, [esp + 0x28]
push 0x10
push eax
push ebx
call dword [sym.imp.WS2_32.dll_bind]
push 0x5c
push str.C:UsersAdminDownloads12_remotehwinfoSourcemain.cpp
mov esi, eax
call fcn.00404e20
add esp, 8
cmp dword [0x430a0c], 0
lea edi, [eax + 1]
je 0x4038d9
push 0
call fcn.0040cb90
add esp, 4
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x14], edx
push eax
call fcn.0040ce87
add esp, 4
mov ecx, eax
mov eax, dword [ecx + 0x14]
push esi
push 8
push esi
push str.bind_serverSocket___sockaddr__serverAddress__sizeof_serverAddress__
push 0x3d7
push edi
push dword [ecx]
add eax, 0x76c
push dword [ecx + 4]
push dword [ecx + 8]
push eax
mov eax, dword [ecx + 0x10]
inc eax
push eax
push dword [ecx + 0xc]
push str.__02d._02d._04d__02d:_02d:_02d___8s:_04d____102s___20zd__0x_0zX__n
push dword [0x430a0c]
call fcn.00401050
push dword [0x430a0c]
call fcn.004082ac
add esp, 0x3c
test esi, esi
jne 0x403b4c
push bind
push ebx
call dword [sym.imp.WS2_32.dll_listen]
push 0x5c
push str.C:UsersAdminDownloads12_remotehwinfoSourcemain.cpp
mov edi, eax
call fcn.00404e20
add esp, 8
cmp dword [0x430a0c], 0
lea esi, [eax + 1]
je 0x403971
push 0
call fcn.0040cb90
add esp, 4
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x14], edx
push eax
call fcn.0040ce87
add esp, 4
mov ecx, eax
mov eax, dword [ecx + 0x14]
push edi
push 8
push edi
push str.listen_serverSocket__SOMAXCONN_
push 0x3d9
push esi
push dword [ecx]
add eax, 0x76c
push dword [ecx + 4]
push dword [ecx + 8]
push eax
mov eax, dword [ecx + 0x10]
inc eax
push eax
push dword [ecx + 0xc]
push str.__02d._02d._04d__02d:_02d:_02d___8s:_04d____102s___20zd__0x_0zX__n
push dword [0x430a0c]
call fcn.00401050
push dword [0x430a0c]
call fcn.004082ac
add esp, 0x3c
test edi, edi
jne 0x403b4c
nop dword [eax]
push 0
push 0
push ebx
call dword [sym.imp.WS2_32.dll_accept]
push 0x5c
push str.C:UsersAdminDownloads12_remotehwinfoSourcemain.cpp
mov esi, eax
call fcn.00404e20
add esp, 8
cmp dword [0x430a0c], 0
lea edi, [eax + 1]
je 0x403a0f
push 0
call fcn.0040cb90
add esp, 4
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x14], edx
push eax
call fcn.0040ce87
add esp, 4
mov ecx, eax
mov eax, dword [ecx + 0x14]
push esi
push 8
push esi
push str.clientSocket__accept_serverSocket__0__0_
push 0x3df
push edi
push dword [ecx]
add eax, 0x76c
push dword [ecx + 4]
push dword [ecx + 8]
push eax
mov eax, dword [ecx + 0x10]
inc eax
push eax
push dword [ecx + 0xc]
push str.__02d._02d._04d__02d:_02d:_02d___8s:_04d____102s___20zd__0x_0zX__n
push dword [0x430a0c]
call fcn.00401050
push dword [0x430a0c]
call fcn.004082ac
add esp, 0x3c
cmp esi, 0xffffffff
je 0x403980
push 0
push 0
push esi
push 0x403030
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x5c
push str.C:UsersAdminDownloads12_remotehwinfoSourcemain.cpp
mov esi, eax
call fcn.00404e20
add esp, 8
cmp dword [0x430a0c], 0
lea edi, [eax + 1]
je 0x403ab0
push 0
call fcn.0040cb90
add esp, 4
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x24], edx
push eax
call fcn.0040ce87
add esp, 4
mov ecx, eax
mov eax, dword [ecx + 0x14]
push esi
push 8
push esi
push str.clientThread__CreateThread_0__0__ClientThread___void__clientSocket__0__0_
push 0x3e5
push edi
push dword [ecx]
add eax, 0x76c
push dword [ecx + 4]
push dword [ecx + 8]
push eax
mov eax, dword [ecx + 0x10]
inc eax
push eax
push dword [ecx + 0xc]
push str.__02d._02d._04d__02d:_02d:_02d___8s:_04d____102s___20zd__0x_0zX__n
push dword [0x430a0c]
call fcn.00401050
push dword [0x430a0c]
call fcn.004082ac
add esp, 0x3c
test esi, esi
je 0x403980
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x5c
push str.C:UsersAdminDownloads12_remotehwinfoSourcemain.cpp
mov edi, eax
call fcn.00404e20
add esp, 8
cmp dword [0x430a0c], 0
lea esi, [eax + 1]
je 0x403980
push 0
call fcn.0040cb90
add esp, 4
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], edx
push eax
call fcn.0040ce87
add esp, 4
mov ecx, eax
mov eax, dword [ecx + 0x14]
push edi
push 8
push edi
push str.CloseHandle_clientThread_
push 0x3e6
push esi
push dword [ecx]
add eax, 0x76c
push dword [ecx + 4]
push dword [ecx + 8]
push eax
mov eax, dword [ecx + 0x10]
inc eax
push eax
push dword [ecx + 0xc]
push str.__02d._02d._04d__02d:_02d:_02d___8s:_04d____102s___20zd__0x_0zX__n
push dword [0x430a0c]
call fcn.00401050
push dword [0x430a0c]
call fcn.004082ac
add esp, 0x3c
jmp 0x403980
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
push 0x5c
push str.C:UsersAdminDownloads12_remotehwinfoSourcemain.cpp
mov edi, eax
call fcn.00404e20
add esp, 8
cmp dword [0x430a0c], 0
lea esi, [eax + 1]
je 0x403bd7
push 0
call fcn.0040cb90
add esp, 4
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], edx
push eax
call fcn.0040ce87
add esp, 4
mov ecx, eax
mov eax, dword [ecx + 0x14]
push edi
push 8
push edi
push str.closesocket_serverSocket_
push 0x3ec
push esi
push dword [ecx]
add eax, 0x76c
push dword [ecx + 4]
push dword [ecx + 8]
push eax
mov eax, dword [ecx + 0x10]
inc eax
push eax
push dword [ecx + 0xc]
push str.__02d._02d._04d__02d:_02d:_02d___8s:_04d____102s___20zd__0x_0zX__n
push dword [0x430a0c]
call fcn.00401050
push dword [0x430a0c]
call fcn.004082ac
add esp, 0x3c
call dword [sym.imp.WS2_32.dll_WSACleanup]
push 0x5c
push str.C:UsersAdminDownloads12_remotehwinfoSourcemain.cpp
mov edi, eax
call fcn.00404e20
add esp, 8
cmp dword [0x430a0c], 0
lea esi, [eax + 1]
je 0x403c61
push 0
call fcn.0040cb90
add esp, 4
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], edx
push eax
call fcn.0040ce87
add esp, 4
mov ecx, eax
mov eax, dword [ecx + 0x14]
push edi
push 8
push edi
push str.WSACleanup__
push 0x3ef
push esi
push dword [ecx]
add eax, 0x76c
push dword [ecx + 4]
push dword [ecx + 8]
push eax
mov eax, dword [ecx + 0x10]
inc eax
push eax
push dword [ecx + 0xc]
push str.__02d._02d._04d__02d:_02d:_02d___8s:_04d____102s___20zd__0x_0zX__n
push dword [0x430a0c]
call fcn.00401050
push dword [0x430a0c]
call fcn.004082ac
add esp, 0x3c
mov eax, dword [0x430604]
test eax, eax
je 0x403c73
push eax
call fcn.0040ceae
add esp, 4
mov eax, dword [0x430600]
test eax, eax
je 0x403c85
push eax
call fcn.0040ceae
add esp, 4
mov ecx, dword [esp + 0x1cc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00403f99
mov esp, ebp
pop ebp
ret