Function at 0x420496
Capabilities:
Copy file
Delete file
Move file

Disassembly:
mov eax, 0x470829
call fcn.0045454c
mov eax, 0x1b94
call fcn.00454c90
push ebx
push esi
push edi
mov dword [ebp - 0x24], ecx
call fcn.00401166
mov dword [ebp - 0x1c], eax
mov eax, dword [0x4969a8]
mov dword [ebp - 0x114], eax
mov eax, dword [str.CacheRoot]
xor edi, edi
mov dword [ebp - 0xb8], 0x4765e0
cmp eax, edi
mov dword [ebp - 0x98], 0x4765d8
jne 0x4204e7
mov eax, 0x4947d8
lea ecx, [ebp - 0x1e]
push edi
push ecx
push eax
lea ecx, [ebp - 0xb8]
call fcn.004011a9
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0xe0]
push eax
mov dword [ebp - 4], edi
call fcn.00424526
push 0xa
lea ecx, [ebp - 0xb8]
push 0xfffffffffffffffe
push ecx
mov ecx, dword [ebp - 0x1c]
push eax
mov byte [ebp - 4], 1
call fcn.0042e521
and byte [ebp - 4], 0
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0x14], eax
call fcn.00401093
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8]
call fcn.00401093
cmp dword [ebp - 0x14], 0xffffffff
push 0xc
pop ebx
jge 0x42055d
mov ecx, dword [ebp - 0x1c]
push ebx
call fcn.0040a44f
test al, al
je 0x421628
lea eax, [ebp - 0x1e]
mov esi, 0x476620
push edi
push eax
lea ecx, [ebp - 0x164]
mov dword [ebp - 0x164], 0x476628
mov dword [ebp - 0x144], esi
call fcn.00403bf5
lea eax, [ebp - 0x34]
push edi
push eax
lea ecx, [ebp - 0x204]
mov dword [ebp - 4], 2
mov dword [ebp - 0x204], 0x476628
mov dword [ebp - 0x1e4], esi
call fcn.00403bf5
lea eax, [ebp - 0x35]
push edi
push eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 3
mov dword [ebp - 0x68], 0x476628
mov dword [ebp - 0x48], esi
call fcn.00403bf5
lea eax, [ebp - 0x32]
push edi
push eax
push 0x4947d8
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 4
mov dword [ebp - 0x288], 0x4765e0
mov dword [ebp - 0x268], 0x4765d8
call fcn.004011a9
mov eax, dword [str.CacheFolder]
mov byte [ebp - 4], 5
cmp eax, edi
mov dword [ebp - 0x2d8], 0x4765e0
mov dword [ebp - 0x2b8], 0x4765d8
jne 0x420617
mov eax, 0x4947d8
lea ecx, [ebp - 0x36]
push edi
push ecx
push eax
lea ecx, [ebp - 0x2d8]
call fcn.004011a9
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x378]
push eax
mov byte [ebp - 4], 6
call fcn.00424526
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 7
push ecx
lea ecx, [ebp - 0x2d8]
push ecx
mov ecx, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x3a0]
push eax
call fcn.0042e38f
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 4], 8
push ecx
mov ecx, eax
call fcn.0040aa1a
lea ecx, [ebp - 0x3a0]
mov byte [ebp - 4], 0xd
call fcn.00401093
lea ecx, [ebp - 0x378]
mov byte [ebp - 4], bl
call fcn.00401093
lea ecx, [ebp - 0x2d8]
mov byte [ebp - 4], 0xb
call fcn.00401093
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 0xa
call fcn.00401093
mov ecx, dword [ebp - 0x1c]
push ebx
call fcn.0040a44f
test al, al
jne 0x420847
cmp dword [ebp - 0x14], edi
jl 0x420847
push str.SHFolder.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, edi
mov dword [ebp - 0x18], eax
jne 0x4206f2
push dword [ebp + 8]
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x68]
push eax
call fcn.0042163c
test eax, eax
jne 0x4208f8
jmp 0x421177
push str.SHGetFolderPathW
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
cmp ebx, edi
jne 0x420722
push dword [ebp + 8]
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x68]
push eax
call fcn.0042163c
test eax, eax
jne 0x420839
jmp 0x421177
lea eax, [ebp - 0x30]
push 0x400
push eax
lea ecx, [ebp - 0x204]
call fcn.00402dad
mov ecx, dword [eax]
mov byte [ebp - 4], 0x10
mov byte [eax + 4], 1
call fcn.00403dc2
push dword [eax]
push edi
push edi
push dword [ebp - 0x14]
push edi
call ebx
test eax, eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xa
setl bl
call fcn.00402ebf
test bl, bl
jne 0x420706
lea eax, [ebp - 0x1dc]
lea ecx, [ebp - 0x204]
push eax
lea eax, [ebp - 0xe0]
push eax
call fcn.0040fa6a
push eax
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 0x11
call fcn.0040249e
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 0xa
call fcn.00402424
lea eax, [ebp - 0x20]
push edi
push eax
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x90], 0x476628
mov dword [ebp - 0x70], esi
call fcn.00403bf5
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 0x12
push eax
push dword [ebp + 0xc]
call fcn.004202ba
pop ecx
test al, al
pop ecx
je 0x4207e4
lea eax, [ebp - 0x90]
lea ecx, [ebp - 0x164]
push eax
call fcn.0042456d
mov eax, dword [ebp - 0x15c]
cmp eax, edi
jne 0x4207f3
mov eax, 0x476650
push eax
call fcn.00435a2a
push dword [ebp + 8]
lea eax, [ebp - 0xe0]
lea ecx, [ebp - 0x164]
push eax
call fcn.0040fa6a
push eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x13
call fcn.0040249e
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 0x12
call fcn.00402424
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0xa
call fcn.00402424
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x4208f8
mov ecx, dword [ebp - 0x1c]
push ebx
call fcn.0040a44f
test al, al
je 0x4208a0
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0xe0]
push ebx
push eax
call fcn.0040a474
push eax
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 4], 0xe
call fcn.0040249e
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 0xa
call fcn.00402424
lea eax, [ebp - 0xe0]
lea ecx, [ebp - 0x1dc]
push eax
call fcn.0040ae50
lea ecx, [ebp - 0xe0]
call fcn.00402424
mov eax, dword [ebp - 0x1d4]
cmp eax, edi
jne 0x4208af
mov eax, 0x476650
push eax
call fcn.00435a2a
lea eax, [ebp - 0x1dc]
lea ecx, [ebp - 0x164]
push eax
call fcn.0040249e
push dword [ebp + 8]
lea eax, [ebp - 0xe0]
lea ecx, [ebp - 0x1dc]
push eax
call fcn.0040fa6a
push eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xf
call fcn.0040249e
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 0xa
call fcn.00402424
mov ecx, dword [ebp + 0xc]
lea eax, [ecx + 4]
neg ecx
sbb ecx, ecx
and ecx, eax
lea eax, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x68]
neg ecx
sbb ecx, ecx
and ecx, eax
call fcn.0040a9bd
test eax, eax
je 0x4215e3
lea eax, [ebp - 0x2b0]
push 0x663
push eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x268]
call fcn.0040f4f1
lea eax, [ebp - 0x20]
push edi
push eax
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 0x14
mov dword [ebp - 0x22c], 0x476628
mov dword [ebp - 0x20c], esi
call fcn.00403bf5
mov byte [ebp - 4], 0x15
mov dword [ebp - 0x18], edi
push 1
pop eax
push 4
mov dword [ebp - 0x14], eax
sub esp, 0x28
mov ecx, esp
mov dword [ebp - 0xe8], esp
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.0040798e
call fcn.0043985e
add esp, 0x2c
test al, al
je 0x420af3
lea eax, [ebp - 0x33]
mov ebx, 0x476628
push edi
push eax
lea ecx, [ebp - 0x13c]
mov dword [ebp - 0x13c], ebx
mov dword [ebp - 0x11c], esi
call fcn.00403bf5
lea eax, [ebp - 0x31]
push edi
push eax
lea ecx, [ebp - 0x1b4]
mov byte [ebp - 4], 0x16
mov dword [ebp - 0x1b4], ebx
mov dword [ebp - 0x194], esi
call fcn.00403bf5
lea eax, [ebp - 0x13c]
mov byte [ebp - 4], 0x17
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.004202ba
pop ecx
test al, al
pop ecx
je 0x420a32
lea eax, [ebp - 0x1b4]
push eax
push dword [ebp + 0xc]
call fcn.004202ba
pop ecx
test al, al
pop ecx
je 0x420a32
lea eax, [ebp - 0x1b4]
lea ecx, [ebp - 0x1b0]
neg eax
sbb eax, eax
and eax, ecx
lea ecx, [ebp - 0x13c]
neg ecx
push eax
lea eax, [ebp - 0x138]
sbb ecx, ecx
and ecx, eax
call fcn.0040a9bd
test eax, eax
je 0x420ad2
mov ecx, dword [ebp - 0x60]
cmp ecx, edi
jne 0x420a3e
mov ecx, 0x476650
mov eax, dword [ebp - 0x2a8]
cmp eax, edi
jne 0x420a4d
mov eax, 0x476650
push ecx
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.0040faf5
mov ebx, dword [ebp - 0x1c]
add esp, 0xc
mov eax, dword [ebx + 0x268]
mov dword [ebp - 0xe8], eax
cmp byte [eax + 1], 0
mov byte [ebp - 4], 0x18
jne 0x420ac4
cmp byte [eax + 2], 0
jne 0x420ac4
push edi
push 6
push 0x34
lea eax, [ebp - 0x22c]
sub esp, 0x28
mov ecx, esp
mov dword [ebp - 0x14], esp
push 1
push eax
call fcn.0040798e
push dword [ebx + 0x268]
lea ecx, [ebp - 0xe4]
call fcn.00418738
push dword [ebp - 0x114]
mov ecx, eax
mov byte [ebp - 4], 0x19
call fcn.00418743
cmp eax, 6
sete al
test al, al
je 0x420ac6
mov al, 1
test al, al
mov byte [ebp - 4], 0x17
je 0x420cd3
lea ecx, [ebp - 0x1b4]
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 0x16
call fcn.00402424
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x15
call fcn.00402424
mov ebx, dword [ebp - 0x60]
cmp ebx, edi
jne 0x420aff
mov ebx, 0x476650
lea eax, [ebp - 0x1f]
push 1
push eax
push str.C:CodeBasesisdev_srcRuntimeMSISharedSetupmsiaction.cpp
lea ecx, [ebp - 0xe0]
call fcn.00401889
mov eax, dword [eax + 8]
mov byte [ebp - 4], 0x1a
cmp eax, edi
jne 0x420b25
mov eax, 0x4765fc
mov dword [ebp - 0x40], eax
push ebx
lea eax, [ebp - 0x40]
push str.Copying_file_for_cache_to__s
push eax
mov dword [ebp - 0x3c], 0xa75
call fcn.0040a580
add esp, 0xc
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 0x15
call fcn.00401093
mov ecx, dword [ebp - 0x60]
cmp ecx, edi
jne 0x420b5c
mov ecx, 0x476650
mov eax, dword [ebp + 0xc]
add eax, 4
mov eax, dword [eax + 4]
cmp eax, edi
jne 0x420b6e
mov eax, 0x476650
push dword [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x420d0a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea eax, [ebp - 0x1d]
push edi
push eax
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xb8], 0x4765e0
mov dword [ebp - 0x98], 0x4765d8
call fcn.0040190c
lea eax, [ebp - 0x90]
push 0x65b
push eax
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x1b
mov ecx, dword [eax + 0x268]
call fcn.0040f4f1
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 0x1c
push ecx
mov ecx, eax
call fcn.00424526
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0x1e
call fcn.00402424
mov ecx, dword [ebp - 0x60]
cmp ecx, edi
jne 0x420bf8
mov ecx, 0x476650
mov eax, dword [ebp - 0x184]
cmp eax, edi
jne 0x420c07
mov eax, 0x4765fc
push ecx
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.0042423a
push 0x48a1f0
call fcn.00454574
add esp, 0x10
lea ecx, [ebp - 0xb4]
push eax
push 0x48a1f0
call fcn.00424b00
mov eax, dword [ebp - 0xb0]
cmp eax, edi
jne 0x420c42
mov eax, 0x4765fc
push ebx
push eax
call fcn.0043506a
pop ecx
lea eax, [ebp - 0xd]
pop ecx
push 1
push eax
push str.C:CodeBasesisdev_srcRuntimeMSISharedSetupmsiaction.cpp
lea ecx, [ebp - 0x110]
call fcn.00401889
mov eax, dword [eax + 8]
mov byte [ebp - 4], 0x1f
cmp eax, edi
jne 0x420c71
mov eax, 0x4765fc
mov dword [ebp - 0x2c], eax
push ebx
lea eax, [ebp - 0x2c]
push str.Failed_to_cache_file__last_error__d__prompting_for_alternate_location
push eax
mov dword [ebp - 0x28], 0xa81
call fcn.0040a580
add esp, 0xc
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 0x1e
call fcn.00401093
push dword [ebp + 8]
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x68]
push eax
call fcn.0042163c
test eax, eax
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x18c]
je 0x421145
call fcn.00401093
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x15
call fcn.00401093
jmp 0x420d11
push dword [ebp + 8]
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x68]
push eax
call fcn.0042163c
test eax, eax
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x1b4]
je 0x42112f
call fcn.00402424
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x15
call fcn.00402424
jmp 0x420d11
mov dword [ebp - 0x18], 1
cmp dword [ebp - 0x18], edi
je 0x420963
mov eax, dword [ebp - 0x1c]
mov ebx, 0x497c70
mov eax, dword [eax + 0x268]
mov ecx, dword [eax + 0x5c]
cmp ecx, 1
jbe 0x420f4f
movzx eax, word [eax + 0x48]
push 1
push 0xa
push eax
lea ecx, [ebp - 0x13c]
call fcn.004244a8
lea eax, [ebp - 0xe0]
mov ecx, 0x496b70
push eax
mov byte [ebp - 4], 0x20
call fcn.0040aa1a
push dword [0x476630]
mov ecx, eax
add eax, 4
mov byte [ebp - 4], 0x21
neg ecx
sbb ecx, ecx
push edi
and ecx, eax
push ecx
lea ecx, [ebp - 0x138]
call fcn.0040b08e
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 0x20
call fcn.00402424
mov eax, ebx
mov dword [ebp - 0x110], 0x476628
test eax, eax
mov dword [ebp - 0xf0], esi
jne 0x420da9
mov ebx, 0x4947d8
lea eax, [ebp + 0xb]
push edi
push eax
push ebx
lea ecx, [ebp - 0x110]
call fcn.00403cfd
lea eax, [ebp - 0x13c]
lea ecx, [ebp - 0x110]
push eax
lea eax, [ebp - 0x90]
push eax
mov byte [ebp - 4], 0x22
call fcn.0040fa6a
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 0x24
call fcn.00402424
push edi
lea eax, [ebp - 0xe0]
push edi
push eax
lea ecx, [ebp - 0x68]
call fcn.00403fd1
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x25
push ecx
lea ecx, [ebp - 0xb8]
push ecx
mov ecx, eax
call fcn.0040fa6a
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 0x27
call fcn.00402424
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x18], 0x476650
cmp eax, edi
je 0x420e33
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x88]
cmp ebx, edi
jne 0x420e42
mov ebx, 0x476650
lea eax, [ebp - 0xd]
push 1
push eax
push str.C:CodeBasesisdev_srcRuntimeMSISharedSetupmsiaction.cpp
lea ecx, [ebp - 0x18c]
call fcn.00401889
mov eax, dword [eax + 8]
mov byte [ebp - 4], 0x28
cmp eax, edi
jne 0x420e68
mov eax, 0x4765fc
push dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x28], 0xa93
push ebx
push str.Caching_transform__s_to__s
push eax
call fcn.0040a580
add esp, 0x10
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 0x27
call fcn.00401093
mov ecx, dword [ebp - 0xb0]
cmp ecx, edi
jne 0x420ea5
mov ecx, 0x476650
mov eax, dword [ebp - 0x88]
cmp eax, edi
jne 0x420eb4
mov eax, 0x476650
push edi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18c]
push 6
push eax
call fcn.0040a474
lea ecx, [ebp - 0x90]
lea edx, [ebp - 0x8c]
neg ecx
sbb ecx, ecx
mov byte [ebp - 4], 0x29
and ecx, edx
push ecx
mov ecx, eax
add eax, 4
neg ecx
sbb ecx, ecx
and ecx, eax
call fcn.0040a9bd
mov ebx, eax
lea ecx, [ebp - 0x18c]
neg ebx
sbb bl, bl
mov byte [ebp - 4], 0x27
inc bl
call fcn.00402424
test bl, bl
je 0x420f22
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0xb8]
push edi
push eax
push 6
call fcn.0040a3f7
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x24
call fcn.00402424
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0x20
call fcn.00402424
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x15
call fcn.00402424
mov ebx, dword [ebp - 0x24]
mov ecx, ebx
call fcn.0041e609
cmp dword [ebx + 0x10], edi
je 0x42133d
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0xba0]
push eax
call fcn.00435191
pop ecx
lea eax, [ebp - 0x13c]
pop ecx
push edi
push edi
push eax
lea ecx, [ebp - 0x68]
call fcn.00403fd1
lea eax, [ebp - 0xe0]
mov byte [ebp - 4], 0x2a
test eax, eax
mov dword [ebp - 0x90], 0x476628
mov dword [ebp - 0x70], esi
lea eax, [ebp - 0xe0]
jne 0x420fae
mov eax, 0x4947d8
lea ecx, [ebp + 0xb]
push edi
push ecx
push eax
lea ecx, [ebp - 0x90]
call fcn.00403cfd
lea eax, [ebp - 0x90]
lea ecx, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x350]
push eax
mov byte [ebp - 4], 0x2b
call fcn.0040fa6a
push str..ini
push eax
lea eax, [ebp - 0x1b4]
mov byte [ebp - 4], 0x2c
push eax
call fcn.0040ff97
add esp, 0xc
lea ecx, [ebp - 0x350]
mov byte [ebp - 4], 0x2f
call fcn.00402424
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0x2e
call fcn.00402424
mov ebx, dword [ebp - 0x1ac]
cmp ebx, edi
jne 0x421022
mov ebx, 0x476650
lea eax, [ebp - 0xd]
push 1
push eax
push str.C:CodeBasesisdev_srcRuntimeMSISharedSetupmsiaction.cpp
lea ecx, [ebp - 0x18c]
call fcn.00401889
mov eax, dword [eax + 8]
mov byte [ebp - 4], 0x30
cmp eax, edi
jne 0x421048
mov eax, 0x4765fc
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0xba0]
push ebx
push eax
lea eax, [ebp - 0x2c]
push str.Caching_ini_file__s_to__s
push eax
mov dword [ebp - 0x28], 0xaab
call fcn.0040a580
add esp, 0x10
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 0x2e
call fcn.00401093
mov eax, dword [ebp - 0x1ac]
cmp eax, edi
jne 0x421089
mov eax, 0x476650
mov ebx, dword [sym.imp.KERNEL32.dll_CopyFileW]
push edi
push eax
lea eax, [ebp - 0xba0]
push eax
call ebx
mov ecx, dword [ebp + 0xc]
push edi
lea eax, [ebp - 0x300]
push edi
push eax
call fcn.00403fd1
mov esi, 0x496b48
lea ecx, [ebp - 0xb8]
push esi
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x31
call fcn.0040fa6a
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 0x33
call fcn.00402424
push 4
lea eax, [ebp - 0xb8]
sub esp, 0x28
mov ecx, esp
mov dword [ebp - 0xe4], esp
push 1
push eax
call fcn.0040798e
call fcn.0043985e
add esp, 0x2c
test al, al
je 0x421310
lea eax, [ebp - 0x18c]
push esi
push eax
lea ecx, [ebp - 0x13c]
call fcn.0040fa6a
mov eax, dword [ebp - 0x184]
mov byte [ebp - 4], 0x34
cmp eax, edi
jne 0x4211b7
mov esi, 0x476650
mov dword [ebp - 0x18], esi
jmp 0x4211bf
call fcn.00402424
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x15
call fcn.00402424
jmp 0x421159
call fcn.00401093
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x15
call fcn.00401093
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 0x14
call fcn.00402424
lea ecx, [ebp - 0x2b0]
mov byte [ebp - 4], 0xa
call fcn.00402424
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 4], 4
call fcn.00402424
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 3
call fcn.00402424
lea ecx, [ebp - 0x204]
mov byte [ebp - 4], 2
call fcn.00402424
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x164]
call fcn.00402424
xor eax, eax
jmp 0x42162b
mov dword [ebp - 0x18], eax
mov esi, 0x476650
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x14], esi
cmp eax, edi
je 0x4211cf
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0xd]
push 1
push eax
push str.C:CodeBasesisdev_srcRuntimeMSISharedSetupmsiaction.cpp
lea ecx, [ebp - 0x260]
call fcn.00401889
mov eax, dword [eax + 8]
mov byte [ebp - 4], 0x35
cmp eax, edi
jne 0x4211f5
mov eax, 0x4765fc
push dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x28], 0xab6
push dword [ebp - 0x14]
push str.Caching_skin__s_to__s
push eax
call fcn.0040a580
add esp, 0x10
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 0x34
call fcn.00401093
mov ecx, dword [ebp - 0x184]
cmp ecx, edi
jne 0x421231
mov ecx, esi
mov eax, dword [ebp - 0xb0]
cmp eax, edi
jne 0x42123d
mov eax, esi
push edi
push ecx
push eax
call ebx
lea eax, [ebp - 0x260]
mov ecx, 0x496c18
push eax
call fcn.0040aa1a
push eax
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x36
call fcn.0040fa6a
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 0x38
call fcn.00402424
cmp dword [ebp - 0x108], edi
je 0x421287
mov esi, dword [ebp - 0x108]
lea eax, [ebp - 0xd]
push 1
push eax
push str.C:CodeBasesisdev_srcRuntimeMSISharedSetupmsiaction.cpp
lea ecx, [ebp - 0x328]
call fcn.00401889
mov eax, dword [eax + 8]
mov byte [ebp - 4], 0x39
cmp eax, edi
jne 0x4212ad
mov eax, 0x4765fc
push esi
mov esi, 0x496c40
mov dword [ebp - 0x2c], eax
push esi
lea eax, [ebp - 0x2c]
push str.Caching_ini_file__s_to__s
push eax
mov dword [ebp - 0x28], 0xabb
call fcn.0040a580
add esp, 0x10
lea ecx, [ebp - 0x328]
mov byte [ebp - 4], 0x38
call fcn.00401093
mov eax, dword [ebp - 0x108]
cmp eax, edi
jne 0x4212ed
mov eax, 0x476650
push edi
push eax
push esi
call ebx
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 0x34
call fcn.00402424
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 0x33
call fcn.00402424
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x2e
call fcn.00402424
lea ecx, [ebp - 0x1b4]
mov byte [ebp - 4], 0x2a
call fcn.00402424
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x15
call fcn.00402424
mov dword [ebp - 0x14], edi
mov ebx, 0x4765e0
lea eax, [ebp + 0xb]
mov esi, 0x4765d8
push edi
push eax
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x70], esi
call fcn.0040190c
push dword [ebp - 0x14]
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 0x3a
push str.Cab_d
push eax
call fcn.0042423a
add esp, 0xc
lea eax, [ebp - 0xd]
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x110], ebx
push edi
push eax
mov dword [ebp - 0xf0], esi
call fcn.0040190c
lea eax, [ebp - 0x238]
push 0x400
push eax
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 0x3b
call fcn.0040b1a5
mov ecx, dword [eax]
mov byte [ebp - 4], 0x3c
mov byte [eax + 4], 1
call fcn.0040afdf
mov esi, dword [eax]
mov eax, dword [ebp - 0x88]
cmp eax, edi
mov dword [ebp - 0x18], 0x4765fc
je 0x4213da
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x328]
push 5
push eax
call fcn.0040a474
mov eax, dword [eax + 8]
mov byte [ebp - 4], 0x3d
cmp eax, edi
jne 0x4213fb
mov eax, 0x476650
push 0x400
push esi
push dword [ebp - 0x18]
push eax
call fcn.004366cc
add esp, 0x10
lea ecx, [ebp - 0x328]
mov byte [ebp - 4], 0x3c
call fcn.00402424
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 0x3b
call fcn.0040b2ad
cmp dword [ebp - 0x104], edi
je 0x4215a7
mov eax, dword [ebp - 0x108]
cmp eax, edi
jne 0x421446
mov eax, 0x4765fc
lea ecx, [ebp - 0x1ba0]
push ecx
lea ecx, [ebp - 0x13a0]
push ecx
push eax
call fcn.00435711
lea eax, [ebp - 0x1ba0]
push eax
lea eax, [ebp - 0xba0]
push 0x497c70
push eax
call fcn.004358f6
mov eax, dword [ebp - 0x15c]
cmp eax, edi
jne 0x421481
mov eax, 0x476650
lea ecx, [ebp - 0x1ba0]
push ecx
push eax
lea eax, [ebp - 0x13a0]
push eax
call fcn.004358f6
lea eax, [ebp - 0x1d]
push 1
mov esi, str.C:CodeBasesisdev_srcRuntimeMSISharedSetupmsiaction.cpp
push eax
push esi
lea ecx, [ebp - 0x260]
call fcn.00401889
mov eax, dword [eax + 8]
mov byte [ebp - 4], 0x3e
cmp eax, edi
jne 0x4214bc
mov eax, 0x4765fc
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x13a0]
push eax
lea eax, [ebp - 0xba0]
push eax
lea eax, [ebp - 0x2c]
push str.Moving_file__s_to__s
push eax
mov dword [ebp - 0x28], 0xacf
call fcn.0040a580
add esp, 0x10
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 0x3b
call fcn.00401093
lea eax, [ebp - 0x13a0]
push eax
lea eax, [ebp - 0xba0]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x421581
lea eax, [ebp - 0x1f]
push 1
push eax
push esi
lea ecx, [ebp - 0x300]
call fcn.00401889
mov eax, dword [eax + 8]
mov byte [ebp - 4], 0x3f
cmp eax, edi
jne 0x42152e
mov eax, 0x4765fc
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], 0xad3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x40]
push str.Move_failed__attempting_to_copy_and_delete_file__last_error__d
push eax
call fcn.0040a580
add esp, 0xc
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 0x3b
call fcn.00401093
lea eax, [ebp - 0x13a0]
push edi
push eax
lea eax, [ebp - 0xba0]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea eax, [ebp - 0xba0]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 0x3a
call fcn.00401093
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0x15
call fcn.00401093
inc dword [ebp - 0x14]
jmp 0x421345
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 0x3a
call fcn.00401093
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0x15
call fcn.00401093
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 0x14
call fcn.00402424
lea ecx, [ebp - 0x2b0]
mov byte [ebp - 4], 0xa
call fcn.00402424
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x68]
push eax
call fcn.0040249e
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 4], 4
call fcn.00402424
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 3
call fcn.00402424
lea ecx, [ebp - 0x204]
mov byte [ebp - 4], 2
call fcn.00402424
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x164]
call fcn.00402424
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8