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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x469ba1
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.0042ee30
mov byte [ebp - 4], 3
cmp dword [ebp - 0x60], 0
lea ecx, [ebp - 0x40]
jne 0x420f30
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.0040a110
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x40]
call fcn.0041ff20
push str.tuneupmsi.7z
lea edx, [ebp - 0x70]
call fcn.0040b640
mov esi, eax
lea eax, [ebp - 0x28]
add esp, 4
cmp eax, esi
je 0x420f77
cmp dword [ebp - 0x14], 8
jb 0x420f5a
push dword [ebp - 0x28]
call fcn.0044d639
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.00409c20
cmp dword [ebp - 0x2c], 8
jb 0x420f88
push dword [ebp - 0x40]
call fcn.0044d639
add esp, 4
lea eax, [ebp - 0x28]
push eax
mov edx, str.Compressed_base_package_name:
lea ecx, [ebp - 0x40]
call fcn.0041a860
add esp, 4
push eax
push 0
mov byte [ebp - 4], 5
call fcn.0041ea40
mov byte [ebp - 4], 3
cmp dword [ebp - 0x2c], 8
jb 0x420fbd
push dword [ebp - 0x40]
call fcn.0044d639
add esp, 4
cmp dword [ebp - 0x14], 8
mov edx, dword [ebp - 0x28]
jae 0x420fc9
lea edx, [ebp - 0x28]
mov ecx, edi
call fcn.0041e220
test eax, eax
jns 0x421710
mov edx, eax
lea ecx, [ebp - 0x40]
call fcn.0042abb0
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.0041a860
add esp, 4
push str._failed:
mov edx, eax
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 7
call fcn.00412310
add esp, 4
push esi
mov edx, eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 8
call fcn.0040acf0
add esp, 4
push eax
push 1
mov byte [ebp - 4], 9
call fcn.0041ea40
cmp dword [ebp - 0x44], 8
jb 0x421047
push dword [ebp - 0x58]
call fcn.0044d639
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 0x42106f
push dword [ebp - 0x88]
call fcn.0044d639
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 0x42109d
push dword [ebp - 0xa0]
call fcn.0044d639
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 0x4210cf
push dword [ebp - 0x40]
call fcn.0044d639
add esp, 4
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x134], eax
jmp 0x4210e6
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.0042df10
mov esi, eax
mov byte [ebp - 4], 0xa
push dword [edi + 0x24]
lea edx, [ebp - 0xd0]
lea ecx, [ebp - 0xb8]
call fcn.0040b640
add esp, 4
push 0x47bdec
mov edx, eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xb
call fcn.00412310
add esp, 4
push esi
mov edx, eax
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xc
call fcn.0040acf0
add esp, 4
push str..msi
mov edx, eax
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0xd
call fcn.00412310
mov esi, eax
lea eax, [ebp - 0x28]
add esp, 4
cmp eax, esi
je 0x4211db
cmp dword [ebp - 0x14], 8
jb 0x42117f
push dword [ebp - 0x28]
call fcn.0044d639
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 0x4211b1
mov eax, dword [esi + 0x10]
inc eax
je 0x4211bc
add eax, eax
push eax
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.0044c5c0
add esp, 0xc
jmp 0x4211bc
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 0x4211f2
push dword [ebp - 0xa0]
call fcn.0044d639
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 0x421223
push dword [ebp - 0x88]
call fcn.0044d639
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 0x42124b
push dword [ebp - 0x58]
call fcn.0044d639
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 0x421276
push dword [ebp - 0xb8]
call fcn.0044d639
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 0x4212a8
push dword [ebp - 0x40]
call fcn.0044d639
add esp, 4
cmp dword [ebp - 0x14], 8
mov edx, dword [ebp - 0x28]
jae 0x4212b4
lea edx, [ebp - 0x28]
mov ecx, edi
call fcn.0041e220
mov edi, eax
test edi, edi
jns 0x42170a
mov edx, edi
lea ecx, [ebp - 0xe8]
call fcn.0042abb0
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.0041a860
add esp, 4
push str._failed:
mov edx, eax
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0xf
call fcn.00412310
add esp, 4
push esi
mov edx, eax
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x10
call fcn.0040acf0
add esp, 4
mov esi, eax
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x11
call fcn.0042f4f0
push eax
mov edx, 0x47c010
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x12
call fcn.0041ee20
add esp, 4
push 0x47c008
mov edx, eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x13
call fcn.00412310
add esp, 4
cmp dword [ebp - 0xa4], 8
jb 0x421370
push dword [ebp - 0xb8]
call fcn.0044d639
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 0x4213a8
push dword [ebp - 0xa0]
call fcn.0044d639
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.004092c0
push 0x47bfb8
mov edx, esi
lea ecx, [ebp - 0x118]
call fcn.0040b640
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x17
call fcn.00409570
mov byte [ebp - 4], 0x16
cmp dword [ebp - 0x104], 8
jb 0x421415
push dword [ebp - 0x118]
call fcn.0044d639
add esp, 4
mov edx, dword [0x4acd9c]
cmp edx, 0xffffffff
je 0x421443
cmp dword [ebp - 0x44], 8
mov ecx, dword [ebp - 0x58]
jae 0x42142c
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 0x421454
push dword [ebp - 0x58]
call fcn.0044d639
add esp, 4
cmp dword [ebp - 0x74], 8
jb 0x421468
push dword [ebp - 0x88]
call fcn.0044d639
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 0x421496
push dword [ebp - 0x100]
call fcn.0044d639
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 0x4214c4
push dword [ebp - 0x40]
call fcn.0044d639
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 0x4214f3
push dword [ebp - 0xe8]
call fcn.0044d639
add esp, 4
mov eax, dword [ebp - 0x134]
inc ebx
inc eax
mov dword [ebp - 0x134], eax
cmp ebx, 0x64
jb 0x4210e0
mov edx, edi
lea ecx, [ebp - 0x118]
call fcn.0042abb0
push eax
mov edx, str.ResExportToFile_repeatedly_failed:
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x18
call fcn.0041ee20
add esp, 4
mov esi, eax
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0x19
call fcn.0042f4f0
push eax
mov edx, 0x47c010
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x1a
call fcn.0041ee20
add esp, 4
push 0x47c008
mov edx, eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x1b
call fcn.00412310
add esp, 4
cmp dword [ebp - 0x2c], 8
jb 0x42157c
push dword [ebp - 0x40]
call fcn.0044d639
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 0x4215ab
push dword [ebp - 0x100]
call fcn.0044d639
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.004092c0
push 0x47bfb8
mov edx, esi
lea ecx, [ebp - 0xe8]
call fcn.0040b640
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x1f
call fcn.00409570
mov byte [ebp - 4], 0x1e
cmp dword [ebp - 0xd4], 8
jb 0x421618
push dword [ebp - 0xe8]
call fcn.0044d639
add esp, 4
mov ecx, dword [0x4acd9c]
cmp ecx, 0xffffffff
je 0x421646
cmp dword [ebp - 0x44], 8
mov edx, dword [ebp - 0x58]
jae 0x42162f
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 0x421657
push dword [ebp - 0x58]
call fcn.0044d639
add esp, 4
cmp dword [ebp - 0xa4], 8
jb 0x42166e
push dword [ebp - 0xb8]
call fcn.0044d639
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 0x4216a2
push dword [ebp - 0x118]
call fcn.0044d639
add esp, 4
cmp dword [ebp - 0x5c], 8
jb 0x4216b3
push dword [ebp - 0x70]
call fcn.0044d639
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 0x4216d8
push dword [ebp - 0x28]
call fcn.0044d639
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 0x421703
push dword [ebp - 0xd0]
call fcn.0044d639
add esp, 4
mov eax, edi
jmp 0x421967
mov ebx, dword [ebp - 0x140]
lea ecx, [ebp - 0xd0]
call fcn.00420740
mov esi, eax
lea ecx, [ebp - 0xe8]
test esi, esi
jns 0x4217f3
mov edx, esi
call fcn.0042abb0
push eax
mov edx, str.GetMsiExtractPath_failed:
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x20
call fcn.0041ee20
add esp, 4
push eax
push 2
mov byte [ebp - 4], 0x21
call fcn.0041ea40
cmp dword [ebp - 0x2c], 8
jb 0x421764
push dword [ebp - 0x40]
call fcn.0044d639
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 0x42178f
push dword [ebp - 0xe8]
call fcn.0044d639
add esp, 4
cmp dword [ebp - 0x5c], 8
jb 0x4217a0
push dword [ebp - 0x70]
call fcn.0044d639
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 0x4217c1
push dword [ebp - 0x28]
call fcn.0044d639
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 0x4217ec
push dword [ebp - 0xd0]
call fcn.0044d639
add esp, 4
mov eax, esi
jmp 0x421967
lea eax, [ebp - 0xd0]
push eax
mov edx, str.Decoding_zipped_archive
call fcn.0041a860
add esp, 4
push eax
push 0
mov byte [ebp - 4], 0x22
call fcn.0041ea40
mov byte [ebp - 4], 3
cmp dword [ebp - 0xd4], 8
jb 0x42182e
push dword [ebp - 0xe8]
call fcn.0044d639
add esp, 4
cmp dword [ebp - 0x14], 8
mov edx, dword [ebp - 0x28]
jae 0x42183a
lea edx, [ebp - 0x28]
cmp dword [ebp - 0xbc], 8
mov ecx, dword [ebp - 0xd0]
jae 0x42184f
lea ecx, [ebp - 0xd0]
call fcn.00411580
mov esi, eax
test esi, esi
jle 0x421863
movzx esi, si
or esi, 0x80070000
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x42186f
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, esi
lea ecx, [ebp - 0xe8]
call fcn.0042abb0
push eax
mov edx, str.Decoding_of_archive_completed:
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x23
call fcn.0041ee20
add esp, 4
push eax
push 0
mov byte [ebp - 4], 0x24
call fcn.0041ea40
cmp dword [ebp - 0x2c], 8
jb 0x4218b5
push dword [ebp - 0x40]
call fcn.0044d639
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 0x4218e4
push dword [ebp - 0xe8]
call fcn.0044d639
add esp, 4
test esi, esi
js 0x42178f
cmp ebx, 0x4a6f54
je 0x421904
push 0xffffffffffffffff
push 0
push 0x4a6f54
mov ecx, ebx
call fcn.00409da0
cmp dword [ebp - 0x5c], 8
jb 0x421915
push dword [ebp - 0x70]
call fcn.0044d639
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 0x42193a
push dword [ebp - 0x28]
call fcn.0044d639
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 0x421965
push dword [ebp - 0xd0]
call fcn.0044d639
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.0044c32d
mov esp, ebp
pop ebp
ret