Function at 0x4029b0
Capabilities:
Accept command line arguments
Delete service
Get process heap flags
Query or enumerate registry value
Terminate process

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, 0xb8
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x34], 0
call dword [sym.imp.kernel32.dll_GetCommandLineW]
lea ecx, [ebp - 0x34]
lea edx, [ebp - 0x38]
call sym._process_args
cmp dword [ebp - 0x38], 1
jg 0x402cd2
xor eax, eax
mov byte [ebp - 0x6c], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x54], 5
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x90], 0
mov word [ebp - 0x86], ax
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x54]
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._MsiSetInternalUI_8
mov eax, dword [ebp - 0x40]
sub esp, 8
mov edi, eax
test eax, eax
je 0x40374b
mov edx, eax
mov ebx, 1
lea esi, [esi]
cmp word [edx + 4], 0
lea ecx, [edx + 4]
je 0x402cc8
mov eax, ecx
add eax, 2
cmp word [eax], 0
jne 0x402ac0
sub eax, ecx
sar eax, 1
add eax, 3
mov edx, dword [edx]
add ebx, eax
test edx, edx
jne 0x402ab0
add ebx, ebx
mov dword [esp + 4], 0
mov dword [esp + 8], ebx
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x98], eax
sub esp, 0xc
mov esi, eax
jmp 0x402b1a
mov edi, dword [edi]
test edi, edi
je 0x402bef
lea edx, [edi + 4]
mov dword [esp + 4], 0x3d
mov dword [esp], edx
mov dword [ebp - 0x54], edx
call dword [sym.imp.ucrtbase.dll_wcschr]
mov ebx, eax
test eax, eax
je 0x402b10
mov edx, dword [ebp - 0x54]
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 - 0x54], ecx
call sym._memcpy
mov ecx, dword [ebp - 0x54]
mov eax, 0x3d
add esi, ecx
lea ecx, [ebx + 2]
mov word [esi], ax
mov dword [ebp - 0x54], ecx
mov dword [esp], ecx
mov dword [esp + 4], 0x20
call dword [sym.imp.ucrtbase.dll_wcschr]
mov ecx, dword [ebp - 0x54]
test eax, eax
mov dword [ebp - 0x58], eax
je 0x402cb0
mov eax, 0x22
lea edx, [esi + 4]
mov word [esi + 2], ax
cmp word [ebx + 2], 0
je 0x402bda
mov eax, ecx
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x402ba8
sub eax, ecx
mov dword [esp + 4], ecx
mov dword [esp], edx
mov ebx, eax
mov dword [esp + 8], eax
mov dword [ebp - 0x54], edx
call sym._memcpy
mov edx, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x58]
add edx, ebx
mov esi, edx
test ecx, ecx
je 0x402b10
mov eax, 0x22
lea esi, [edx + 2]
mov word [edx], ax
mov edi, dword [edi]
test edi, edi
jne 0x402b1a
xor eax, eax
mov word [esi], ax
test byte [section..data], 8
jne 0x4031cc
cmp byte [ebp - 0x6c], 0
jne 0x403241
mov eax, dword [ebp - 0x68]
test eax, eax
jne 0x4032e0
mov eax, dword [ebp - 0x70]
test eax, eax
jne 0x403337
mov eax, dword [ebp - 0x5c]
test eax, eax
jne 0x403717
mov edi, dword [ebp - 0x74]
test edi, edi
jne 0x403575
mov esi, dword [ebp - 0x84]
test esi, esi
jne 0x403793
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
jne 0x403b02
mov ecx, dword [ebp - 0x50]
test ecx, ecx
jne 0x403827
mov edx, dword [ebp - 0x94]
test edx, edx
jne 0x403e7c
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x404033
test byte [section..data], 1
je 0x403569
mov dword [esp + 0xc], str.Unknown_function__ignoring_n
mov dword [esp + 8], str.WinMain
mov dword [esp + 4], 0x406000
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
mov eax, dword [ebp - 0x7c]
jmp 0x403323
lea edx, [esi + 2]
cmp word [ebx + 2], 0
mov esi, edx
jne 0x402ba1
jmp 0x402b10
mov eax, 3
jmp 0x402ad0
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 4]
movzx eax, word [edx]
and eax, 0xfffffffd
cmp ax, 0x2d
jne 0x402eaf
lea eax, [edx + 2]
mov edx, 0x407233
call sym._msi_strequal
test eax, eax
je 0x402e97
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x2c], 0
mov edi, dword [eax + 8]
lea eax, [ebp - 0x30]
mov dword [esp + 4], str.SoftwareMicrosoftWindowsCurrentVersionInstallerRunOnceEntries
mov dword [esp + 8], eax
mov dword [esp], 0x80000002
mov dword [ebp - 0x28], 0
call sym._RegOpenKeyW_12
sub esp, 0xc
test eax, eax
jne 0x403569
lea eax, [ebp - 0x2c]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x28]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], eax
call sym._RegQueryValueExW_24
sub esp, 0x18
test eax, eax
jne 0x402e4b
cmp dword [ebp - 0x28], 1
jne 0x402e4b
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
cmp word [ecx], 0
je 0x404025
mov eax, ecx
add eax, 2
cmp word [eax], 0
jne 0x402d8a
sub eax, ecx
mov edx, eax
lea eax, [eax + 2]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
add eax, dword [ebp - 0x2c]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov esi, dword fs:[0x18]
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x50], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov edx, dword [ebp - 0x50]
sub esp, 0xc
test eax, eax
mov ebx, eax
je 0x402e4b
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x50], edx
mov eax, dword [eax]
mov dword [esp + 8], edx
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._memcpy
mov edx, dword [ebp - 0x50]
mov eax, 0x20
mov word [ebx + edx], ax
lea eax, [ebp - 0x2c]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp + 8], 0
add eax, ebx
mov dword [esp + 4], edi
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x28]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call sym._RegQueryValueExW_24
sub esp, 0x18
test eax, eax
je 0x402e5e
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call sym._RegCloseKey_4
sub esp, 4
jmp 0x403569
lea ecx, [ebp - 0x34]
lea edx, [ebp - 0x38]
mov eax, ebx
call sym._process_args
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [ebp - 0x30]
sub esp, 0xc
mov dword [esp], eax
call sym._RegCloseKey_4
sub esp, 4
mov eax, dword [ebp - 0x38]
cmp eax, 3
je 0x4036d9
cmp eax, 1
jle 0x4029f7
mov ecx, dword [ebp - 0x34]
xor ebx, ebx
mov edi, 1
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x54], 5
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
mov word [ebp - 0x86], bx
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x58], 0
lea esi, [esi]
nop
mov esi, dword [ecx + edi*4]
lea ebx, [edi*4]
test byte [section..data], 8
jne 0x403000
movzx eax, word [esi]
and eax, 0xfffffffd
cmp ax, 0x2d
je 0x402fd0
mov edx, str.umtgl
mov eax, esi
call sym._msi_strequal
test eax, eax
je 0x404076
mov eax, dword [ebp - 0x38]
inc edi
cmp eax, edi
jle 0x404033
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + ebx + 4]
mov dword [ebp - 0x60], edx
test byte [section..data], 8
jne 0x404106
mov dword [ebp - 0x80], 1
jmp 0x40406a
lea eax, [esi + 2]
mov edx, str.regserver
call sym._msi_strequal
test eax, eax
je 0x403070
mov dword [ebp - 0x4c], 1
mov eax, dword [ebp - 0x38]
inc edi
cmp edi, eax
jge 0x4030aa
mov ecx, dword [ebp - 0x34]
jmp 0x402f60
test esi, esi
je 0x4030e0
mov eax, esi
shr eax, 0x10
je 0x4030c0
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 0x403039
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], 0x406000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov eax, dword [ebp - 0x34]
mov esi, dword [eax + ebx]
jmp 0x402f77
mov eax, dword [ebp - 0x34]
mov esi, dword [eax + ebx]
movzx eax, word [esi]
and eax, 0xfffffffd
cmp ax, 0x2d
jne 0x402f83
lea eax, [esi + 2]
mov edx, str.unregserver
call sym._msi_strequal
test eax, eax
je 0x4030f0
mov eax, dword [ebp - 0x38]
inc edi
mov dword [ebp - 0x50], 1
cmp edi, eax
jl 0x402ff8
movzx eax, byte [ebp - 0x6c]
and al, byte [ebp - 0x5c]
xor eax, 1
and al, byte [ebp - 0x58]
mov byte [ebp - 0x6c], al
jmp 0x402a80
movzx esi, si
mov dword [esp], str._04x
mov dword [esp + 4], esi
call sym._wine_dbg_sprintf.constprop.0
jmp 0x403039
mov eax, str._null_
jmp 0x403039
mov eax, dword [ebp - 0x34]
mov esi, dword [eax + ebx]
movzx eax, word [esi]
and eax, 0xfffffffd
cmp ax, 0x2d
jne 0x402f83
lea eax, [esi + 2]
mov edx, str.unregister
call sym._msi_strequal
test eax, eax
jne 0x403097
mov eax, dword [ebp - 0x34]
mov esi, dword [eax + ebx]
movzx eax, word [esi]
and eax, 0xfffffffd
cmp ax, 0x2d
jne 0x402f83
lea eax, [esi + 2]
mov edx, str.unreg
call sym._msi_strequal
test eax, eax
jne 0x403097
mov eax, dword [ebp - 0x34]
mov esi, dword [eax + ebx]
movzx eax, word [esi]
and eax, 0xfffffffd
cmp ax, 0x2d
jne 0x402f83
lea eax, [esi + 2]
mov edx, 0x4072ff
call sym._msi_strprefix
test eax, eax
je 0x40348e
mov ecx, dword [ebp - 0x34]
mov esi, dword [ecx + ebx]
movzx edx, word [esi]
mov eax, edx
and eax, 0xfffffffd
cmp ax, 0x2d
je 0x403461
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x60], 8
mov eax, dword [ebp - 0x38]
test dx, dx
je 0x403630
mov edx, dword [ebp - 0x58]
nop
add edx, 2
cmp word [edx], 0
jne 0x4031a0
sub edx, dword [ebp - 0x58]
sar edx, 1
cmp dword [ebp - 0x60], edx
jge 0x403630
mov ebx, dword [ebp - 0x60]
mov dword [ebp - 0x58], 1
lea ebx, [esi + ebx*2]
mov dword [ebp - 0x60], ebx
jmp 0x402fef
mov eax, dword [ebp - 0x98]
test eax, eax
je 0x403789
shr eax, 0x10
je 0x4035ff
mov ebx, dword [ebp - 0x98]
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 0x40320f
mov eax, ebx
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], 0x406000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
cmp byte [ebp - 0x6c], 0
je 0x402c0b
mov eax, dword [ebp - 0x60]
cmp word [eax], 0
je 0x403265
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x403250
sub eax, dword [ebp - 0x60]
cmp eax, 0x4c
je 0x403927
mov eax, dword [ebp - 0x98]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x60]
mov dword [esp], eax
call sym._MsiInstallProductW_8
mov dword [ebp - 0x5c], eax
sub esp, 8
cmp eax, 2
jne 0x403326
mov eax, dword [ebp - 0x60]
call sym._get_path_with_extension
mov ebx, eax
test eax, eax
je 0x403e70
mov eax, dword [ebp - 0x98]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._MsiInstallProductW_8
sub esp, 8
mov esi, eax
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov dword [ebp - 0x5c], esi
sub esp, 0xc
jmp 0x403326
mov eax, dword [ebp - 0x60]
cmp word [eax], 0
je 0x403305
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x4032f0
sub eax, dword [ebp - 0x60]
cmp eax, 0x4c
je 0x40353f
mov eax, dword [ebp - 0x78]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x60]
mov dword [esp], eax
call sym._MsiReinstallProductW_8
sub esp, 8
cmp eax, 2
je 0x403d0f
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov edi, dword [ebp - 0x40]
test edi, edi
je 0x403cc3
mov edx, edi
mov ebx, 1
lea esi, [esi]
cmp word [edx + 4], 0
lea ecx, [edx + 4]
je 0x4036c7
mov eax, ecx
add eax, 2
cmp word [eax], 0
jne 0x403360
sub eax, ecx
sar eax, 1
inc eax
mov edx, dword [edx]
add ebx, eax
test edx, edx
jne 0x403350
add ebx, ebx
mov dword [esp + 4], 0
mov dword [esp + 8], ebx
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x58], eax
sub esp, 0xc
mov edx, eax
lea esi, [esi]
movzx ebx, word [edi + 4]
lea ecx, [edi + 4]
test bx, bx
je 0x4036d1
mov eax, ecx
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x4033c0
sub eax, ecx
mov esi, eax
sar esi, 1
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], esi
lea esi, [edx + eax]
mov dword [ebp - 0x4c], esi
cmp eax, 2
jbe 0x40361b
mov esi, dword [ebp - 0x50]
lea esi, [esi]
nop
dec esi
add edx, 2
add ecx, 2
mov word [edx - 2], bx
cmp esi, 1
je 0x403408
movzx ebx, word [ecx]
test bx, bx
jne 0x4033f0
xor esi, esi
mov word [edx], si
mov ebx, dword [edi]
test ebx, ebx
je 0x40342a
mov eax, dword [ebp - 0x4c]
mov ecx, 0x3b
mov word [eax], cx
mov edi, dword [edi]
lea edx, [eax + 2]
test edi, edi
jne 0x4033a8
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
xor edx, edx
mov word [eax], dx
movzx eax, word [ebp - 0x86]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x58]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x80]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x60]
mov dword [esp], eax
call sym._MsiAdvertiseProductW_16
mov dword [ebp - 0x5c], eax
sub esp, 0x10
jmp 0x403326
mov edx, 0x4072ff
lea eax, [esi + 2]
call sym._msi_strprefix
mov ecx, dword [ebp - 0x34]
test eax, eax
mov eax, dword [ecx + ebx]
mov dword [ebp - 0x58], eax
movzx edx, word [eax]
je 0x403188
mov dword [ebp - 0x60], 2
jmp 0x40318f
mov eax, dword [ebp - 0x34]
mov esi, dword [eax + ebx]
movzx eax, word [esi]
and eax, 0xfffffffd
cmp ax, 0x2d
jne 0x402f83
lea eax, [esi + 2]
mov edx, str.package
call sym._msi_strprefix
test eax, eax
jne 0x40316d
mov eax, dword [ebp - 0x34]
mov esi, dword [eax + ebx]
movzx eax, word [esi]
and eax, 0xfffffffd
cmp ax, 0x2d
jne 0x402f83
lea eax, [esi + 2]
mov edx, 0x407309
call sym._msi_strequal
test eax, eax
je 0x403a0f
inc edi
cmp dword [ebp - 0x38], edi
jle 0x404033
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + ebx + 4]
mov dword [ebp - 0x60], eax
test byte [section..data], 8
jne 0x40399a
mov edx, str.ACTIONADMIN
lea eax, [ebp - 0x40]
call sym._StringListAppend
test byte [section..data], 1
jne 0x403971
mov dword [ebp - 0x8c], 1
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x6c], 1
mov dword [ebp - 0x58], 1
jmp 0x402fef
lea eax, [ebp - 0x28]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x60]
mov dword [esp], eax
call sym._CLSIDFromString_8
sub esp, 8
test eax, eax
jne 0x403305
test byte [section..data], 1
jne 0x40375a
mov dword [ebp - 0x5c], 1
jmp 0x403326
mov eax, dword [ebp - 0x64]
lea ecx, [ebp - 0x28]
mov edx, str.DllRegisterServer
mov dword [ebp - 0x28], 0
call sym._LoadProc.constprop.0
call eax
test eax, eax
mov eax, dword [ebp - 0x64]
js 0x403c5d
test eax, eax
je 0x4038aa
shr eax, 0x10
je 0x403cf6
mov ebx, dword [ebp - 0x64]
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 0x4035d3
mov eax, ebx
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._printf
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x403326
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FreeLibrary]
sub esp, 4
jmp 0x403326
movzx eax, word [ebp - 0x98]
mov dword [esp], str._04x
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0
jmp 0x40320f
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x40340d
jmp 0x403408
inc edi
cmp edi, eax
jge 0x404033
mov edx, dword [ecx + ebx + 4]
mov dword [ebp - 0x60], edx
test byte [section..data], 8
je 0x403533
mov eax, edx
test edx, edx
je 0x40391d
shr eax, 0x10
je 0x403f03
mov esi, dword [ebp - 0x60]
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 0x403689
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], 0x406000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx + ebx + 4]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x38]
jmp 0x403533
mov eax, 1
jmp 0x40336e
mov dword [ebp - 0x4c], edx
jmp 0x40340d
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 4]
movzx eax, word [edx]
and eax, 0xfffffffd
cmp ax, 0x2d
jne 0x402eaf
lea eax, [edx + 2]
mov edx, str.Embedding
call sym._msi_strequal
test eax, eax
je 0x40381f
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 8]
call sym._custom_action_server
mov dword [ebp - 0x5c], eax
jmp 0x403326
mov eax, dword [ebp - 0x98]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x60]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x90]
mov dword [esp], eax
call sym._MsiApplyPatchW_16
mov dword [ebp - 0x5c], eax
sub esp, 0x10
jmp 0x403326
mov dword [ebp - 0x98], 0
jmp 0x402c01
mov dword [esp + 0xc], str.Product_code_treatment_not_implemented_yet_n
mov dword [esp + 8], str.WinMain
mov dword [esp + 4], 0x406000
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x5c], eax
jmp 0x403326
mov eax, str._null_
jmp 0x40320f
mov eax, dword [ebp - 0x64]
lea ecx, [ebp - 0x28]
mov edx, str.DllUnregisterServer
mov dword [ebp - 0x28], 0
call sym._LoadProc.constprop.0
call eax
test eax, eax
mov eax, dword [ebp - 0x64]
js 0x4038b4
test eax, eax
je 0x403f44
shr eax, 0x10
je 0x403e2d
mov ebx, dword [ebp - 0x64]
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 0x4037f1
mov eax, ebx
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._printf
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x403814
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FreeLibrary]
sub esp, 4
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x5c], eax
jmp 0x403326
mov eax, dword [ebp - 0x38]
jmp 0x402ea3
mov dword [esp + 8], 1
mov dword [esp + 4], str.ServicesActive
mov dword [esp], 0
call sym._OpenSCManagerW_12
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x403f90
mov dword [esp + 8], 0x10000
mov dword [esp + 4], 0x407066
mov dword [esp], eax
call sym._OpenServiceW_12
sub esp, 0xc
mov esi, eax
test eax, eax
je 0x403f4e
mov dword [esp], eax
call sym._DeleteService_4
mov dword [ebp - 0x5c], 0
sub esp, 4
test eax, eax
je 0x403f1c
mov dword [esp], esi
call sym._CloseServiceHandle_4
sub esp, 4
mov dword [esp], ebx
call sym._CloseServiceHandle_4
sub esp, 4
jmp 0x403326
mov eax, str._null_
jmp 0x4035d3
test eax, eax
je 0x40401b
shr eax, 0x10
je 0x404000
mov edi, dword [ebp - 0x64]
mov dword [esp + 4], 0xffffffff
mov ebx, str._invalid_
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
test eax, eax
jne 0x4038ee
mov eax, edi
call sym._wine_dbgstr_wn.part.0.constprop.0
mov ebx, eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 4], str.Failed_to_unregister_dll__s_n
mov dword [esp], eax
call sym._fprintf
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x74], eax
jmp 0x403814
mov eax, str._null_
jmp 0x403689
mov ebx, dword [ebp - 0x60]
lea eax, [ebp - 0x28]
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._CLSIDFromString_8
sub esp, 8
test eax, eax
jne 0x403265
mov eax, dword [ebp - 0x98]
mov dword [esp + 8], 5
mov dword [esp + 4], 0
mov dword [esp + 0xc], eax
mov dword [esp], ebx
call sym._MsiConfigureProductExW_16
mov dword [ebp - 0x5c], eax
sub esp, 0x10
jmp 0x403326
mov dword [esp + 0xc], str.Administrative_installs_are_not_currently_supported_n
mov dword [esp + 8], str.WinMain
mov dword [esp + 4], 0x406000
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x40351f
test eax, eax
je 0x403fd3
shr eax, 0x10
je 0x403e57
mov esi, dword [ebp - 0x60]
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 0x4039d4
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], 0x406000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + ebx + 4]
mov dword [ebp - 0x60], eax
jmp 0x403505
mov eax, dword [ebp - 0x34]
mov esi, dword [eax + ebx]
movzx eax, word [esi]
and eax, 0xfffffffd
cmp ax, 0x2d
jne 0x402f83
lea eax, [esi + 2]
mov edx, 0x40735d
call sym._msi_strprefix
test eax, eax
mov eax, dword [ebp - 0x34]
je 0x403b46
mov eax, dword [eax + ebx]
cmp word [eax], 0
je 0x403b17
mov edx, eax
add edx, 2
cmp word [edx], 0
jne 0x403a4c
sub edx, eax
mov ecx, edx
sar ecx, 1
cmp edx, 4
jle 0x403e46
mov edx, 2
mov esi, dword [ebp - 0x78]
mov dword [ebp - 0x60], edi
mov edi, edx
mov edx, ebx
movzx ebx, word [eax + edi*2]
lea eax, [ebx - 0x41]
cmp ax, 0x35
ja case.0x403a83.1
movzx eax, ax
jmp dword [eax*4 + 0x40763c]
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x68], edx
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 4], str.Unknown_option___c__in_Repair_mode_n
mov dword [esp], eax
call sym._fprintf
mov ecx, dword [ebp - 0x78]
mov edx, dword [ebp - 0x68]
inc edi
cmp edi, ecx
jge 0x403b0f
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + edx]
jmp 0x403a73
or esi, 0x400
jmp 0x403ab7
or esi, 0x100
jmp 0x403ab7
or esi, 0x200
jmp 0x403ab7
or esi, 2
jmp 0x403ab7
or esi, 4
jmp 0x403ab7
or esi, 0x80
jmp 0x403ab7
or esi, 8
jmp 0x403ab7
or esi, 0x10
jmp 0x403ab7
or esi, 0x20
jmp 0x403ab7
or esi, 0x40
jmp 0x403ab7
call sym._DoRegServer
mov dword [ebp - 0x5c], eax
jmp 0x403326
mov dword [ebp - 0x78], esi
mov edi, dword [ebp - 0x60]
mov ebx, edx
mov eax, dword [ebp - 0x38]
inc edi
cmp eax, edi
jle 0x404033
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + ebx + 4]
mov dword [ebp - 0x60], edx
test byte [section..data], 8
jne 0x403e89
mov dword [ebp - 0x68], 1
jmp 0x402fef
mov esi, dword [eax + ebx]
movzx eax, word [esi]
and eax, 0xfffffffd
cmp ax, 0x2d
jne 0x402f83
lea eax, [esi + 2]
mov edx, 0x407384
call sym._msi_strprefix
test eax, eax
je 0x403d35
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + ebx]
movzx edx, word [eax]
and edx, 0xfffffffd
cmp dx, 0x2d
jne 0x403bcb
add eax, 2
mov edx, 0x407384
call sym._msi_strprefix
test eax, eax
je 0x403bcb
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + ebx]
add eax, 4
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
cmp word [eax], 0
je 0x403bd2
test byte [section..data], 8
jne 0x403bfb
lea eax, [ebp - 0x40]
mov edx, str.REMOVEALL
call sym._StringListAppend
mov dword [ebp - 0x58], 1
mov eax, dword [ebp - 0x38]
jmp 0x402fef
mov ecx, dword [ebp - 0x60]
test ecx, ecx
jne 0x403b9d
inc edi
cmp dword [ebp - 0x38], edi
jle 0x404033
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + ebx + 4]
mov dword [ebp - 0x60], eax
test byte [section..data], 8
je 0x403baf
mov edx, dword [ebp - 0x60]
mov eax, str._null_
test edx, edx
je 0x403c30
mov eax, dword [ebp - 0x60]
shr eax, 0x10
je 0x403fdd
mov ebx, dword [ebp - 0x60]
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 0x403c30
mov eax, ebx
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], 0x406000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x403baf
test eax, eax
je 0x403ff6
shr eax, 0x10
je 0x403fb8
mov edi, dword [ebp - 0x64]
mov dword [esp + 4], 0xffffffff
mov ebx, str._invalid_
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
test eax, eax
jne 0x403c97
mov eax, edi
call sym._wine_dbgstr_wn.part.0.constprop.0
mov ebx, eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 4], str.Failed_to_register_dll__s_n
mov dword [esp], eax
call sym._fprintf
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x5c], eax
jmp 0x403326
mov dword [esp + 8], 2
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x4c], eax
sub esp, 0xc
mov dword [ebp - 0x58], eax
jmp 0x40342a
movzx eax, word [ebp - 0x64]
mov dword [esp], str._04x
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0
jmp 0x4035d3
mov eax, dword [ebp - 0x60]
call sym._get_path_with_extension
mov ebx, eax
test eax, eax
je 0x403e70
mov eax, dword [ebp - 0x78]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._MsiReinstallProductW_8
jmp 0x4032ad
mov eax, dword [ebp - 0x34]
mov esi, dword [eax + ebx]
movzx eax, word [esi]
and eax, 0xfffffffd
cmp ax, 0x2d
jne 0x402f83
lea eax, [esi + 2]
mov edx, str.uninstall
call sym._msi_strequal
test eax, eax
jne 0x403b6e
mov eax, dword [ebp - 0x34]
mov esi, dword [eax + ebx]
movzx eax, word [esi]
and eax, 0xfffffffd
cmp ax, 0x2d
jne 0x402f83
lea eax, [esi + 2]
mov edx, 0x4073b8
call sym._msi_strprefix
test eax, eax
mov eax, dword [ebp - 0x34]
je 0x4041ca
mov eax, dword [eax + ebx]
cmp word [eax], 0
je 0x40404f
mov edx, eax
add edx, 2
cmp word [edx], 0
jne 0x403d9d
sub edx, eax
mov ecx, edx
sar ecx, 1
mov dword [ebp - 0x60], ecx
cmp edx, 4
jle 0x40404f
mov edx, 2
mov dword [ebp - 0x70], edi
mov edi, edx
mov edx, ebx
mov ebx, dword [ebp - 0x80]
jmp 0x403dee
cmp si, 0x4d
je 0x404040
cmp si, 0x55
jne 0x403e04
mov ebx, 1
inc edi
cmp edi, dword [ebp - 0x60]
jge 0x404047
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + edx]
movzx esi, word [eax + edi*2]
cmp si, 0x6d
je 0x404040
jbe 0x403dc9
cmp si, 0x75
je 0x403dd9
mov dword [ebp - 0x80], edx
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], esi
mov dword [esp + 4], str.Unknown_option___c__in_Advertise_mode_n
mov dword [esp], eax
call sym._fprintf
mov edx, dword [ebp - 0x80]
jmp 0x403dde
movzx eax, word [ebp - 0x64]
mov dword [esp], str._04x
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0
jmp 0x4037f1
mov eax, 0x2aa
cmovne eax, dword [ebp - 0x78]
mov dword [ebp - 0x78], eax
jmp 0x403b17
movzx eax, word [ebp - 0x60]
mov dword [esp], str._04x
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0
jmp 0x4039d4
mov dword [ebp - 0x5c], 2
jmp 0x403326
call sym._DoService
mov dword [ebp - 0x5c], eax
jmp 0x403326
mov eax, edx
test edx, edx
je 0x4041eb
shr eax, 0x10
je 0x4041d2
mov esi, dword [ebp - 0x60]
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 0x403ec5
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], 0x406000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx + ebx + 4]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x38]
jmp 0x403b3a
movzx eax, word [ebp - 0x60]
mov dword [esp], str._04x
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0
jmp 0x403689
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 4], str.Failed_to_delete_MSI_service_n
mov dword [esp], eax
call sym._fprintf
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x5c], eax
jmp 0x40388f
mov eax, str._null_
jmp 0x4037f1
mov eax, dword fs:[0x18]
cmp dword [eax + 0x34], 0x424
mov dword [ebp - 0x5c], 0
je 0x40389a
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 4], str.Failed_to_open_MSI_service_n
mov dword [esp], eax
call sym._fprintf
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x5c], eax
jmp 0x40389a
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 4], str.Failed_to_open_service_control_manager_n
mov dword [esp], eax
call sym._fprintf
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x5c], eax
jmp 0x403326
movzx eax, word [ebp - 0x64]
mov dword [esp], str._04x
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0
mov ebx, eax
jmp 0x403c97
mov eax, str._null_
jmp 0x4039d4
movzx eax, word [ebp - 0x60]
mov dword [esp], str._04x
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0
jmp 0x403c30
mov ebx, str._null_
jmp 0x403c97
movzx eax, word [ebp - 0x64]
mov dword [esp], str._04x
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0
mov ebx, eax
jmp 0x4038ee
mov ebx, str._null_
jmp 0x4038ee
mov dword [ebp - 0x4c], 2
xor edx, edx
jmp 0x402d9d
mov eax, 1
call sym._ShowUsage
lea esi, [esi]
xor ebx, ebx
jmp 0x403dde
mov edi, dword [ebp - 0x70]
mov dword [ebp - 0x80], ebx
mov ebx, edx
mov eax, dword [ebp - 0x38]
inc edi
cmp eax, edi
jle 0x404033
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + ebx + 4]
mov dword [ebp - 0x60], edx
test byte [section..data], 8
jne 0x4040c1
mov dword [ebp - 0x70], 1
jmp 0x402fef
mov eax, dword [ebp - 0x34]
mov edx, 0x4073e5
mov eax, dword [eax + ebx]
call sym._msi_strequal
test eax, eax
je 0x404188
inc edi
cmp dword [ebp - 0x38], edi
jle 0x404033
test byte [section..data], 8
jne 0x40414b
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x70], 1
mov eax, dword [ecx + ebx + 4]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x38]
jmp 0x402fef
mov eax, edx
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], 0x406000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx + ebx + 4]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x38]
jmp 0x40406a
mov eax, edx
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], 0x406000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
mov ebx, dword [ecx + ebx + 4]
mov dword [ebp - 0x60], ebx
jmp 0x402fba
mov eax, dword [ebp - 0x34]
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], 0x406000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x4040a1
mov eax, dword [ebp - 0x34]
mov edx, 0x4073e7
mov eax, dword [eax + ebx]
call sym._msi_option_equal
test eax, eax
je 0x40422f
inc edi
cmp dword [ebp - 0x38], edi
jle 0x404033
test byte [section..data], 8
jne 0x4041f5
mov eax, dword [ebp - 0x34]
mov edx, dword [eax + ebx + 4]
lea eax, [ebp - 0x3c]
call sym._StringListAppend
mov eax, dword [ebp - 0x38]
jmp 0x402fef
mov esi, dword [eax + ebx]
jmp 0x402f83
movzx eax, word [ebp - 0x60]
mov dword [esp], str._04x
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0
jmp 0x403ec5
mov eax, str._null_
jmp 0x403ec5
mov eax, dword [ebp - 0x34]
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], 0x406000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x4041b3
mov eax, dword [ebp - 0x34]
mov edx, 0x4073e9
mov eax, dword [eax + ebx]
call sym._msi_option_equal
test eax, eax
jne 0x4042c7
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx + ebx]
movzx edx, word [eax]
and edx, 0xfffffffd
cmp dx, 0x2d
jne 0x40430e
add eax, 2
mov edx, 0x4073eb
call sym._msi_strprefix
mov ecx, dword [ebp - 0x34]
test eax, eax
je 0x40430e
mov esi, dword [ecx + ebx]
mov eax, esi
jmp 0x40427f
add eax, 2
cmp word [eax], 0
jne 0x40427c
sub eax, esi
mov dword [ebp - 0xa4], edi
mov edx, 2
sar eax, 1
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x98]
cmp edx, dword [ebp - 0xa0]
jge 0x40445b
movzx edi, word [esi + edx*2]
sub edi, 0x21
cmp di, 0x56
ja case.0x4042c0.1
movzx edi, di
jmp dword [edi*4 + 0x407714]
inc edi
cmp dword [ebp - 0x38], edi
jle 0x404033
test byte [section..data], 8
jne 0x4044ad
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + ebx + 4]
xor ebx, ebx
jmp 0x4042f3
imul ebx, ebx, 0xa
add edx, 2
lea ebx, [ebx + eax - 0x30]
movzx eax, word [edx]
lea ecx, [eax - 0x30]
cmp cx, 9
jbe 0x4042e9
mov word [ebp - 0x86], bx
mov eax, dword [ebp - 0x38]
jmp 0x402fef
mov eax, dword [ecx + ebx]
mov edx, 0x407413
call sym._msi_option_equal
test eax, eax
je 0x40439a
inc edi
cmp dword [ebp - 0x38], edi
jle 0x404033
test byte [section..data], 8
jne 0x404360
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x5c], 1
mov eax, dword [ecx + ebx + 4]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x38]
jmp 0x402fef
or eax, 4
inc edx
jmp 0x4042a0
or ah, 0x10
inc edx
jmp 0x4042a0
mov eax, dword [ebp - 0x34]
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], 0x406000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x404332
mov eax, dword [ebp - 0x34]
mov edx, str.update
mov eax, dword [eax + ebx]
call sym._msi_option_equal
test eax, eax
jne 0x40431f
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx + ebx]
movzx edx, word [eax]
and edx, 0xfffffffd
cmp dx, 0x2d
jne 0x4045a7
add eax, 2
mov edx, 0x40741c
call sym._msi_strprefix
mov ecx, dword [ebp - 0x34]
test eax, eax
je 0x4045a7
mov edx, dword [ecx + ebx]
mov eax, edx
jmp 0x4043ea
add eax, 2
cmp word [eax], 0
jne 0x4043e7
sub eax, edx
cmp eax, 4
je 0x40440c
lea eax, [edx + 4]
mov edx, 0x40741e
call sym._msi_strequal
test eax, eax
je 0x4045d4
mov dword [ebp - 0x54], 2
mov eax, dword [ebp - 0x38]
jmp 0x402fef
or eax, 8
inc edx
jmp 0x4042a0
or ah, 2
inc edx
jmp 0x4042a0
or ah, 1
inc edx
jmp 0x4042a0
or dword [ebp - 0x9c], 1
inc edx
jmp 0x4042a0
mov eax, 0x7fdf
inc edx
jmp 0x4042a0
or dword [ebp - 0x9c], 2
inc edx
jmp 0x4042a0
mov edi, dword [ebp - 0xa4]
mov dword [ebp - 0x98], eax
inc edi
cmp dword [ebp - 0x38], edi
jle 0x404033
test byte [section..data], 8
jne 0x404535
mov eax, dword [ebp - 0x9c]
mov ebx, dword [ecx + ebx + 4]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x98]
mov dword [esp + 4], ebx
mov dword [esp], eax
call sym._MsiEnableLogW_12
sub esp, 0xc
test eax, eax
jne 0x4044ea
mov eax, dword [ebp - 0x38]
jmp 0x402fef
mov eax, dword [ebp - 0x34]
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], 0x406000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x4042de
mov eax, ebx
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp], 2
mov ebx, eax
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov ecx, dword [ebp - 0x9c]
mov edx, dword [ebp - 0x98]
mov dword [esp + 8], ebx
mov dword [esp + 4], str.Logging_in__s__0x_08x___u__failed_n
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], edx
mov dword [esp], eax
call sym._fprintf
mov dword [esp], 1
call dword [sym.imp.kernel32.dll_ExitProcess]
mov eax, dword [ecx + 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], 0x406000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov ecx, dword [ebp - 0x34]
jmp 0x40447e
or eax, 1
inc edx
jmp 0x4042a0
or eax, 0x10
inc edx
jmp 0x4042a0
or eax, 2
inc edx
jmp 0x4042a0
or ah, 8
inc edx
jmp 0x4042a0
or ah, 4
inc edx
jmp 0x4042a0
or al, 0x80
inc edx
jmp 0x4042a0
mov eax, dword [ecx + ebx]
mov edx, str.passive
call sym._msi_option_equal
test eax, eax
je 0x404619
lea eax, [ebp - 0x40]
mov edx, str.REBOOTPROMPT_S_
call sym._StringListAppend
mov dword [ebp - 0x54], 0x63
mov eax, dword [ebp - 0x38]
jmp 0x402fef
mov eax, dword [ebp - 0x34]
mov edx, str.uiet
mov eax, dword [eax + ebx]
add eax, 4
call sym._msi_strequal
test eax, eax
jne 0x40440c
mov eax, dword [ebp - 0x34]
mov edx, 0x407425
mov eax, dword [eax + ebx]
add eax, 4
call sym._msi_strequal
test eax, eax
je 0x40476c
mov dword [ebp - 0x54], 4
mov eax, dword [ebp - 0x38]
jmp 0x402fef
mov eax, dword [ebp - 0x34]
mov edx, 0x40749a
mov eax, dword [eax + ebx]
call sym._msi_option_equal
test eax, eax
je 0x404691
inc edi
cmp dword [ebp - 0x38], edi
jle 0x404033
test byte [section..data], 8
je 0x404678
mov eax, dword [ebp - 0x34]
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], 0x406000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x74], 1
mov eax, dword [ecx + ebx + 4]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x38]
jmp 0x402fef
mov eax, dword [ebp - 0x34]
mov edx, 0x40749c
mov eax, dword [eax + ebx]
call sym._msi_option_equal
test eax, eax
je 0x40470c
inc edi
cmp dword [ebp - 0x38], edi
jle 0x404033
test byte [section..data], 8
je 0x4046f0
mov eax, dword [ebp - 0x34]
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], 0x406000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov dword [ebp - 0x84], 1
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx + ebx + 4]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x38]
jmp 0x402fef
mov eax, dword [ebp - 0x34]
mov edx, str.help
mov eax, dword [eax + ebx]
call sym._msi_option_equal
test eax, eax
jne 0x404809
mov eax, dword [ebp - 0x34]
mov edx, 0x4074a3
mov eax, dword [eax + ebx]
call sym._msi_option_equal
test eax, eax
jne 0x404809
mov eax, dword [ebp - 0x34]
mov edx, 0x4073e5
mov eax, dword [eax + ebx]
call sym._msi_option_equal
test eax, eax
je 0x4047de
test byte [section..data], 1
jne 0x404792
mov dword [ebp - 0x7c], 1
mov eax, dword [ebp - 0x38]
jmp 0x402fef
mov eax, dword [ebp - 0x34]
mov edx, 0x40735d
mov eax, dword [eax + ebx]
add eax, 4
call sym._msi_strequal
test eax, eax
je 0x4047b8
mov dword [ebp - 0x54], 0x85
mov eax, dword [ebp - 0x38]
jmp 0x402fef
mov dword [esp + 0xc], str.Unknown_parameter__m_n
mov dword [esp + 8], str.WinMain
mov dword [esp + 4], 0x406000
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x40475d
mov eax, dword [ebp - 0x34]
mov edx, 0x407427
mov eax, dword [eax + ebx]
add eax, 4
call sym._msi_strequal
test eax, eax
je 0x404810
mov dword [ebp - 0x54], 0x82
mov eax, dword [ebp - 0x38]
jmp 0x402fef
mov eax, dword [ebp - 0x34]
mov edx, 0x4074bb
mov eax, dword [eax + ebx]
call sym._msi_option_equal
test eax, eax
je 0x404860
test byte [section..data], 1
je 0x40475d
mov dword [esp + 0xc], str.Unknown_parameter__D_n
jmp 0x40479a
xor eax, eax
call sym._ShowUsage
mov eax, dword [ebp - 0x34]
mov edx, 0x40742a
mov eax, dword [eax + ebx]
add eax, 4
call sym._msi_strprefix
test eax, eax
jne 0x40488a
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + ebx]
add eax, 4
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp], 2
mov ebx, eax
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 4], str.Unknown_option___s__for_UI_level_n
mov dword [esp], eax
call sym._fprintf
mov eax, dword [ebp - 0x38]
jmp 0x402fef
mov eax, dword [ebp - 0x34]
mov edx, 0x4074d3
mov eax, dword [eax + ebx]
call sym._msi_option_equal
test eax, eax
je 0x404917
mov dword [ebp - 0x94], 1
mov eax, dword [ebp - 0x38]
jmp 0x402fef
mov ecx, dword [ebp - 0x34]
mov esi, 3
mov ebx, dword [ecx + ebx]
add ebx, 6
cmp word [ebx], 0
je 0x40490c
mov edx, 0x40742c
mov eax, ebx
call sym._msi_strprefix
test eax, eax
je 0x4048b4
or esi, 0x80
mov edx, 0x40742e
mov eax, ebx
call sym._msi_strprefix
test eax, eax
je 0x4048c7
or esi, 0x40
mov edx, 0x407430
mov eax, ebx
call sym._msi_strprefix
test eax, eax
je 0x404907
test byte [section..data], 1
je 0x404904
mov dword [esp + 0xc], 0x407432
mov dword [esp + 8], str.WinMain
mov dword [esp + 4], 0x406000
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
or esi, 0x20
add ebx, 2
jmp 0x404898
mov dword [ebp - 0x54], esi
mov eax, dword [ebp - 0x38]
jmp 0x402fef
mov eax, dword [ebp - 0x34]
mov edx, dword [eax + ebx]
lea eax, [ebp - 0x40]
call sym._StringListAppend
jmp 0x4044a5