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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x469c5d
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x4a5590]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
lea ecx, [ebp - 0x40]
mov dword [ebp - 0xd4], 0
call fcn.0042e430
mov dword [ebp - 4], 0
cmp dword [ebp - 0x2c], 8
mov edx, dword [ebp - 0x40]
jae 0x420a76
lea edx, [ebp - 0x40]
cmp dword [esi + 0x14], 8
jb 0x420a7e
mov esi, dword [esi]
mov ecx, esi
call fcn.0041e220
mov esi, eax
xor eax, eax
test esi, esi
jns 0x420ab8
push 0xf
push str.ResExportToFile
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
call fcn.0040a110
mov edx, esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0041ff20
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.00420740
mov esi, eax
lea ecx, [ebp - 0x88]
test esi, esi
jns 0x420ca3
mov edx, esi
call fcn.0042abb0
push eax
mov edx, str.GetMsiExtractPath_failed:
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.0041ee20
add esp, 4
mov edi, eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 4
call fcn.0042f4f0
push eax
mov edx, 0x47c010
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 5
call fcn.0041ee20
add esp, 4
push 0x47c008
mov edx, eax
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 6
call fcn.00412310
add esp, 4
cmp dword [ebp - 0xa4], 8
jb 0x420b58
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], 9
cmp dword [ebp - 0x5c], 8
jb 0x420b8a
push dword [ebp - 0x70]
call fcn.0044d639
add esp, 4
push 7
xor eax, eax
push str.ERROR:
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
call fcn.004092c0
push 0x47bfb8
mov edx, edi
lea ecx, [ebp - 0xd0]
call fcn.0040b640
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0xa
call fcn.00409570
mov byte [ebp - 4], 9
cmp dword [ebp - 0xbc], 8
jb 0x420bf4
push dword [ebp - 0xd0]
call fcn.0044d639
add esp, 4
mov ecx, dword [0x4acd9c]
cmp ecx, 0xffffffff
je 0x420c2e
cmp dword [ebp - 0x8c], 8
mov edx, dword [ebp - 0xa0]
jae 0x420c14
lea edx, [ebp - 0xa0]
push 0
lea eax, [ebp - 0xd8]
push eax
mov eax, dword [ebp - 0x90]
add eax, eax
push eax
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 0x8c], 8
jb 0x420c45
push dword [ebp - 0xa0]
call fcn.0044d639
add esp, 4
cmp dword [ebp - 0x14], 8
jb 0x420c56
push dword [ebp - 0x28]
call fcn.0044d639
add esp, 4
xor eax, eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x74], 8
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x420c82
push dword [ebp - 0x88]
call fcn.0044d639
add esp, 4
push str.GetMsiExtractPath
lea ecx, [ebp - 0x88]
call fcn.0040a210
mov edx, esi
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xb
call fcn.0041ff20
lea eax, [ebp - 0x40]
push eax
mov edx, str.Decoding_zipped_language_package
call fcn.0041a860
add esp, 4
push str._to_folder
mov edx, eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xc
call fcn.00412310
add esp, 4
lea ecx, [ebp - 0x58]
push ecx
mov edx, eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xd
call fcn.00409ad0
add esp, 4
push eax
push 0
mov byte [ebp - 4], 0xe
call fcn.0041ea40
cmp dword [ebp - 0x14], 8
jb 0x420cfc
push dword [ebp - 0x28]
call fcn.0044d639
add esp, 4
xor eax, eax
cmp dword [ebp - 0x5c], 8
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x420d21
push dword [ebp - 0x70]
call fcn.0044d639
add esp, 4
xor eax, eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x74], 8
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
jb 0x420d4d
push dword [ebp - 0x88]
call fcn.0044d639
add esp, 4
cmp dword [ebp - 0x2c], 8
mov edx, dword [ebp - 0x40]
jae 0x420d59
lea edx, [ebp - 0x40]
cmp dword [ebp - 0x44], 8
mov ecx, dword [ebp - 0x58]
jae 0x420d65
lea ecx, [ebp - 0x58]
call fcn.00411580
mov esi, eax
test esi, esi
jle 0x420d79
movzx esi, si
or esi, 0x80070000
cmp dword [ebp - 0x2c], 8
mov eax, dword [ebp - 0x40]
jae 0x420d85
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str.Decoding_finished
lea ecx, [ebp - 0x28]
call fcn.0040a210
lea eax, [ebp - 0x28]
push eax
push 0
mov byte [ebp - 4], 0xf
call fcn.0041ea40
mov byte [ebp - 4], 2
cmp dword [ebp - 0x14], 8
jb 0x420dbd
push dword [ebp - 0x28]
call fcn.0044d639
add esp, 4
test esi, esi
jns 0x420de2
push str.Decode7Zip
lea ecx, [ebp - 0x88]
call fcn.0040a210
mov edx, esi
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x10
call fcn.0041ff20
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
push 0x4a6f54
mov ecx, edi
mov word [edi], ax
call fcn.00409da0
cmp dword [ebp - 0x44], 8
jb 0x420e15
push dword [ebp - 0x58]
call fcn.0044d639
add esp, 4
xor eax, eax
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
jb 0x420e3a
push dword [ebp - 0x40]
call fcn.0044d639
add esp, 4
mov eax, edi
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.0044c32d
mov esp, ebp
pop ebp
ret