Function at 0x420e20
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x469b61
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x4a5590]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x140], ebx
mov edi, ecx
mov dword [ebp - 0x13c], edi
xor eax, eax
mov dword [ebp - 0xbc], 7
mov dword [ebp - 0xc0], 0
mov word [ebp - 0xd0], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x11c], 7
mov dword [ebp - 0x120], eax
mov word [ebp - 0x130], ax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 2
call fcn.0042edf0
mov byte [ebp - 4], 3
cmp dword [ebp - 0x60], 0
lea ecx, [ebp - 0x40]
jne 0x420ef0
push 0x19
xor eax, eax
push str.Could_not_get_temp_folder
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.0040a100
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x40]
call fcn.0041fee0
push str.tuneupmsi.7z
lea edx, [ebp - 0x70]
call fcn.0040b610
mov esi, eax
lea eax, [ebp - 0x28]
add esp, 4
cmp eax, esi
je 0x420f37
cmp dword [ebp - 0x14], 8
jb 0x420f1a
push dword [ebp - 0x28]
call fcn.0044d5f9
add esp, 4
xor eax, eax
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00409c10
cmp dword [ebp - 0x2c], 8
jb 0x420f48
push dword [ebp - 0x40]
call fcn.0044d5f9
add esp, 4
lea eax, [ebp - 0x28]
push eax
mov edx, str.Compressed_base_package_name:
lea ecx, [ebp - 0x40]
call fcn.0041a820
add esp, 4
push eax
push 0
mov byte [ebp - 4], 5
call fcn.0041ea00
mov byte [ebp - 4], 3
cmp dword [ebp - 0x2c], 8
jb 0x420f7d
push dword [ebp - 0x40]
call fcn.0044d5f9
add esp, 4
cmp dword [ebp - 0x14], 8
mov edx, dword [ebp - 0x28]
jae 0x420f89
lea edx, [ebp - 0x28]
mov ecx, edi
call fcn.0041e1e0
test eax, eax
jns 0x4216d0
mov edx, eax
lea ecx, [ebp - 0x40]
call fcn.0042ab70
mov esi, eax
lea eax, [ebp - 0x28]
push eax
mov edx, str.ResExportToFile_of
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 6
call fcn.0041a820
add esp, 4
push str._failed:
mov edx, eax
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 7
call fcn.004122e0
add esp, 4
push esi
mov edx, eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 8
call fcn.0040acc0
add esp, 4
push eax
push 1
mov byte [ebp - 4], 9
call fcn.0041ea00
cmp dword [ebp - 0x44], 8
jb 0x421007
push dword [ebp - 0x58]
call fcn.0044d5f9
add esp, 4
xor eax, eax
cmp dword [ebp - 0x74], 8
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
jb 0x42102f
push dword [ebp - 0x88]
call fcn.0044d5f9
add esp, 4
xor eax, eax
cmp dword [ebp - 0x8c], 8
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
jb 0x42105d
push dword [ebp - 0xa0]
call fcn.0044d5f9
add esp, 4
xor eax, eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x8c], 7
mov dword [ebp - 0x90], 0
mov word [ebp - 0xa0], ax
jb 0x42108f
push dword [ebp - 0x40]
call fcn.0044d5f9
add esp, 4
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x134], eax
jmp 0x4210a6
mov edi, dword [ebp - 0x13c]
lea edx, [ebp - 0x148]
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x144], 0
call fcn.0042ded0
mov esi, eax
mov byte [ebp - 4], 0xa
push dword [edi + 0x24]
lea edx, [ebp - 0xd0]
lea ecx, [ebp - 0xb8]
call fcn.0040b610
add esp, 4
push 0x47bf3c
mov edx, eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xb
call fcn.004122e0
add esp, 4
push esi
mov edx, eax
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xc
call fcn.0040acc0
add esp, 4
push str..msi
mov edx, eax
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0xd
call fcn.004122e0
mov esi, eax
lea eax, [ebp - 0x28]
add esp, 4
cmp eax, esi
je 0x42119b
cmp dword [ebp - 0x14], 8
jb 0x42113f
push dword [ebp - 0x28]
call fcn.0044d5f9
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp dword [esi + 0x14], 8
jae 0x421171
mov eax, dword [esi + 0x10]
inc eax
je 0x42117c
add eax, eax
push eax
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.0044c580
add esp, 0xc
jmp 0x42117c
mov eax, dword [esi]
mov dword [ebp - 0x28], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp dword [ebp - 0x8c], 8
jb 0x4211b2
push dword [ebp - 0xa0]
call fcn.0044d5f9
add esp, 4
xor eax, eax
cmp dword [ebp - 0x74], 8
mov dword [ebp - 0x8c], 7
mov dword [ebp - 0x90], 0
mov word [ebp - 0xa0], ax
jb 0x4211e3
push dword [ebp - 0x88]
call fcn.0044d5f9
add esp, 4
xor eax, eax
cmp dword [ebp - 0x44], 8
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
jb 0x42120b
push dword [ebp - 0x58]
call fcn.0044d5f9
add esp, 4
xor eax, eax
cmp dword [ebp - 0xa4], 8
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
jb 0x421236
push dword [ebp - 0xb8]
call fcn.0044d5f9
add esp, 4
xor eax, eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0xa4], 7
mov dword [ebp - 0xa8], 0
mov word [ebp - 0xb8], ax
jb 0x421268
push dword [ebp - 0x40]
call fcn.0044d5f9
add esp, 4
cmp dword [ebp - 0x14], 8
mov edx, dword [ebp - 0x28]
jae 0x421274
lea edx, [ebp - 0x28]
mov ecx, edi
call fcn.0041e1e0
mov edi, eax
test edi, edi
jns 0x4216ca
mov edx, edi
lea ecx, [ebp - 0xe8]
call fcn.0042ab70
mov esi, eax
lea eax, [ebp - 0x28]
push eax
mov edx, str.ResExportToFile_of
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xe
call fcn.0041a820
add esp, 4
push str._failed:
mov edx, eax
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0xf
call fcn.004122e0
add esp, 4
push esi
mov edx, eax
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x10
call fcn.0040acc0
add esp, 4
mov esi, eax
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x11
call fcn.0042f4b0
push eax
mov edx, 0x47c00c
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x12
call fcn.0041ede0
add esp, 4
push 0x47c004
mov edx, eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x13
call fcn.004122e0
add esp, 4
cmp dword [ebp - 0xa4], 8
jb 0x421330
push dword [ebp - 0xb8]
call fcn.0044d5f9
add esp, 4
xor eax, eax
mov dword [ebp - 0xa4], 7
mov dword [ebp - 0xa8], 0
mov word [ebp - 0xb8], ax
mov byte [ebp - 4], 0x16
cmp dword [ebp - 0x8c], 8
jb 0x421368
push dword [ebp - 0xa0]
call fcn.0044d5f9
add esp, 4
push 9
xor eax, eax
push str.WARNING:
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x8c], 7
mov dword [ebp - 0x90], 0
mov word [ebp - 0xa0], ax
call fcn.004092b0
push 0x47c044
mov edx, esi
lea ecx, [ebp - 0x118]
call fcn.0040b610
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x17
call fcn.00409560
mov byte [ebp - 4], 0x16
cmp dword [ebp - 0x104], 8
jb 0x4213d5
push dword [ebp - 0x118]
call fcn.0044d5f9
add esp, 4
mov edx, dword [0x4acda0]
cmp edx, 0xffffffff
je 0x421403
cmp dword [ebp - 0x44], 8
mov ecx, dword [ebp - 0x58]
jae 0x4213ec
lea ecx, [ebp - 0x58]
push 0
lea eax, [ebp - 0x138]
push eax
mov eax, dword [ebp - 0x48]
add eax, eax
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 0x44], 8
jb 0x421414
push dword [ebp - 0x58]
call fcn.0044d5f9
add esp, 4
cmp dword [ebp - 0x74], 8
jb 0x421428
push dword [ebp - 0x88]
call fcn.0044d5f9
add esp, 4
xor eax, eax
cmp dword [ebp - 0xec], 8
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
jb 0x421456
push dword [ebp - 0x100]
call fcn.0044d5f9
add esp, 4
xor eax, eax
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0xec], 7
mov dword [ebp - 0xf0], 0
mov word [ebp - 0x100], ax
jb 0x421484
push dword [ebp - 0x40]
call fcn.0044d5f9
add esp, 4
xor eax, eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0xd4], 8
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
jb 0x4214b3
push dword [ebp - 0xe8]
call fcn.0044d5f9
add esp, 4
mov eax, dword [ebp - 0x134]
inc ebx
inc eax
mov dword [ebp - 0x134], eax
cmp ebx, 0x64
jb 0x4210a0
mov edx, edi
lea ecx, [ebp - 0x118]
call fcn.0042ab70
push eax
mov edx, str.ResExportToFile_repeatedly_failed:
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x18
call fcn.0041ede0
add esp, 4
mov esi, eax
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0x19
call fcn.0042f4b0
push eax
mov edx, 0x47c00c
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x1a
call fcn.0041ede0
add esp, 4
push 0x47c004
mov edx, eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x1b
call fcn.004122e0
add esp, 4
cmp dword [ebp - 0x2c], 8
jb 0x42153c
push dword [ebp - 0x40]
call fcn.0044d5f9
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 0x1e
cmp dword [ebp - 0xec], 8
jb 0x42156b
push dword [ebp - 0x100]
call fcn.0044d5f9
add esp, 4
push 7
xor eax, eax
push str.ERROR:
lea ecx, [ebp - 0x58]
mov dword [ebp - 0xec], 7
mov dword [ebp - 0xf0], 0
mov word [ebp - 0x100], ax
call fcn.004092b0
push 0x47c044
mov edx, esi
lea ecx, [ebp - 0xe8]
call fcn.0040b610
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x1f
call fcn.00409560
mov byte [ebp - 4], 0x1e
cmp dword [ebp - 0xd4], 8
jb 0x4215d8
push dword [ebp - 0xe8]
call fcn.0044d5f9
add esp, 4
mov ecx, dword [0x4acda0]
cmp ecx, 0xffffffff
je 0x421606
cmp dword [ebp - 0x44], 8
mov edx, dword [ebp - 0x58]
jae 0x4215ef
lea edx, [ebp - 0x58]
push 0
lea eax, [ebp - 0x138]
push eax
mov eax, dword [ebp - 0x48]
add eax, eax
push eax
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 0x44], 8
jb 0x421617
push dword [ebp - 0x58]
call fcn.0044d5f9
add esp, 4
cmp dword [ebp - 0xa4], 8
jb 0x42162e
push dword [ebp - 0xb8]
call fcn.0044d5f9
add esp, 4
xor eax, eax
cmp dword [ebp - 0x104], 8
mov dword [ebp - 0xa4], 7
mov dword [ebp - 0xa8], 0
mov word [ebp - 0xb8], ax
jb 0x421662
push dword [ebp - 0x118]
call fcn.0044d5f9
add esp, 4
cmp dword [ebp - 0x5c], 8
jb 0x421673
push dword [ebp - 0x70]
call fcn.0044d5f9
add esp, 4
xor eax, eax
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
jb 0x421698
push dword [ebp - 0x28]
call fcn.0044d5f9
add esp, 4
xor eax, eax
cmp dword [ebp - 0xbc], 8
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x4216c3
push dword [ebp - 0xd0]
call fcn.0044d5f9
add esp, 4
mov eax, edi
jmp 0x421927
mov ebx, dword [ebp - 0x140]
lea ecx, [ebp - 0xd0]
call fcn.00420700
mov esi, eax
lea ecx, [ebp - 0xe8]
test esi, esi
jns 0x4217b3
mov edx, esi
call fcn.0042ab70
push eax
mov edx, str.GetMsiExtractPath_failed:
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x20
call fcn.0041ede0
add esp, 4
push eax
push 2
mov byte [ebp - 4], 0x21
call fcn.0041ea00
cmp dword [ebp - 0x2c], 8
jb 0x421724
push dword [ebp - 0x40]
call fcn.0044d5f9
add esp, 4
xor eax, eax
cmp dword [ebp - 0xd4], 8
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
jb 0x42174f
push dword [ebp - 0xe8]
call fcn.0044d5f9
add esp, 4
cmp dword [ebp - 0x5c], 8
jb 0x421760
push dword [ebp - 0x70]
call fcn.0044d5f9
add esp, 4
xor eax, eax
cmp dword [ebp - 0x14], 8
mov word [ebp - 0x70], ax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], 7
jb 0x421781
push dword [ebp - 0x28]
call fcn.0044d5f9
add esp, 4
xor eax, eax
cmp dword [ebp - 0xbc], 8
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x4217ac
push dword [ebp - 0xd0]
call fcn.0044d5f9
add esp, 4
mov eax, esi
jmp 0x421927
lea eax, [ebp - 0xd0]
push eax
mov edx, str.Decoding_zipped_archive
call fcn.0041a820
add esp, 4
push eax
push 0
mov byte [ebp - 4], 0x22
call fcn.0041ea00
mov byte [ebp - 4], 3
cmp dword [ebp - 0xd4], 8
jb 0x4217ee
push dword [ebp - 0xe8]
call fcn.0044d5f9
add esp, 4
cmp dword [ebp - 0x14], 8
mov edx, dword [ebp - 0x28]
jae 0x4217fa
lea edx, [ebp - 0x28]
cmp dword [ebp - 0xbc], 8
mov ecx, dword [ebp - 0xd0]
jae 0x42180f
lea ecx, [ebp - 0xd0]
call fcn.00411550
mov esi, eax
test esi, esi
jle 0x421823
movzx esi, si
or esi, 0x80070000
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x42182f
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, esi
lea ecx, [ebp - 0xe8]
call fcn.0042ab70
push eax
mov edx, str.Decoding_of_archive_completed:
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x23
call fcn.0041ede0
add esp, 4
push eax
push 0
mov byte [ebp - 4], 0x24
call fcn.0041ea00
cmp dword [ebp - 0x2c], 8
jb 0x421875
push dword [ebp - 0x40]
call fcn.0044d5f9
add esp, 4
xor eax, eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0xd4], 8
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
jb 0x4218a4
push dword [ebp - 0xe8]
call fcn.0044d5f9
add esp, 4
test esi, esi
js 0x42174f
cmp ebx, 0x4a6f44
je 0x4218c4
push 0xffffffffffffffff
push 0
push 0x4a6f44
mov ecx, ebx
call fcn.00409d90
cmp dword [ebp - 0x5c], 8
jb 0x4218d5
push dword [ebp - 0x70]
call fcn.0044d5f9
add esp, 4
xor eax, eax
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
jb 0x4218fa
push dword [ebp - 0x28]
call fcn.0044d5f9
add esp, 4
xor eax, eax
cmp dword [ebp - 0xbc], 8
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x421925
push dword [ebp - 0xd0]
call fcn.0044d5f9
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044c2ed
mov esp, ebp
pop ebp
ret