Function at 0x407aa0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450fab
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x476040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x10]
push 1
mov dword [ebp - 0x104], 0
call dword [sym.imp.api_ms_win_core_winrt_l1_1_0.dll_RoInitialize]
mov esi, eax
mov dword [ebp - 0x10c], esi
mov dword [ebp - 4], 0
test esi, esi
js 0x40893d
mov ecx, edi
mov dword [ebp - 0x78], 0
xorps xmm0, xmm0
mov dword [ebp - 0x74], 0
movups xmmword [ebp - 0x88], xmm0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x407b16
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x88]
call fcn.00404650
mov byte [ebp - 4], 1
xorps xmm0, xmm0
push 0
sub esp, 0x18
xor ecx, ecx
mov eax, esp
mov dword [ebp - 0xfc], esp
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 2
sub esp, 0x18
lea eax, [ebp - 0x88]
mov dword [ebp - 0x100], esp
mov ecx, esp
push eax
call fcn.00404240
mov byte [ebp - 4], 3
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xf4]
call fcn.004089a0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
call fcn.00421500
mov byte [ebp - 4], 5
xorps xmm0, xmm0
push 0xf
push str.AppDataMigrated
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
call fcn.00404650
mov byte [ebp - 4], 6
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
mov edx, 0x80000001
push eax
lea ecx, [ebp - 0x70]
call fcn.00427fd0
add esp, 8
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x407c18
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x407c0e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40896d
push ecx
push edx
call fcn.00434ce3
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x5c], 7
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x70]
cmova eax, dword [ebp - 0x70]
push 0x461ecc
push eax
mov dword [ebp - 0x14], 7
call fcn.0043f28c
add esp, 8
mov edi, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x70]
call fcn.00404310
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
call fcn.00404310
test edi, edi
je 0x407da2
lea eax, [ebp - 0x40]
push eax
call fcn.00424910
mov byte [ebp - 4], 9
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 7
cmova eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x407c96
mov byte [ebp - 0xf5], 1
test al, 0x10
jne 0x407c9d
mov byte [ebp - 0xf5], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.00404310
cmp byte [ebp - 0xf5], 0
je 0x407d9c
push 1
sub esp, 0x18
xorps xmm0, xmm0
mov eax, esp
mov dword [ebp - 0xfc], esp
xor ecx, ecx
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x70]
push 2
push eax
mov byte [ebp - 4], 4
call fcn.004254a0
mov byte [ebp - 4], 0xb
mov edx, eax
lea ecx, [ebp - 0x58]
call fcn.00403bb0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x70]
call fcn.00404310
lea eax, [ebp - 0x40]
push eax
call fcn.00424910
mov byte [ebp - 4], 0xe
mov edx, eax
lea ecx, [ebp - 0xa0]
call fcn.00403bb0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x40]
call fcn.00404310
mov edi, dword [ebp - 0x90]
test edi, edi
je 0x407d71
mov ecx, dword [ebp - 0x8c]
lea eax, [ebp - 0xa0]
mov edx, dword [ebp - 0xa0]
cmp ecx, 7
cmova eax, edx
dec edi
cmp word [eax + edi*2], 0x5c
jne 0x407d71
cmp ecx, 7
mov dword [ebp - 0x90], edi
lea eax, [ebp - 0xa0]
cmova eax, edx
xor ecx, ecx
mov word [eax + edi*2], cx
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.00426710
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xa0]
call fcn.00404310
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
call fcn.00404310
push ecx
call fcn.00424f30
lea ecx, [ebp - 0x58]
call fcn.00421500
mov byte [ebp - 4], 0x11
xorps xmm0, xmm0
push 0x14
push str.LocalAppDataMigrated
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
call fcn.00404650
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
mov edx, 0x80000001
push eax
lea ecx, [ebp - 0x40]
call fcn.00427fd0
add esp, 8
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x407e2c
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x407e22
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408972
push ecx
push edx
call fcn.00434ce3
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x2c], 7
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x40]
cmova eax, dword [ebp - 0x40]
push 0x461ecc
push eax
mov dword [ebp - 0x14], 7
call fcn.0043f28c
add esp, 8
mov edi, eax
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x40]
call fcn.00404310
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
call fcn.00404310
test edi, edi
je 0x407fb5
lea eax, [ebp - 0x70]
push eax
call fcn.00424a20
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x70]
cmp dword [ebp - 0x5c], 7
cmova eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x407eaa
mov byte [ebp - 0xf5], 1
test al, 0x10
jne 0x407eb1
mov byte [ebp - 0xf5], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
call fcn.00404310
cmp byte [ebp - 0xf5], 0
je 0x407faf
push 1
sub esp, 0x18
xorps xmm0, xmm0
mov eax, esp
mov dword [ebp - 0xfc], esp
xor ecx, ecx
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x40]
push ecx
push eax
mov byte [ebp - 4], 4
call fcn.004254a0
mov byte [ebp - 4], 0x17
mov edx, eax
lea ecx, [ebp - 0x58]
call fcn.00403bb0
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x40]
call fcn.00404310
lea eax, [ebp - 0x70]
push eax
call fcn.00424a20
mov byte [ebp - 4], 0x1a
mov edx, eax
lea ecx, [ebp - 0xb8]
call fcn.00403bb0
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x70]
call fcn.00404310
mov edi, dword [ebp - 0xa8]
test edi, edi
je 0x407f84
mov ecx, dword [ebp - 0xa4]
lea eax, [ebp - 0xb8]
mov edx, dword [ebp - 0xb8]
cmp ecx, 7
cmova eax, edx
dec edi
cmp word [eax + edi*2], 0x5c
jne 0x407f84
cmp ecx, 7
mov dword [ebp - 0xa8], edi
lea eax, [ebp - 0xb8]
cmova eax, edx
xor ecx, ecx
mov word [eax + edi*2], cx
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.00426710
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0xb8]
call fcn.00404310
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
call fcn.00404310
push ecx
call fcn.00425100
lea ecx, [ebp - 0x58]
call fcn.00421500
mov byte [ebp - 4], 0x1d
xorps xmm0, xmm0
push 0x13
push str.ProgramDataMigrated
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
call fcn.00404650
mov byte [ebp - 4], 0x1e
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
mov edx, 0x80000001
push eax
lea ecx, [ebp - 0x40]
call fcn.00427fd0
add esp, 8
mov byte [ebp - 4], 0x20
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x40803f
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408035
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408977
push ecx
push edx
call fcn.00434ce3
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x2c], 7
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x40]
cmova eax, dword [ebp - 0x40]
push 0x461ecc
push eax
mov dword [ebp - 0x14], 7
call fcn.0043f28c
add esp, 8
mov edi, eax
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x40]
call fcn.00404310
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
call fcn.00404310
test edi, edi
je 0x4080e0
lea eax, [ebp - 0x70]
push eax
call fcn.00424b30
mov byte [ebp - 4], 0x21
lea eax, [ebp - 0x70]
cmp dword [ebp - 0x5c], 7
cmova eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4080b9
mov byte [ebp - 0xf5], 1
test al, 0x10
jne 0x4080c0
mov byte [ebp - 0xf5], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
call fcn.00404310
cmp byte [ebp - 0xf5], 0
je 0x4080da
call fcn.00425d90
push ecx
call fcn.004252d0
lea ecx, [ebp - 0x58]
call fcn.00421500
mov byte [ebp - 4], 0x22
xorps xmm0, xmm0
push 0x10
push str.UserDataMigrated
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
call fcn.00404650
mov byte [ebp - 4], 0x23
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
mov edx, 0x80000001
push eax
lea ecx, [ebp - 0x40]
call fcn.00427fd0
add esp, 8
mov byte [ebp - 4], 0x25
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x40816a
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408160
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40897c
push ecx
push edx
call fcn.00434ce3
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x2c], 7
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x40]
cmova eax, dword [ebp - 0x40]
push 0x461ecc
push eax
mov dword [ebp - 0x14], 7
call fcn.0043f28c
add esp, 8
mov edi, eax
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x40]
call fcn.00404310
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
call fcn.00404310
test edi, edi
je 0x4081db
lea eax, [ebp - 0x70]
push eax
call fcn.004246f0
mov byte [ebp - 4], 0x26
mov ecx, 1
mov dword [ebp - 0x104], ecx
cmp dword [eax + 0x10], 0
je 0x4081e1
mov byte [ebp - 0xf5], cl
jmp 0x4081e8
mov ecx, dword [ebp - 0x104]
mov byte [ebp - 0xf5], 0
mov dword [ebp - 4], 4
test cl, 1
je 0x408205
and ecx, 0xfffffffe
mov dword [ebp - 0x104], ecx
lea ecx, [ebp - 0x70]
call fcn.00404310
cmp byte [ebp - 0xf5], 0
mov edi, dword [ebp - 0x78]
je 0x40883f
push 7
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push str.UiLevel
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
call fcn.00404650
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x58]
call fcn.00421500
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x28]
push ecx
push eax
mov edx, 0x80000002
lea ecx, [ebp - 0x40]
call fcn.00427fd0
add esp, 8
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x58]
call fcn.00404310
mov byte [ebp - 4], 0x2b
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x4082a8
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40829e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408981
push ecx
push edx
call fcn.00434ce3
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x2c], 7
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x40]
cmova eax, dword [ebp - 0x40]
push 0xa
push 0
push eax
mov dword [ebp - 0x14], 7
call fcn.0043f1ca
add esp, 0xc
mov dword [ebp - 0xfc], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.00404310
mov eax, dword [ebp - 0xfc]
cmp eax, 1
jne 0x4083ae
lea eax, [ebp - 0x58]
push eax
call fcn.00424800
mov byte [ebp - 4], 0x2c
mov edx, eax
lea ecx, [ebp - 0x70]
call fcn.00403bb0
mov byte [ebp - 4], 0x2e
lea ecx, [ebp - 0x58]
call fcn.00404310
cmp dword [ebp - 0x5c], 7
lea eax, [ebp - 0x70]
cmova eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40833a
mov byte [ebp - 0xf5], 1
test al, 0x10
jne 0x408341
mov byte [ebp - 0xf5], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
call fcn.00404310
cmp byte [ebp - 0xf5], 0
je 0x40835b
call fcn.00425cb0
lea eax, [ebp - 0x58]
push eax
call fcn.004246f0
mov byte [ebp - 4], 0x2f
push 1
push eax
call fcn.00425670
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
call fcn.00404310
push ecx
call fcn.00424d60
call fcn.00424c40
test al, al
je 0x40883f
lea eax, [ebp - 0x40]
push eax
call fcn.00426fd0
mov byte [ebp - 4], 0x30
push eax
call fcn.0041c870
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
jmp 0x40883a
test eax, eax
jne 0x40883f
lea eax, [ebp - 0x58]
push eax
call fcn.00424800
mov byte [ebp - 4], 0x31
mov edx, eax
lea ecx, [ebp - 0x40]
call fcn.00403bb0
mov byte [ebp - 4], 0x33
lea ecx, [ebp - 0x58]
call fcn.00404310
cmp dword [ebp - 0x2c], 7
lea eax, [ebp - 0x40]
cmova eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4083fb
mov byte [ebp - 0xf5], 1
test al, 0x10
jne 0x408402
mov byte [ebp - 0xf5], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.00404310
cmp byte [ebp - 0xf5], 0
je 0x4085b2
test edi, edi
jne 0x4085b2
call fcn.00401c90
mov edi, eax
test edi, edi
je 0x408986
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x45827c]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x108], eax
mov byte [ebp - 4], 0x35
lea ecx, [ebp - 0x108]
push 0x69
call fcn.00402180
call fcn.00401c90
mov edi, eax
test edi, edi
je 0x408986
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x45827c]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x100], eax
mov byte [ebp - 4], 0x37
lea ecx, [ebp - 0x100]
push 0x68
call fcn.00402180
call fcn.00401c90
mov edi, eax
test edi, edi
je 0x408986
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x45827c]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0xfc], eax
mov byte [ebp - 4], 0x39
lea eax, [ebp - 0x58]
push eax
call fcn.004245e0
mov byte [ebp - 4], 0x3a
cmp dword [eax + 0x14], 7
jbe 0x4084d9
mov eax, dword [eax]
mov edi, dword [ebp - 0x100]
push eax
lea eax, [ebp - 0xfc]
push edi
push eax
call fcn.004027e0
add esp, 0xc
mov byte [ebp - 4], 0x39
lea ecx, [ebp - 0x58]
call fcn.00404310
mov esi, dword [ebp - 0xfc]
push 0x24
push dword [ebp - 0x108]
push esi
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x40851d
call fcn.00425cb0
mov byte [ebp - 4], 0x37
or ecx, 0xffffffff
lea edx, [esi - 0x10]
mov eax, ecx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x408554
mov eax, dword [edx]
mov dword [ebp - 0xfc], eax
push edx
mov eax, dword [eax]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x45827c]
mov ecx, dword [ebp - 0xfc]
call esi
or ecx, 0xffffffff
mov byte [ebp - 4], 0x35
lea edx, [edi - 0x10]
mov eax, ecx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40857e
mov edi, dword [edx]
push edx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x45827c]
mov ecx, edi
call esi
or ecx, 0xffffffff
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x108]
lea edx, [eax - 0x10]
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4085a9
mov edi, dword [edx]
push edx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x45827c]
mov ecx, edi
call esi
mov edi, dword [ebp - 0x78]
mov esi, dword [ebp - 0x10c]
cmp dword [ebp - 0x74], 7
lea ecx, [ebp - 0x88]
cmova ecx, dword [ebp - 0x88]
cmp edi, 0x14
jne 0x40860b
mov eax, edi
mov edx, str._uninstallMsiVersion
mov dword [ebp - 0xfc], eax
test eax, eax
je 0x408607
sub ecx, edx
mov dword [ebp - 0x100], ecx
movzx ecx, word [edx + ecx]
movzx eax, word [edx]
cmp cx, ax
jne 0x40860b
mov eax, dword [ebp - 0xfc]
add edx, 2
mov ecx, dword [ebp - 0x100]
dec eax
mov dword [ebp - 0xfc], eax
test eax, eax
jne 0x4085e1
mov al, 1
jmp 0x40860d
xor al, al
test al, al
je 0x408664
lea eax, [ebp - 0x58]
push eax
call fcn.004246f0
mov byte [ebp - 4], 0x3e
push 0
push eax
call fcn.00425670
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
call fcn.00404310
push ecx
call fcn.00424d60
call fcn.00424c40
test al, al
je 0x40883f
lea eax, [ebp - 0x40]
push eax
call fcn.00426fd0
mov byte [ebp - 4], 0x3f
push eax
call fcn.0041c870
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
jmp 0x40883a
test edi, edi
jne 0x40883f
lea eax, [ebp - 0x58]
push eax
call fcn.004246f0
mov edx, eax
mov dword [ebp - 0x100], edx
mov byte [ebp - 4], 0x40
xorps xmm0, xmm0
xor eax, eax
mov dword [ebp - 0x18], edi
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 0x41
mov ecx, 0x26
mov eax, dword [ebp - 0x18]
sub ecx, eax
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0xfc]
sub eax, esi
cmp ecx, eax
ja 0x4086fe
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 0x26
cmova eax, dword [ebp - 0x28]
mov dword [ebp - 0xfc], eax
lea esi, [eax + esi*2]
test ecx, ecx
je 0x4086f6
xor eax, eax
mov edi, esi
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov edi, dword [ebp - 0x78]
mov eax, dword [ebp - 0xfc]
xor ecx, ecx
mov word [eax + 0x4c], cx
jmp 0x408716
push 0
push ecx
push dword [ebp - 0xfc]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004046f0
mov edx, dword [ebp - 0x100]
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
mov esi, dword [ebp - 0x10c]
cmova eax, dword [ebp - 0x28]
cmp dword [edx + 0x14], 7
jbe 0x40872f
mov edx, dword [edx]
push eax
push 0
push 0
push edx
call dword [sym.imp.msi.dll_MsiSourceListClearAllW]
test eax, eax
jne 0x408788
mov byte [ebp - 4], 0x40
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x40877d
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408773
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408990
push ecx
push edx
call fcn.00434ce3
add esp, 8
xor eax, eax
mov byte [ebp - 0xf5], 1
jmp 0x4087ce
mov byte [ebp - 4], 0x40
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x4087c6
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4087bc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408990
push ecx
push edx
call fcn.00434ce3
add esp, 8
xor eax, eax
mov byte [ebp - 0xf5], al
mov word [ebp - 0x28], ax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
call fcn.00404310
cmp byte [ebp - 0xf5], 0
je 0x408811
lea eax, [ebp - 0x40]
push eax
call fcn.00427180
mov byte [ebp - 4], 0x42
push eax
call fcn.0041c870
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
jmp 0x40883a
push ecx
call fcn.00424d60
call fcn.00424c40
test al, al
je 0x40883f
lea eax, [ebp - 0x58]
push eax
call fcn.00426fd0
mov byte [ebp - 4], 0x43
push eax
call fcn.0041c870
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
call fcn.00404310
cmp dword [ebp - 0x74], 7
lea eax, [ebp - 0x88]
cmova eax, dword [ebp - 0x88]
cmp edi, 0x14
jne 0x408884
mov edx, str._uninstallMsiVersion
test edi, edi
je 0x408880
sub eax, edx
mov dword [ebp - 0xfc], eax
movzx ecx, word [eax + edx]
movzx eax, word [edx]
cmp cx, ax
jne 0x408884
mov eax, dword [ebp - 0xfc]
add edx, 2
sub edi, 1
jne 0x408866
mov al, 1
jmp 0x408886
xor al, al
test al, al
jne 0x4088cb
call fcn.004030d0
mov eax, dword [ebp - 0xf4]
mov edi, dword [eax + 4]
lea eax, [ebp - 0x58]
push eax
mov ecx, edi
call dword [0x45827c]
lea ecx, [ebp - 0xf4]
call edi
mov byte [ebp - 4], 0x44
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0xf4]
call fcn.004032f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
call fcn.00404310
mov byte [ebp - 4], 0x46
lea ecx, [ebp - 0xd8]
call fcn.00404310
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xf0]
call fcn.00404310
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x74]
cmp eax, 7
jbe 0x408926
mov edx, dword [ebp - 0x88]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40891c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408995
push ecx
push edx
call fcn.00434ce3
add esp, 8
xor eax, eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
mov dword [ebp - 4], 0xffffffff
test esi, esi
js 0x40894e
call dword [sym.imp.api_ms_win_core_winrt_l1_1_0.dll_RoUninitialize]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043488a
mov esp, ebp
pop ebp
ret 0x10
call fcn.0043e33e
call fcn.0043e33e
call fcn.0043e33e
call fcn.0043e33e
call fcn.0043e33e
push 0x80004005
call fcn.004019f0
call fcn.0043e33e
call fcn.0043e33e
int3