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

Disassembly:
push ebp
lea ebp, [esp - 0x1a74]
mov eax, 0x1a74
call fcn.00465b30
push 0xffffffffffffffff
push 0x4a26d4
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x4d6080]
xor eax, ebp
mov dword [ebp + 0x1a70], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x1a80]
mov edi, dword [ebp + 0x1a7c]
and dword [ebp - 0x18], 0
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], eax
call fcn.004057db
mov esi, eax
mov eax, dword [0x4d9a80]
mov dword [ebp - 0x40], eax
push 1
lea eax, [ebp - 0xd]
push eax
push str.CacheRoot
lea ecx, [ebp + 0x208]
mov dword [ebp - 0x44], esi
call fcn.004018b0
and dword [ebp - 4], 0
lea eax, [ebp + 0x9c]
push eax
mov ecx, edi
call fcn.00421d14
mov byte [ebp - 4], 1
push 0xa
push 0xfffffffffffffffe
lea ecx, [ebp + 0x208]
push ecx
push eax
mov ecx, esi
call fcn.00439d2c
mov edi, eax
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x9c]
call fcn.00401670
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x208]
call fcn.00401670
cmp edi, 0xffffffff
push 0xc
pop ebx
jge 0x42697d
push ebx
mov ecx, esi
call fcn.0040ef2e
test al, al
je 0x4277ce
push 1
lea eax, [ebp - 0xd]
push eax
lea ecx, [ebp + 0x138]
call fcn.00401f90
mov dword [ebp - 4], 2
push 1
lea eax, [ebp - 0xd]
push eax
lea ecx, [ebp + 0x34]
call fcn.00401f90
mov byte [ebp - 4], 3
push 1
lea eax, [ebp - 0xd]
push eax
lea ecx, [ebp + 0x23c]
call fcn.00401f90
mov byte [ebp - 4], 4
push 1
lea eax, [ebp - 0xd]
push eax
push 0x4bdf40
lea ecx, [ebp + 0x9c]
call fcn.004018b0
mov byte [ebp - 4], 5
push 1
lea eax, [ebp - 0xd]
push eax
push str.CacheFolder
lea ecx, [ebp + 0x208]
call fcn.004018b0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp + 0x1d4]
push eax
call fcn.00421d14
mov byte [ebp - 4], 7
lea ecx, [ebp + 0x9c]
push ecx
lea ecx, [ebp + 0x208]
push ecx
push eax
lea eax, [ebp]
push eax
mov ecx, esi
call fcn.00439bc1
mov byte [ebp - 4], 8
lea ecx, [ebp + 0xd0]
push ecx
mov ecx, eax
call fcn.0040f66f
mov byte [ebp - 4], 0xa
lea ecx, [ebp]
call fcn.00401670
mov byte [ebp - 4], 0xb
lea ecx, [ebp + 0x1d4]
call fcn.00401670
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x208]
call fcn.00401670
mov byte [ebp - 4], 0xd
lea ecx, [ebp + 0x9c]
call fcn.00401670
push ebx
mov ecx, esi
call fcn.0040ef2e
test al, al
jne 0x426c35
test edi, edi
jl 0x426c35
push str.SHFolder.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x426aeb
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
lea eax, [ebp + 0x23c]
push eax
call fcn.00425b2c
test eax, eax
jne 0x426ced
mov byte [ebp - 4], 4
lea ecx, [ebp + 0xd0]
call fcn.004016d0
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x23c]
call fcn.004016d0
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x34]
call fcn.004016d0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x138]
call fcn.004016d0
xor eax, eax
jmp 0x4277d1
push str.SHGetFolderPathW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
jne 0x426b19
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
lea eax, [ebp + 0x23c]
push eax
call fcn.00425b2c
test eax, eax
jne 0x426c27
jmp 0x426aab
push 0x400
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp + 0x34]
call fcn.0040b2f1
mov byte [ebp - 4], 0x10
mov ecx, dword [eax]
mov byte [eax + 4], 1
call fcn.00407803
push dword [eax]
xor eax, eax
push eax
push eax
push edi
push eax
call ebx
test eax, eax
setl bl
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x2c]
call fcn.0040b14b
test bl, bl
jne 0x426afd
lea eax, [ebp + 0xd0]
push eax
lea eax, [ebp + 0x9c]
push eax
lea ecx, [ebp + 0x34]
call fcn.00415ec8
mov byte [ebp - 4], 0x11
push eax
lea ecx, [ebp + 0x138]
call fcn.004091a5
mov byte [ebp - 4], 0xd
lea ecx, [ebp + 0x9c]
call fcn.004016d0
push 1
lea eax, [ebp - 0xd]
push eax
lea ecx, [ebp + 0x208]
call fcn.00401f90
mov byte [ebp - 4], 0x12
lea eax, [ebp + 0x208]
push eax
push dword [ebp - 0x20]
call fcn.00424849
pop ecx
pop ecx
test al, al
je 0x426bc9
lea eax, [ebp + 0x208]
push eax
lea ecx, [ebp + 0x138]
call fcn.0042296e
cmp dword [ebp + 0x154], 8
mov eax, dword [ebp + 0x140]
jae 0x426bde
lea eax, [ebp + 0x140]
push eax
call fcn.00441895
push dword [ebp - 0x1c]
lea eax, [ebp + 0x9c]
push eax
lea ecx, [ebp + 0x138]
call fcn.00415ec8
mov byte [ebp - 4], 0x13
push eax
lea ecx, [ebp + 0x23c]
call fcn.004091a5
mov byte [ebp - 4], 0x12
lea ecx, [ebp + 0x9c]
call fcn.004016d0
mov byte [ebp - 4], 0xd
lea ecx, [ebp + 0x208]
call fcn.004016d0
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x426ced
push ebx
mov ecx, esi
call fcn.0040ef2e
test al, al
je 0x426c8c
push ebx
lea eax, [ebp + 0x208]
push eax
mov ecx, esi
call fcn.0040f5ac
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp + 0xd0]
call fcn.004091a5
mov byte [ebp - 4], 0xd
lea ecx, [ebp + 0x208]
call fcn.004016d0
lea eax, [ebp + 0x208]
push eax
lea ecx, [ebp + 0xd0]
call fcn.0040f6f7
lea ecx, [ebp + 0x208]
call fcn.004016d0
cmp dword [ebp + 0xec], 8
mov eax, dword [ebp + 0xd8]
jae 0x426ca1
lea eax, [ebp + 0xd8]
push eax
call fcn.00441895
lea eax, [ebp + 0xd0]
push eax
lea ecx, [ebp + 0x138]
call fcn.004091a5
push dword [ebp - 0x1c]
lea eax, [ebp + 0x208]
push eax
lea ecx, [ebp + 0xd0]
call fcn.00415ec8
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp + 0x23c]
call fcn.004091a5
mov byte [ebp - 4], 0xd
lea ecx, [ebp + 0x208]
call fcn.004016d0
push dword [ebp - 0x20]
lea eax, [ebp + 0x23c]
push eax
call fcn.00413555
pop ecx
pop ecx
test al, al
je 0x427786
mov ecx, dword [esi + 0x294]
push 0x663
lea eax, [ebp]
push eax
call fcn.00416366
mov byte [ebp - 4], 0x14
push 1
lea eax, [ebp - 0xd]
push eax
lea ecx, [ebp + 0x9c]
call fcn.00401f90
mov byte [ebp - 4], 0x15
and dword [ebp - 0x30], 0
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileW]
push 4
sub esp, 0x34
xor ebx, ebx
mov ecx, esp
mov dword [ebp - 0x34], esp
inc ebx
push ebx
lea eax, [ebp + 0x23c]
push eax
call fcn.004091ca
mov byte [ebp - 4], 0x16
mov byte [ebp - 4], 0x15
call fcn.0044cef2
add esp, 0x38
test al, al
je 0x426ea7
push ebx
lea eax, [ebp - 0xd]
push eax
lea ecx, [ebp + 0x16c]
call fcn.00401f90
mov byte [ebp - 4], 0x17
push ebx
lea eax, [ebp - 0xd]
push eax
lea ecx, [ebp + 0x1d4]
call fcn.00401f90
mov byte [ebp - 4], 0x18
lea eax, [ebp + 0x16c]
push eax
lea eax, [ebp + 0x23c]
push eax
call fcn.00424849
pop ecx
pop ecx
test al, al
je 0x426de2
lea eax, [ebp + 0x1d4]
push eax
push dword [ebp - 0x20]
call fcn.00424849
pop ecx
pop ecx
test al, al
je 0x426de2
lea eax, [ebp + 0x1d4]
push eax
lea eax, [ebp + 0x16c]
push eax
call fcn.0040ec38
pop ecx
pop ecx
test al, al
jne 0x426e87
cmp dword [ebp + 0x258], 8
mov ecx, dword [ebp + 0x244]
jae 0x426df7
lea ecx, [ebp + 0x244]
cmp dword [ebp + 0x1c], 8
mov eax, dword [ebp + 8]
jae 0x426e03
lea eax, [ebp + 8]
push ecx
push eax
lea eax, [ebp + 0x9c]
push eax
call fcn.0041602c
mov eax, dword [esi + 0x294]
or dword [ebp - 0x18], ebx
add esp, 0xc
cmp byte [eax + 1], 0
jne 0x426e6d
cmp byte [eax + 2], 0
jne 0x426e6d
push 0
push 6
push 0x34
sub esp, 0x34
mov ecx, esp
mov dword [ebp - 0x48], esp
push ebx
lea eax, [ebp + 0x9c]
push eax
call fcn.004091ca
mov byte [ebp - 4], 0x19
mov eax, dword [esi + 0x294]
or dword [ebp - 0x18], 2
push dword [ebp - 0x40]
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x34]
call fcn.0041d34f
cmp eax, 6
je 0x426e6d
xor al, al
jmp 0x426e6f
mov al, 1
test byte [ebp - 0x18], 2
je 0x426e79
and dword [ebp - 0x18], 0xfffffffd
test byte [ebp - 0x18], 1
je 0x426e83
and dword [ebp - 0x18], 0xfffffffe
test al, al
je 0x426eff
xor ebx, ebx
mov byte [ebp - 4], 0x17
lea ecx, [ebp + 0x1d4]
call fcn.004016d0
mov byte [ebp - 4], 0x15
lea ecx, [ebp + 0x16c]
call fcn.004016d0
cmp dword [ebp + 0x258], 8
mov eax, dword [ebp + 0x244]
jae 0x426ebc
lea eax, [ebp + 0x244]
push eax
lea eax, [ebp - 0x3c]
push str.Copying_file_for_cache_to__s
push eax
mov dword [ebp - 0x3c], str.E:CodeBases_Majesty_Hotfixesisdev_srcRuntimeMSISharedSetupmsiaction.cpp
mov dword [ebp - 0x38], 0xa7e
call fcn.004115dc
mov ecx, dword [ebp + 0x244]
add esp, 0xc
cmp dword [ebp + 0x258], 8
jae 0x426ef1
lea ecx, [ebp + 0x244]
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x1c], 8
jb 0x426f3c
mov eax, dword [eax + 8]
jmp 0x426f3f
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
lea eax, [ebp + 0x23c]
push eax
call fcn.00425b2c
test eax, eax
je 0x42759d
mov byte [ebp - 4], 0x17
lea ecx, [ebp + 0x1d4]
call fcn.004016d0
mov byte [ebp - 4], 0x15
lea ecx, [ebp + 0x16c]
call fcn.004016d0
jmp 0x427069
add eax, 8
push ebx
push ecx
push eax
call edi
test eax, eax
jne 0x427062
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push 1
lea eax, [ebp - 0xd]
push eax
lea ecx, [ebp + 0x1a0]
call fcn.00401870
mov byte [ebp - 4], 0x1a
mov ecx, dword [esi + 0x294]
push 0x65b
lea eax, [ebp + 0x208]
push eax
call fcn.00416366
mov byte [ebp - 4], 0x1b
lea ecx, [ebp + 0x104]
push ecx
mov ecx, eax
call fcn.00421d14
mov byte [ebp - 4], 0x1d
lea ecx, [ebp + 0x208]
call fcn.004016d0
cmp dword [ebp + 0x258], 8
mov ecx, dword [ebp + 0x244]
jae 0x426fb6
lea ecx, [ebp + 0x244]
cmp dword [ebp + 0x120], 8
mov eax, dword [ebp + 0x10c]
jae 0x426fcb
lea eax, [ebp + 0x10c]
push ecx
push eax
lea eax, [ebp + 0x1a0]
push eax
call fcn.00401f60
add esp, 0xc
push 0x4ac934
lea ecx, [ebp + 0x1a4]
call fcn.004214fb
cmp dword [ebp + 0x1bc], 8
mov eax, dword [ebp + 0x1a8]
jae 0x427001
lea eax, [ebp + 0x1a8]
push ebx
push eax
call fcn.0044252e
push ebx
lea eax, [ebp - 0x28]
push str.Failed_to_cache_file__last_error__d__prompting_for_alternate_location
push eax
mov dword [ebp - 0x28], str.E:CodeBases_Majesty_Hotfixesisdev_srcRuntimeMSISharedSetupmsiaction.cpp
mov dword [ebp - 0x24], 0xa8a
call fcn.004115dc
mov ecx, dword [ebp - 0x14]
add esp, 0x14
push dword [ebp - 0x1c]
lea eax, [ebp + 0x23c]
push eax
call fcn.00425b2c
test eax, eax
je 0x4275db
mov byte [ebp - 4], 0x1a
lea ecx, [ebp + 0x104]
call fcn.00401670
mov byte [ebp - 4], 0x15
lea ecx, [ebp + 0x1a0]
call fcn.00401670
jmp 0x427069
mov dword [ebp - 0x30], 1
xor ebx, ebx
cmp dword [ebp - 0x30], ebx
je 0x426d3d
mov eax, dword [esi + 0x294]
mov ecx, dword [eax + 0x74]
cmp ecx, 1
jbe 0x427226
movzx eax, word [eax + 0x50]
push 1
push 0xa
push eax
lea ecx, [ebp + 0x1d4]
call fcn.0042184c
mov byte [ebp - 4], 0x1e
lea eax, [ebp + 0x208]
push eax
mov ecx, 0x4dae64
call fcn.0040f66f
mov byte [ebp - 4], 0x1f
push eax
lea ecx, [ebp + 0x1d4]
call fcn.0040f04f
mov byte [ebp - 4], 0x1e
lea ecx, [ebp + 0x208]
call fcn.004016d0
push 1
lea eax, [ebp - 0xd]
push eax
push 0x4daed0
lea ecx, [ebp + 0x208]
call fcn.004096ba
mov byte [ebp - 4], 0x20
lea ecx, [ebp + 0x1d4]
push ecx
lea ecx, [ebp + 0x1a0]
push ecx
mov ecx, eax
call fcn.00415ec8
mov byte [ebp - 4], 0x22
lea ecx, [ebp + 0x208]
call fcn.004016d0
push ebx
push ebx
lea eax, [ebp + 0x208]
push eax
lea ecx, [ebp + 0x23c]
call fcn.0040a7c0
mov byte [ebp - 4], 0x23
lea ecx, [ebp + 0x1d4]
push ecx
lea ecx, [ebp + 0x68]
push ecx
mov ecx, eax
call fcn.00415ec8
mov byte [ebp - 4], 0x25
lea ecx, [ebp + 0x208]
call fcn.004016d0
mov ecx, dword [ebp + 0x70]
push 8
pop ebx
cmp dword [ebp + 0x84], ebx
jae 0x427156
lea ecx, [ebp + 0x70]
mov eax, dword [ebp + 0x1a8]
cmp dword [ebp + 0x1bc], ebx
jae 0x42716a
lea eax, [ebp + 0x1a8]
push ecx
push eax
lea eax, [ebp - 0x28]
push str.Caching_transform__s_to__s
push eax
mov dword [ebp - 0x28], str.E:CodeBases_Majesty_Hotfixesisdev_srcRuntimeMSISharedSetupmsiaction.cpp
mov dword [ebp - 0x24], 0xa9c
call fcn.004115dc
mov ecx, dword [ebp + 0x70]
add esp, 0x10
cmp dword [ebp + 0x84], ebx
jae 0x427199
lea ecx, [ebp + 0x70]
mov eax, dword [ebp + 0x1a8]
cmp dword [ebp + 0x1bc], ebx
jae 0x4271ad
lea eax, [ebp + 0x1a8]
push 0
push ecx
push eax
call edi
push 6
lea eax, [ebp + 0x208]
push eax
mov ecx, esi
call fcn.0040f5ac
mov byte [ebp - 4], 0x26
lea ecx, [ebp + 0x1a0]
push ecx
push eax
call fcn.0040ec38
pop ecx
pop ecx
mov bl, al
mov byte [ebp - 4], 0x25
lea ecx, [ebp + 0x208]
call fcn.004016d0
test bl, bl
je 0x4271fa
push 0
lea eax, [ebp + 0x68]
push eax
push 6
mov ecx, esi
call fcn.004111a1
mov byte [ebp - 4], 0x22
lea ecx, [ebp + 0x68]
call fcn.004016d0
mov byte [ebp - 4], 0x1e
lea ecx, [ebp + 0x1a0]
call fcn.004016d0
mov byte [ebp - 4], 0x15
lea ecx, [ebp + 0x1d4]
call fcn.004016d0
xor ebx, ebx
mov esi, dword [ebp - 0x14]
mov ecx, esi
call fcn.00422343
cmp dword [esi + 0x10], ebx
je 0x4274fa
lea eax, [ebp + 0x74]
push eax
lea eax, [ebp + 0x1270]
push eax
call fcn.0044210a
pop ecx
pop ecx
push ebx
push ebx
lea eax, [ebp + 0x208]
push eax
lea ecx, [ebp + 0x23c]
call fcn.0040a7c0
mov byte [ebp - 4], 0x27
push 1
lea eax, [ebp - 0xd]
push eax
lea eax, [ebp + 0x74]
push eax
lea ecx, [ebp + 0x16c]
call fcn.004096ba
mov byte [ebp - 4], 0x28
lea eax, [ebp + 0x16c]
push eax
lea eax, [ebp + 0x104]
push eax
lea ecx, [ebp + 0x208]
call fcn.00415ec8
mov byte [ebp - 4], 0x29
push str..ini
push eax
lea eax, [ebp + 0x1d4]
push eax
call fcn.00415e5d
add esp, 0xc
mov byte [ebp - 4], 0x2b
lea ecx, [ebp + 0x104]
call fcn.004016d0
mov byte [ebp - 4], 0x2c
lea ecx, [ebp + 0x16c]
call fcn.004016d0
cmp dword [ebp + 0x1f0], 8
mov eax, dword [ebp + 0x1dc]
jae 0x4272e1
lea eax, [ebp + 0x1dc]
push eax
lea eax, [ebp + 0x1270]
push eax
mov ebx, str.Caching_ini_file__s_to__s
lea eax, [ebp - 0x28]
push ebx
push eax
mov dword [ebp - 0x28], str.E:CodeBases_Majesty_Hotfixesisdev_srcRuntimeMSISharedSetupmsiaction.cpp
mov dword [ebp - 0x24], 0xab4
call fcn.004115dc
mov eax, dword [ebp + 0x1dc]
add esp, 0x10
cmp dword [ebp + 0x1f0], 8
jae 0x42731e
lea eax, [ebp + 0x1dc]
xor esi, esi
push esi
push eax
lea eax, [ebp + 0x1270]
push eax
call edi
mov ecx, dword [ebp - 0x20]
push esi
push esi
lea eax, [ebp + 0x16c]
push eax
call fcn.0040a7c0
mov byte [ebp - 4], 0x2d
mov esi, 0x4dae98
push esi
lea ecx, [ebp + 0x1a0]
push ecx
mov ecx, eax
call fcn.00415ec8
mov byte [ebp - 4], 0x2f
lea ecx, [ebp + 0x16c]
call fcn.004016d0
push 4
sub esp, 0x34
mov ecx, esp
mov dword [ebp - 0x48], esp
push 1
lea eax, [ebp + 0x1a0]
push eax
call fcn.004091ca
mov byte [ebp - 4], 0x30
mov byte [ebp - 4], 0x2f
call fcn.0044cef2
add esp, 0x38
test al, al
je 0x4274cb
push esi
lea eax, [ebp + 0x16c]
push eax
lea ecx, [ebp + 0x208]
call fcn.00415ec8
mov byte [ebp - 4], 0x31
cmp dword [ebp + 0x188], 8
mov ecx, dword [ebp + 0x174]
jae 0x4273bf
lea ecx, [ebp + 0x174]
mov eax, dword [ebp + 0x1a8]
push 8
pop esi
cmp dword [ebp + 0x1bc], esi
jae 0x4273d6
lea eax, [ebp + 0x1a8]
push ecx
push eax
lea eax, [ebp - 0x28]
push str.Caching_skin__s_to__s
push eax
mov dword [ebp - 0x28], str.E:CodeBases_Majesty_Hotfixesisdev_srcRuntimeMSISharedSetupmsiaction.cpp
mov dword [ebp - 0x24], 0xabf
call fcn.004115dc
mov ecx, dword [ebp + 0x174]
add esp, 0x10
cmp dword [ebp + 0x188], esi
jae 0x42740b
lea ecx, [ebp + 0x174]
mov eax, dword [ebp + 0x1a8]
cmp dword [ebp + 0x1bc], esi
jae 0x42741f
lea eax, [ebp + 0x1a8]
push 0
push ecx
push eax
call edi
lea eax, [ebp - 0x88]
push eax
mov ecx, 0x4dad94
call fcn.0040f66f
mov byte [ebp - 4], 0x32
push eax
lea eax, [ebp + 0x104]
push eax
lea ecx, [ebp + 0x208]
call fcn.00415ec8
mov byte [ebp - 4], 0x34
lea ecx, [ebp - 0x88]
call fcn.004016d0
mov eax, dword [ebp + 0x10c]
cmp dword [ebp + 0x120], esi
jae 0x427470
lea eax, [ebp + 0x10c]
push eax
mov esi, 0x4d9d28
push esi
lea eax, [ebp - 0x28]
push ebx
push eax
mov dword [ebp - 0x28], str.E:CodeBases_Majesty_Hotfixesisdev_srcRuntimeMSISharedSetupmsiaction.cpp
mov dword [ebp - 0x24], 0xac4
call fcn.004115dc
mov eax, dword [ebp + 0x10c]
add esp, 0x10
cmp dword [ebp + 0x120], 8
jae 0x4274a7
lea eax, [ebp + 0x10c]
push 0
push eax
push esi
call edi
mov byte [ebp - 4], 0x31
lea ecx, [ebp + 0x104]
call fcn.004016d0
mov byte [ebp - 4], 0x2f
lea ecx, [ebp + 0x16c]
call fcn.004016d0
mov byte [ebp - 4], 0x2c
lea ecx, [ebp + 0x1a0]
call fcn.004016d0
mov byte [ebp - 4], 0x27
lea ecx, [ebp + 0x1d4]
call fcn.004016d0
mov byte [ebp - 4], 0x15
lea ecx, [ebp + 0x208]
call fcn.004016d0
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov ebx, 0x400
push 1
lea eax, [ebp - 0xd]
push eax
lea ecx, [ebp + 0x16c]
call fcn.00401870
mov byte [ebp - 4], 0x35
push dword [ebp - 0x14]
lea eax, [ebp + 0x16c]
push str.Cab_d
push eax
call fcn.00401f60
add esp, 0xc
push 1
lea eax, [ebp - 0xd]
push eax
lea ecx, [ebp + 0x1d4]
call fcn.00401870
mov byte [ebp - 4], 0x36
push ebx
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp + 0x1d4]
call fcn.00401a00
mov esi, eax
mov byte [ebp - 4], 0x37
mov ecx, dword [ebp - 0x44]
push 5
lea eax, [ebp - 0x88]
push eax
call fcn.0040f5ac
mov edi, eax
mov byte [ebp - 4], 0x38
mov ecx, dword [esi]
mov byte [esi + 4], 1
call fcn.00402290
cmp dword [ebp + 0x188], 8
mov eax, dword [eax]
mov ecx, dword [ebp + 0x174]
jae 0x427592
lea ecx, [ebp + 0x174]
cmp dword [edi + 0x1c], 8
jb 0x4275fb
mov edi, dword [edi + 8]
jmp 0x4275fe
mov byte [ebp - 4], 0x17
lea ecx, [ebp + 0x1d4]
call fcn.004016d0
mov byte [ebp - 4], 0x15
lea ecx, [ebp + 0x16c]
call fcn.004016d0
mov byte [ebp - 4], 0x14
lea ecx, [ebp + 0x9c]
call fcn.004016d0
mov byte [ebp - 4], 0xd
lea ecx, [ebp]
call fcn.004016d0
jmp 0x426aab
mov byte [ebp - 4], 0x1a
lea ecx, [ebp + 0x104]
call fcn.00401670
mov byte [ebp - 4], 0x15
lea ecx, [ebp + 0x1a0]
call fcn.00401670
jmp 0x4275bb
add edi, 8
push ebx
push eax
push ecx
push edi
call fcn.004434f4
add esp, 0x10
mov byte [ebp - 4], 0x37
lea ecx, [ebp - 0x88]
call fcn.004016d0
mov byte [ebp - 4], 0x36
lea ecx, [ebp - 0x54]
call fcn.00402060
cmp dword [ebp + 0x1ec], 0
je 0x42774d
cmp dword [ebp + 0x1f0], 8
mov eax, dword [ebp + 0x1dc]
jae 0x427647
lea eax, [ebp + 0x1dc]
lea ecx, [ebp + 0x270]
push ecx
lea ecx, [ebp + 0xa70]
push ecx
push eax
call fcn.004415c9
lea eax, [ebp + 0x270]
push eax
push 0x4daed0
lea eax, [ebp + 0x1270]
push eax
call fcn.00441d63
cmp dword [ebp + 0x154], 8
mov eax, dword [ebp + 0x140]
jae 0x427688
lea eax, [ebp + 0x140]
lea ecx, [ebp + 0x270]
push ecx
push eax
lea eax, [ebp + 0xa70]
push eax
call fcn.00441d63
lea eax, [ebp + 0xa70]
push eax
lea eax, [ebp + 0x1270]
push eax
lea eax, [ebp - 0x28]
push str.Moving_file__s_to__s
mov esi, str.E:CodeBases_Majesty_Hotfixesisdev_srcRuntimeMSISharedSetupmsiaction.cpp
push eax
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], 0xad8
call fcn.004115dc
add esp, 0x10
lea eax, [ebp + 0xa70]
push eax
lea eax, [ebp + 0x1270]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x427727
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], 0xadc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x3c]
push str.Move_failed__attempting_to_copy_and_delete_file__last_error__d
push eax
call fcn.004115dc
add esp, 0xc
push 0
lea eax, [ebp + 0xa70]
push eax
lea eax, [ebp + 0x1270]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea eax, [ebp + 0x1270]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 0x35
lea ecx, [ebp + 0x1d4]
call fcn.00401670
mov byte [ebp - 4], 0x15
lea ecx, [ebp + 0x16c]
call fcn.00401670
inc dword [ebp - 0x14]
jmp 0x427502
mov byte [ebp - 4], 0x35
lea ecx, [ebp + 0x1d4]
call fcn.00401670
mov byte [ebp - 4], 0x15
lea ecx, [ebp + 0x16c]
call fcn.00401670
mov byte [ebp - 4], 0x14
lea ecx, [ebp + 0x9c]
call fcn.004016d0
mov byte [ebp - 4], 0xd
lea ecx, [ebp]
call fcn.004016d0
mov ecx, dword [ebp - 0x20]
lea eax, [ebp + 0x23c]
push eax
call fcn.004091a5
mov byte [ebp - 4], 4
lea ecx, [ebp + 0xd0]
call fcn.004016d0
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x23c]
call fcn.004016d0
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x34]
call fcn.004016d0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x138]
call fcn.004016d0
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1a70]
xor ecx, ebp
call fcn.004646d1
add ebp, 0x1a74
leave
ret 8