Function at 0x6dec1680
Capabilities:
Accept command line arguments

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x1d8
mov eax, dword [ecx]
mov ebx, dword [ecx + 8]
mov dword [ebp - 0x1bc], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x1c4], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x1c0], eax
test byte [0x6dec4018], 8
jne 0x6dec1d10
lea edx, [ebp - 0x19c]
xor eax, eax
mov ecx, 0x16
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x1bc]
mov dword [ebp - 0x1a4], eax
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x1a0], eax
test ebx, ebx
je 0x6dec16f4
cmp word [ebx], 0
jne 0x6dec1750
movzx eax, byte [0x6dec4018]
and eax, 1
test al, al
jne 0x6dec1728
mov eax, dword [ebp - 0x19c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LocalFree]
sub esp, 4
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov dword [esp + 0xc], str.dialog:_Printer___The_operation_was_not_successful_n
mov dword [esp + 8], str.PrintUIEntryW
mov dword [esp + 4], 0x6dec4018
mov dword [esp], 0
call fcn.6dec1630
jmp 0x6dec1702
lea eax, [ebp - 0x194]
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.shell32.dll_CommandLineToArgvW]
mov dword [ebp - 0x19c], eax
sub esp, 8
test byte [0x6dec4018], 8
jne 0x6dec1eae
xor esi, esi
mov edx, 1
lea eax, [ebp - 0x1a4]
call fcn.6dec12e0
mov word [ebp - 0x142], si
lea esi, [ebp - 0x144]
mov edi, esi
mov word [ebp - 0x1aa], ax
shr edi, 0x10
test ax, ax
je 0x6dec18d8
cmp ax, 9
je 0x6dec17c0
cmp ax, 0x20
jne 0x6dec17e3
lea esi, [esi]
mov edx, 1
lea eax, [ebp - 0x1a4]
call fcn.6dec12e0
mov word [ebp - 0x1aa], ax
cmp ax, 0x20
je 0x6dec17c0
cmp ax, 9
je 0x6dec17c0
mov word [ebp - 0x144], ax
cmp ax, 0x40
je 0x6dec205c
cmp ax, 0x2f
jne 0x6dec2125
xor edx, edx
lea eax, [ebp - 0x1a4]
call fcn.6dec12e0
mov ebx, dword [sym.imp.ucrtbase.dll_wcschr]
mov word [ebp - 0x1aa], ax
lea esi, [esi]
nop
test ax, ax
je 0x6dec18b3
mov word [ebp - 0x144], ax
movzx eax, ax
mov dword [esp + 4], eax
mov dword [esp], str.abcfhjlmntrv
call ebx
test eax, eax
je 0x6dec19f0
movzx edx, byte [0x6dec4018]
mov ecx, dword [ebp - 0x198]
sub eax, str.abcfhjlmntrv
sar eax, 1
and edx, 8
test ecx, ecx
je 0x6dec186d
cmp word [ecx], 0
jne 0x6dec1b30
mov ebx, dword [ebp - 0x190]
cmp ebx, dword [ebp - 0x194]
jge 0x6dec1ab0
mov ecx, dword [ebp - 0x19c]
mov ecx, dword [ecx + ebx*4]
add ebx, 1
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x190], ebx
mov dword [ebp + eax*4 - 0x188], ecx
test dl, dl
jne 0x6dec1bb0
xor ebx, ebx
mov word [ebp - 0x1aa], bx
mov edx, 1
lea eax, [ebp - 0x1a4]
call fcn.6dec12e0
mov word [ebp - 0x1aa], ax
test ax, ax
jne 0x6dec17ad
lea esi, [esi]
nop
movzx edx, word [ebp - 0x18c]
movzx eax, byte [0x6dec4018]
and eax, 1
test dx, dx
je 0x6dec16fe
mov word [ebp - 0x1aa], dx
movzx edx, word [ebp - 0x18a]
mov word [ebp - 0x1a8], dx
xor edx, edx
mov word [ebp - 0x1a6], dx
test al, al
je 0x6dec1702
lea esi, [ebp - 0x1aa]
mov eax, esi
shr eax, 0x10
je 0x6dec230b
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, str._invalid_
test edx, edx
jne 0x6dec2000
movzx eax, word [ebp - 0x1aa]
test ax, ax
je 0x6dec2344
mov ecx, edx
lea edx, [edx + 1]
cmp word [esi + ecx*2 + 2], 0
jne 0x6dec195c
mov ebx, 0x224c
lea edx, [ebp - 0x142]
lea edi, [ebp - 0x22]
mov word [ebp - 0x144], bx
jmp 0x6dec19b8
cmp ax, 9
je 0x6dec224d
cmp ax, 0xa
jne 0x6dec21eb
mov eax, 0x6e5c
add edx, 2
mov word [edx - 2], ax
lea ebx, [ecx - 1]
test ecx, ecx
jle 0x6dec1fd4
cmp edx, edi
ja 0x6dec1fd4
movzx eax, word [esi]
mov ecx, ebx
add esi, 2
cmp ax, 0xd
je 0x6dec21cd
jbe 0x6dec1980
cmp ax, 0x22
je 0x6dec223c
cmp ax, 0x5c
jne 0x6dec21de
mov eax, 0x5c5c
add edx, 2
mov word [edx - 2], ax
jmp 0x6dec19a0
movzx eax, word [ebp - 0x1aa]
mov dword [esp], str.qwyzZ
mov dword [esp + 4], eax
call ebx
test eax, eax
je 0x6dec1be0
sub eax, str.qwyzZ
sar eax, 1
mov dword [ebp + eax*4 - 0x158], 1
test byte [0x6dec4018], 8
jne 0x6dec1cb0
movzx eax, word [ebp - 0x1aa]
cmp ax, 0x3f
je 0x6dec18d8
xor edx, edx
lea eax, [ebp - 0x1a4]
call fcn.6dec12e0
movzx ecx, word [ebp - 0x18c]
mov word [ebp - 0x1aa], ax
lea edx, [ecx - 0x53]
cmp dx, 0x16
ja 0x6dec1820
mov ecx, 0x520021
bt ecx, edx
jae 0x6dec1820
mov word [ebp - 0x18a], ax
mov word [ebp - 0x144], ax
test byte [0x6dec4018], 8
jne 0x6dec1c50
xor edx, edx
lea eax, [ebp - 0x1a4]
call fcn.6dec12e0
mov word [ebp - 0x1aa], ax
jmp 0x6dec1820
mov dword [ebp + eax*4 - 0x188], 0
test dl, dl
je 0x6dec18aa
mov ebx, str._null_
test edi, edi
je 0x6dec1b93
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, str._invalid_
test edx, edx
jne 0x6dec1afb
mov edx, 0xffffffff
mov eax, esi
call fcn.6dec1350
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str._opt:__s___s_n
mov dword [esp + 8], 0x6dec6120
mov dword [esp + 4], 0x6dec4018
mov dword [esp], 3
call fcn.6dec1630
jmp 0x6dec18aa
mov dword [ebp - 0x198], 0
mov dword [ebp + eax*4 - 0x188], ecx
test dl, dl
je 0x6dec18aa
mov eax, ecx
shr eax, 0x10
je 0x6dec1bbf
mov dword [esp + 4], 0xffffffff
mov ebx, str._invalid_
mov dword [esp], ecx
mov dword [ebp - 0x1bc], ecx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
test eax, eax
jne 0x6dec1ac8
mov ecx, dword [ebp - 0x1bc]
mov edx, 0xffffffff
mov eax, ecx
call fcn.6dec1350
mov ebx, eax
test edi, edi
jne 0x6dec1ad0
movzx eax, si
mov dword [esp], str._04x
mov dword [esp + 4], eax
call fcn.6dec1570
jmp 0x6dec1afb
test ecx, ecx
je 0x6dec1ac3
mov eax, ecx
shr eax, 0x10
jne 0x6dec1b50
movzx ecx, cx
mov dword [esp], str._04x
mov dword [esp + 4], ecx
call fcn.6dec1570
mov ebx, eax
jmp 0x6dec1ac8
movzx eax, word [ebp - 0x1aa]
xor ecx, ecx
mov word [ebp - 0x18a], cx
mov word [ebp - 0x18c], ax
test byte [0x6dec4018], 8
je 0x6dec1a32
test edi, edi
je 0x6dec1e38
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, str._invalid_
test edx, edx
jne 0x6dec1c37
mov edx, 0xffffffff
mov eax, esi
call fcn.6dec1350
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str._cmd:__s_n
jmp 0x6dec1cef
test edi, edi
je 0x6dec1e00
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, str._invalid_
test edx, edx
jne 0x6dec1c83
mov edx, 0xffffffff
mov eax, esi
call fcn.6dec1350
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str._sub:__s_n
mov dword [esp + 8], 0x6dec6120
mov dword [esp + 4], 0x6dec4018
mov dword [esp], 3
call fcn.6dec1630
jmp 0x6dec1a8d
test edi, edi
je 0x6dec1e20
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, str._invalid_
test edx, edx
jne 0x6dec1ce3
mov edx, 0xffffffff
mov eax, esi
call fcn.6dec1350
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.flag:__s_n
mov dword [esp + 8], 0x6dec6120
mov dword [esp + 4], 0x6dec4018
mov dword [esp], 3
call fcn.6dec1630
jmp 0x6dec1a2b
test ebx, ebx
je 0x6dec1fca
mov eax, ebx
shr eax, 0x10
je 0x6dec1e50
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov ecx, eax
sub esp, 8
mov eax, str._invalid_
test ecx, ecx
jne 0x6dec1e63
movzx eax, word [ebx]
test ax, ax
je 0x6dec203b
lea esi, [esi]
mov edx, ecx
lea ecx, [ecx + 1]
cmp word [ebx + edx*2 + 2], 0
jne 0x6dec1d58
mov ecx, 0x224c
mov dword [ebp - 0x1c8], ebx
mov esi, ebx
mov word [ebp - 0x144], cx
lea ecx, [ebp - 0x142]
jmp 0x6dec1dcb
cmp ax, 9
je 0x6dec1f78
cmp ax, 0xa
jne 0x6dec1ef2
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea esi, [esi]
nop
lea eax, [ebp - 0x22]
lea edi, [edx - 1]
cmp ecx, eax
ja 0x6dec1f89
test edx, edx
jle 0x6dec1f89
movzx eax, word [esi]
mov edx, edi
add esi, 2
cmp ax, 0xd
je 0x6dec1f60
jbe 0x6dec1d88
cmp ax, 0x22
je 0x6dec1f48
cmp ax, 0x5c
jne 0x6dec1ee5
mov eax, 0x5c5c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x6dec1db0
movzx eax, si
mov dword [esp], str._04x
mov dword [esp + 4], eax
call fcn.6dec1570
jmp 0x6dec1c83
movzx eax, si
mov dword [esp], str._04x
mov dword [esp + 4], eax
call fcn.6dec1570
jmp 0x6dec1ce3
movzx eax, si
mov dword [esp], str._04x
mov dword [esp + 4], eax
call fcn.6dec1570
jmp 0x6dec1c37
movzx eax, bx
mov dword [esp], str._04x
mov dword [esp + 4], eax
call fcn.6dec1570
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x1c4]
mov esi, dword [ebp - 0x1c0]
mov dword [esp + 0xc], str.__p___p___s__0x_lx__n
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x1bc]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.PrintUIEntryW
mov dword [esp + 4], 0x6dec4018
mov dword [esp], 3
call fcn.6dec1630
jmp 0x6dec16c1
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x194]
mov dword [esp + 0xc], str.got__d_args_at__p_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.PrintUIEntryW
mov dword [esp + 4], 0x6dec4018
mov dword [esp], 3
call fcn.6dec1630
jmp 0x6dec1779
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x6dec1fc0
mov edi, eax
mov byte [ecx], 0x5c
add ecx, 5
shr di, 0xc
movzx edi, di
movzx ebx, byte [edi + str.0123456789abcdefparse_rundll]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [ecx - 4], bl
movzx ebx, byte [edi + str.0123456789abcdefparse_rundll]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + str.0123456789abcdefparse_rundll]
and edi, 0xf
mov byte [ecx - 3], bl
movzx ebx, byte [edi + str.0123456789abcdefparse_rundll]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x6dec1db0
mov eax, 0x225c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x6dec1db0
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x6dec1db0
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x6dec1db0
mov byte [ecx], 0x22
mov ebx, dword [ebp - 0x1c8]
test edi, edi
jle 0x6dec2054
mov edi, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], di
mov byte [eax], 0
lea eax, [ebp - 0x144]
mov dword [esp], eax
call fcn.6dec2d90
jmp 0x6dec1e63
mov byte [ecx], al
add ecx, 1
jmp 0x6dec1db0
mov eax, str._null_
jmp 0x6dec1e63
mov byte [edx], 0x22
test ebx, ebx
jle 0x6dec235a
mov esi, 0x2e2e
mov byte [edx + 3], 0x2e
lea eax, [edx + 4]
mov word [edx + 1], si
mov byte [eax], 0
lea eax, [ebp - 0x144]
mov dword [esp], eax
call fcn.6dec2d90
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.command_not_implemented:__s_n
mov dword [esp + 8], str.PrintUIEntryW
mov dword [esp + 4], 0x6dec4018
mov dword [esp], 0
call fcn.6dec1630
cmp word [ebp - 0x18c], 0
jne 0x6dec1702
jmp 0x6dec16f4
mov eax, 0x224c
mov byte [ebp - 0x142], 0x22
lea ecx, [ebp - 0x142]
mov word [ebp - 0x144], ax
lea eax, [ecx + 1]
jmp 0x6dec1faa
movzx edx, byte [0x6dec4018]
mov ebx, dword [ebp - 0x198]
and edx, 1
test ebx, ebx
je 0x6dec207a
cmp word [ebx], 0
jne 0x6dec232d
mov ecx, dword [ebp - 0x190]
cmp ecx, dword [ebp - 0x194]
jge 0x6dec22f9
mov eax, dword [ebp - 0x19c]
mov ebx, dword [eax + ecx*4]
add ecx, 1
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x190], ecx
test dl, dl
je 0x6dec1708
test ebx, ebx
je 0x6dec2301
mov eax, ebx
shr eax, 0x10
je 0x6dec2362
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, str._invalid_
test edx, edx
jne 0x6dec20ee
mov edx, 0xffffffff
mov eax, ebx
call fcn.6dec1350
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.redir_not_supported:__s_n
mov dword [esp + 8], 0x6dec6120
mov dword [esp + 4], 0x6dec4018
mov dword [esp], 0
call fcn.6dec1630
movzx eax, byte [0x6dec4018]
and eax, 1
jmp 0x6dec16fe
movzx edx, word [ebp - 0x18c]
movzx eax, byte [0x6dec4018]
cmp dx, 0x53
je 0x6dec225e
cmp dx, 0x58
je 0x6dec225e
test al, 1
je 0x6dec1702
lea ebx, [ebp - 0x1aa]
mov eax, ebx
shr eax, 0x10
je 0x6dec2392
mov dword [esp + 4], 1
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, str._invalid_
test edx, edx
jne 0x6dec218b
mov edx, 1
mov eax, ebx
call fcn.6dec1350
mov dword [esp + 0x14], eax
movzx eax, word [ebp - 0x1aa]
mov dword [esp + 0xc], str.0x_x:__s_is_unknown_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0x6dec6120
mov dword [esp + 4], 0x6dec4018
mov dword [esp], 0
call fcn.6dec1630
movzx eax, byte [0x6dec4018]
and eax, 1
jmp 0x6dec16fe
mov eax, 0x725c
add edx, 2
mov word [edx - 2], ax
jmp 0x6dec19a0
lea ebx, [eax - 0x20]
cmp bx, 0x5e
jbe 0x6dec2323
mov ebx, eax
mov byte [edx], 0x5c
add edx, 5
shr bx, 0xc
movzx ebx, bx
movzx ebx, byte [ebx + str.0123456789abcdefparse_rundll]
mov byte [edx - 4], bl
mov ebx, eax
shr bx, 8
and ebx, 0xf
movzx ebx, byte [ebx + str.0123456789abcdefparse_rundll]
mov byte [edx - 3], bl
mov ebx, eax
and eax, 0xf
shr bx, 4
movzx eax, byte [eax + str.0123456789abcdefparse_rundll]
and ebx, 0xf
movzx ebx, byte [ebx + str.0123456789abcdefparse_rundll]
mov byte [edx - 1], al
mov byte [edx - 2], bl
jmp 0x6dec19a0
mov eax, 0x225c
add edx, 2
mov word [edx - 2], ax
jmp 0x6dec19a0
mov eax, 0x745c
add edx, 2
mov word [edx - 2], ax
jmp 0x6dec19a0
mov esi, dword [ebp - 0x198]
lea ebx, [esi - 2]
mov dword [ebp - 0x198], ebx
test al, 8
je 0x6dec18e6
mov eax, ebx
shr eax, 0x10
je 0x6dec237a
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, str._invalid_
test edx, edx
jne 0x6dec22ab
mov edx, 0xffffffff
mov eax, ebx
call fcn.6dec1350
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x194]
sub eax, dword [ebp - 0x190]
mov dword [esp + 0xc], str._d_extra_Parameter__starting_with__s_n
add eax, 1
mov dword [esp + 8], 0x6dec6120
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x6dec4018
mov dword [esp], 3
call fcn.6dec1630
movzx edx, word [ebp - 0x18c]
movzx eax, byte [0x6dec4018]
jmp 0x6dec18e6
test dl, dl
je 0x6dec1702
mov eax, str._null_
jmp 0x6dec20ee
movzx esi, si
mov dword [esp], str._04x
mov dword [esp + 4], esi
call fcn.6dec1570
jmp 0x6dec2000
mov byte [edx], al
add edx, 1
jmp 0x6dec19a0
mov dword [ebp - 0x198], 0
test dl, dl
je 0x6dec1702
jmp 0x6dec20b8
mov word [ebp - 0x144], 0x224c
lea edx, [ebp - 0x142]
mov byte [ebp - 0x142], 0x22
lea eax, [edx + 1]
jmp 0x6dec1fef
movzx ebx, bx
mov dword [esp], str._04x
mov dword [esp + 4], ebx
call fcn.6dec1570
jmp 0x6dec20ee
movzx ebx, bx
mov dword [esp], str._04x
mov dword [esp + 4], ebx
call fcn.6dec1570
jmp 0x6dec22ab
movzx ebx, bx
mov dword [esp], str._04x
mov dword [esp + 4], ebx
call fcn.6dec1570
jmp 0x6dec218b