Function at 0x402aca
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xec
push ebx
push esi
push edi
xor edi, edi
push str.ParseCommandLine_start
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], edi
call fcn.00403cd5
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.004029f1
mov eax, dword [ebp - 4]
mov esi, dword [ebp + 0xc]
push dword [eax]
lea eax, [esi + 0x1a]
push eax
call fcn.0040c700
add esp, 0x18
push 1
pop ebx
cmp dword [ebp - 8], ebx
jle 0x4038b6
mov eax, dword [ebp - 4]
inc dword [ebp - 0xc]
mov edi, ebx
shl edi, 2
mov eax, dword [edi + eax]
cmp byte [eax], 0x2d
jne 0x403736
push str._force
push eax
call fcn.0040d300
pop ecx
test eax, eax
pop ecx
jne 0x402b4e
mov word [esi + 0x7d8], 1
jmp 0x4038aa
mov eax, dword [ebp - 4]
push str._warn
push dword [edi + eax]
call fcn.0040d300
pop ecx
test eax, eax
pop ecx
jne 0x402b72
mov word [esi + 0x7d4], 1
jmp 0x4038aa
mov eax, dword [ebp - 4]
push str._quiet
push dword [edi + eax]
call fcn.0040d300
pop ecx
test eax, eax
pop ecx
jne 0x402b96
mov word [esi + 0x12a], 1
jmp 0x4038aa
mov eax, dword [ebp - 4]
push str._playsound
push dword [edi + eax]
call fcn.0040d300
pop ecx
test eax, eax
pop ecx
jne 0x402bba
mov word [esi + 0x320], 1
jmp 0x4038aa
mov eax, dword [ebp - 4]
push str._soundfile
push dword [edi + eax]
call fcn.0040d300
pop ecx
test eax, eax
pop ecx
jne 0x402bfa
mov eax, dword [ebp - 8]
dec eax
cmp ebx, eax
jge 0x402bf0
mov eax, dword [ebp - 4]
inc ebx
push dword [eax + ebx*4]
lea eax, [esi + 0x322]
push eax
call fcn.0040c700
jmp 0x403730
push str.Missing_argument_for__soundfile
jmp 0x403622
mov eax, dword [ebp - 4]
push str._service
push dword [edi + eax]
call fcn.0040d300
pop ecx
test eax, eax
pop ecx
jne 0x402c1b
mov word [esi + 0x18], 1
jmp 0x403718
mov eax, dword [ebp - 4]
push str._warntime
push dword [edi + eax]
call fcn.0040d300
pop ecx
test eax, eax
pop ecx
jne 0x402c5b
mov eax, dword [ebp - 8]
dec eax
cmp ebx, eax
jge 0x402c51
mov eax, dword [ebp - 4]
inc ebx
push dword [eax + ebx*4]
call fcn.0040d2f2
pop ecx
mov dword [esi + 0x254], eax
jmp 0x4038aa
push str.Missing_argument_for__warntime
jmp 0x403622
mov eax, dword [ebp - 4]
push str._wait
push dword [edi + eax]
call fcn.0040d300
pop ecx
test eax, eax
pop ecx
jne 0x402c9b
mov eax, dword [ebp - 8]
dec eax
cmp ebx, eax
jge 0x402c91
mov eax, dword [ebp - 4]
inc ebx
push dword [eax + ebx*4]
call fcn.0040d2f2
pop ecx
mov dword [esi + 0x674], eax
jmp 0x4038aa
push str.Missing_argument_for__wait
jmp 0x403622
mov eax, dword [ebp - 4]
push str._msg
push dword [edi + eax]
call fcn.0040d300
pop ecx
test eax, eax
pop ecx
jne 0x402d07
mov eax, dword [ebp - 8]
dec eax
cmp ebx, eax
jge 0x402cfd
mov ecx, dword [ebp - 4]
inc ebx
lea eax, [esi + 0x258]
push dword [ecx + ebx*4]
push eax
call fcn.0040c700
mov edi, 0x417a28
push 0x417a24
lea eax, [esi + 0x258]
push edi
push eax
call fcn.00408293
push edi
lea eax, [esi + 0x258]
push 0x418c50
push eax
call fcn.00408293
add esp, 0x20
jmp 0x4038aa
push str.Missing_argument_for__msg
jmp 0x403622
mov eax, dword [ebp - 4]
push str._remote
push dword [edi + eax]
call fcn.0040d300
pop ecx
test eax, eax
pop ecx
jne 0x402d50
mov eax, dword [ebp - 8]
dec eax
cmp ebx, eax
jge 0x402d46
mov eax, dword [ebp - 4]
inc ebx
push dword [eax + ebx*4]
lea eax, [esi + 0x130]
push eax
call fcn.0040c700
pop ecx
mov dword [esi + 4], 1
pop ecx
jmp 0x4038aa
push str.Missing_argument_for__remote
jmp 0x403622
mov eax, dword [ebp - 4]
push str._remschedule
push dword [edi + eax]
call fcn.0040d300
pop ecx
test eax, eax
pop ecx
jne 0x402d74
mov word [esi + 0x1fa], 1
jmp 0x4038aa
mov eax, dword [ebp - 4]
push str._use_nt
push dword [edi + eax]
call fcn.0040d300
pop ecx
test eax, eax
pop ecx
jne 0x402d98
mov word [esi + 0x1ca], 1
jmp 0x4038aa
mov eax, dword [ebp - 4]
push str._port
push dword [edi + eax]
call fcn.0040d300
pop ecx
test eax, eax
pop ecx
jne 0x402de8
mov eax, dword [ebp - 8]
dec eax
cmp ebx, eax
jge 0x402dde
mov eax, dword [ebp - 4]
inc ebx
push dword [eax + ebx*4]
call fcn.0040d2f2
pop ecx
lea ecx, [esi + 0x1cc]
test eax, eax
mov dword [ecx], eax
jg 0x4038aa
mov dword [ecx], 0xc8a
jmp 0x4038aa
push str.Missing_argument_for__port
jmp 0x403622
mov eax, dword [ebp - 4]
push str._password
push dword [edi + eax]
call fcn.0040d300
pop ecx
test eax, eax
pop ecx
jne 0x402e22
mov eax, dword [ebp - 8]
dec eax
cmp ebx, eax
jge 0x402e18
mov eax, dword [ebp - 4]
inc ebx
push dword [eax + ebx*4]
lea eax, [esi + 0x1d2]
jmp 0x402be5
push str.Missing_argument_for__password
jmp 0x403622
mov eax, dword [ebp - 4]
push str._username
push dword [edi + eax]
call fcn.0040d300
pop ecx
test eax, eax
pop ecx
jne 0x402e6c
mov eax, dword [ebp - 8]
dec eax
cmp ebx, eax
jge 0x402e62
mov eax, dword [ebp - 4]
inc ebx
push dword [eax + ebx*4]
lea eax, [esi + 0x1fe]
push eax
call fcn.0040c700
and word [esi + 0x1fc], 0
pop ecx
pop ecx
jmp 0x4038aa
push str.Missing_argument_for__username
jmp 0x403622
mov eax, dword [ebp - 4]
push str._run
push dword [edi + eax]
call fcn.0040d300
pop ecx
test eax, eax
pop ecx
jne 0x402e90
mov word [esi + 0x7d6], 1
jmp 0x4038aa
mov eax, dword [ebp - 4]
push str._program
push dword [edi + eax]
call fcn.0040d300
pop ecx
test eax, eax
pop ecx
jne 0x402eca
mov eax, dword [ebp - 8]
dec eax
cmp ebx, eax
jge 0x402ec0
mov eax, dword [ebp - 4]
inc ebx
push dword [eax + ebx*4]
lea eax, [esi + 0x428]
jmp 0x402be5
push str.Missing_argument_for__program
jmp 0x403622
mov eax, dword [ebp - 4]
push str._directory
push dword [edi + eax]
call fcn.0040d300
pop ecx
test eax, eax
pop ecx
jne 0x402f04
mov eax, dword [ebp - 8]
dec eax
cmp ebx, eax
jge 0x402efa
mov eax, dword [ebp - 4]
inc ebx
push dword [eax + ebx*4]
lea eax, [esi + 0x52c]
jmp 0x402be5
push str.Missing_argument_for__directory
jmp 0x403622
mov eax, dword [ebp - 4]
push str._notray
push dword [edi + eax]
call fcn.0040d300
pop ecx
test eax, eax
pop ecx
jne 0x402f26
and word [esi + 0x7da], ax
jmp 0x4038aa
mov eax, dword [ebp - 4]
push str._nocancel
push dword [edi + eax]
call fcn.0040d300
pop ecx
test eax, eax
pop ecx
jne 0x402f48
and word [esi + 0x7dc], ax
jmp 0x4038aa
mov eax, dword [ebp - 4]
push str._immediate
push dword [edi + eax]
call fcn.0040d300
pop ecx
test eax, eax
pop ecx
jne 0x402f66
and dword [esi + 8], eax
jmp 0x4038aa
mov eax, dword [ebp - 4]
push str._scheduled
push dword [edi + eax]
call fcn.0040d300
pop ecx
test eax, eax
pop ecx
jne 0x402f88
mov dword [esi + 8], 1
jmp 0x4038aa
mov eax, dword [ebp - 4]
push str._allow_remote
push dword [edi + eax]
call fcn.0040d300
pop ecx
test eax, eax
pop ecx
jne 0x402fac
mov word [esi + 0x7de], 1
jmp 0x4038aa
mov eax, dword [ebp - 4]
push str._remote_port
push dword [edi + eax]
call fcn.0040d300
pop ecx
test eax, eax
pop ecx
jne 0x402fec
mov eax, dword [ebp - 8]
dec eax
cmp ebx, eax
jge 0x402fe2
mov eax, dword [ebp - 4]
inc ebx
push dword [eax + ebx*4]
call fcn.0040d2f2
pop ecx
lea ecx, [esi + 0x228]
jmp 0x402dc9
push str.Missing_argument_for__remote_port
jmp 0x403622
mov eax, dword [ebp - 4]
push str._remote_pswd
push dword [edi + eax]
call fcn.0040d300
pop ecx
test eax, eax
pop ecx
jne 0x403035
mov eax, dword [ebp - 8]
dec eax
cmp ebx, eax
jge 0x40302b
mov eax, dword [ebp - 4]
inc ebx
push dword [eax + ebx*4]
call fcn.00406fd4
push eax
lea eax, [esi + 0x22c]
push eax
call fcn.0040c700
add esp, 0xc
jmp 0x4038aa
push str.Missing_argument_for__remote_pswd
jmp 0x403622
mov eax, dword [ebp - 4]
push str._process
push dword [edi + eax]
call fcn.0040d300
pop ecx
test eax, eax
pop ecx
jne 0x403076
mov eax, dword [ebp - 8]
mov dword [esi + 8], 2
dec eax
cmp ebx, eax
jge 0x40306c
mov eax, dword [ebp - 4]
inc ebx
push dword [eax + ebx*4]
lea eax, [esi + 0x678]
jmp 0x402be5
push str.Missing_argument_for__process
jmp 0x403622
mov eax, dword [ebp - 4]
push str._simulate
push dword [edi + eax]
call fcn.0040d300
pop ecx
test eax, eax
pop ecx
jne 0x403097
mov word [esi + 0x14], 1
jmp 0x403718
mov eax, dword [ebp - 4]
push str._minimize
push dword [edi + eax]
call fcn.0040d300
pop ecx
test eax, eax
pop ecx
jne 0x4030b8
mov word [esi + 0x16], 1
jmp 0x403718
mov eax, dword [ebp - 4]
push str._time
push dword [edi + eax]
call fcn.0040d300
pop ecx
test eax, eax
pop ecx
jne 0x403158
mov eax, dword [ebp - 8]
dec eax
cmp ebx, eax
jge 0x40314e
lea eax, [ebp - 0x14]
inc ebx
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
push str._d:_d
push dword [eax + ebx*4]
call fcn.0040ca6c
add esp, 0x10
cmp eax, 2
je 0x40310b
mov eax, dword [ebp - 4]
push dword [eax + ebx*4]
push str.Invalid_time_format_for__time___s_
jmp 0x40372b
lea eax, [esi + 0x634]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov ax, word [ebp - 0x24]
cmp word [esi + 0x644], 0
mov word [esi + 0x63c], ax
mov ax, word [ebp - 0x14]
mov word [esi + 0x63e], ax
lea eax, [esi + 0x644]
jne 0x4038aa
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
jmp 0x4038aa
push str.Missing_argument_for__time
jmp 0x403622
mov eax, dword [ebp - 4]
push str._date
push dword [edi + eax]
call fcn.0040d300
pop ecx
test eax, eax
pop ecx
jne 0x4031eb
mov eax, dword [ebp - 8]
dec eax
cmp ebx, eax
jge 0x4031e1
lea eax, [ebp - 0x1c]
inc ebx
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 4]
push str._d__d__d
push dword [eax + ebx*4]
call fcn.0040ca6c
add esp, 0x14
cmp eax, 3
je 0x4031ab
mov eax, dword [ebp - 4]
push dword [eax + ebx*4]
push str.Invalid_format_for__date___s_
jmp 0x40372b
lea edi, [esi + 0x644]
push edi
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov ax, word [ebp - 0x20]
and dword [esi + 0x630], 0
mov word [esi + 0x64a], ax
mov ax, word [ebp - 0x18]
mov word [esi + 0x646], ax
mov ax, word [ebp - 0x1c]
mov word [edi], ax
jmp 0x4038aa
push str.Missing_argument_for__date
jmp 0x403622
mov eax, dword [ebp - 4]
push str._days
push dword [edi + eax]
call fcn.0040d300
pop ecx
test eax, eax
pop ecx
jne 0x40338f
mov eax, dword [ebp - 8]
dec eax
cmp ebx, eax
jge 0x403385
lea eax, [ebp - 0x4c]
inc ebx
push eax
lea eax, [ebp - 0x56]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x6a]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x7e]
push eax
lea eax, [ebp - 0x88]
push eax
mov eax, dword [ebp - 4]
xor edi, edi
push str._______________________________s
mov word [esi + 0x654], di
mov word [esi + 0x656], di
mov word [esi + 0x658], di
mov word [esi + 0x65a], di
mov word [esi + 0x65c], di
mov word [esi + 0x65e], di
mov word [esi + 0x660], di
push dword [eax + ebx*4]
call fcn.0040ca6c
add esp, 0x24
cmp eax, edi
jle 0x4038aa
lea ecx, [ebp - 0x88]
push 1
mov dword [ebp + 8], ecx
mov dword [ebp + 0xc], eax
pop edi
push 0x41795c
push dword [ebp + 8]
call fcn.0040d300
pop ecx
test eax, eax
pop ecx
jne 0x4032ad
mov word [esi + 0x654], di
jmp 0x40336d
push 0x417954
push dword [ebp + 8]
call fcn.0040d300
pop ecx
test eax, eax
pop ecx
jne 0x4032cc
mov word [esi + 0x656], di
jmp 0x40336d
push str.wt_m
push dword [ebp + 8]
call fcn.0040d300
pop ecx
test eax, eax
pop ecx
jne 0x4032eb
mov word [esi + 0x658], di
jmp 0x40336d
push 0x41794c
push dword [ebp + 8]
call fcn.0040d300
pop ecx
test eax, eax
pop ecx
jne 0x403307
mov word [esi + 0x65a], di
jmp 0x40336d
push 0x417948
push dword [ebp + 8]
call fcn.0040d300
pop ecx
test eax, eax
pop ecx
jne 0x403323
mov word [esi + 0x65c], di
jmp 0x40336d
push 0x417944
push dword [ebp + 8]
call fcn.0040d300
pop ecx
test eax, eax
pop ecx
jne 0x40333f
mov word [esi + 0x65e], di
jmp 0x40336d
push 0x417940
push dword [ebp + 8]
call fcn.0040d300
pop ecx
test eax, eax
pop ecx
jne 0x40335b
mov word [esi + 0x660], di
jmp 0x40336d
mov eax, dword [ebp - 4]
push dword [eax + ebx*4]
push str.Invalid_day_specified_for__day___s_
call fcn.0040290a
pop ecx
pop ecx
add dword [ebp + 8], 0xa
dec dword [ebp + 0xc]
mov dword [esi + 0x630], edi
jne 0x40328e
jmp 0x4038aa
push str.Missing_argument_for__days
jmp 0x403622
mov eax, dword [ebp - 4]
push str._weeks
push dword [edi + eax]
call fcn.0040d300
pop ecx
test eax, eax
pop ecx
jne 0x4034eb
mov eax, dword [ebp - 8]
dec eax
cmp ebx, eax
jge 0x4034e1
lea eax, [ebp - 0xc4]
inc ebx
push eax
lea eax, [ebp - 0xce]
push eax
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0xe2]
push eax
lea eax, [ebp - 0xec]
push eax
mov eax, dword [ebp - 4]
xor edi, edi
push str._____________________s
mov word [esi + 0x662], di
mov word [esi + 0x664], di
mov word [esi + 0x666], di
mov word [esi + 0x668], di
mov word [esi + 0x66a], di
push dword [eax + ebx*4]
call fcn.0040ca6c
add esp, 0x1c
cmp eax, edi
jle 0x4038aa
lea ecx, [ebp - 0xec]
push 1
mov dword [ebp + 8], ecx
mov dword [ebp + 0xc], eax
pop edi
push 0x417934
push dword [ebp + 8]
call fcn.0040d300
pop ecx
test eax, eax
pop ecx
jne 0x403447
mov word [esi + 0x662], di
jmp 0x4034c9
push 0x417930
push dword [ebp + 8]
call fcn.0040d300
pop ecx
test eax, eax
pop ecx
jne 0x403463
mov word [esi + 0x664], di
jmp 0x4034c9
push 0x41792c
push dword [ebp + 8]
call fcn.0040d300
pop ecx
test eax, eax
pop ecx
jne 0x40347f
mov word [esi + 0x666], di
jmp 0x4034c9
push 0x417928
push dword [ebp + 8]
call fcn.0040d300
pop ecx
test eax, eax
pop ecx
jne 0x40349b
mov word [esi + 0x668], di
jmp 0x4034c9
push str.54321
push dword [ebp + 8]
call fcn.0040d300
pop ecx
test eax, eax
pop ecx
jne 0x4034b7
mov word [esi + 0x66a], di
jmp 0x4034c9
mov eax, dword [ebp - 4]
push dword [eax + ebx*4]
push str.Invalid_week_number_specified_for__week___s_
call fcn.0040290a
pop ecx
pop ecx
add dword [ebp + 8], 0xa
dec dword [ebp + 0xc]
mov dword [esi + 0x630], edi
jne 0x403428
jmp 0x4038aa
push str.Missing_argument_for__weeks
jmp 0x403622
mov eax, dword [ebp - 4]
push str._day
push dword [edi + eax]
call fcn.0040d300
pop ecx
test eax, eax
pop ecx
jne 0x403535
mov eax, dword [ebp - 8]
dec eax
cmp ebx, eax
jge 0x40352b
mov eax, dword [ebp - 4]
inc ebx
push dword [eax + ebx*4]
call fcn.0040d2f2
pop ecx
mov dword [esi + 0x66c], eax
mov dword [esi + 0x630], 2
jmp 0x4038aa
push str.Missing_argument_for__day
jmp 0x403622
mov eax, dword [ebp - 4]
push str._seconds
push dword [edi + eax]
call fcn.0040d300
pop ecx
test eax, eax
pop ecx
jne 0x40357f
mov eax, dword [ebp - 8]
dec eax
cmp ebx, eax
jge 0x403575
mov eax, dword [ebp - 4]
inc ebx
push dword [eax + ebx*4]
call fcn.0040d2f2
pop ecx
mov dword [esi + 0x670], eax
mov dword [esi + 0x630], 3
jmp 0x4038aa
push str.Missing_argument_for__seconds
jmp 0x403622
mov eax, dword [ebp - 4]
push 0x41885c
push dword [edi + eax]
call fcn.0040d300
pop ecx
test eax, eax
pop ecx
jne 0x4035b6
mov eax, dword [ebp - 8]
dec eax
cmp ebx, eax
jge 0x4035af
mov eax, dword [ebp - 4]
inc ebx
push dword [eax + ebx*4]
lea eax, [esi + 0x1a2]
jmp 0x402be5
push str.Missing_argument_for__ip
jmp 0x403622
mov eax, dword [ebp - 4]
push str._subnet
push dword [edi + eax]
call fcn.0040d300
pop ecx
test eax, eax
pop ecx
jne 0x4035ed
mov eax, dword [ebp - 8]
dec eax
cmp ebx, eax
jge 0x4035e6
mov eax, dword [ebp - 4]
inc ebx
push dword [eax + ebx*4]
lea eax, [esi + 0x1b6]
jmp 0x402be5
push str.Missing_argument_for__subnet
jmp 0x403622
mov eax, dword [ebp - 4]
push str._mac
push dword [edi + eax]
call fcn.0040d300
pop ecx
test eax, eax
pop ecx
jne 0x40362d
mov eax, dword [ebp - 8]
dec eax
cmp ebx, eax
jge 0x40361d
mov eax, dword [ebp - 4]
inc ebx
push dword [eax + ebx*4]
lea eax, [esi + 0x194]
jmp 0x402be5
push str.Missing_argument_for__mac
call fcn.0040290a
pop ecx
jmp 0x4038aa
mov eax, dword [ebp - 4]
push str._save_settings
push dword [edi + eax]
call fcn.0040d300
pop ecx
test eax, eax
pop ecx
jne 0x40364f
mov dword [ebp - 0x10], 1
jmp 0x4038aa
mov eax, dword [ebp - 4]
push str._remove_settings
push dword [edi + eax]
call fcn.0040d300
pop ecx
test eax, eax
pop ecx
jne 0x403671
mov dword [ebp - 0x10], 2
jmp 0x4038aa
mov eax, dword [ebp - 4]
push str._save_svc_set
push dword [edi + eax]
call fcn.0040d300
pop ecx
test eax, eax
pop ecx
jne 0x403693
mov dword [ebp - 0x10], 3
jmp 0x4038aa
mov eax, dword [ebp - 4]
push str._remove_svc_set
push dword [edi + eax]
call fcn.0040d300
pop ecx
test eax, eax
pop ecx
jne 0x4036b5
mov dword [ebp - 0x10], 4
jmp 0x4038aa
mov eax, dword [ebp - 4]
push str._create_service
push dword [edi + eax]
call fcn.0040d300
pop ecx
test eax, eax
pop ecx
jne 0x4036d7
mov dword [ebp - 0x10], 5
jmp 0x4038aa
mov eax, dword [ebp - 4]
push str._remove_service
push dword [edi + eax]
call fcn.0040d300
pop ecx
test eax, eax
pop ecx
jne 0x4036f9
mov dword [ebp - 0x10], 6
jmp 0x4038aa
mov eax, dword [ebp - 4]
push str._debug
push dword [edi + eax]
call fcn.0040d300
pop ecx
test eax, eax
pop ecx
jne 0x403720
mov word [0x41f3ec], 1
dec dword [ebp - 0xc]
jmp 0x4038aa
mov eax, dword [ebp - 4]
push dword [edi + eax]
push str.Invalid_option_specified___s_
call fcn.0040290a
pop ecx
jmp 0x403627
push str.logoff
push eax
call fcn.0040c7f0
pop ecx
test eax, eax
pop ecx
jne 0x40374e
and dword [esi], eax
jmp 0x4038a5
mov eax, dword [ebp - 4]
push str.reboot
push dword [edi + eax]
call fcn.0040c7f0
pop ecx
test eax, eax
pop ecx
jne 0x40376f
mov dword [esi], 1
jmp 0x4038a5
mov eax, dword [ebp - 4]
push str.shutdown
push dword [edi + eax]
call fcn.0040c7f0
pop ecx
test eax, eax
pop ecx
jne 0x403790
mov dword [esi], 2
jmp 0x4038a5
mov eax, dword [ebp - 4]
push str.poweroff
push dword [edi + eax]
call fcn.0040c7f0
pop ecx
test eax, eax
pop ecx
jne 0x4037b1
mov dword [esi], 3
jmp 0x4038a5
mov eax, dword [ebp - 4]
push str.standby
push dword [edi + eax]
call fcn.0040c7f0
pop ecx
test eax, eax
pop ecx
jne 0x4037d2
mov dword [esi], 4
jmp 0x4038a5
mov eax, dword [ebp - 4]
push str.hibernate
push dword [edi + eax]
call fcn.0040c7f0
pop ecx
test eax, eax
pop ecx
jne 0x4037f3
mov dword [esi], 5
jmp 0x4038a5
mov eax, dword [ebp - 4]
push str.lock
push dword [edi + eax]
call fcn.0040c7f0
pop ecx
test eax, eax
pop ecx
jne 0x403814
mov dword [esi], 6
jmp 0x4038a5
mov eax, dword [ebp - 4]
push str.monitor_off
push dword [edi + eax]
call fcn.0040c7f0
pop ecx
test eax, eax
pop ecx
jne 0x403832
mov dword [esi], 8
jmp 0x4038a5
mov eax, dword [ebp - 4]
push str.monitor_on
push dword [edi + eax]
call fcn.0040c7f0
pop ecx
test eax, eax
pop ecx
jne 0x403850
mov dword [esi], 9
jmp 0x4038a5
mov eax, dword [ebp - 4]
push str.no_action
push dword [edi + eax]
call fcn.0040c7f0
pop ecx
test eax, eax
pop ecx
jne 0x40386e
mov dword [esi], 0xa
jmp 0x4038a5
mov eax, dword [ebp - 4]
push 0x4186fc
push dword [edi + eax]
call fcn.0040c7f0
pop ecx
test eax, eax
pop ecx
jne 0x403893
mov dword [esi], 7
mov dword [esi + 4], 1
jmp 0x4038a5
mov eax, dword [ebp - 4]
push dword [edi + eax]
push str.Invalid_action_specified___s_
call fcn.0040290a
pop ecx
pop ecx
and word [esi + 0xc], 0
inc ebx
cmp ebx, dword [ebp - 8]
jl 0x402b18
xor edi, edi
mov eax, dword [ebp - 0x10]
dec eax
je 0x4039ab
dec eax
je 0x403987
dec eax
je 0x403947
dec eax
je 0x403923
dec eax
je 0x403914
dec eax
je 0x4038ef
cmp dword [ebp - 0xc], edi
jle 0x4038e0
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret
push str.ParseCommandLine_end
call fcn.00403cd5
pop ecx
xor eax, eax
jmp 0x4038db
push esi
push edi
call fcn.0040a4b3
pop ecx
test eax, eax
pop ecx
je 0x403905
push esi
push edi
call fcn.0040a5e0
pop ecx
pop ecx
push esi
push edi
call fcn.0040a0ee
pop ecx
pop ecx
push edi
call fcn.0040cacd
push esi
push edi
call fcn.00409f9a
pop ecx
pop ecx
push edi
call fcn.0040cacd
push str.SYSTEMCurrentControlSetServicesPoweroffParameters
push reloc.WSOCK32.dll_bind
call fcn.0040655b
pop ecx
test al, al
pop ecx
jne 0x403941
push edi
push esi
call fcn.00403ed0
pop ecx
pop ecx
push edi
call fcn.0040cacd
push esi
push str.SYSTEMCurrentControlSetServicesPoweroffParameters
push reloc.WSOCK32.dll_bind
call fcn.0040a7e4
add esp, 0xc
cmp dword [esi + 0x750], 1
je 0x403981
push esi
push edi
call fcn.0040a4b3
pop ecx
test eax, eax
pop ecx
je 0x403981
push esi
push edi
call fcn.0040a5e0
push esi
push edi
call fcn.0040a542
add esp, 0x10
push edi
call fcn.0040cacd
push str.SOFTWAREPoweroff
push reloc.WSOCK32.dll_accept
call fcn.0040655b
pop ecx
test al, al
pop ecx
jne 0x4039a5
push edi
push esi
call fcn.00403ed0
pop ecx
pop ecx
push edi
call fcn.0040cacd
push esi
push str.SOFTWAREPoweroff
push reloc.WSOCK32.dll_accept
call fcn.0040a7e4
add esp, 0xc
push edi
call fcn.0040cacd