Function at 0x401c60
Capabilities:
Accept command line arguments
Delete service
Query or enumerate registry value
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x9c
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x28], 0
call dword [sym.imp.comctl32.dll_InitCommonControls]
call dword [sym.imp.kernel32.dll_GetCommandLineW]
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x2c]
call sym._process_args
cmp dword [ebp - 0x2c], 1
jg 0x401f52
xor eax, eax
mov byte [ebp - 0x58], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x40], 5
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x7c], 0
mov word [ebp - 0x72], ax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x40]
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._MsiSetInternalUI_8
mov eax, dword [ebp - 0x34]
sub esp, 8
mov edi, eax
test eax, eax
je 0x4028ea
mov edx, eax
mov ebx, 1
lea esi, cs:[esi]
nop
cmp word [edx + 4], 0
lea ecx, [edx + 4]
je 0x401f48
mov eax, ecx
add eax, 2
cmp word [eax], 0
jne 0x401d60
sub eax, ecx
sar eax, 1
add eax, 3
mov edx, dword [edx]
add ebx, eax
test edx, edx
jne 0x401d50
add ebx, ebx
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0x84], eax
mov esi, eax
jmp 0x401d9a
mov edi, dword [edi]
test edi, edi
je 0x401e6f
lea edx, [edi + 4]
mov dword [esp + 4], 0x3d
mov dword [esp], edx
mov dword [ebp - 0x40], edx
call dword [sym.imp.ucrtbase.dll_wcschr]
mov ebx, eax
test eax, eax
je 0x401d90
mov edx, dword [ebp - 0x40]
mov eax, 0x20
lea ecx, [esi + 2]
mov word [esi], ax
mov esi, ebx
sub esi, edx
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp], ecx
mov dword [ebp - 0x40], ecx
call sym._memcpy
mov ecx, dword [ebp - 0x40]
mov eax, 0x3d
add esi, ecx
lea ecx, [ebx + 2]
mov word [esi], ax
mov dword [ebp - 0x40], ecx
mov dword [esp], ecx
mov dword [esp + 4], 0x20
call dword [sym.imp.ucrtbase.dll_wcschr]
mov ecx, dword [ebp - 0x40]
test eax, eax
mov dword [ebp - 0x44], eax
je 0x401f30
mov eax, 0x22
lea edx, [esi + 4]
mov word [esi + 2], ax
cmp word [ebx + 2], 0
je 0x401e5a
mov eax, ecx
lea esi, cs:[esi]
add eax, 2
cmp word [eax], 0
jne 0x401e28
sub eax, ecx
mov dword [esp], edx
mov dword [esp + 8], eax
mov ebx, eax
mov dword [esp + 4], ecx
mov dword [ebp - 0x40], edx
call sym._memcpy
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x44]
add edx, ebx
mov esi, edx
test eax, eax
je 0x401d90
mov eax, 0x22
lea esi, [edx + 2]
mov word [edx], ax
mov edi, dword [edi]
test edi, edi
jne 0x401d9a
xor eax, eax
mov word [esi], ax
test byte [0x406010], 8
jne 0x4023fd
cmp byte [ebp - 0x58], 0
jne 0x402472
mov eax, dword [ebp - 0x54]
test eax, eax
jne 0x4024f0
mov eax, dword [ebp - 0x5c]
test eax, eax
jne 0x402543
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x4028b4
mov edi, dword [ebp - 0x60]
test edi, edi
jne 0x402768
mov esi, dword [ebp - 0x70]
test esi, esi
jne 0x4029a6
mov ebx, dword [ebp - 0x38]
test ebx, ebx
jne 0x402cec
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
jne 0x402a3a
mov edx, dword [ebp - 0x80]
test edx, edx
jne 0x403097
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x4032b4
test byte [0x406010], 1
je 0x402754
mov dword [esp + 0xc], str.Unknown_function__ignoring_n
mov dword [esp + 8], str.WinMain
mov dword [esp + 4], 0x406010
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x48], eax
jmp 0x402536
lea edx, [esi + 2]
cmp word [ebx + 2], 0
mov esi, edx
jne 0x401e21
jmp 0x401d90
mov eax, 3
jmp 0x401d70
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 4]
movzx edx, word [ecx]
and edx, 0xfffffffd
cmp dx, 0x2d
jne 0x4020f7
lea eax, [ecx + 2]
mov edx, 0x407243
call sym._msi_strequal
test eax, eax
je 0x4020df
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], 0
mov edi, dword [eax + 8]
lea eax, [ebp - 0x24]
mov dword [ebp - 0x1c], 0
mov dword [esp + 8], eax
mov dword [esp + 4], str.SoftwareMicrosoftWindowsCurrentVersionInstallerRunOnceEntries
mov dword [esp], 0x80000002
call dword [sym.imp.advapi32.dll_RegOpenKeyW]
sub esp, 0xc
test eax, eax
jne 0x402754
lea eax, [ebp - 0x20]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x24]
mov dword [esp + 8], 0
mov dword [esp], eax
mov eax, dword [sym.imp.advapi32.dll_RegQueryValueExW]
mov dword [esp + 4], edi
mov dword [ebp - 0x3c], eax
call eax
sub esp, 0x18
test eax, eax
mov eax, dword [ebp - 0x24]
jne 0x40280e
cmp dword [ebp - 0x1c], 1
mov dword [ebp - 0x38], eax
jne 0x40280e
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
cmp word [edx], 0
je 0x403410
mov eax, edx
add eax, 2
cmp word [eax], 0
jne 0x402016
sub eax, edx
mov ecx, eax
lea esi, [eax + 2]
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], ecx
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_malloc]
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x44]
test eax, eax
mov ebx, eax
je 0x403187
mov dword [esp + 8], ecx
add esi, ebx
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [ebp - 0x40], ecx
call sym._memcpy
mov ecx, dword [ebp - 0x40]
mov eax, 0x20
mov word [ebx + ecx], ax
lea eax, [ebp - 0x20]
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 0x10], esi
mov dword [esp], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 8], 0
mov dword [esp + 4], edi
call eax
sub esp, 0x18
test eax, eax
je 0x4020ba
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov dword [ebp - 0x48], 1
sub esp, 4
jmp 0x402536
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x2c]
mov eax, ebx
call sym._process_args
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
mov eax, dword [ebp - 0x2c]
cmp eax, 3
je 0x402876
cmp eax, 1
jle 0x401ca2
mov eax, dword [ebp - 0x28]
xor ebx, ebx
mov dword [ebp - 0x50], 0
mov edi, 1
mov dword [ebp - 0x40], 5
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov word [ebp - 0x72], bx
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x44], 0
lea esi, [esi]
lea ebx, [edi*4]
test byte [0x406010], 8
jne 0x402230
mov eax, dword [eax + ebx]
movzx edx, word [eax]
and edx, 0xfffffffd
cmp dx, 0x2d
je 0x402200
mov edx, str.umtgl
call sym._msi_strequal
test eax, eax
je 0x4031aa
mov edx, dword [ebp - 0x2c]
inc edi
cmp edx, edi
jle 0x4032b4
test byte [0x406010], 8
jne 0x4031f5
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x6c], 1
mov dword [ebp - 0x5c], 1
mov eax, dword [eax + ebx + 4]
mov dword [ebp - 0x4c], eax
jmp 0x40221f
add eax, 2
mov edx, str.regserver
call sym._msi_strequal
test eax, eax
je 0x4022a0
mov dword [ebp - 0x38], 1
mov edx, dword [ebp - 0x2c]
inc edi
cmp edi, edx
jge 0x4022da
mov eax, dword [ebp - 0x28]
jmp 0x402198
mov esi, dword [eax + edi*4]
test esi, esi
je 0x402310
mov eax, esi
shr eax, 0x10
je 0x4022f0
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 0x40226c
mov eax, esi
call sym._wine_dbgstr_wn.part.0.constprop.0
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.argvW__d____s_n
mov dword [esp + 8], str.WinMain
mov dword [esp + 4], 0x406010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov eax, dword [ebp - 0x28]
jmp 0x4021ac
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + ebx]
movzx edx, word [eax]
and edx, 0xfffffffd
cmp dx, 0x2d
jne 0x4021bb
add eax, 2
mov edx, str.unregserver
call sym._msi_strequal
test eax, eax
je 0x402320
mov edx, dword [ebp - 0x2c]
inc edi
mov dword [ebp - 0x3c], 1
cmp edi, edx
jl 0x402228
movzx eax, byte [ebp - 0x58]
and al, byte [ebp - 0x48]
xor eax, 1
and al, byte [ebp - 0x44]
mov byte [ebp - 0x58], al
jmp 0x401d1c
movzx esi, si
mov dword [esp], str._04x
mov dword [esp + 4], esi
call sym._wine_dbg_sprintf.constprop.0
jmp 0x40226c
mov eax, str._null_
jmp 0x40226c
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + ebx]
movzx edx, word [eax]
and edx, 0xfffffffd
cmp dx, 0x2d
jne 0x4021bb
add eax, 2
mov edx, str.unregister
call sym._msi_strequal
test eax, eax
jne 0x4022c7
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + ebx]
movzx edx, word [eax]
and edx, 0xfffffffd
cmp dx, 0x2d
jne 0x4021bb
add eax, 2
mov edx, str.unreg
call sym._msi_strequal
test eax, eax
jne 0x4022c7
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + ebx]
movzx edx, word [eax]
and edx, 0xfffffffd
cmp dx, 0x2d
jne 0x4021bb
add eax, 2
mov edx, 0x40730f
call sym._msi_strprefix
test eax, eax
je 0x40267b
mov eax, dword [ebp - 0x28]
mov esi, dword [eax + ebx]
movzx edx, word [esi]
mov ecx, edx
and ecx, 0xfffffffd
cmp cx, 0x2d
je 0x402651
mov ecx, esi
mov dword [ebp - 0x44], 8
test dx, dx
je 0x402838
mov edx, ecx
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x4023d0
sub edx, ecx
mov ecx, dword [ebp - 0x44]
sar edx, 1
cmp ecx, edx
jge 0x402838
lea eax, [esi + ecx*2]
mov dword [ebp - 0x44], 1
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x4c], eax
jmp 0x40221f
mov eax, dword [ebp - 0x84]
test eax, eax
je 0x40299c
shr eax, 0x10
je 0x4027f2
mov esi, dword [ebp - 0x84]
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 0x402440
mov eax, esi
call sym._wine_dbgstr_wn.part.0.constprop.0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.properties_____s_n
mov dword [esp + 8], str.build_properties
mov dword [esp + 4], 0x406010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
cmp byte [ebp - 0x58], 0
je 0x401e8b
mov eax, dword [ebp - 0x4c]
cmp word [eax], 0
je 0x402495
lea esi, cs:[esi]
add eax, 2
cmp word [eax], 0
jne 0x402480
sub eax, dword [ebp - 0x4c]
cmp eax, 0x4c
je 0x402b29
mov eax, dword [ebp - 0x84]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp], eax
call sym._MsiInstallProductW_8
mov dword [ebp - 0x48], eax
sub esp, 8
cmp eax, 2
jne 0x402536
mov eax, dword [ebp - 0x4c]
call sym._get_path_with_extension
mov ebx, eax
test eax, eax
je 0x402f94
mov eax, dword [ebp - 0x84]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._MsiInstallProductW_8
sub esp, 8
mov esi, eax
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_free]
mov dword [ebp - 0x48], esi
jmp 0x402536
mov eax, dword [ebp - 0x4c]
cmp word [eax], 0
je 0x402515
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x402500
sub eax, dword [ebp - 0x4c]
cmp eax, 0x4c
je 0x402729
mov eax, dword [ebp - 0x64]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp], eax
call sym._MsiReinstallProductW_8
sub esp, 8
cmp eax, 2
je 0x402e5d
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x402ed8
mov edx, esi
mov ebx, 1
lea esi, [esi]
cmp word [edx + 4], 0
lea ecx, [edx + 4]
je 0x402864
mov eax, ecx
lea esi, cs:[esi]
add eax, 2
cmp word [eax], 0
jne 0x402570
sub eax, ecx
sar eax, 1
inc eax
mov edx, dword [edx]
add ebx, eax
test edx, edx
jne 0x402558
add ebx, ebx
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
lea esi, cs:[esi]
nop
movzx ebx, word [esi + 4]
lea edx, [esi + 4]
test bx, bx
je 0x40286e
mov eax, edx
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x4025b8
sub eax, edx
mov ecx, eax
sar ecx, 1
mov edi, ecx
cmp eax, 2
jbe 0x402820
mov ecx, dword [ebp - 0x38]
lea esi, [esi]
dec edi
add ecx, 2
add edx, 2
mov word [ecx - 2], bx
cmp edi, 1
je 0x4025f0
movzx ebx, word [edx]
test bx, bx
jne 0x4025d8
mov ebx, dword [ebp - 0x38]
add eax, ebx
xor edi, edi
mov edx, eax
mov word [ecx], di
mov ebx, dword [esi]
test ebx, ebx
je 0x402618
mov ecx, 0x3b
lea eax, [edx + 2]
mov word [edx], cx
mov esi, dword [esi]
mov dword [ebp - 0x38], eax
test esi, esi
jne 0x4025a0
mov edx, eax
xor eax, eax
mov word [edx], ax
movzx eax, word [ebp - 0x72]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x6c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp], eax
call sym._MsiAdvertiseProductW_16
mov dword [ebp - 0x48], eax
sub esp, 0x10
mov eax, dword [ebp - 0x48]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov edx, 0x40730f
lea eax, [esi + 2]
call sym._msi_strprefix
test eax, eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + ebx]
movzx edx, word [ecx]
je 0x4023b7
mov dword [ebp - 0x44], 2
jmp 0x4023be
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + ebx]
movzx edx, word [eax]
and edx, 0xfffffffd
cmp dx, 0x2d
jne 0x4021bb
add eax, 2
mov edx, str.package
call sym._msi_strprefix
test eax, eax
jne 0x40239d
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + ebx]
movzx edx, word [eax]
and edx, 0xfffffffd
cmp dx, 0x2d
jne 0x4021bb
add eax, 2
mov edx, 0x407319
call sym._msi_strequal
test eax, eax
je 0x402c0e
inc edi
cmp dword [ebp - 0x2c], edi
jle 0x4032b4
test byte [0x406010], 8
jne 0x402b9d
mov eax, dword [ebp - 0x28]
mov edx, str.ACTIONADMIN
mov eax, dword [eax + ebx + 4]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x34]
call sym._StringListAppend
test byte [0x406010], 1
jne 0x402b74
mov dword [ebp - 0x78], 1
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x44], 1
jmp 0x40221f
lea eax, [ebp - 0x1c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp], eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
sub esp, 8
test eax, eax
jne 0x402515
test byte [0x406010], 1
jne 0x4028f9
mov dword [ebp - 0x48], 1
mov eax, dword [ebp - 0x48]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x1c]
mov edx, str.DllRegisterServer
mov dword [ebp - 0x1c], 0
call sym._LoadProc.constprop.0
call eax
test eax, eax
mov eax, dword [ebp - 0x50]
js 0x402e83
test eax, eax
je 0x402b15
shr eax, 0x10
je 0x402e44
mov esi, dword [ebp - 0x50]
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 0x4027c6
mov eax, esi
call sym._wine_dbgstr_wn.part.0.constprop.0
mov dword [esp + 4], eax
mov dword [esp], str.Successfully_registered_dll__s_n
call sym._wine_dbg_printf
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x402536
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FreeLibrary]
sub esp, 4
jmp 0x402536
movzx eax, word [ebp - 0x84]
mov dword [esp], str._04x
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0
jmp 0x402440
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
jmp 0x402754
add eax, dword [ebp - 0x38]
mov edx, eax
test ecx, ecx
je 0x4025fc
mov ecx, dword [ebp - 0x38]
jmp 0x4025f5
mov edx, dword [ebp - 0x2c]
inc edi
cmp edx, edi
jle 0x4032b4
test byte [0x406010], 8
jne 0x402928
mov eax, dword [eax + ebx + 4]
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x4c], eax
jmp 0x40221f
mov eax, 1
jmp 0x40257e
mov edx, dword [ebp - 0x38]
jmp 0x4025fc
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 4]
movzx edx, word [ecx]
and edx, 0xfffffffd
cmp dx, 0x2d
jne 0x4020f7
lea eax, [ecx + 2]
mov edx, str.Embedding
call sym._msi_strequal
test eax, eax
je 0x402a32
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 8]
call sym._custom_action_server
mov dword [ebp - 0x48], eax
jmp 0x402536
mov eax, dword [ebp - 0x84]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x7c]
mov dword [esp], eax
call sym._MsiApplyPatchW_16
mov dword [ebp - 0x48], eax
sub esp, 0x10
mov eax, dword [ebp - 0x48]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov dword [ebp - 0x84], 0
jmp 0x401e81
mov dword [esp + 0xc], str.Product_code_treatment_not_implemented_yet_n
mov dword [esp + 8], str.WinMain
mov dword [esp + 4], 0x406010
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x48], eax
jmp 0x402536
mov esi, dword [eax + ebx + 4]
test esi, esi
je 0x402b1f
mov eax, esi
shr eax, 0x10
je 0x402eef
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 0x402965
mov eax, esi
call sym._wine_dbgstr_wn.part.0.constprop.0
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.argvW__d____s_n
mov dword [esp + 8], str.WinMain
mov dword [esp + 4], 0x406010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
jmp 0x402851
mov eax, str._null_
jmp 0x402440
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x1c]
mov edx, str.DllUnregisterServer
mov dword [ebp - 0x1c], 0
call sym._LoadProc.constprop.0
call eax
test eax, eax
mov eax, dword [ebp - 0x50]
js 0x402ac0
test eax, eax
je 0x4030df
shr eax, 0x10
je 0x402f07
mov esi, dword [ebp - 0x50]
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 0x402a04
mov eax, esi
call sym._wine_dbgstr_wn.part.0.constprop.0
mov dword [esp + 4], eax
mov dword [esp], str.Successfully_unregistered_dll__s_n
call sym._wine_dbg_printf
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x402a27
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FreeLibrary]
sub esp, 4
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x48], eax
jmp 0x402536
mov eax, dword [ebp - 0x2c]
jmp 0x4020eb
mov dword [esp + 8], 1
mov dword [esp + 4], str.ServicesActive
mov dword [esp], 0
call dword [sym.imp.advapi32.dll_OpenSCManagerW]
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x40315e
mov dword [esp + 8], 0x10000
mov dword [esp + 4], 0x4071d2
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_OpenServiceW]
sub esp, 0xc
mov esi, eax
test eax, eax
je 0x403132
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_DeleteService]
mov dword [ebp - 0x48], 0
sub esp, 4
test eax, eax
je 0x40311b
mov dword [esp], esi
mov esi, dword [sym.imp.advapi32.dll_CloseServiceHandle]
call esi
sub esp, 4
mov dword [esp], ebx
call esi
sub esp, 4
jmp 0x402536
test eax, eax
je 0x4031a0
shr eax, 0x10
je 0x403102
mov esi, dword [ebp - 0x50]
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 0x402afa
mov eax, esi
call sym._wine_dbgstr_wn.part.0.constprop.0
mov dword [esp + 4], eax
mov dword [esp], str.Failed_to_unregister_dll__s_n
call sym._report_error
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x60], eax
jmp 0x402a27
mov eax, str._null_
jmp 0x4027c6
mov eax, str._null_
jmp 0x402965
mov esi, dword [ebp - 0x4c]
lea eax, [ebp - 0x1c]
mov dword [esp + 4], eax
mov dword [esp], esi
call dword [sym.imp.ole32.dll_CLSIDFromString]
sub esp, 8
test eax, eax
jne 0x402495
mov eax, dword [ebp - 0x84]
mov dword [esp + 8], 5
mov dword [esp + 4], 0
mov dword [esp + 0xc], eax
mov dword [esp], esi
call sym._MsiConfigureProductExW_16
mov dword [ebp - 0x48], eax
sub esp, 0x10
jmp 0x402536
mov dword [esp + 0xc], str.Administrative_installs_are_not_currently_supported_n
mov dword [esp + 8], str.WinMain
mov dword [esp + 4], 0x406010
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x40270c
mov eax, dword [ebp - 0x28]
mov esi, dword [eax + ebx + 4]
test esi, esi
je 0x4030b2
mov eax, esi
shr eax, 0x10
je 0x40307f
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 0x402bdd
mov eax, esi
call sym._wine_dbgstr_wn.part.0.constprop.0
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.argvW__d____s_n
mov dword [esp + 8], str.WinMain
mov dword [esp + 4], 0x406010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x4026e8
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + ebx]
movzx edx, word [eax]
and edx, 0xfffffffd
cmp dx, 0x2d
jne 0x4021bb
add eax, 2
mov edx, 0x40736d
call sym._msi_strprefix
test eax, eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + ebx]
je 0x402d30
cmp word [eax], 0
je 0x402d01
mov edx, eax
add edx, 2
cmp word [edx], 0
jne 0x402c4b
sub edx, eax
mov ecx, edx
sar ecx, 1
cmp edx, 4
jle 0x4030a1
mov edx, ecx
mov dword [ebp - 0x4c], edi
mov edi, dword [ebp - 0x64]
mov ecx, ebx
mov esi, 2
mov ebx, edx
movzx edx, word [eax + esi*2]
lea eax, [edx - 0x41]
cmp ax, 0x35
ja case.0x402c84.1
movzx eax, ax
jmp dword [eax*4 + 0x40764c]
mov dword [esp + 4], edx
mov dword [esp], str.Unknown_option___c__in_Repair_mode_n
mov dword [ebp - 0x54], ecx
call sym._report_error
mov ecx, dword [ebp - 0x54]
inc esi
cmp esi, ebx
jge 0x402cf9
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + ecx]
jmp 0x402c74
or edi, 0x400
jmp 0x402ca1
or edi, 0x100
jmp 0x402ca1
or edi, 0x200
jmp 0x402ca1
or edi, 2
jmp 0x402ca1
or edi, 4
jmp 0x402ca1
or edi, 0x80
jmp 0x402ca1
or edi, 8
jmp 0x402ca1
or edi, 0x10
jmp 0x402ca1
or edi, 0x20
jmp 0x402ca1
or edi, 0x40
jmp 0x402ca1
call sym._DoRegServer
mov dword [ebp - 0x48], eax
jmp 0x402536
mov dword [ebp - 0x64], edi
mov edi, dword [ebp - 0x4c]
mov ebx, ecx
mov edx, dword [ebp - 0x2c]
inc edi
cmp edx, edi
jle 0x4032b4
test byte [0x406010], 8
jne 0x402f20
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x54], 1
mov eax, dword [eax + ebx + 4]
mov dword [ebp - 0x4c], eax
jmp 0x40221f
movzx edx, word [eax]
and edx, 0xfffffffd
cmp dx, 0x2d
jne 0x4021bb
add eax, 2
mov edx, 0x407394
call sym._msi_strprefix
test eax, eax
je 0x402fa0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + ebx]
movzx edx, word [eax]
and edx, 0xfffffffd
cmp dx, 0x2d
jne 0x402db2
add eax, 2
mov edx, 0x407394
call sym._msi_strprefix
test eax, eax
je 0x402db2
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + ebx]
add eax, 4
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
cmp word [eax], 0
je 0x402db9
test byte [0x406010], 8
jne 0x402de2
mov edx, str.REMOVEALL
lea eax, [ebp - 0x34]
call sym._StringListAppend
mov dword [ebp - 0x44], 1
mov edx, dword [ebp - 0x2c]
jmp 0x40221f
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
jne 0x402d84
inc edi
cmp dword [ebp - 0x2c], edi
jle 0x4032b4
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + ebx + 4]
mov dword [ebp - 0x4c], eax
test byte [0x406010], 8
je 0x402d96
mov edx, dword [ebp - 0x4c]
mov eax, str._null_
test edx, edx
je 0x402e17
mov eax, dword [ebp - 0x4c]
shr eax, 0x10
je 0x4030e9
mov esi, dword [ebp - 0x4c]
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 0x402e17
mov eax, esi
call sym._wine_dbgstr_wn.part.0.constprop.0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.PackageName___s_n
mov dword [esp + 8], str.WinMain
mov dword [esp + 4], 0x406010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x402d96
movzx eax, word [ebp - 0x50]
mov dword [esp], str._04x
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0
jmp 0x4027c6
mov eax, dword [ebp - 0x4c]
call sym._get_path_with_extension
mov ebx, eax
test eax, eax
je 0x402f94
mov eax, dword [ebp - 0x64]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._MsiReinstallProductW_8
jmp 0x4024dd
test eax, eax
je 0x4030d5
shr eax, 0x10
je 0x4030bc
mov esi, dword [ebp - 0x50]
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 0x402ebd
mov eax, esi
call sym._wine_dbgstr_wn.part.0.constprop.0
mov dword [esp + 4], eax
mov dword [esp], str.Failed_to_register_dll__s_n
call sym._report_error
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x48], eax
jmp 0x402536
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0x3c], eax
mov edx, eax
jmp 0x402618
movzx esi, si
mov dword [esp], str._04x
mov dword [esp + 4], esi
call sym._wine_dbg_sprintf.constprop.0
jmp 0x402965
movzx eax, word [ebp - 0x50]
mov dword [esp], str._04x
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0
jmp 0x402a04
mov eax, dword [ebp - 0x28]
mov esi, dword [eax + ebx + 4]
test esi, esi
je 0x403434
mov eax, esi
shr eax, 0x10
je 0x40341c
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 0x402f60
mov eax, esi
call sym._wine_dbgstr_wn.part.0.constprop.0
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.argvW__d____s_n
mov dword [esp + 8], str.WinMain
mov dword [esp + 4], 0x406010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov edx, dword [ebp - 0x2c]
jmp 0x402d1a
mov dword [ebp - 0x48], 2
jmp 0x402536
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + ebx]
movzx edx, word [eax]
and edx, 0xfffffffd
cmp dx, 0x2d
jne 0x4021bb
add eax, 2
mov edx, str.uninstall
call sym._msi_strequal
test eax, eax
jne 0x402d55
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + ebx]
movzx edx, word [eax]
and edx, 0xfffffffd
cmp dx, 0x2d
jne 0x4021bb
add eax, 2
mov edx, 0x4073c8
call sym._msi_strprefix
test eax, eax
mov eax, dword [ebp - 0x28]
je 0x4032f6
mov edx, dword [eax + ebx]
cmp word [edx], 0
je 0x4032cf
mov eax, edx
add eax, 2
cmp word [eax], 0
jne 0x403008
sub eax, edx
mov esi, eax
sar esi, 1
mov dword [ebp - 0x4c], esi
cmp eax, 4
jle 0x4032cf
mov dword [ebp - 0x5c], edi
mov esi, 2
mov edi, ebx
mov ebx, dword [ebp - 0x6c]
jmp 0x403057
cmp ax, 0x4d
je 0x4032c0
cmp ax, 0x55
jne 0x40306d
mov ebx, 1
inc esi
cmp esi, dword [ebp - 0x4c]
jge 0x4032c7
mov eax, dword [ebp - 0x28]
mov edx, dword [eax + edi]
movzx eax, word [edx + esi*2]
cmp ax, 0x6d
je 0x4032c0
jbe 0x403032
cmp ax, 0x75
je 0x403042
mov dword [esp + 4], eax
mov dword [esp], str.Unknown_option___c__in_Advertise_mode_n
call sym._report_error
jmp 0x403047
movzx esi, si
mov dword [esp], str._04x
mov dword [esp + 4], esi
call sym._wine_dbg_sprintf.constprop.0
jmp 0x402bdd
call sym._DoService
jmp 0x402533
mov eax, 0x2aa
cmovne eax, dword [ebp - 0x64]
mov dword [ebp - 0x64], eax
jmp 0x402d01
mov eax, str._null_
jmp 0x402bdd
movzx eax, word [ebp - 0x50]
mov dword [esp], str._04x
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0
jmp 0x402ebd
mov eax, str._null_
jmp 0x402ebd
mov eax, str._null_
jmp 0x402a04
movzx eax, word [ebp - 0x4c]
mov dword [esp], str._04x
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0
jmp 0x402e17
movzx eax, word [ebp - 0x50]
mov dword [esp], str._04x
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0
jmp 0x402afa
mov dword [esp], str.Failed_to_delete_MSI_service_n
call sym._report_error
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x48], eax
jmp 0x402aa5
mov eax, dword fs:[0x18]
cmp dword [eax + 0x34], 0x424
je 0x403175
mov dword [esp], str.Failed_to_open_MSI_service_n
call sym._report_error
mov eax, dword [ebp - 0x3c]
mov esi, dword [sym.imp.advapi32.dll_CloseServiceHandle]
mov dword [ebp - 0x48], eax
jmp 0x402ab3
mov dword [esp], str.Failed_to_open_service_control_manager_n
call sym._report_error
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x48], eax
jmp 0x402536
mov dword [ebp - 0x48], 0
mov esi, dword [sym.imp.advapi32.dll_CloseServiceHandle]
jmp 0x402ab3
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov dword [ebp - 0x48], 1
push eax
jmp 0x402536
mov eax, str._null_
jmp 0x402afa
mov eax, dword [ebp - 0x28]
mov edx, 0x4073f5
mov eax, dword [eax + ebx]
call sym._msi_strequal
test eax, eax
je 0x403272
inc edi
cmp dword [ebp - 0x2c], edi
jle 0x4032b4
test byte [0x406010], 8
jne 0x403235
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x5c], 1
mov eax, dword [eax + ebx + 4]
mov dword [ebp - 0x4c], eax
jmp 0x40221f
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + ebx + 4]
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], str.argvW__d____s_n
mov dword [esp + 8], str.WinMain
mov dword [esp + 4], 0x406010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov edx, dword [ebp - 0x2c]
jmp 0x4021e6
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + ebx + 4]
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], str.argvW__d____s_n
mov dword [esp + 8], str.WinMain
mov dword [esp + 4], 0x406010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x4031d5
mov eax, dword [ebp - 0x28]
mov edx, 0x4073f7
mov eax, dword [eax + ebx]
call sym._msi_option_equal
test eax, eax
je 0x403378
inc edi
cmp dword [ebp - 0x2c], edi
jle 0x4032b4
test byte [0x406010], 8
jne 0x40333b
mov eax, dword [ebp - 0x28]
mov edx, dword [eax + ebx + 4]
lea eax, [ebp - 0x30]
call sym._StringListAppend
mov edx, dword [ebp - 0x2c]
jmp 0x40221f
mov eax, 1
call sym._ShowUsage
nop
xor ebx, ebx
jmp 0x403047
mov dword [ebp - 0x6c], ebx
mov ebx, edi
mov edi, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x2c]
inc edi
cmp edx, edi
jle 0x4032b4
test byte [0x406010], 8
jne 0x4032fe
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x5c], 1
mov eax, dword [eax + ebx + 4]
mov dword [ebp - 0x4c], eax
jmp 0x40221f
mov eax, dword [eax + ebx]
jmp 0x4021bb
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + ebx + 4]
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], str.argvW__d____s_n
mov dword [esp + 8], str.WinMain
mov dword [esp + 4], 0x406010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov edx, dword [ebp - 0x2c]
jmp 0x4032e0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + ebx + 4]
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], str.argvW__d____s_n
mov dword [esp + 8], str.WinMain
mov dword [esp + 4], 0x406010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x40329d
mov eax, dword [ebp - 0x28]
mov edx, 0x4073f9
mov eax, dword [eax + ebx]
call sym._msi_option_equal
test eax, eax
jne 0x40347f
mov eax, dword [ebp - 0x28]
mov edx, dword [eax + ebx]
movzx ecx, word [edx]
and ecx, 0xfffffffd
cmp cx, 0x2d
jne 0x40343e
lea eax, [edx + 2]
mov edx, 0x4073fb
call sym._msi_strprefix
test eax, eax
mov eax, dword [ebp - 0x28]
je 0x40343e
mov esi, dword [eax + ebx]
mov edx, esi
jmp 0x4033c8
add edx, 2
cmp word [edx], 0
jne 0x4033c5
sub edx, esi
mov dword [ebp - 0x90], edi
mov ecx, 2
sar edx, 1
mov dword [ebp - 0x8c], edx
mov edx, dword [ebp - 0x84]
cmp ecx, dword [ebp - 0x8c]
jge 0x4039ba
movzx edi, word [esi + ecx*2]
sub edi, 0x21
cmp di, 0x56
ja case.0x403409.1
movzx edi, di
jmp dword [edi*4 + 0x407724]
mov esi, 2
xor ecx, ecx
jmp 0x402026
movzx esi, si
mov dword [esp], str._04x
mov dword [esp + 4], esi
call sym._wine_dbg_sprintf.constprop.0
jmp 0x402f60
mov eax, str._null_
jmp 0x402f60
mov eax, dword [eax + ebx]
mov edx, 0x407425
call sym._msi_option_equal
test eax, eax
je 0x403500
inc edi
cmp dword [ebp - 0x2c], edi
jle 0x4032b4
test byte [0x406010], 8
jne 0x4034c3
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x48], 1
mov eax, dword [eax + ebx + 4]
mov dword [ebp - 0x7c], eax
jmp 0x40221f
inc edi
cmp dword [ebp - 0x2c], edi
jle 0x4032b4
test byte [0x406010], 8
jne 0x40358b
mov eax, dword [ebp - 0x28]
mov edx, dword [eax + ebx + 4]
xor ebx, ebx
jmp 0x4034ab
imul ebx, ebx, 0xa
add edx, 2
lea ebx, [ebx + eax - 0x30]
movzx eax, word [edx]
lea ecx, [eax - 0x30]
cmp cx, 9
jbe 0x4034a1
mov word [ebp - 0x72], bx
mov edx, dword [ebp - 0x2c]
jmp 0x40221f
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + ebx + 4]
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], str.argvW__d____s_n
mov dword [esp + 8], str.WinMain
mov dword [esp + 4], 0x406010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x403466
mov eax, dword [ebp - 0x28]
mov edx, str.update
mov eax, dword [eax + ebx]
call sym._msi_option_equal
test eax, eax
jne 0x403453
mov eax, dword [ebp - 0x28]
mov edx, dword [eax + ebx]
movzx ecx, word [edx]
and ecx, 0xfffffffd
cmp cx, 0x2d
jne 0x4035c8
lea eax, [edx + 2]
mov edx, 0x40742e
call sym._msi_strprefix
test eax, eax
mov eax, dword [ebp - 0x28]
je 0x4035c8
mov edx, dword [eax + ebx]
mov eax, edx
jmp 0x403550
add eax, 2
cmp word [eax], 0
jne 0x40354d
sub eax, edx
cmp eax, 4
je 0x403572
lea eax, [edx + 4]
mov edx, 0x407430
call sym._msi_strequal
test eax, eax
je 0x4035f5
mov dword [0x406120], 1
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x40], 2
jmp 0x40221f
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + ebx + 4]
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], str.argvW__d____s_n
mov dword [esp + 8], str.WinMain
mov dword [esp + 4], 0x406010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x403496
mov eax, dword [eax + ebx]
mov edx, str.passive
call sym._msi_option_equal
test eax, eax
je 0x40363a
mov edx, str.REBOOTPROMPT_S_
lea eax, [ebp - 0x34]
call sym._StringListAppend
mov dword [ebp - 0x40], 0x63
mov edx, dword [ebp - 0x2c]
jmp 0x40221f
mov eax, dword [ebp - 0x28]
mov edx, str.uiet
mov eax, dword [eax + ebx]
add eax, 4
call sym._msi_strequal
test eax, eax
jne 0x403572
mov eax, dword [ebp - 0x28]
mov edx, 0x407437
mov eax, dword [eax + ebx]
add eax, 4
call sym._msi_strequal
test eax, eax
je 0x40378a
mov dword [ebp - 0x40], 4
mov edx, dword [ebp - 0x2c]
jmp 0x40221f
mov eax, dword [ebp - 0x28]
mov edx, 0x4074aa
mov eax, dword [eax + ebx]
call sym._msi_option_equal
test eax, eax
je 0x4036b2
inc edi
cmp dword [ebp - 0x2c], edi
jle 0x4032b4
test byte [0x406010], 8
je 0x403699
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + ebx + 4]
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], str.argvW__d____s_n
mov dword [esp + 8], str.WinMain
mov dword [esp + 4], 0x406010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x60], 1
mov eax, dword [eax + ebx + 4]
mov dword [ebp - 0x50], eax
jmp 0x40221f
mov eax, dword [ebp - 0x28]
mov edx, 0x4074ac
mov eax, dword [eax + ebx]
call sym._msi_option_equal
test eax, eax
je 0x40372a
inc edi
cmp dword [ebp - 0x2c], edi
jle 0x4032b4
test byte [0x406010], 8
je 0x403711
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + ebx + 4]
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], str.argvW__d____s_n
mov dword [esp + 8], str.WinMain
mov dword [esp + 4], 0x406010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x70], 1
mov eax, dword [eax + ebx + 4]
mov dword [ebp - 0x50], eax
jmp 0x40221f
mov eax, dword [ebp - 0x28]
mov edx, str.help
mov eax, dword [eax + ebx]
call sym._msi_option_equal
test eax, eax
jne 0x403827
mov eax, dword [ebp - 0x28]
mov edx, 0x4074b3
mov eax, dword [eax + ebx]
call sym._msi_option_equal
test eax, eax
jne 0x403827
mov eax, dword [ebp - 0x28]
mov edx, 0x4073f5
mov eax, dword [eax + ebx]
call sym._msi_option_equal
test eax, eax
je 0x4037fc
test byte [0x406010], 1
jne 0x4037b0
mov dword [ebp - 0x68], 1
mov edx, dword [ebp - 0x2c]
jmp 0x40221f
mov eax, dword [ebp - 0x28]
mov edx, 0x40736d
mov eax, dword [eax + ebx]
add eax, 4
call sym._msi_strequal
test eax, eax
je 0x4037d6
mov dword [ebp - 0x40], 0x85
mov edx, dword [ebp - 0x2c]
jmp 0x40221f
mov dword [esp + 0xc], str.Unknown_parameter__m_n
mov dword [esp + 8], str.WinMain
mov dword [esp + 4], 0x406010
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x40377b
mov eax, dword [ebp - 0x28]
mov edx, 0x407439
mov eax, dword [eax + ebx]
add eax, 4
call sym._msi_strequal
test eax, eax
je 0x40382e
mov dword [ebp - 0x40], 0x82
mov edx, dword [ebp - 0x2c]
jmp 0x40221f
mov eax, dword [ebp - 0x28]
mov edx, 0x4074cb
mov eax, dword [eax + ebx]
call sym._msi_option_equal
test eax, eax
je 0x40386b
test byte [0x406010], 1
je 0x40377b
mov dword [esp + 0xc], str.Unknown_parameter__D_n
jmp 0x4037b8
xor eax, eax
call sym._ShowUsage
mov eax, dword [ebp - 0x28]
mov edx, 0x40743c
mov eax, dword [eax + ebx]
add eax, 4
call sym._msi_strprefix
test eax, eax
mov eax, dword [ebp - 0x28]
jne 0x403892
mov eax, dword [eax + ebx]
add eax, 4
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp], str.Unknown_option___s__for_UI_level_n
mov dword [esp + 4], eax
call sym._report_error
mov edx, dword [ebp - 0x2c]
jmp 0x40221f
mov eax, dword [ebp - 0x28]
mov edx, 0x4074e3
mov eax, dword [eax + ebx]
call sym._msi_option_equal
test eax, eax
je 0x40391c
mov dword [ebp - 0x80], 1
mov edx, dword [ebp - 0x2c]
jmp 0x40221f
mov ebx, dword [eax + ebx]
mov esi, 3
add ebx, 6
cmp word [ebx], 0
je 0x403911
mov edx, 0x40743e
mov eax, ebx
call sym._msi_strprefix
test eax, eax
je 0x4038b9
or esi, 0x80
mov edx, 0x407440
mov eax, ebx
call sym._msi_strprefix
test eax, eax
je 0x4038cc
or esi, 0x40
mov edx, 0x407442
mov eax, ebx
call sym._msi_strprefix
test eax, eax
je 0x40390c
test byte [0x406010], 1
je 0x403909
mov dword [esp + 0xc], 0x407444
mov dword [esp + 8], str.WinMain
mov dword [esp + 4], 0x406010
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
or esi, 0x20
add ebx, 2
jmp 0x40389d
mov dword [ebp - 0x40], esi
mov edx, dword [ebp - 0x2c]
jmp 0x40221f
mov eax, dword [ebp - 0x28]
mov edx, dword [eax + ebx]
lea eax, [ebp - 0x34]
call sym._StringListAppend
mov edx, dword [ebp - 0x2c]
jmp 0x40221f
or edx, 4
inc ecx
jmp 0x4033e9
or dh, 0x10
inc ecx
jmp 0x4033e9
or edx, 8
inc ecx
jmp 0x4033e9
or dh, 2
inc ecx
jmp 0x4033e9
or dh, 4
inc ecx
jmp 0x4033e9
or dl, 0x80
inc ecx
jmp 0x4033e9
or edx, 1
inc ecx
jmp 0x4033e9
or edx, 0x10
inc ecx
jmp 0x4033e9
or edx, 2
inc ecx
jmp 0x4033e9
or dh, 8
inc ecx
jmp 0x4033e9
or dh, 1
inc ecx
jmp 0x4033e9
or dword [ebp - 0x88], 1
inc ecx
jmp 0x4033e9
mov edx, 0x7fdf
inc ecx
jmp 0x4033e9
or dword [ebp - 0x88], 2
inc ecx
jmp 0x4033e9
mov edi, dword [ebp - 0x90]
mov dword [ebp - 0x84], edx
inc edi
cmp dword [ebp - 0x2c], edi
jle 0x4032b4
test byte [0x406010], 8
jne 0x403a3c
mov ebx, dword [eax + ebx + 4]
mov eax, dword [ebp - 0x88]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x84]
mov dword [esp + 4], ebx
mov dword [esp], eax
call sym._MsiEnableLogW_12
sub esp, 0xc
test eax, eax
je 0x40392a
mov eax, ebx
call sym._wine_dbgstr_wn.constprop.0
mov esi, dword [ebp - 0x88]
mov dword [esp], str.Logging_in__s__0x_08lx___lu__failed_n
mov dword [esp + 4], eax
mov dword [esp + 0xc], esi
mov esi, dword [ebp - 0x84]
mov dword [esp + 8], esi
call sym._report_error
mov dword [esp], 1
call dword [sym.imp.kernel32.dll_ExitProcess]
mov eax, dword [eax + ebx + 4]
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], str.argvW__d____s_n
mov dword [esp + 8], str.WinMain
mov dword [esp + 4], 0x406010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov eax, dword [ebp - 0x28]
jmp 0x4039d9