Function at 0x402d80
Capabilities:
Accept command line arguments
Check mutex and terminate process on windows
Check mutex on windows
Terminate process

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x1c
push ebx
xor ebx, ebx
push esi
cmp eax, ebx
push edi
je 0x402d96
push ebx
call fcn.00404025
mov dword [0x40c0bc], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, str.C:WINDOWS_system32idsetnwa.exe__I
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, str.C:WINDOWS_system32idsetnwa.exe__I
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [0x40b784]
xor edi, edi
lea ecx, [esi*4 + 0x40b6f0]
mov dl, byte [eax]
test dl, dl
je 0x402df7
cmp dl, 0x22
jne 0x402ded
mov byte [eax], 0
inc eax
mov dword [ecx], eax
inc esi
add ecx, 4
inc edi
inc eax
cmp edi, 0x400
jb 0x402dd8
mov dword [esi*4 + 0x40b6f0], 0x40ae88
mov edi, dword [0x40b6f0]
or ecx, 0xffffffff
xor eax, eax
mov dword [0x40b784], esi
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, 0x40b28c
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, 0x40b28c
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, ebx
jle 0x402e51
cmp byte [edx], 0x2e
je 0x402e4e
inc eax
inc edx
cmp eax, ecx
jl 0x402e41
jmp 0x402e51
mov byte [edx], 0
mov eax, dword [esp + 0x34]
mov edi, 1
cmp eax, ebx
je 0x402eb1
cmp byte [eax], 0x2f
jne 0x402eb1
mov dl, byte [eax + 1]
mov cl, 0x43
cmp dl, 0x52
jne 0x402e80
mov dword [0x40b770], edi
mov dl, byte [eax + 2]
cmp dl, cl
jne 0x402e80
mov dword [0x40b780], edi
cmp byte [eax + 1], 0x49
jne 0x402e99
mov dword [0x40b774], edi
mov dl, byte [eax + 2]
cmp dl, cl
jne 0x402e99
mov dword [0x40b780], edi
cmp byte [eax + 1], 0x51
jne 0x402ea5
mov dword [0x40b778], edi
cmp byte [eax + 1], 0x55
jne 0x402eb1
mov dword [0x40b77c], edi
call fcn.004025d0
test eax, eax
jne 0x402ec0
push ebx
call fcn.00404025
cmp dword [0x40b77c], ebx
je 0x402ed0
mov dword [0x40b778], edi
jmp 0x402edc
cmp dword [0x40b778], ebx
je 0x402f5d
cmp dword [0x40b780], ebx
jne 0x402f10
call sub.KERNEL32.dll_GetCurrentProcessId
mov ecx, dword [0x40b778]
push ecx
push 0x3e8
push eax
call fcn.004027f0
add esp, 0xc
test eax, eax
je 0x402f10
cmp dword [0x40b77c], ebx
jne 0x402f18
push ebx
call fcn.00404025
cmp dword [0x40b77c], ebx
je 0x402f5d
call fcn.00401180
mov esi, eax
cmp esi, ebx
je 0x402f57
cmp dword [0x40b768], ebx
jne 0x402f57
push 0x11034
push str.Intellon_Powerline_Device_Network_Address_Utility
push str.A_Powerline_Device_has_been_added_or_removed_from_a_Network_Adapter._nThe_system_will_need_to_be_restarted_for_the_changes_to_take_affect._n_nWould_you_like_to_restart_now_
push ebx
mov dword [0x40b768], edi
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
mov dword [0x40b768], ebx
jne 0x402f57
call fcn.00402c40
push esi
call fcn.00404025
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x40b780], ebx
jne 0x402f74
push str.IdSetNWAp
jmp 0x402f79
push str.IdSetNWAc
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
cmp eax, ebx
je 0x402f98
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x402f98
push ebx
call fcn.00404025
cmp dword [0x40b780], ebx
jne 0x40300f
mov edx, dword [0x40b770]
push edx
call fcn.00401c90
mov eax, dword [0x40b770]
add esp, 4
cmp eax, ebx
je 0x402fcc
mov dword [0x40b6f4], 0x40a2ec
mov dword [0x40b6f0], 0x40b28c
mov esi, dword [esp + 0x2c]
mov edi, dword [sym.imp.USER32.dll_LoadStringA]
push 0x64
push 0x40b704
push 0x67
push esi
call edi
push 0x64
push 0x40b68c
push 0x6d
push esi
call edi
push esi
call fcn.004030a0
mov eax, dword [esp + 0x3c]
push eax
push esi
call fcn.00403130
add esp, 0xc
test eax, eax
jne 0x403031
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 0x10
cmp dword [0x40b774], ebx
je 0x402fcc
push 0x402d10
push 0x64
push ebx
push ebx
call dword [sym.imp.USER32.dll_SetTimer]
call section..text
push eax
call fcn.00404025
push 0x6d
push esi
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
mov edi, dword [sym.imp.USER32.dll_GetMessageA]
push ebx
push ebx
lea ecx, [esp + 0x14]
push ebx
push ecx
mov esi, eax
call edi
test eax, eax
je 0x403092
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
push ebp
mov ebp, dword [sym.imp.USER32.dll_TranslateAcceleratorA]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x10]
push edx
push esi
push eax
call ebp
test eax, eax
jne 0x403080
lea ecx, [esp + 0x10]
push ecx
call ebx
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 0
push 0
lea eax, [esp + 0x18]
push 0
push eax
call edi
test eax, eax
jne 0x40305d
pop ebp
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 0x10