Function at 0x406c00
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, ecx
push ebx
mov ebx, 1
mov dword [ebp - 0x14], eax
push edi
mov eax, dword [eax]
mov edi, edx
mov dword [ebp - 4], edi
mov edx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], edx
cmp eax, ebx
jle 0x406dc2
lea ecx, [edi + 4]
mov dword [ebp - 0xc], ecx
push esi
mov eax, dword [ecx]
mov dl, 0x2d
xor ecx, ecx
cmp byte [eax + ecx], dl
jne 0x406cb7
mov dl, byte [ecx + 0x409ed1]
inc ecx
test dl, dl
jne 0x406c36
add eax, ecx
xor esi, esi
mov ecx, dword [0x40c028]
cmp byte [ecx], dl
je 0x406c71
mov dl, byte [ecx]
mov edi, eax
sub edi, ecx
nop word [eax + eax]
cmp byte [ecx + edi], dl
jne 0x406cb7
mov dl, byte [ecx + 1]
inc ecx
inc esi
test dl, dl
jne 0x406c60
mov edi, dword [ebp - 4]
add eax, esi
mov dl, 0x68
xor ecx, ecx
cmp byte [eax + ecx], dl
jne 0x406cb7
mov dl, byte [ecx + 0x409ed5]
inc ecx
test dl, dl
jne 0x406c77
add eax, ecx
cmp byte [eax], dl
je 0x406e36
mov ecx, str._verb
mov dl, 0x2d
sub eax, ecx
nop word [eax + eax]
cmp byte [eax + ecx], dl
jne 0x406da4
mov dl, byte [ecx + 1]
inc ecx
test dl, dl
je 0x406e3f
jmp 0x406ca0
mov eax, dword fs:[0x2c]
xor bl, bl
xor esi, esi
mov edi, dword [eax]
mov eax, dword [0x40c498]
cmp eax, dword [edi + 4]
jle 0x406d1b
push 0x40c498
call fcn.00407297
add esp, 4
cmp dword [0x40c498], 0xffffffff
jne 0x406d1b
push 0x4082d0
mov dword [0x40c49c], 0
mov dword [0x40c4a0], 0
mov dword [0x40c4a4], 0
call fcn.00407537
push 0x40c498
call fcn.00407246
add esp, 8
cmp esi, dword [0x40c4a0]
jge 0x406dd1
mov eax, dword [0x40c498]
cmp eax, dword [edi + 4]
jle 0x406d7f
push 0x40c498
call fcn.00407297
add esp, 4
cmp dword [0x40c498], 0xffffffff
jne 0x406d7f
push 0x4082d0
mov dword [0x40c49c], 0
mov dword [0x40c4a0], 0
mov dword [0x40c4a4], 0
call fcn.00407537
push 0x40c498
call fcn.00407246
add esp, 8
mov eax, dword [0x40c49c]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax + esi*4]
push dword [edx]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov bl, al
inc esi
test bl, bl
je 0x406cc3
mov edi, dword [ebp - 4]
mov ebx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
inc edx
add ecx, 4
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
mov dword [ebp - 0xc], ecx
cmp edx, eax
jl 0x406c30
pop esi
mov ecx, dword [ebp - 0x14]
sub eax, edx
add eax, ebx
pop edi
pop ebx
mov dword [ecx], eax
mov esp, ebp
pop ebp
ret
test bl, bl
jne 0x406d9e
mov ebx, dword [ebp - 0xc]
xor eax, eax
mov cl, 0x2d
mov edx, dword [ebx]
nop
cmp byte [edx + eax], cl
jne 0x406e24
mov cl, byte [eax + 0x4091a5]
inc eax
test cl, cl
jne 0x406de0
add dword [ebx], eax
call fcn.00406bf0
mov ecx, dword [ebp - 4]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0x10]
push dword [ecx + eax*4]
push str.ERROR__Unknown_flag___s_._Use____shelp_for_help._n
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.004014d0
add esp, 0x10
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov ebx, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov dword [edi + ebx*4], edx
inc ebx
mov dword [ebp - 8], ebx
jmp 0x406da4
push 0
mov edx, edi
call fcn.00406e50
push 1
mov edx, edi
call fcn.00406e50
int3