Function at 0x401eb0
Capabilities:
Accept command line arguments
Create service
Create thread
Delete service
Get common file path
Query or enumerate registry value
Read file on windows
Terminate process
Write file on windows

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff8
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x2dc
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x250], 0
call dword [sym.imp.comctl32.dll_InitCommonControls]
call dword [sym.imp.kernel32.dll_GetCommandLineW]
lea ecx, [ebp - 0x250]
lea edx, [ebp - 0x254]
call sym._process_args
cmp dword [ebp - 0x254], 1
jle 0x403829
mov ecx, dword [ebp - 0x250]
mov ebx, dword [ecx + 4]
movzx eax, word [ebx]
and eax, 0xfffffffd
cmp ax, 0x2d
je 0x403320
xor eax, eax
mov edi, 1
mov dword [ebp - 0x29c], 0
mov dword [ebp - 0x28c], 5
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x2ac], 0
mov dword [ebp - 0x2a0], 0
mov dword [ebp - 0x298], 0
mov word [ebp - 0x2b2], ax
mov dword [ebp - 0x27c], 0
mov dword [ebp - 0x288], 0
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 0x2b8], 0
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x2b0], 0
mov dword [ebp - 0x2a4], 0
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x294], 0
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x270], 0
jmp 0x40206d
mov edx, str.umtgl
mov eax, ebx
call sym._msi_strequal
test eax, eax
je 0x402791
mov edx, dword [ebp - 0x254]
add edi, 1
cmp edx, edi
jle 0x405753
mov ecx, dword [ebp - 0x250]
mov eax, dword [ecx + esi + 4]
mov dword [ebp - 0x264], eax
test byte [section..data], 8
jne 0x402ef0
mov dword [ebp - 0x27c], 1
mov dword [ebp - 0x284], 1
lea esi, [esi]
lea esi, [esi]
add edi, 1
cmp edi, edx
jge 0x4020bf
mov ecx, dword [ebp - 0x250]
mov ebx, dword [ecx + edi*4]
lea esi, [edi*4]
test byte [section..data], 8
jne 0x402498
movzx eax, word [ebx]
and eax, 0xfffffffd
cmp ax, 0x2d
jne 0x402000
mov edx, str.regserver
mov eax, ebx
call sym._msi_option_equal.part.0
test eax, eax
je 0x402300
mov edx, dword [ebp - 0x254]
add edi, 1
mov dword [ebp - 0x26c], 1
cmp edi, edx
jl 0x402067
movzx eax, byte [ebp - 0x278]
and al, byte [ebp - 0x280]
xor eax, 1
and al, byte [ebp - 0x270]
mov byte [ebp - 0x298], al
mov eax, dword [ebp - 0x28c]
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._MsiSetInternalUI_8
mov edi, dword [ebp - 0x25c]
sub esp, 8
test edi, edi
je 0x404639
mov edx, edi
mov ebx, 1
lea esi, [esi]
cmp word [edx + 4], 0
lea ecx, [edx + 4]
je 0x403010
mov eax, ecx
add eax, 2
cmp word [eax], 0
jne 0x402120
sub eax, ecx
sar eax, 1
add eax, 3
mov edx, dword [edx]
add ebx, eax
test edx, edx
jne 0x402110
add ebx, ebx
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0x2a0], eax
mov dword [ebp - 0x260], eax
jmp 0x402162
mov edi, dword [edi]
test edi, edi
je 0x40225e
lea esi, [edi + 4]
mov dword [esp + 4], 0x3d
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_wcschr]
mov ebx, eax
test eax, eax
je 0x402158
mov ecx, dword [ebp - 0x260]
mov edx, 0x20
mov word [ecx], dx
lea eax, [ecx + 2]
mov ecx, ebx
sub ecx, esi
mov dword [esp + 4], esi
mov esi, eax
mov dword [esp + 8], ecx
mov dword [esp], eax
mov dword [ebp - 0x260], ecx
mov dword [ebp - 0x28c], eax
call sym._memcpy
mov ecx, dword [ebp - 0x260]
lea edx, [ebx + 2]
mov dword [ebp - 0x270], edx
add ecx, esi
mov esi, 0x3d
mov word [ecx], si
mov dword [ebp - 0x278], ecx
mov dword [esp], edx
mov dword [esp + 4], 0x20
call dword [sym.imp.ucrtbase.dll_wcschr]
mov edx, dword [ebp - 0x270]
test eax, eax
mov dword [ebp - 0x274], eax
je 0x402d68
mov ecx, dword [ebp - 0x278]
mov eax, 0x22
mov word [ecx + 2], ax
cmp word [ebx + 2], 0
lea esi, [ecx + 4]
je 0x402243
mov eax, edx
nop
add eax, 2
cmp word [eax], 0
jne 0x402210
sub eax, edx
mov dword [esp], esi
mov dword [esp + 8], eax
mov ebx, eax
mov dword [esp + 4], edx
add esi, ebx
call sym._memcpy
mov ebx, dword [ebp - 0x274]
mov dword [ebp - 0x260], esi
test ebx, ebx
je 0x402158
mov ecx, 0x22
lea eax, [esi + 2]
mov word [esi], cx
mov edi, dword [edi]
mov dword [ebp - 0x260], eax
test edi, edi
jne 0x402162
mov eax, dword [ebp - 0x260]
xor edx, edx
mov word [eax], dx
test byte [section..data], 8
jne 0x403b0b
cmp byte [ebp - 0x298], 0
jne 0x403bfb
mov ebx, dword [ebp - 0x294]
test ebx, ebx
je 0x40321a
mov eax, dword [ebp - 0x264]
cmp word [eax], 0
je 0x4022b8
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x4022a0
sub eax, dword [ebp - 0x264]
cmp eax, 0x4c
je 0x403cc4
mov eax, dword [ebp - 0x288]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x264]
mov dword [esp], eax
call sym._MsiReinstallProductW_8
sub esp, 8
cmp eax, 2
je 0x40465c
mov dword [ebp - 0x280], eax
mov eax, dword [ebp - 0x280]
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov eax, dword [ebp - 0x250]
mov ebx, dword [eax + esi]
movzx eax, word [ebx]
and eax, 0xfffffffd
cmp ax, 0x2d
jne 0x402000
mov edx, str.unregserver
mov eax, ebx
call sym._msi_option_equal.part.0
test eax, eax
jne 0x402480
mov eax, dword [ebp - 0x250]
mov ebx, dword [eax + esi]
movzx eax, word [ebx]
and eax, 0xfffffffd
cmp ax, 0x2d
jne 0x402000
mov edx, str.unregister
mov eax, ebx
call sym._msi_option_equal.part.0
test eax, eax
jne 0x402480
mov eax, dword [ebp - 0x250]
mov ebx, dword [eax + esi]
movzx eax, word [ebx]
and eax, 0xfffffffd
cmp ax, 0x2d
jne 0x402000
mov edx, str.unreg
mov eax, ebx
call sym._msi_option_equal.part.0
test eax, eax
jne 0x402480
mov eax, dword [ebp - 0x250]
mov ebx, dword [eax + esi]
movzx eax, word [ebx]
and eax, 0xfffffffd
cmp ax, 0x2d
jne 0x402000
mov edx, 0x408277
mov eax, ebx
call sym._msi_option_prefix.part.0
test eax, eax
jne 0x402808
mov eax, dword [ebp - 0x250]
mov ebx, dword [eax + esi]
movzx eax, word [ebx]
and eax, 0xfffffffd
cmp ax, 0x2d
jne 0x402000
mov edx, str.package
mov eax, ebx
call sym._msi_option_prefix.part.0
test eax, eax
jne 0x402808
mov eax, dword [ebp - 0x250]
mov ebx, dword [eax + esi]
movzx eax, word [ebx]
and eax, 0xfffffffd
cmp ax, 0x2d
jne 0x402000
mov edx, 0x408281
mov eax, ebx
call sym._msi_option_equal.part.0
test eax, eax
je 0x4026c0
add edi, 1
cmp dword [ebp - 0x254], edi
jle 0x405753
mov eax, dword [ebp - 0x250]
mov eax, dword [eax + esi + 4]
mov dword [ebp - 0x264], eax
test byte [section..data], 8
jne 0x402dc0
mov edx, str.ACTIONADMIN
lea eax, [ebp - 0x25c]
call sym._StringListAppend
test byte [section..data], 1
jne 0x402d90
mov dword [ebp - 0x290], 1
mov edx, dword [ebp - 0x254]
mov dword [ebp - 0x278], 1
mov dword [ebp - 0x270], 1
jmp 0x402060
mov dword [ebp - 0x268], 1
mov edx, dword [ebp - 0x254]
jmp 0x402060
test ebx, ebx
je 0x402908
mov eax, ebx
shr eax, 0x10
je 0x4026a0
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 0x4025c4
cmp word [ebx], 0
je 0x402aa8
lea esi, [esi]
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp word [ebx + edx*2 + 2], 0
jne 0x4024e0
mov ecx, 0x224c
mov dword [ebp - 0x274], edi
mov word [ebp - 0x230], cx
lea ecx, [ebp - 0x22e]
mov dword [ebp - 0x260], ebx
jmp 0x402543
cmp ax, 9
je 0x402670
cmp ax, 0xa
jne 0x40261e
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea edi, [ebp - 0x10e]
lea eax, [edx - 1]
cmp ecx, edi
ja 0x402590
test edx, edx
jle 0x402590
mov edx, eax
add dword [ebp - 0x260], 2
mov eax, dword [ebp - 0x260]
movzx eax, word [eax - 2]
cmp ax, 0xd
je 0x402600
jbe 0x402510
cmp ax, 0x22
je 0x402688
cmp ax, 0x5c
jne 0x402611
mov ebx, 0x5c5c
lea edi, [ebp - 0x10e]
lea eax, [edx - 1]
add ecx, 2
mov word [ecx - 2], bx
cmp ecx, edi
jbe 0x40253d
lea esi, [esi]
mov byte [ecx], 0x22
mov edi, dword [ebp - 0x274]
test eax, eax
jle 0x402ac1
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x230]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov edx, eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.argvW__d____s_n
mov dword [esp + 8], str.WinMain
mov dword [esp + 4], 0x407000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov eax, dword [ebp - 0x250]
mov ebx, dword [eax + esi]
jmp 0x402084
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x402530
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x4027f8
mov edi, eax
mov byte [ecx], 0x5c
add ecx, 5
shr di, 0xc
movzx edi, di
movzx ebx, byte [edi + str.0123456789abcdefcustom_action_server]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [ecx - 4], bl
movzx ebx, byte [edi + str.0123456789abcdefcustom_action_server]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + str.0123456789abcdefcustom_action_server]
and edi, 0xf
mov byte [ecx - 3], bl
movzx ebx, byte [edi + str.0123456789abcdefcustom_action_server]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x402530
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x402530
mov edi, 0x225c
add ecx, 2
mov word [ecx - 2], di
jmp 0x402530
movzx ebx, bx
mov dword [esp], str._04x
mov dword [esp + 4], ebx
call sym._wine_dbg_sprintf.constprop.0
mov edx, eax
jmp 0x4025c4
mov eax, dword [ebp - 0x250]
mov ebx, dword [eax + esi]
movzx eax, word [ebx]
and eax, 0xfffffffd
cmp ax, 0x2d
jne 0x402000
mov edx, 0x4082d5
mov eax, ebx
call sym._msi_option_prefix.part.0
test eax, eax
mov eax, dword [ebp - 0x250]
jne 0x402c28
mov ebx, dword [eax + esi]
movzx eax, word [ebx]
and eax, 0xfffffffd
cmp ax, 0x2d
jne 0x402000
mov edx, 0x4082fc
mov eax, ebx
call sym._msi_option_prefix.part.0
test eax, eax
jne 0x402890
mov eax, dword [ebp - 0x250]
mov ebx, dword [eax + esi]
movzx eax, word [ebx]
and eax, 0xfffffffd
cmp ax, 0x2d
jne 0x402000
mov edx, str.uninstall
mov eax, ebx
call sym._msi_option_equal.part.0
test eax, eax
jne 0x402890
mov eax, dword [ebp - 0x250]
mov ebx, dword [eax + esi]
movzx eax, word [ebx]
and eax, 0xfffffffd
cmp ax, 0x2d
jne 0x402000
mov edx, 0x408330
mov eax, ebx
call sym._msi_option_prefix.part.0
test eax, eax
mov eax, dword [ebp - 0x250]
jne 0x403050
mov ebx, dword [eax + esi]
mov edx, str.umtgl
mov eax, ebx
call sym._msi_strequal
test eax, eax
jne 0x402014
mov eax, dword [ebp - 0x250]
mov edx, 0x40835d
mov eax, dword [eax + esi]
call sym._msi_strequal
test eax, eax
je 0x403020
mov edx, dword [ebp - 0x254]
add edi, 1
cmp edx, edi
jle 0x405753
mov ecx, dword [ebp - 0x250]
mov eax, dword [ecx + esi + 4]
mov dword [ebp - 0x264], eax
test byte [section..data], 8
jne 0x403411
mov dword [ebp - 0x27c], 0
mov dword [ebp - 0x284], 1
jmp 0x402060
mov byte [ecx], al
add ecx, 1
jmp 0x402530
mov ecx, dword [ebp - 0x250]
mov ebx, dword [ecx + esi]
movzx eax, word [ebx]
mov edx, eax
and edx, 0xfffffffd
cmp dx, 0x2d
je 0x402bf0
mov dword [ebp - 0x260], ebx
mov dword [ebp - 0x264], 8
mov edx, dword [ebp - 0x254]
test ax, ax
je 0x402ad0
mov eax, dword [ebp - 0x260]
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x402850
sub eax, dword [ebp - 0x260]
sar eax, 1
cmp dword [ebp - 0x264], eax
jge 0x402ad0
mov dword [ebp - 0x270], 1
mov eax, dword [ebp - 0x264]
lea eax, [ebx + eax*2]
mov dword [ebp - 0x264], eax
jmp 0x402060
mov eax, dword [ebp - 0x250]
mov ecx, dword [eax + esi]
movzx eax, word [ecx]
and eax, 0xfffffffd
cmp ax, 0x2d
jne 0x402918
mov edx, 0x4082fc
mov eax, ecx
call sym._msi_option_prefix.part.0
test eax, eax
je 0x402918
mov eax, dword [ebp - 0x250]
mov eax, dword [eax + esi]
add eax, 4
mov dword [ebp - 0x264], eax
mov eax, dword [ebp - 0x264]
cmp word [eax], 0
je 0x402922
test byte [section..data], 8
jne 0x402957
mov edx, str.REMOVEALL
lea eax, [ebp - 0x25c]
call sym._StringListAppend
mov edx, dword [ebp - 0x254]
mov dword [ebp - 0x270], 1
jmp 0x402060
mov edx, str._null_
jmp 0x4025c4
mov eax, dword [ebp - 0x264]
test eax, eax
jne 0x4028c7
add edi, 1
cmp dword [ebp - 0x254], edi
jle 0x405753
mov eax, dword [ebp - 0x250]
mov eax, dword [eax + esi + 4]
mov dword [ebp - 0x264], eax
test byte [section..data], 8
je 0x4028dc
mov edx, str._null_
test eax, eax
je 0x402a75
mov eax, dword [ebp - 0x264]
shr eax, 0x10
je 0x403aed
mov esi, dword [ebp - 0x264]
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, str._invalid_
sub esp, 8
test eax, eax
jne 0x402a75
cmp word [esi], 0
je 0x40427c
mov ecx, esi
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp word [ecx + edx*2 + 2], 0
jne 0x4029a0
mov ebx, dword [ebp - 0x264]
mov ecx, 0x224c
mov word [ebp - 0x230], cx
lea ecx, [ebp - 0x22e]
mov dword [ebp - 0x260], ebx
jmp 0x402a03
cmp ax, 9
je 0x403760
cmp ax, 0xa
jne 0x40370e
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea eax, [edx - 1]
test edx, edx
jle 0x402a47
lea esi, [ebp - 0x10e]
cmp ecx, esi
ja 0x402a47
mov edx, eax
add dword [ebp - 0x260], 2
mov eax, dword [ebp - 0x260]
movzx eax, word [eax - 2]
cmp ax, 0xd
je 0x4036f0
jbe 0x4029d0
cmp ax, 0x22
je 0x403778
cmp ax, 0x5c
jne 0x403701
mov ebx, 0x5c5c
add ecx, 2
lea eax, [edx - 1]
mov word [ecx - 2], bx
test edx, edx
jg 0x4029f7
mov byte [ecx], 0x22
test eax, eax
jle 0x404295
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x230]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov edx, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.PackageName___s_n
mov dword [esp + 8], str.WinMain
mov dword [esp + 4], 0x407000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x4028dc
mov edx, 0x224c
mov byte [ebp - 0x22e], 0x22
lea ecx, [ebp - 0x22e]
mov word [ebp - 0x230], dx
lea eax, [ecx + 1]
jmp 0x4025b1
add edi, 1
cmp edi, edx
jge 0x405753
mov eax, dword [ecx + esi + 4]
mov dword [ebp - 0x264], eax
test byte [section..data], 8
je 0x402471
test eax, eax
je 0x404480
shr eax, 0x10
je 0x403ca6
mov ebx, dword [ebp - 0x264]
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 0x4036a3
cmp word [ebx], 0
je 0x404618
mov ecx, ebx
lea esi, [esi]
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp word [ecx + edx*2 + 2], 0
jne 0x402b40
mov ebx, 0x224c
mov dword [ebp - 0x260], edi
lea ecx, [ebp - 0x22e]
mov word [ebp - 0x230], bx
jmp 0x402bab
cmp ax, 9
je 0x404098
cmp ax, 0xa
jne 0x40401d
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea edi, [ebp - 0x10e]
lea eax, [edx - 1]
cmp ecx, edi
ja 0x40366f
test edx, edx
jle 0x40366f
mov edx, eax
add dword [ebp - 0x264], 2
mov eax, dword [ebp - 0x264]
movzx eax, word [eax - 2]
cmp ax, 0xd
je 0x404081
jbe 0x402b70
cmp ax, 0x22
je 0x404070
cmp ax, 0x5c
jne 0x404010
mov ebx, 0x5c5c
add ecx, 2
mov word [ecx - 2], bx
jmp 0x402b90
mov edx, 0x408277
mov eax, ebx
call sym._msi_option_prefix.part.0
mov ecx, dword [ebp - 0x250]
test eax, eax
mov eax, dword [ecx + esi]
mov dword [ebp - 0x260], eax
movzx eax, word [eax]
je 0x402829
mov dword [ebp - 0x264], 2
jmp 0x402833
mov eax, dword [eax + esi]
cmp word [eax], 0
je 0x402cde
mov edx, eax
lea esi, [esi]
nop
add edx, 2
cmp word [edx], 0
jne 0x402c40
sub edx, eax
mov ecx, edx
sar ecx, 1
cmp edx, 4
jle 0x403971
mov edx, ecx
mov dword [ebp - 0x260], edi
mov edi, dword [ebp - 0x288]
mov ecx, esi
mov ebx, 2
mov esi, edx
nop
movzx edx, word [eax + ebx*2]
lea eax, [edx - 0x41]
cmp ax, 0x35
ja case.0x402c80.1
movzx eax, ax
jmp dword [eax*4 + 0x408648]
mov dword [esp + 4], edx
mov dword [esp], str.Unknown_option___c__in_Repair_mode_n
mov dword [ebp - 0x264], ecx
call sym._report_error
mov ecx, dword [ebp - 0x264]
lea esi, [esi]
add ebx, 1
cmp ebx, esi
jge 0x402cd0
mov eax, dword [ebp - 0x250]
mov eax, dword [eax + ecx]
jmp 0x402c70
add ebx, 1
or edi, 0x400
cmp ebx, esi
jl 0x402cb7
nop
mov dword [ebp - 0x288], edi
mov edi, dword [ebp - 0x260]
mov esi, ecx
mov edx, dword [ebp - 0x254]
add edi, 1
cmp edx, edi
jle 0x405753
mov ecx, dword [ebp - 0x250]
mov eax, dword [ecx + esi + 4]
mov dword [ebp - 0x264], eax
test byte [section..data], 8
jne 0x403988
mov dword [ebp - 0x294], 1
jmp 0x402060
or edi, 0x100
jmp 0x402cb0
or edi, 0x200
jmp 0x402cb0
or edi, 2
jmp 0x402cb0
or edi, 4
jmp 0x402cb0
or edi, 0x80
jmp 0x402cb0
or edi, 8
jmp 0x402cb0
or edi, 0x10
jmp 0x402cb0
or edi, 0x20
jmp 0x402cb0
or edi, 0x40
jmp 0x402cb0
mov eax, dword [ebp - 0x28c]
mov esi, dword [ebp - 0x260]
cmp word [ebx + 2], 0
lea esi, [eax + esi + 2]
jne 0x40220c
mov dword [ebp - 0x260], esi
jmp 0x402158
mov dword [esp + 0xc], str.Administrative_installs_are_not_currently_supported_n
mov dword [esp + 8], str.WinMain
mov dword [esp + 4], 0x407000
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x402457
test eax, eax
je 0x404268
shr eax, 0x10
je 0x403357
mov ebx, dword [ebp - 0x264]
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 0x403370
cmp word [ebx], 0
je 0x403d04
mov ecx, ebx
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp word [ecx + edx*2 + 2], 0
jne 0x402e08
mov eax, 0x224c
mov dword [ebp - 0x260], edi
lea ecx, [ebp - 0x22e]
mov word [ebp - 0x230], ax
jmp 0x402e63
cmp ax, 9
je 0x403818
cmp ax, 0xa
jne 0x403796
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea edi, [ebp - 0x10e]
lea eax, [edx - 1]
cmp ecx, edi
ja 0x402ead
test edx, edx
jle 0x402ead
mov edx, eax
add dword [ebp - 0x264], 2
mov eax, dword [ebp - 0x264]
movzx eax, word [eax - 2]
cmp ax, 0xd
je 0x403801
jbe 0x402e30
cmp ax, 0x22
je 0x4037f0
cmp ax, 0x5c
jne 0x403789
mov ebx, 0x5c5c
lea edi, [ebp - 0x10e]
lea eax, [edx - 1]
add ecx, 2
mov word [ecx - 2], bx
cmp ecx, edi
jbe 0x402e5d
mov byte [ecx], 0x22
mov edi, dword [ebp - 0x260]
test eax, eax
jle 0x403d1d
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x230]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov edx, eax
jmp 0x403370
test eax, eax
je 0x40429d
shr eax, 0x10
je 0x4033b1
mov ebx, dword [ebp - 0x264]
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 0x4033ca
cmp word [ebx], 0
je 0x403de3
mov ecx, ebx
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp word [ecx + edx*2 + 2], 0
jne 0x402f38
mov ecx, 0x224c
mov dword [ebp - 0x260], edi
mov word [ebp - 0x230], cx
lea ecx, [ebp - 0x22e]
jmp 0x402f93
cmp ax, 9
je 0x4038f0
cmp ax, 0xa
jne 0x40390e
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea eax, [edx - 1]
test edx, edx
jle 0x402fd7
lea edi, [ebp - 0x10e]
cmp ecx, edi
ja 0x402fd7
mov edx, eax
add dword [ebp - 0x264], 2
mov eax, dword [ebp - 0x264]
movzx eax, word [eax - 2]
cmp ax, 0xd
je 0x4038de
jbe 0x402f60
cmp ax, 0x22
je 0x403960
cmp ax, 0x5c
jne 0x403901
mov ebx, 0x5c5c
add ecx, 2
lea eax, [edx - 1]
mov word [ecx - 2], bx
test edx, edx
jg 0x402f87
mov byte [ecx], 0x22
mov edi, dword [ebp - 0x260]
test eax, eax
jle 0x403dfc
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x230]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov edx, eax
jmp 0x4033ca
mov eax, 3
jmp 0x402130
mov eax, dword [ebp - 0x250]
mov eax, dword [eax + esi]
movzx edx, word [eax]
and edx, 0xfffffffd
cmp dx, 0x2d
je 0x4032d0
mov edx, eax
lea eax, [ebp - 0x25c]
call sym._StringListAppend
jmp 0x404808
mov eax, dword [eax + esi]
cmp word [eax], 0
je 0x4030fc
mov edx, eax
nop
add edx, 2
cmp word [edx], 0
jne 0x403060
sub edx, eax
mov ecx, edx
sar ecx, 1
cmp edx, 4
jle 0x4030fc
mov dword [ebp - 0x264], edi
mov ebx, 2
mov edi, esi
mov esi, dword [ebp - 0x27c]
jmp 0x4030b5
cmp ax, 0x4d
je 0x403668
cmp ax, 0x55
jne 0x4030cb
mov esi, 1
add ebx, 1
cmp ebx, ecx
jge 0x4030ee
mov eax, dword [ebp - 0x250]
mov eax, dword [eax + edi]
movzx eax, word [eax + ebx*2]
cmp ax, 0x6d
je 0x403668
jbe 0x403090
cmp ax, 0x75
je 0x4030a0
mov dword [esp + 4], eax
add ebx, 1
mov dword [esp], str.Unknown_option___c__in_Advertise_mode_n
mov dword [ebp - 0x260], ecx
call sym._report_error
mov ecx, dword [ebp - 0x260]
cmp ebx, ecx
jl 0x4030ac
mov dword [ebp - 0x27c], esi
mov esi, edi
mov edi, dword [ebp - 0x264]
mov edx, dword [ebp - 0x254]
add edi, 1
cmp edx, edi
jle 0x405753
mov ecx, dword [ebp - 0x250]
mov eax, dword [ecx + esi + 4]
mov dword [ebp - 0x264], eax
test byte [section..data], 8
je 0x40204c
test eax, eax
je 0x404d3e
shr eax, 0x10
je 0x4046c7
mov ebx, dword [ebp - 0x264]
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 0x404210
cmp word [ebx], 0
mov ecx, ebx
je 0x40498f
nop
mov edx, eax
lea eax, [eax + 1]
cmp word [ecx + edx*2 + 2], 0
jne 0x403170
mov eax, 0x224c
mov dword [ebp - 0x260], edi
lea ebx, [ebp - 0x22e]
mov word [ebp - 0x230], ax
jmp 0x4031db
cmp ax, 9
je 0x404607
cmp ax, 0xa
jne 0x404561
mov eax, 0x6e5c
add ebx, 2
mov word [ebx - 2], ax
lea esi, [esi]
nop
lea eax, [edx - 1]
test edx, edx
jle 0x4041dc
lea ecx, [ebp - 0x10e]
cmp ebx, ecx
ja 0x4041dc
mov edx, eax
add dword [ebp - 0x264], 2
mov eax, dword [ebp - 0x264]
movzx eax, word [eax - 2]
cmp ax, 0xd
je 0x4045c3
jbe 0x403197
cmp ax, 0x22
je 0x4045b2
cmp ax, 0x5c
jne 0x404554
mov ecx, 0x5c5c
add ebx, 2
mov word [ebx - 2], cx
jmp 0x4031c0
mov ecx, dword [ebp - 0x284]
test ecx, ecx
jne 0x404375
mov edx, dword [ebp - 0x280]
test edx, edx
jne 0x403e04
mov eax, dword [ebp - 0x2a4]
test eax, eax
jne 0x4046e5
mov eax, dword [ebp - 0x2b0]
test eax, eax
jne 0x404cd2
mov eax, dword [ebp - 0x26c]
test eax, eax
jne 0x40489e
mov eax, dword [ebp - 0x268]
test eax, eax
jne 0x405014
mov eax, dword [ebp - 0x2b8]
test eax, eax
jne 0x405269
mov edi, dword [ebp - 0x2a8]
test edi, edi
je 0x405753
test byte [section..data], 1
je 0x403cf5
mov dword [esp + 0xc], str.Unknown_function__ignoring_n
mov dword [esp + 8], str.WinMain
mov dword [esp + 4], 0x407000
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
mov eax, dword [ebp - 0x2a8]
mov dword [ebp - 0x280], eax
jmp 0x4022e2
mov edx, 0x40835f
call sym._msi_option_equal.part.0
test eax, eax
je 0x4034fa
add edi, 1
cmp dword [ebp - 0x254], edi
jle 0x405753
mov eax, dword [ebp - 0x250]
mov ebx, dword [eax + esi + 4]
test byte [section..data], 8
jne 0x404b63
mov edx, ebx
lea eax, [ebp - 0x258]
call sym._StringListAppend
mov edx, dword [ebp - 0x254]
jmp 0x402060
mov edx, 0x4080c7
mov eax, ebx
call sym._msi_option_equal.part.0
test eax, eax
jne 0x403d25
mov eax, dword [ebp - 0x254]
cmp eax, 3
je 0x4040a9
cmp eax, 1
jle 0x403829
mov ecx, dword [ebp - 0x250]
jmp 0x401f28
movzx eax, word [ebp - 0x264]
mov dword [esp], str._04x
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0
mov edx, eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.argvW__d____s_n
mov dword [esp + 8], str.WinMain
mov dword [esp + 4], 0x407000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov eax, dword [ebp - 0x250]
mov eax, dword [eax + esi + 4]
mov dword [ebp - 0x264], eax
jmp 0x40243a
movzx eax, word [ebp - 0x264]
mov dword [esp], str._04x
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0
mov edx, eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.argvW__d____s_n
mov dword [esp + 8], str.WinMain
mov dword [esp + 4], 0x407000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov ecx, dword [ebp - 0x250]
mov edx, dword [ebp - 0x254]
mov eax, dword [ecx + esi + 4]
mov dword [ebp - 0x264], eax
jmp 0x402042
test eax, eax
je 0x404827
shr eax, 0x10
je 0x404688
mov ebx, dword [ebp - 0x264]
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 0x404115
cmp word [ebx], 0
mov ecx, ebx
je 0x40487d
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp word [ecx + edx*2 + 2], 0
jne 0x403458
mov eax, 0x224c
mov dword [ebp - 0x260], edi
lea ebx, [ebp - 0x22e]
mov word [ebp - 0x230], ax
jmp 0x4034bb
cmp ax, 9
je 0x4044b9
cmp ax, 0xa
jne 0x4044e8
mov eax, 0x6e5c
add ebx, 2
mov word [ebx - 2], ax
nop
lea ecx, [ebp - 0x10e]
lea eax, [edx - 1]
cmp ebx, ecx
ja 0x4040e1
test edx, edx
jle 0x4040e1
mov edx, eax
add dword [ebp - 0x264], 2
mov eax, dword [ebp - 0x264]
movzx eax, word [eax - 2]
cmp ax, 0xd
je 0x4044ca
jbe 0x40347f
cmp ax, 0x22
je 0x404539
cmp ax, 0x5c
jne 0x4044db
mov ecx, 0x5c5c
add ebx, 2
mov word [ebx - 2], cx
jmp 0x4034a0
mov eax, dword [ebp - 0x250]
mov eax, dword [eax + esi]
movzx edx, word [eax]
and edx, 0xfffffffd
cmp dx, 0x2d
jne 0x403039
mov edx, 0x408361
call sym._msi_option_equal.part.0
test eax, eax
jne 0x403ede
mov eax, dword [ebp - 0x250]
mov eax, dword [eax + esi]
movzx edx, word [eax]
and edx, 0xfffffffd
cmp dx, 0x2d
jne 0x403039
mov edx, 0x408363
call sym._msi_option_prefix.part.0
test eax, eax
mov eax, dword [ebp - 0x250]
jne 0x404753
mov eax, dword [eax + esi]
movzx edx, word [eax]
and edx, 0xfffffffd
cmp dx, 0x2d
jne 0x403039
mov edx, 0x40838d
call sym._msi_option_equal.part.0
test eax, eax
jne 0x4042a7
mov eax, dword [ebp - 0x250]
mov eax, dword [eax + esi]
movzx edx, word [eax]
and edx, 0xfffffffd
cmp dx, 0x2d
jne 0x403039
mov edx, str.update
call sym._msi_option_equal.part.0
test eax, eax
jne 0x4042a7
mov eax, dword [ebp - 0x250]
mov eax, dword [eax + esi]
movzx edx, word [eax]
and edx, 0xfffffffd
cmp dx, 0x2d
jne 0x403039
mov edx, 0x408396
call sym._msi_option_prefix.part.0
test eax, eax
jne 0x404e55
mov eax, dword [ebp - 0x250]
mov eax, dword [eax + esi]
movzx edx, word [eax]
and edx, 0xfffffffd
cmp dx, 0x2d
jne 0x403039
mov edx, str.passive
call sym._msi_option_equal.part.0
test eax, eax
jne 0x404e30
mov eax, dword [ebp - 0x250]
mov eax, dword [eax + esi]
movzx edx, word [eax]
and edx, 0xfffffffd
cmp dx, 0x2d
jne 0x403039
mov edx, 0x408412
call sym._msi_option_equal.part.0
test eax, eax
je 0x403f42
mov edx, dword [ebp - 0x254]
add edi, 1
cmp edx, edi
jle 0x405753
mov ecx, dword [ebp - 0x250]
mov eax, dword [ecx + esi + 4]
mov dword [ebp - 0x29c], eax
test byte [section..data], 8
jne 0x405371
mov dword [ebp - 0x2a4], 1
jmp 0x402060
xor esi, esi
jmp 0x4030a5
mov byte [ecx], 0x22
mov edi, dword [ebp - 0x260]
test eax, eax
jle 0x404631
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x230]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov edx, eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.argvW__d____s_n
mov dword [esp + 8], str.WinMain
mov dword [esp + 4], 0x407000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov ecx, dword [ebp - 0x250]
mov edx, dword [ebp - 0x254]
mov eax, dword [ecx + esi + 4]
mov dword [ebp - 0x264], eax
jmp 0x402471
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x4029f0
lea esi, [eax - 0x20]
cmp si, 0x5e
jbe 0x403bf1
mov esi, eax
mov byte [ecx], 0x5c
add ecx, 5
shr si, 0xc
movzx esi, si
movzx ebx, byte [esi + str.0123456789abcdefcustom_action_server]
mov esi, eax
shr si, 8
and esi, 0xf
mov byte [ecx - 4], bl
movzx ebx, byte [esi + str.0123456789abcdefcustom_action_server]
mov esi, eax
and eax, 0xf
shr si, 4
movzx eax, byte [eax + str.0123456789abcdefcustom_action_server]
and esi, 0xf
mov byte [ecx - 3], bl
movzx ebx, byte [esi + str.0123456789abcdefcustom_action_server]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x4029f0
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x4029f0
mov esi, 0x225c
add ecx, 2
mov word [ecx - 2], si
jmp 0x4029f0
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x403c92
mov edi, eax
mov byte [ecx], 0x5c
add ecx, 5
shr di, 0xc
movzx edi, di
movzx ebx, byte [edi + str.0123456789abcdefcustom_action_server]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [ecx - 4], bl
movzx ebx, byte [edi + str.0123456789abcdefcustom_action_server]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + str.0123456789abcdefcustom_action_server]
and edi, 0xf
mov byte [ecx - 3], bl
movzx ebx, byte [edi + str.0123456789abcdefcustom_action_server]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x402e50
mov edi, 0x225c
add ecx, 2
mov word [ecx - 2], di
jmp 0x402e50
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x402e50
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x402e50
xor edi, edi
mov byte [ebp - 0x298], 0
mov dword [ebp - 0x29c], 0
mov dword [ebp - 0x28c], 5
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x2ac], 0
mov word [ebp - 0x2b2], di
mov dword [ebp - 0x27c], 0
mov dword [ebp - 0x288], 0
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 0x2b8], 0
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x2b0], 0
mov dword [ebp - 0x2a4], 0
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x294], 0
jmp 0x4020db
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x402f80
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x402f80
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x403c9c
mov edi, eax
mov byte [ecx], 0x5c
add ecx, 5
shr di, 0xc
movzx edi, di
movzx ebx, byte [edi + str.0123456789abcdefcustom_action_server]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [ecx - 4], bl
movzx ebx, byte [edi + str.0123456789abcdefcustom_action_server]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + str.0123456789abcdefcustom_action_server]
and edi, 0xf
mov byte [ecx - 3], bl
movzx ebx, byte [edi + str.0123456789abcdefcustom_action_server]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x402f80
mov edi, 0x225c
add ecx, 2
mov word [ecx - 2], di
jmp 0x402f80
mov eax, 0x2aa
cmovne eax, dword [ebp - 0x288]
mov dword [ebp - 0x288], eax
jmp 0x402cde
test eax, eax
je 0x404652
shr eax, 0x10
je 0x404494
mov ebx, dword [ebp - 0x264]
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 0x403aa6
cmp word [ebx], 0
je 0x4046a6
mov ecx, ebx
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp word [ecx + edx*2 + 2], 0
jne 0x4039d0
mov eax, 0x224c
mov dword [ebp - 0x260], edi
lea ecx, [ebp - 0x22e]
mov word [ebp - 0x230], ax
jmp 0x403a33
cmp ax, 9
je 0x4041cb
cmp ax, 0xa
jne 0x404169
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea edi, [ebp - 0x10e]
lea eax, [edx - 1]
cmp ecx, edi
ja 0x403a72
test edx, edx
jle 0x403a72
mov edx, eax
add dword [ebp - 0x264], 2
mov eax, dword [ebp - 0x264]
movzx eax, word [eax - 2]
cmp ax, 0xd
je 0x404257
jbe 0x403a00
cmp ax, 0x22
je 0x4041ba
cmp ax, 0x5c
jne 0x40415c
mov ebx, 0x5c5c
add ecx, 2
mov word [ecx - 2], bx
jmp 0x403a20
mov byte [ecx], 0x22
mov edi, dword [ebp - 0x260]
test eax, eax
jle 0x4046bf
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x230]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov edx, eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.argvW__d____s_n
mov dword [esp + 8], str.WinMain
mov dword [esp + 4], 0x407000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov ecx, dword [ebp - 0x250]
mov edx, dword [ebp - 0x254]
mov eax, dword [ecx + esi + 4]
mov dword [ebp - 0x264], eax
jmp 0x402d0c
movzx eax, word [ebp - 0x264]
mov dword [esp], str._04x
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0
mov edx, eax
jmp 0x402a75
mov eax, dword [ebp - 0x2a0]
test eax, eax
je 0x404749
shr eax, 0x10
je 0x403e3e
mov esi, dword [ebp - 0x2a0]
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, str._invalid_
sub esp, 8
test eax, eax
jne 0x403e57
cmp word [esi], 0
je 0x404cb1
mov ecx, esi
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp word [ecx + edx*2 + 2], 0
jne 0x403b58
mov ebx, 0x224c
mov esi, dword [ebp - 0x2a0]
lea ecx, [ebp - 0x22e]
lea edi, [ebp - 0x10e]
mov word [ebp - 0x230], bx
jmp 0x403bbd
cmp ax, 9
je 0x404364
cmp ax, 0xa
jne 0x404302
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea esi, [esi]
lea eax, [edx - 1]
test edx, edx
jle 0x4045d4
cmp ecx, edi
ja 0x4045d4
mov edx, eax
movzx eax, word [esi]
add esi, 2
cmp ax, 0xd
je 0x4042e4
jbe 0x403b85
cmp ax, 0x22
je 0x404353
cmp ax, 0x5c
jne 0x4042f5
mov eax, 0x5c5c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x403ba8
mov byte [ecx], al
add ecx, 1
jmp 0x4029f0
mov eax, dword [ebp - 0x264]
cmp word [eax], 0
je 0x403c28
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x403c10
sub eax, dword [ebp - 0x264]
cmp eax, 0x4c
je 0x403e84
mov eax, dword [ebp - 0x2a0]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x264]
mov dword [esp], eax
call sym._MsiInstallProductW_8
mov dword [ebp - 0x280], eax
sub esp, 8
cmp eax, 2
jne 0x4022e2
mov eax, dword [ebp - 0x264]
call sym._get_path_with_extension
mov ebx, eax
test eax, eax
je 0x404831
mov eax, dword [ebp - 0x2a0]
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 - 0x280], esi
jmp 0x4022e2
mov byte [ecx], al
add ecx, 1
jmp 0x402e50
mov byte [ecx], al
add ecx, 1
jmp 0x402f80
movzx eax, word [ebp - 0x264]
mov dword [esp], str._04x
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0
mov edx, eax
jmp 0x4036a3
lea eax, [ebp - 0x230]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x264]
mov dword [esp], eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
sub esp, 8
test eax, eax
jne 0x4022b8
test byte [section..data], 1
jne 0x404a3a
mov dword [ebp - 0x280], 1
jmp 0x4022e2
mov eax, 0x224c
mov byte [ebp - 0x22e], 0x22
lea ecx, [ebp - 0x22e]
mov word [ebp - 0x230], ax
lea eax, [ecx + 1]
jmp 0x402ece
mov eax, dword [ebp - 0x250]
mov eax, dword [eax + 8]
mov dword [esp + 4], str.SoftwareMicrosoftWindowsCurrentVersionInstallerRunOnceEntries
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x248]
mov dword [ebp - 0x230], 0
mov dword [esp + 8], eax
mov dword [esp], 0x80000002
call dword [sym.imp.advapi32.dll_RegOpenKeyW]
sub esp, 0xc
test eax, eax
jne 0x403cf5
mov eax, dword [ebp - 0x260]
lea ebx, [ebp - 0x240]
lea esi, [ebp - 0x230]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], ebx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x248]
mov dword [esp + 0xc], esi
mov dword [esp], eax
mov eax, dword [sym.imp.advapi32.dll_RegQueryValueExW]
mov dword [esp + 8], 0
mov dword [ebp - 0x26c], eax
call eax
sub esp, 0x18
test eax, eax
mov eax, dword [ebp - 0x248]
jne 0x403dd2
cmp dword [ebp - 0x230], 1
mov dword [ebp - 0x268], eax
je 0x4054a8
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
jmp 0x403cf5
mov edx, 0x224c
mov byte [ebp - 0x22e], 0x22
lea ecx, [ebp - 0x22e]
mov word [ebp - 0x230], dx
lea eax, [ecx + 1]
jmp 0x402ff8
mov eax, dword [ebp - 0x2a0]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x290]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x264]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x2ac]
mov dword [esp], eax
call sym._MsiApplyPatchW_16
mov dword [ebp - 0x280], eax
sub esp, 0x10
jmp 0x4022e2
movzx eax, word [ebp - 0x2a0]
mov dword [esp], str._04x
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0
mov edx, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.properties_____s_n
mov dword [esp + 8], str.build_properties
mov dword [esp + 4], 0x407000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x402276
lea eax, [ebp - 0x230]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x264]
mov dword [esp], eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
sub esp, 8
test eax, eax
jne 0x403c28
mov eax, dword [ebp - 0x2a0]
mov dword [esp + 8], 5
mov dword [esp + 4], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x264]
mov dword [esp], eax
call sym._MsiConfigureProductExW_16
mov dword [ebp - 0x280], eax
sub esp, 0x10
jmp 0x4022e2
mov edx, dword [ebp - 0x254]
add edi, 1
cmp edx, edi
jle 0x405753
mov ecx, dword [ebp - 0x250]
mov ebx, dword [ecx + esi + 4]
test byte [section..data], 8
jne 0x4049f2
movzx eax, word [ebx]
lea ecx, [eax - 0x30]
cmp cx, 9
ja 0x405669
xor ecx, ecx
lea esi, [esi]
nop
lea ecx, [ecx + ecx*4]
add ebx, 2
lea ecx, [eax + ecx*2 - 0x30]
movzx eax, word [ebx]
lea esi, [eax - 0x30]
cmp si, 9
jbe 0x403f20
mov word [ebp - 0x2b2], cx
jmp 0x402060
mov eax, dword [ebp - 0x250]
mov eax, dword [eax + esi]
movzx edx, word [eax]
and edx, 0xfffffffd
cmp dx, 0x2d
jne 0x403039
mov edx, 0x408414
call sym._msi_option_equal.part.0
test eax, eax
jne 0x404840
mov eax, dword [ebp - 0x250]
mov eax, dword [eax + esi]
movzx edx, word [eax]
and edx, 0xfffffffd
cmp dx, 0x2d
jne 0x403039
mov edx, str.help
call sym._msi_option_equal.part.0
test eax, eax
jne 0x4057f3
mov eax, dword [ebp - 0x250]
mov eax, dword [eax + esi]
movzx edx, word [eax]
and edx, 0xfffffffd
cmp dx, 0x2d
jne 0x403039
mov edx, 0x40841b
call sym._msi_option_equal.part.0
test eax, eax
jne 0x4057f3
mov eax, dword [ebp - 0x250]
mov eax, dword [eax + esi]
movzx edx, word [eax]
and edx, 0xfffffffd
cmp dx, 0x2d
jne 0x403039
mov edx, 0x40835d
call sym._msi_option_equal.part.0
test eax, eax
je 0x404d48
test byte [section..data], 1
jne 0x4055d6
mov dword [ebp - 0x2a8], 1
mov edx, dword [ebp - 0x254]
jmp 0x402060
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x404272
mov edi, eax
mov byte [ecx], 0x5c
add ecx, 5
shr di, 0xc
movzx edi, di
movzx ebx, byte [edi + str.0123456789abcdefcustom_action_server]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [ecx - 4], bl
movzx ebx, byte [edi + str.0123456789abcdefcustom_action_server]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + str.0123456789abcdefcustom_action_server]
and edi, 0xf
mov byte [ecx - 3], bl
movzx ebx, byte [edi + str.0123456789abcdefcustom_action_server]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x402b90
mov edi, 0x225c
add ecx, 2
mov word [ecx - 2], di
jmp 0x402b90
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x402b90
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x402b90
mov ecx, dword [ebp - 0x250]
mov ebx, dword [ecx + 4]
movzx eax, word [ebx]
and eax, 0xfffffffd
cmp ax, 0x2d
jne 0x401f28
mov edx, str.Embedding
mov eax, ebx
call sym._msi_option_equal.part.0
test eax, eax
jne 0x404da9
mov eax, dword [ebp - 0x254]
jmp 0x403343
mov byte [ebx], 0x22
mov edi, dword [ebp - 0x260]
test eax, eax
jle 0x404896
mov edx, 0x2e2e
mov byte [ebx + 3], 0x2e
lea eax, [ebx + 4]
mov word [ebx + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x230]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov edx, eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.argvW__d____s_n
mov dword [esp + 8], str.WinMain
mov dword [esp + 4], 0x407000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov ecx, dword [ebp - 0x250]
mov edx, dword [ebp - 0x254]
mov eax, dword [ecx + esi + 4]
mov dword [ebp - 0x264], eax
jmp 0x4027da
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x40454a
mov edi, eax
mov byte [ecx], 0x5c
add ecx, 5
shr di, 0xc
movzx edi, di
movzx ebx, byte [edi + str.0123456789abcdefcustom_action_server]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [ecx - 4], bl
movzx ebx, byte [edi + str.0123456789abcdefcustom_action_server]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + str.0123456789abcdefcustom_action_server]
and edi, 0xf
mov byte [ecx - 3], bl
movzx ebx, byte [edi + str.0123456789abcdefcustom_action_server]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x403a20
mov edi, 0x225c
add ecx, 2
mov word [ecx - 2], di
jmp 0x403a20
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x403a20
mov byte [ebx], 0x22
mov edi, dword [ebp - 0x260]
test eax, eax
jle 0x4049a8
mov edx, 0x2e2e
mov byte [ebx + 3], 0x2e
lea eax, [ebx + 4]
mov word [ebx + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x230]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov edx, eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.argvW__d____s_n
mov dword [esp + 8], str.WinMain
mov dword [esp + 4], 0x407000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov ecx, dword [ebp - 0x250]
mov edx, dword [ebp - 0x254]
mov eax, dword [ecx + esi + 4]
mov dword [ebp - 0x264], eax
jmp 0x40204c
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x403a20
mov edx, str._null_
jmp 0x403370
mov byte [ecx], al
add ecx, 1
jmp 0x402b90
mov ebx, 0x224c
mov byte [ebp - 0x22e], 0x22
lea ecx, [ebp - 0x22e]
mov word [ebp - 0x230], bx
lea eax, [ecx + 1]
jmp 0x402a62
mov edx, str._null_
jmp 0x4033ca
mov edx, dword [ebp - 0x254]
add edi, 1
cmp edx, edi
jle 0x405753
mov ecx, dword [ebp - 0x250]
mov eax, dword [ecx + esi + 4]
mov dword [ebp - 0x2ac], eax
test byte [section..data], 8
jne 0x404b17
mov dword [ebp - 0x280], 1
jmp 0x402060
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x403ba8
lea ebx, [eax - 0x20]
cmp bx, 0x5e
jbe 0x404648
mov ebx, eax
mov byte [ecx], 0x5c
add ecx, 5
shr bx, 0xc
movzx ebx, bx
movzx ebx, byte [ebx + str.0123456789abcdefcustom_action_server]
mov byte [ecx - 4], bl
mov ebx, eax
shr bx, 8
and ebx, 0xf
movzx ebx, byte [ebx + str.0123456789abcdefcustom_action_server]
mov byte [ecx - 3], bl
mov ebx, eax
and eax, 0xf
shr bx, 4
movzx eax, byte [eax + str.0123456789abcdefcustom_action_server]
and ebx, 0xf
movzx ebx, byte [ebx + str.0123456789abcdefcustom_action_server]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x403ba8
mov eax, 0x225c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x403ba8
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x403ba8
mov esi, dword [ebp - 0x25c]
test esi, esi
je 0x404ffc
mov edx, esi
mov ebx, 1
lea esi, [esi]
cmp word [edx + 4], 0
lea ecx, [edx + 4]
je 0x40448a
mov eax, ecx
add eax, 2
cmp word [eax], 0
jne 0x4043a0
sub eax, ecx
sar eax, 1
add eax, 1
mov edx, dword [edx]
add ebx, eax
test edx, edx
jne 0x404390
add ebx, ebx
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0x260], eax
mov ecx, eax
lea esi, [esi]
nop
cmp word [esi + 4], 0
lea edx, [esi + 4]
je 0x4044b2
mov eax, edx
add eax, 2
cmp word [eax], 0
jne 0x4043e0
sub eax, edx
mov edi, eax
add eax, ecx
sar edi, 1
mov ebx, edi
cmp edi, 1
ja 0x404412
jmp 0x404478
sub ebx, 1
add ecx, 2
add edx, 2
mov word [ecx - 2], di
cmp ebx, 1
je 0x40441a
movzx edi, word [edx]
test di, di
jne 0x404400
xor edx, edx
mov word [ecx], dx
mov edi, dword [esi]
test edi, edi
je 0x404438
mov ebx, 0x3b
lea ecx, [eax + 2]
mov word [eax], bx
mov esi, dword [esi]
test esi, esi
jne 0x4043d0
mov eax, ecx
xor ecx, ecx
movzx ebx, word [ebp - 0x2b2]
mov word [eax], cx
mov eax, dword [ebp - 0x260]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x27c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x264]
mov dword [esp], eax
call sym._MsiAdvertiseProductW_16
mov dword [ebp - 0x280], eax
sub esp, 0x10
jmp 0x4022e2
test edi, edi
je 0x40441f
jmp 0x40441a
mov edx, str._null_
jmp 0x4036a3
mov eax, 1
jmp 0x4043b0
movzx eax, word [ebp - 0x264]
mov dword [esp], str._04x
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0
mov edx, eax
jmp 0x403aa6
mov eax, ecx
jmp 0x40441f
mov eax, 0x745c
add ebx, 2
mov word [ebx - 2], ax
jmp 0x4034a0
mov eax, 0x725c
add ebx, 2
mov word [ebx - 2], ax
jmp 0x4034a0
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x404813
mov edi, eax
mov byte [ebx], 0x5c
add ebx, 5
shr di, 0xc
movzx edi, di
movzx ecx, byte [edi + str.0123456789abcdefcustom_action_server]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [ebx - 4], cl
movzx ecx, byte [edi + str.0123456789abcdefcustom_action_server]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + str.0123456789abcdefcustom_action_server]
and edi, 0xf
mov byte [ebx - 3], cl
movzx ecx, byte [edi + str.0123456789abcdefcustom_action_server]
mov byte [ebx - 1], al
mov byte [ebx - 2], cl
jmp 0x4034a0
mov edi, 0x225c
add ebx, 2
mov word [ebx - 2], di
jmp 0x4034a0
mov byte [ecx], al
add ecx, 1
jmp 0x403a20
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x40481d
mov edi, eax
mov byte [ebx], 0x5c
add ebx, 5
shr di, 0xc
movzx edi, di
movzx ecx, byte [edi + str.0123456789abcdefcustom_action_server]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [ebx - 4], cl
movzx ecx, byte [edi + str.0123456789abcdefcustom_action_server]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + str.0123456789abcdefcustom_action_server]
and edi, 0xf
mov byte [ebx - 3], cl
movzx ecx, byte [edi + str.0123456789abcdefcustom_action_server]
mov byte [ebx - 1], al
mov byte [ebx - 2], cl
jmp 0x4031c0
mov edi, 0x225c
add ebx, 2
mov word [ebx - 2], di
jmp 0x4031c0
mov eax, 0x725c
add ebx, 2
mov word [ebx - 2], ax
jmp 0x4031c0
mov byte [ecx], 0x22
test eax, eax
jle 0x404cca
mov esi, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], si
mov byte [eax], 0
lea eax, [ebp - 0x230]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov edx, eax
jmp 0x403e57
mov eax, 0x745c
add ebx, 2
mov word [ebx - 2], ax
jmp 0x4031c0
mov eax, 0x224c
mov byte [ebp - 0x22e], 0x22
lea ecx, [ebp - 0x22e]
mov word [ebp - 0x230], ax
lea eax, [ecx + 1]
jmp 0x403690
mov dword [ebp - 0x2a0], 0
jmp 0x402276
mov byte [ecx], al
add ecx, 1
jmp 0x403ba8
mov edx, str._null_
jmp 0x403aa6
mov eax, dword [ebp - 0x264]
call sym._get_path_with_extension
mov ebx, eax
test eax, eax
je 0x404831
mov eax, dword [ebp - 0x288]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._MsiReinstallProductW_8
jmp 0x403c79
movzx eax, word [ebp - 0x264]
mov dword [esp], str._04x
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0
mov edx, eax
jmp 0x404115
mov eax, 0x224c
mov byte [ebp - 0x22e], 0x22
lea ecx, [ebp - 0x22e]
mov word [ebp - 0x230], ax
lea eax, [ecx + 1]
jmp 0x403a93
movzx eax, word [ebp - 0x264]
mov dword [esp], str._04x
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0
mov edx, eax
jmp 0x404210
mov eax, dword [ebp - 0x29c]
lea ecx, [ebp - 0x230]
mov edx, str.DllRegisterServer
mov dword [ebp - 0x230], 0
call sym._LoadProc.constprop.0
call eax
test eax, eax
mov eax, dword [ebp - 0x29c]
js 0x404a6f
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp], str.Successfully_registered_dll__s_n
mov dword [esp + 4], eax
call sym._wine_dbg_printf
mov eax, dword [ebp - 0x230]
test eax, eax
je 0x4022e2
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FreeLibrary]
sub esp, 4
jmp 0x4022e2
mov edx, str._null_
jmp 0x403e57
mov ecx, dword [eax + esi]
mov dword [ebp - 0x260], eax
cmp word [ecx], 0
je 0x4047bb
mov eax, ecx
add eax, 2
cmp word [eax], 0
jne 0x404764
sub eax, ecx
mov ebx, eax
sar ebx, 1
cmp eax, 4
jle 0x4047bb
mov dword [ebp - 0x274], edi
mov edi, dword [ebp - 0x298]
mov edx, 2
movzx eax, word [ecx + edx*2]
sub eax, 0x21
cmp ax, 0x56
ja case.0x404799.1
movzx eax, ax
jmp dword [eax*4 + 0x408720]
mov edi, 0x7fdf
lea esi, [esi]
add edx, 1
cmp edx, ebx
jl 0x404789
mov dword [ebp - 0x298], edi
mov edi, dword [ebp - 0x274]
add edi, 1
cmp dword [ebp - 0x254], edi
jle 0x405753
mov eax, dword [ebp - 0x260]
mov ebx, dword [eax + esi + 4]
test byte [section..data], 8
jne 0x4049b0
mov eax, dword [ebp - 0x2a0]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x298]
mov dword [esp], eax
call sym._MsiEnableLogW_12
sub esp, 0xc
test eax, eax
jne 0x405911
mov edx, dword [ebp - 0x254]
jmp 0x402060
mov byte [ebx], al
add ebx, 1
jmp 0x4034a0
mov byte [ebx], al
add ebx, 1
jmp 0x4031c0
mov edx, str._null_
jmp 0x404115
mov dword [ebp - 0x280], 2
jmp 0x4022e2
mov edx, dword [ebp - 0x254]
add edi, 1
cmp edx, edi
jle 0x405753
mov ecx, dword [ebp - 0x250]
mov eax, dword [ecx + esi + 4]
mov dword [ebp - 0x29c], eax
test byte [section..data], 8
jne 0x405426
mov dword [ebp - 0x2b0], 1
jmp 0x402060
mov eax, 0x224c
mov byte [ebp - 0x22e], 0x22
lea ebx, [ebp - 0x22e]
mov word [ebp - 0x230], ax
lea eax, [ebx + 1]
jmp 0x404102
mov dword [esp + 8], 2
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 0x4056f2
lea esi, [ebp - 0x230]
mov dword [esp + 4], 0x104
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_GetSystemDirectoryW]
lea ecx, [esi + eax*2]
sub esp, 8
xor eax, eax
movzx edx, word [eax + str.msiexec__V]
mov word [ecx + eax], dx
add eax, 2
test dx, dx
jne 0x4048e7
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], 1
mov dword [esp + 0x14], 3
mov dword [esp + 0x10], 0x20
mov dword [esp + 0xc], 0x10000000
mov dword [esp + 8], 0x408596
mov dword [esp + 4], 0x408596
mov dword [esp], ebx
call dword [sym.imp.advapi32.dll_CreateServiceW]
sub esp, 0x34
test eax, eax
je 0x405472
mov dword [esp], eax
mov esi, dword [sym.imp.advapi32.dll_CloseServiceHandle]
call esi
mov dword [ebp - 0x280], 0
sub esp, 4
mov dword [esp], ebx
call esi
sub esp, 4
jmp 0x4022e2
mov eax, 0x224c
mov byte [ebp - 0x22e], 0x22
lea ebx, [ebp - 0x22e]
mov word [ebp - 0x230], ax
lea eax, [ebx + 1]
jmp 0x4041fd
mov eax, ebx
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], 0x407000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov eax, dword [ebp - 0x250]
mov ebx, dword [eax + esi + 4]
jmp 0x4047e1
mov eax, ebx
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], 0x407000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov ecx, dword [ebp - 0x250]
mov edx, dword [ebp - 0x254]
mov ebx, dword [ecx + esi + 4]
jmp 0x403f06
mov dword [esp + 0xc], str.Product_code_treatment_not_implemented_yet_n
mov dword [esp + 8], str.WinMain
mov dword [esp + 4], 0x407000
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
mov eax, dword [ebp - 0x294]
mov dword [ebp - 0x280], eax
jmp 0x4022e2
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp], str.Failed_to_register_dll__s_n
mov dword [esp + 4], eax
call sym._report_error
mov eax, dword [ebp - 0x2a4]
mov dword [ebp - 0x280], eax
jmp 0x4022e2
or edi, 1
jmp case.0x404799.1
or edi, 0x10
jmp case.0x404799.1
or edi, 2
jmp case.0x404799.1
or edi, 0x800
jmp case.0x404799.1
or edi, 0x100
jmp case.0x404799.1
or edi, 8
jmp case.0x404799.1
or edi, 0x200
jmp case.0x404799.1
or edi, 0x400
jmp case.0x404799.1
or edi, 0x80
jmp case.0x404799.1
or edi, 4
jmp case.0x404799.1
or edi, 0x1000
jmp case.0x404799.1
or dword [ebp - 0x2a0], 1
jmp case.0x404799.1
or dword [ebp - 0x2a0], 2
jmp case.0x404799.1
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], 0x407000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov ecx, dword [ebp - 0x250]
mov edx, dword [ebp - 0x254]
mov eax, dword [ecx + esi + 4]
mov dword [ebp - 0x2ac], eax
jmp 0x4042d5
test ebx, ebx
je 0x40541c
mov eax, ebx
shr eax, 0x10
je 0x404fe2
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 0x404c76
cmp word [ebx], 0
je 0x4055b5
mov edx, eax
lea eax, [eax + 1]
cmp word [ebx + edx*2 + 2], 0
jne 0x404ba1
mov eax, 0x224c
mov dword [ebp - 0x274], edi
mov ecx, edx
mov word [ebp - 0x230], ax
lea eax, [ebp - 0x22e]
mov dword [ebp - 0x260], ebx
jmp 0x404c03
cmp dx, 9
je 0x404eee
cmp dx, 0xa
jne 0x404f0c
mov edi, 0x6e5c
add eax, 2
mov word [eax - 2], di
lea edi, [ebp - 0x10e]
lea edx, [ecx - 1]
cmp eax, edi
ja 0x404c42
test ecx, ecx
jle 0x404c42
mov ecx, edx
add dword [ebp - 0x260], 2
mov edi, dword [ebp - 0x260]
movzx edx, word [edi - 2]
cmp dx, 0xd
je 0x404edd
jbe 0x404bd0
cmp dx, 0x22
je 0x404f5d
cmp dx, 0x5c
jne 0x404eff
mov ebx, 0x5c5c
add eax, 2
mov word [eax - 2], bx
jmp 0x404bf0
mov byte [eax], 0x22
mov edi, dword [ebp - 0x274]
test edx, edx
jle 0x4055ce
mov ecx, 0x2e2e
mov byte [eax + 3], 0x2e
lea edx, [eax + 4]
mov word [eax + 1], cx
lea eax, [ebp - 0x230]
mov byte [edx], 0
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov edx, eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.argvW__d____s_n
mov dword [esp + 8], str.WinMain
mov dword [esp + 4], 0x407000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov eax, dword [ebp - 0x250]
mov ebx, dword [eax + esi + 4]
jmp 0x403308
mov esi, 0x224c
mov byte [ebp - 0x22e], 0x22
lea ecx, [ebp - 0x22e]
mov word [ebp - 0x230], si
lea eax, [ecx + 1]
jmp 0x4045ef
mov eax, dword [ebp - 0x29c]
lea ecx, [ebp - 0x230]
mov edx, str.DllUnregisterServer
mov dword [ebp - 0x230], 0
call sym._LoadProc.constprop.0
call eax
test eax, eax
mov eax, dword [ebp - 0x29c]
js 0x40534b
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp], str.Successfully_unregistered_dll__s_n
mov dword [esp + 4], eax
call sym._wine_dbg_printf
mov eax, dword [ebp - 0x230]
test eax, eax
je 0x404d2d
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FreeLibrary]
sub esp, 4
mov eax, dword [ebp - 0x2a4]
mov dword [ebp - 0x280], eax
jmp 0x4022e2
mov edx, str._null_
jmp 0x404210
mov eax, dword [ebp - 0x250]
mov eax, dword [eax + esi]
movzx edx, word [eax]
and edx, 0xfffffffd
cmp dx, 0x2d
jne 0x403039
mov edx, 0x408433
call sym._msi_option_equal.part.0
test eax, eax
je 0x404e9d
test byte [section..data], 1
je 0x403ffb
mov dword [esp + 0xc], str.Unknown_parameter__D_n
mov dword [esp + 8], str.WinMain
mov dword [esp + 4], 0x407000
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x403ffb
mov eax, dword [ebp - 0x250]
mov ebx, dword [eax + 8]
test byte [section..data], 8
jne 0x405273
mov dword [esp + 8], 0xa
mov dword [esp + 4], 0
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_wcstol]
mov dword [section..bss], eax
test eax, eax
jne 0x405097
mov dword [ebp - 0x280], 1
test byte [section..data], 2
je 0x4022e2
mov eax, ebx
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0xc], str.Invalid_parameter__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0x4088e4
mov dword [esp + 4], 0x407000
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
jmp 0x4022e2
mov edx, str.REBOOTPROMPT_S_
lea eax, [ebp - 0x25c]
call sym._StringListAppend
mov edx, dword [ebp - 0x254]
mov dword [ebp - 0x28c], 0x63
jmp 0x402060
mov ecx, dword [ebp - 0x250]
mov edx, dword [ecx + esi]
cmp word [edx], 0
je 0x404f6e
mov eax, edx
add eax, 2
cmp word [eax], 0
jne 0x404e6a
sub eax, edx
cmp eax, 4
jne 0x404f6e
mov dword [ebp - 0x28c], 2
mov edx, dword [ebp - 0x254]
mov dword [0x409004], 1
jmp 0x402060
mov eax, dword [ebp - 0x250]
mov eax, dword [eax + esi]
movzx edx, word [eax]
and edx, 0xfffffffd
cmp dx, 0x2d
jne 0x403039
mov edx, 0x40844b
call sym._msi_option_equal.part.0
test eax, eax
je 0x4055a7
mov dword [ebp - 0x2b8], 1
mov edx, dword [ebp - 0x254]
jmp 0x402060
mov ebx, 0x725c
add eax, 2
mov word [eax - 2], bx
jmp 0x404bf0
mov edx, 0x745c
add eax, 2
mov word [eax - 2], dx
jmp 0x404bf0
lea edi, [edx - 0x20]
cmp di, 0x5e
jbe 0x404fd8
mov edi, edx
mov byte [eax], 0x5c
add eax, 5
shr di, 0xc
movzx edi, di
movzx ebx, byte [edi + str.0123456789abcdefcustom_action_server]
mov edi, edx
shr di, 8
and edi, 0xf
mov byte [eax - 4], bl
movzx ebx, byte [edi + str.0123456789abcdefcustom_action_server]
mov edi, edx
and edx, 0xf
shr di, 4
movzx edx, byte [edx + str.0123456789abcdefcustom_action_server]
and edi, 0xf
mov byte [eax - 3], bl
movzx ebx, byte [edi + str.0123456789abcdefcustom_action_server]
mov byte [eax - 1], dl
mov byte [eax - 2], bl
jmp 0x404bf0
mov edi, 0x225c
add eax, 2
mov word [eax - 2], di
jmp 0x404bf0
lea eax, [edx + 4]
mov edx, 0x408398
call sym._msi_strequal
test eax, eax
jne 0x404e7e
mov eax, dword [ebp - 0x250]
mov edx, str.uiet
mov eax, dword [eax + esi]
add eax, 4
call sym._msi_strequal
test eax, eax
jne 0x404e7e
mov eax, dword [ebp - 0x250]
mov edx, 0x40839f
mov eax, dword [eax + esi]
add eax, 4
call sym._msi_strequal
test eax, eax
je 0x40589d
mov dword [ebp - 0x28c], 4
mov edx, dword [ebp - 0x254]
jmp 0x402060
mov byte [eax], dl
add eax, 1
jmp 0x404bf0
movzx ebx, bx
mov dword [esp], str._04x
mov dword [esp + 4], ebx
call sym._wine_dbg_sprintf.constprop.0
mov edx, eax
jmp 0x404c76
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0x260], eax
jmp 0x404438
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 0x4057d6
mov dword [esp + 8], 0x10000
mov dword [esp + 4], 0x408596
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_OpenServiceW]
sub esp, 0xc
mov esi, eax
test eax, eax
je 0x4057a0
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_DeleteService]
sub esp, 4
test eax, eax
je 0x405840
mov dword [esp], esi
mov esi, dword [sym.imp.advapi32.dll_CloseServiceHandle]
call esi
mov eax, dword [ebp - 0x26c]
sub esp, 4
mov dword [ebp - 0x280], eax
jmp 0x404982
lea ebx, [ebp - 0x230]
mov dword [esp + 0x10], 0x20
mov dword [esp + 0xc], eax
mov dword [esp + 8], str..pipemsica__x__d
mov dword [esp + 4], 0x18
mov dword [esp], ebx
call sym._swprintf
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc0000000
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_CreateFileW]
sub esp, 0x1c
mov esi, eax
cmp eax, 0xffffffff
je 0x4056b6
mov dword [esp + 4], 0
lea ebx, [ebp - 0x240]
lea edi, [ebp - 0x24c]
mov dword [esp], 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
sub esp, 8
jmp 0x4051e4
mov dword [esp], 0x10
call dword [sym.imp.ucrtbase.dll_malloc]
mov edx, dword [ebp - 0x240]
mov dword [eax], edx
mov edx, dword [ebp - 0x23c]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x238]
mov dword [eax + 8], edx
mov edx, dword [ebp - 0x234]
mov dword [eax + 0xc], edx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], sym._custom_action_thread_4
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_CreateThread]
mov dword [ebp - 0x244], 0
sub esp, 0x18
mov dword [ebp - 0x248], eax
lea eax, [ebp - 0x248]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edi
mov dword [esp + 8], 8
mov dword [esp + 4], eax
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_WriteFile]
sub esp, 0x14
test eax, eax
je 0x40575d
cmp dword [ebp - 0x24c], 8
jne 0x40575d
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0x10
mov dword [esp + 4], ebx
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_ReadFile]
sub esp, 0x14
test eax, eax
je 0x40568f
cmp dword [ebp - 0x24c], 0x10
jne 0x40568f
mov eax, dword [0x408904]
cmp dword [ebx], eax
jne 0x405131
mov eax, dword [0x408908]
cmp dword [ebx + 4], eax
jne 0x405131
mov eax, dword [0x40890c]
cmp dword [ebx + 8], eax
jne 0x405131
mov eax, dword [0x408910]
cmp dword [ebx + 0xc], eax
jne 0x405131
mov dword [ebp - 0x280], 0
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x4022e2
call sym._DoService
jmp 0x4022dc
test ebx, ebx
je 0x40585d
mov eax, ebx
shr eax, 0x10
je 0x405677
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 0x4053ef
cmp word [ebx], 0
je 0x4057fa
mov ecx, edx
lea edx, [edx + 1]
cmp word [ebx + ecx*2 + 2], 0
jne 0x4052b3
mov eax, 0x224c
mov dword [ebp - 0x260], ebx
mov esi, ebx
mov word [ebp - 0x230], ax
lea eax, [ebp - 0x22e]
jmp 0x405317
cmp dx, 9
je 0x405658
cmp dx, 0xa
jne 0x4055ec
mov edi, 0x6e5c
add eax, 2
mov word [eax - 2], di
lea edx, [ecx - 1]
test ecx, ecx
jle 0x4053bd
lea ecx, [ebp - 0x10e]
cmp eax, ecx
ja 0x4053bd
mov ecx, edx
movzx edx, word [esi]
add esi, 2
cmp dx, 0xd
je 0x405742
jbe 0x4052dc
cmp dx, 0x22
je 0x405647
cmp dx, 0x5c
jne 0x4055e3
mov ebx, 0x5c5c
add eax, 2
mov word [eax - 2], bx
jmp 0x4052fc
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp], str.Failed_to_unregister_dll__s_n
mov dword [esp + 4], eax
call sym._report_error
mov eax, dword [ebp - 0x2b0]
mov dword [ebp - 0x2a4], eax
jmp 0x404d2d
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], 0x407000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov ecx, dword [ebp - 0x250]
mov edx, dword [ebp - 0x254]
mov eax, dword [ecx + esi + 4]
mov dword [ebp - 0x29c], eax
jmp 0x403655
mov byte [eax], 0x22
mov ebx, dword [ebp - 0x260]
test edx, edx
jle 0x405810
mov ecx, 0x2e2e
mov byte [eax + 3], 0x2e
lea edx, [eax + 4]
mov word [eax + 1], cx
lea eax, [ebp - 0x230]
mov byte [edx], 0
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x40815c
mov dword [esp + 8], 0x4088e4
mov dword [esp + 4], 0x407000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x404dbf
mov edx, str._null_
jmp 0x404c76
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], 0x407000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov ecx, dword [ebp - 0x250]
mov edx, dword [ebp - 0x254]
mov eax, dword [ecx + esi + 4]
mov dword [ebp - 0x29c], eax
jmp 0x40486e
mov eax, dword fs:[0x18]
cmp dword [eax + 0x34], 0x431
je 0x405592
mov dword [esp], str.Failed_to_create_MSI_service_n
call sym._report_error
mov eax, dword [ebp - 0x26c]
mov esi, dword [sym.imp.advapi32.dll_CloseServiceHandle]
mov dword [ebp - 0x280], eax
jmp 0x404982
mov eax, dword [ebp - 0x250]
mov ecx, dword [eax]
cmp word [ecx], 0
je 0x405900
mov edx, ecx
add edx, 2
cmp word [edx], 0
jne 0x4054bc
sub edx, ecx
lea eax, [edx + 2]
mov dword [ebp - 0x264], eax
mov eax, dword [ebp - 0x264]
mov dword [ebp - 0x274], edx
mov dword [ebp - 0x270], ecx
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov ecx, dword [ebp - 0x270]
mov edx, dword [ebp - 0x274]
test eax, eax
mov edi, eax
je 0x405818
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp], eax
mov dword [ebp - 0x270], edx
call sym._memcpy
mov edx, dword [ebp - 0x270]
mov eax, 0x20
mov word [edi + edx], ax
mov eax, dword [ebp - 0x264]
mov dword [esp + 0x14], ebx
add eax, edi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x260]
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x268]
mov dword [esp], eax
mov eax, dword [ebp - 0x26c]
call eax
sub esp, 0x18
test eax, eax
je 0x40570f
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [ebp - 0x248]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov dword [ebp - 0x280], 1
sub esp, 4
jmp 0x4022e2
mov dword [ebp - 0x280], 0
mov esi, dword [sym.imp.advapi32.dll_CloseServiceHandle]
jmp 0x404982
mov eax, dword [ebp - 0x250]
mov eax, dword [eax + esi]
jmp 0x403039
mov byte [ebp - 0x22e], 0x22
mov eax, 0x224c
mov word [ebp - 0x230], ax
lea eax, [ebp - 0x22e]
lea edx, [eax + 1]
jmp 0x404c63
mov dword [esp + 0xc], str.Unknown_parameter__m_n
jmp 0x404d88
lea edi, [edx - 0x20]
cmp di, 0x5e
jbe 0x40563d
mov edi, edx
mov byte [eax], 0x5c
add eax, 5
shr di, 0xc
movzx edi, di
movzx ebx, byte [edi + str.0123456789abcdefcustom_action_server]
mov edi, edx
shr di, 8
and edi, 0xf
mov byte [eax - 4], bl
movzx ebx, byte [edi + str.0123456789abcdefcustom_action_server]
mov edi, edx
and edx, 0xf
shr di, 4
movzx edx, byte [edx + str.0123456789abcdefcustom_action_server]
and edi, 0xf
mov byte [eax - 3], bl
movzx ebx, byte [edi + str.0123456789abcdefcustom_action_server]
mov byte [eax - 1], dl
mov byte [eax - 2], bl
jmp 0x4052fc
mov byte [eax], dl
add eax, 1
jmp 0x4052fc
mov edi, 0x225c
add eax, 2
mov word [eax - 2], di
jmp 0x4052fc
mov edx, 0x745c
add eax, 2
mov word [eax - 2], dx
jmp 0x4052fc
xor eax, eax
mov word [ebp - 0x2b2], ax
jmp 0x402060
movzx eax, bx
mov dword [esp], str._04x
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0
jmp 0x4053ef
test byte [section..data], 2
jne 0x405867
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x280], eax
jmp 0x4022e2
test byte [section..data], 2
je 0x4056a2
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 0xc], str.Failed_to_create_custom_action_server_pipe:__lu_n
mov dword [esp + 8], 0x4088e4
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x407000
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
jmp 0x4056a2
mov dword [esp], str.Failed_to_open_the_service_control_manager._n
call sym._report_error
mov eax, dword [ebp - 0x26c]
mov dword [ebp - 0x280], eax
jmp 0x4022e2
lea ecx, [ebp - 0x250]
lea edx, [ebp - 0x254]
mov eax, edi
call sym._process_args
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [ebp - 0x248]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
jmp 0x403334
mov ebx, 0x725c
add eax, 2
mov word [eax - 2], bx
jmp 0x4052fc
mov eax, 1
call sym._ShowUsage
test byte [section..data], 2
je 0x40569c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 0xc], str.Failed_to_write_to_custom_action_server_pipe:__lu_n
mov dword [esp + 8], 0x4088e4
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x407000
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
jmp 0x40569c
mov eax, dword fs:[0x18]
cmp dword [eax + 0x34], 0x424
je 0x405592
mov dword [esp], str.Failed_to_open_MSI_service_n
call sym._report_error
mov eax, dword [ebp - 0x268]
mov esi, dword [sym.imp.advapi32.dll_CloseServiceHandle]
mov dword [ebp - 0x280], eax
jmp 0x404982
mov dword [esp], str.Failed_to_open_service_control_manager_n
call sym._report_error
mov eax, dword [ebp - 0x268]
mov dword [ebp - 0x280], eax
jmp 0x4022e2
xor eax, eax
call sym._ShowUsage
mov word [ebp - 0x230], 0x224c
lea eax, [ebp - 0x22e]
mov byte [ebp - 0x22e], 0x22
lea edx, [eax + 1]
jmp 0x4053de
mov eax, dword [ebp - 0x268]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov dword [ebp - 0x280], 1
push eax
jmp 0x4022e2
mov dword [esp], str.Failed_to_delete_MSI_service_n
call sym._report_error
mov eax, dword [ebp - 0x268]
mov dword [ebp - 0x26c], eax
jmp 0x405078
mov eax, str._null_
jmp 0x4053ef
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 0xc], str.Failed_to_read_from_custom_action_server_pipe:__lu_n
mov dword [esp + 8], 0x4088e4
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x407000
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
jmp 0x40569c
mov eax, dword [ebp - 0x250]
mov edx, 0x4082d5
mov eax, dword [eax + esi]
add eax, 4
call sym._msi_strequal
test eax, eax
je 0x4058cc
mov dword [ebp - 0x28c], 0x85
mov edx, dword [ebp - 0x254]
jmp 0x402060
mov eax, dword [ebp - 0x250]
mov edx, 0x4083a1
mov eax, dword [eax + esi]
add eax, 4
call sym._msi_strequal
test eax, eax
je 0x405949
mov dword [ebp - 0x28c], 0x82
mov edx, dword [ebp - 0x254]
jmp 0x402060
mov dword [ebp - 0x264], 2
xor edx, edx
jmp 0x4054d0
mov eax, ebx
call sym._wine_dbgstr_wn.constprop.0
mov esi, dword [ebp - 0x2a0]
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 - 0x298]
mov dword [esp + 8], esi
call sym._report_error
mov dword [esp], 1
call dword [sym.imp.kernel32.dll_ExitProcess]
mov eax, dword [ebp - 0x250]
mov edx, 0x4083a4
mov eax, dword [eax + esi]
add eax, 4
call sym._msi_strprefix
test eax, eax
jne 0x40598f
mov eax, dword [ebp - 0x250]
mov eax, dword [eax + esi]
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 - 0x254]
jmp 0x402060
mov ecx, dword [ebp - 0x250]
mov ebx, dword [ecx + esi]
mov esi, 3
add ebx, 6
jmp 0x4059a8
or esi, 0x20
add ebx, 2
cmp word [ebx], 0
je 0x405a16
mov edx, 0x4083a6
mov eax, ebx
call sym._msi_strprefix
test eax, eax
je 0x4059c4
or esi, 0x80
mov edx, 0x4083a8
mov eax, ebx
call sym._msi_strprefix
test eax, eax
je 0x4059d7
or esi, 0x40
mov edx, 0x4083aa
mov eax, ebx
call sym._msi_strprefix
test eax, eax
je 0x4059a5
test byte [section..data], 1
je 0x4059a2
mov dword [esp + 0xc], 0x4083ac
mov dword [esp + 8], str.WinMain
mov dword [esp + 4], 0x407000
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x4059a2
mov dword [ebp - 0x28c], esi
mov edx, dword [ebp - 0x254]
jmp 0x402060