Function at 0x100016b0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1b4
mov ebx, dword [ebp + 0x10]
test byte [0x10003018], 8
jne 0x10001ba8
lea edx, [ebp - 0x190]
xor eax, eax
mov ecx, 0x16
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x198], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x194], eax
test ebx, ebx
je 0x100016f9
cmp word [ebx], 0
jne 0x10001750
movzx eax, byte [0x10003018]
and eax, 1
test al, al
jne 0x10001728
mov eax, dword [ebp - 0x190]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LocalFree]
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
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], 0x10003018
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x10001707
lea eax, [ebp - 0x188]
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.shell32.dll_CommandLineToArgvW]
mov dword [ebp - 0x190], eax
sub esp, 8
test byte [0x10003018], 8
jne 0x10001cf0
mov edx, 1
lea eax, [ebp - 0x198]
xor edi, edi
mov ebx, 0x520021
call sym._get_next_wchar
mov word [ebp - 0x136], di
mov word [ebp - 0x19e], ax
test ax, ax
je 0x100018b0
cmp ax, 0x20
jne 0x100017cd
lea esi, [esi]
mov edx, 1
lea eax, [ebp - 0x198]
call sym._get_next_wchar
mov word [ebp - 0x19e], ax
cmp ax, 0x20
je 0x100017b0
cmp ax, 9
je 0x100017b0
mov word [ebp - 0x138], ax
cmp ax, 0x40
je 0x10001ec0
cmp ax, 0x2f
jne 0x10001f50
xor edx, edx
lea eax, [ebp - 0x198]
call sym._get_next_wchar
mov esi, dword [sym.imp.ucrtbase.dll_wcschr]
mov word [ebp - 0x19e], ax
test ax, ax
je 0x1000188c
mov word [ebp - 0x138], ax
movzx eax, ax
mov dword [esp + 4], eax
mov dword [esp], str.abcfhjlmntrv
call esi
test eax, eax
je 0x10001a20
mov ecx, dword [ebp - 0x18c]
sub eax, str.abcfhjlmntrv
sar eax, 1
test ecx, ecx
je 0x10001843
cmp word [ecx], 0
jne 0x10001865
mov edx, dword [ebp - 0x184]
xor ecx, ecx
cmp edx, dword [ebp - 0x188]
jge 0x1000186f
mov ecx, dword [ebp - 0x190]
mov ecx, dword [ecx + edx*4]
add edx, 1
mov dword [ebp - 0x184], edx
mov dword [ebp - 0x18c], 0
mov dword [ebp + eax*4 - 0x17c], ecx
test byte [0x10003018], 8
jne 0x100019d0
xor esi, esi
mov word [ebp - 0x19e], si
mov edx, 1
lea eax, [ebp - 0x198]
call sym._get_next_wchar
mov word [ebp - 0x19e], ax
test ax, ax
jne 0x100017a7
lea esi, [esi]
movzx edx, word [ebp - 0x180]
movzx eax, byte [0x10003018]
and eax, 1
test dx, dx
je 0x10001703
mov word [ebp - 0x19e], dx
movzx edx, word [ebp - 0x17e]
mov word [ebp - 0x19c], dx
xor edx, edx
mov word [ebp - 0x19a], dx
test al, al
je 0x10001707
lea edi, [ebp - 0x19e]
mov eax, edi
shr eax, 0x10
je 0x100020d9
mov dword [esp + 4], 0xffffffff
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov ebx, eax
sub esp, 8
mov eax, str._invalid_
test ebx, ebx
jne 0x10001e56
cmp word [ebp - 0x19e], 0
je 0x100020fb
lea esi, [esi]
mov edx, ebx
lea ebx, [ebx + 1]
cmp word [edi + edx*2 + 2], 0
jne 0x10001938
mov ebx, 0x224c
mov ecx, edi
lea esi, [ebp - 0x136]
mov word [ebp - 0x138], bx
lea edi, [ebp - 0x16]
jmp 0x10001995
cmp ax, 9
je 0x100020b0
cmp ax, 0xa
jne 0x1000205e
mov eax, 0x6e5c
add esi, 2
mov word [esi - 2], ax
lea eax, [edx - 1]
test edx, edx
jle 0x10001e2a
cmp esi, edi
ja 0x10001e2a
mov edx, eax
movzx eax, word [ecx]
add ecx, 2
cmp ax, 0xd
je 0x10002040
jbe 0x10001960
cmp ax, 0x22
je 0x100020c8
cmp ax, 0x5c
jne 0x10002051
mov eax, 0x5c5c
add esi, 2
mov word [esi - 2], ax
jmp 0x10001980
mov eax, ecx
mov edx, 0xffffffff
call sym._wine_dbgstr_wn
mov edx, 0xffffffff
mov esi, eax
lea eax, [ebp - 0x138]
call sym._wine_dbgstr_wn
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str._opt:__s___s_n
mov dword [esp + 8], 0x10005120
mov dword [esp + 4], 0x10003018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x10001883
movzx eax, word [ebp - 0x19e]
mov dword [esp], str.qwyzZ
mov dword [esp + 4], eax
call esi
test eax, eax
je 0x10001ad8
sub eax, str.qwyzZ
sar eax, 1
mov dword [ebp + eax*4 - 0x14c], 1
test byte [0x10003018], 8
jne 0x10001b80
movzx eax, word [ebp - 0x19e]
cmp ax, 0x3f
je 0x100018b0
xor edx, edx
lea eax, [ebp - 0x198]
call sym._get_next_wchar
movzx edi, word [ebp - 0x180]
mov word [ebp - 0x19e], ax
lea edx, [edi - 0x53]
cmp dx, 0x16
ja 0x10001808
bt ebx, edx
jae 0x10001808
mov word [ebp - 0x17e], ax
mov word [ebp - 0x138], ax
test byte [0x10003018], 8
jne 0x10001b40
xor edx, edx
lea eax, [ebp - 0x198]
call sym._get_next_wchar
mov word [ebp - 0x19e], ax
jmp 0x10001808
movzx eax, word [ebp - 0x19e]
xor ecx, ecx
mov word [ebp - 0x17e], cx
mov word [ebp - 0x180], ax
test byte [0x10003018], 8
je 0x10001a62
mov edx, 0xffffffff
lea eax, [ebp - 0x138]
call sym._wine_dbgstr_wn
mov dword [esp + 0xc], str._cmd:__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0x10005120
mov dword [esp + 4], 0x10003018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x10001a5b
mov edx, 0xffffffff
lea eax, [ebp - 0x138]
call sym._wine_dbgstr_wn
mov dword [esp + 0xc], str._sub:__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0x10005120
mov dword [esp + 4], 0x10003018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x10001ab8
mov edx, 0xffffffff
lea eax, [ebp - 0x138]
call sym._wine_dbgstr_wn
mov dword [esp + 0xc], str.flag:__s_n
mov dword [esp + 0x10], eax
jmp 0x10001b18
test ebx, ebx
je 0x10001e20
mov eax, ebx
shr eax, 0x10
je 0x10001c90
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, str._invalid_
sub esp, 8
test eax, eax
jne 0x10001ca5
cmp word [ebx], 0
je 0x10001e98
lea esi, [esi]
lea edi, [edi]
mov edx, eax
lea eax, [eax + 1]
cmp word [ebx + edx*2 + 2], 0
jne 0x10001bf0
mov ecx, 0x224c
mov dword [ebp + 0x10], ebx
mov esi, ebx
mov word [ebp - 0x138], cx
lea ecx, [ebp - 0x136]
jmp 0x10001c58
cmp ax, 9
je 0x10001d30
cmp ax, 0xa
jne 0x10001d66
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea eax, [edx - 1]
test edx, edx
jle 0x10001dd8
lea edi, [ebp - 0x16]
cmp ecx, edi
ja 0x10001dd8
mov edx, eax
movzx eax, word [esi]
add esi, 2
cmp ax, 0xd
je 0x10001d48
jbe 0x10001c20
cmp ax, 0x22
je 0x10001dc0
cmp ax, 0x5c
jne 0x10001d59
mov ebx, 0x5c5c
add ecx, 2
mov word [ecx - 2], bx
jmp 0x10001c40
movzx eax, bx
mov dword [esp], str._04x
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0
mov edx, eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x18], edx
mov dword [esp + 0xc], str.__p___p___s__0x_lx__n
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], str.PrintUIEntryW
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], 0x10003018
mov dword [esp + 0x10], eax
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x100016cc
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x188]
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], 0x10003018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x10001779
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10001c40
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10001c40
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x10001e10
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 0x10001c40
mov edi, 0x225c
add ecx, 2
mov word [ecx - 2], di
jmp 0x10001c40
mov byte [ecx], 0x22
mov ebx, dword [ebp + 0x10]
test eax, eax
jle 0x10001eb1
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x138]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov edx, eax
jmp 0x10001ca5
mov byte [ecx], al
add ecx, 1
jmp 0x10001c40
mov edx, str._null_
jmp 0x10001ca5
mov byte [esi], 0x22
test eax, eax
jle 0x10002111
mov edi, 0x2e2e
mov byte [esi + 3], 0x2e
lea eax, [esi + 4]
mov word [esi + 1], di
mov byte [eax], 0
lea eax, [ebp - 0x138]
mov dword [esp], eax
call sym.___wine_dbg_strdup
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], 0x10003018
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
cmp word [ebp - 0x180], 0
jne 0x10001707
jmp 0x100016f9
mov eax, 0x224c
mov byte [ebp - 0x136], 0x22
lea ecx, [ebp - 0x136]
mov word [ebp - 0x138], ax
lea eax, [ecx + 1]
jmp 0x10001df6
mov eax, dword [ebp - 0x18c]
test eax, eax
je 0x10001ed0
cmp word [eax], 0
jne 0x10001ef2
mov edx, dword [ebp - 0x184]
xor eax, eax
cmp edx, dword [ebp - 0x188]
jge 0x10001efc
mov eax, dword [ebp - 0x190]
mov eax, dword [eax + edx*4]
add edx, 1
mov dword [ebp - 0x184], edx
mov dword [ebp - 0x18c], 0
test byte [0x10003018], 1
je 0x10001707
mov edx, 0xffffffff
call sym._wine_dbgstr_wn
mov dword [esp + 0xc], str.redir_not_supported:__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0x10005120
mov dword [esp + 4], 0x10003018
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
movzx eax, byte [0x10003018]
and eax, 1
jmp 0x10001703
movzx edx, word [ebp - 0x180]
movzx eax, byte [0x10003018]
cmp dx, 0x53
je 0x10001fc8
cmp dx, 0x58
je 0x10001fc8
test al, 1
je 0x10001707
mov edx, 1
lea eax, [ebp - 0x19e]
call sym._wine_dbgstr_wn
mov dword [esp + 0xc], str.0x_x:__s_is_unknown_n
mov dword [esp + 0x14], eax
movzx eax, word [ebp - 0x19e]
mov dword [esp + 8], 0x10005120
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x10003018
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
movzx eax, byte [0x10003018]
and eax, 1
jmp 0x10001703
mov esi, dword [ebp - 0x18c]
lea ecx, [esi - 2]
mov dword [ebp - 0x18c], ecx
test al, 8
je 0x100018be
mov edx, 0xffffffff
mov eax, ecx
call sym._wine_dbgstr_wn
mov dword [esp + 0xc], str._d_extra_Parameter__starting_with__s_n
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x188]
sub eax, dword [ebp - 0x184]
mov dword [esp + 8], 0x10005120
add eax, 1
mov dword [esp + 4], 0x10003018
mov dword [esp + 0x10], eax
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
movzx edx, word [ebp - 0x180]
movzx eax, byte [0x10003018]
jmp 0x100018be
mov eax, 0x725c
add esi, 2
mov word [esi - 2], ax
jmp 0x10001980
lea ebx, [eax - 0x20]
cmp bx, 0x5e
jbe 0x100020f1
mov ebx, eax
mov byte [esi], 0x5c
add esi, 5
shr bx, 0xc
movzx ebx, bx
movzx ebx, byte [ebx + str.0123456789abcdefparse_rundll]
mov byte [esi - 4], bl
mov ebx, eax
shr bx, 8
and ebx, 0xf
movzx ebx, byte [ebx + str.0123456789abcdefparse_rundll]
mov byte [esi - 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 [esi - 1], al
mov byte [esi - 2], bl
jmp 0x10001980
mov eax, 0x745c
add esi, 2
mov word [esi - 2], ax
jmp 0x10001980
mov eax, 0x225c
add esi, 2
mov word [esi - 2], ax
jmp 0x10001980
movzx ecx, di
mov dword [esp], str._04x
mov dword [esp + 4], ecx
call sym._wine_dbg_sprintf.constprop.0
jmp 0x10001e56
mov byte [esi], al
add esi, 1
jmp 0x10001980
mov word [ebp - 0x138], 0x224c
lea esi, [ebp - 0x136]
mov byte [ebp - 0x136], 0x22
lea eax, [esi + 1]
jmp 0x10001e45