Function at 0x429d68
Capabilities:
Delete file

Disassembly:
push 0x6c
mov eax, 0x46969b
call fcn.00463b54
mov ebx, edx
mov edi, ecx
and dword [ebp - 0x24], 0
lea eax, [ebp - 0x24]
push eax
push str.ApplyXmlCabUpdate
lea ecx, [ebp - 0x50]
call fcn.0041bb53
and dword [ebp - 4], 0
push ecx
lea ecx, [ebp - 0x78]
call fcn.004327b3
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.0043bcb0
call fcn.004068d0
push eax
lea ecx, [ebp - 0x40]
call fcn.00405f99
mov byte [ebp - 4], 3
call fcn.004068d0
push eax
lea ecx, [ebp - 0x34]
call fcn.00405f99
mov byte [ebp - 4], 5
call fcn.004068d0
push eax
lea ecx, [ebp - 0x2c]
call fcn.00405f99
mov byte [ebp - 4], 7
call fcn.004068d0
push eax
lea ecx, [ebp - 0x28]
call fcn.00405f99
mov byte [ebp - 4], 9
call fcn.004068d0
push eax
lea ecx, [ebp - 0x30]
call fcn.00405f99
mov byte [ebp - 4], 0xb
mov ecx, edi
call fcn.0043be00
test al, al
jne 0x42a1d4
mov ecx, edi
call fcn.0043fba0
cmp eax, 2
jne 0x42a1d4
mov ecx, edi
call fcn.0043cda0
mov esi, eax
mov ecx, esi
call fcn.004082a0
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.00408222
lea ecx, [ebp - 0x40]
call fcn.004185e2
mov ecx, eax
call fcn.0040751e
push 0x47d13c
push dword [ebp - 0x40]
call fcn.004496b9
pop ecx
pop ecx
test eax, eax
jne 0x42a1d4
mov esi, str.srcurl
lea eax, [ebp - 0x14]
push esi
push eax
mov ecx, edi
call fcn.0043c260
lea ecx, [ebp - 0x38]
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
call fcn.0043be00
test al, al
je 0x429e95
push esi
push str._s_attribute_is_mandatory_for_cab_node
call fcn.0041b909
pop ecx
pop ecx
push 0xd
jmp 0x42a1d6
lea ecx, [ebp - 0x38]
call fcn.0043fbc0
mov esi, eax
mov ecx, esi
call fcn.004082a0
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.00408222
lea ecx, [ebp - 0x34]
call fcn.004185e2
mov ecx, eax
call fcn.0040751e
mov eax, dword [ebp - 0x34]
cmp dword [eax - 0xc], 0
jne 0x429ed4
push str.srcurl
push str._s_attribute_is_empty
jmp 0x429e87
push eax
push str.Processing_cab_node:__s
call fcn.0041b909
pop ecx
pop ecx
push 0x47d300
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.0043c260
lea ecx, [ebp - 0x38]
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
call fcn.0043be10
test eax, eax
je 0x429f79
lea ecx, [ebp - 0x38]
call fcn.0043fbc0
mov esi, eax
mov ecx, esi
call fcn.004082a0
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.00408222
lea ecx, [ebp - 0x2c]
call fcn.004185e2
mov ecx, eax
call fcn.0040751e
mov eax, dword [ebp - 0x2c]
cmp dword [eax - 0xc], 0
je 0x429e8e
push ebx
push 0
mov dl, 1
lea ecx, [ebp - 0x2c]
call fcn.0041c6b5
mov esi, eax
mov dword [ebp - 0x24], esi
pop ecx
pop ecx
test esi, esi
jne 0x42a1da
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
mov eax, dword [eax - 0xc]
dec eax
push eax
call fcn.004076f0
cmp ax, 0x5c
je 0x429f74
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00407625
lea edi, [ebx + 4]
jmp 0x429f85
lea edi, [ebx + 4]
push edi
lea ecx, [ebp - 0x2c]
call fcn.0040764f
call fcn.004068d0
push eax
lea ecx, [ebp - 0x3c]
call fcn.00405f99
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x30]
mov edx, dword [ebp - 0x34]
push ecx
lea ecx, [ebx + 0x60]
call fcn.0042d445
pop ecx
test al, al
je 0x429fcd
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push str._s_is_already_downloaded_as__s__skipping_download
call fcn.0041b909
add esp, 0xc
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x3c]
lea ecx, [ecx - 0x10]
jmp 0x42a18c
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0040764f
lea ecx, [ebp - 0x3c]
call fcn.00407582
mov esi, dword [ebp - 0x3c]
lea eax, [ebp - 0x20]
push eax
mov ecx, esi
mov edx, dword [esi - 0xc]
add edx, edx
call fcn.0041d8b5
mov dword [ebp - 0x24], eax
pop ecx
test eax, eax
je 0x42a001
jmp 0x42a185
lea eax, [ebp - 0x30]
push eax
push 0x10
pop edx
lea ecx, [ebp - 0x20]
call fcn.0041d8e7
mov dword [ebp - 0x24], eax
pop ecx
test eax, eax
je 0x42a01d
jmp 0x42a185
lea eax, [ebp - 0x30]
mov edx, edi
push eax
lea ecx, [ebp - 0x14]
call fcn.0041853b
mov byte [ebp - 4], 0x11
mov edx, eax
lea ecx, [ebp - 0x44]
mov dword [esp], 0x47aca0
call fcn.004074c4
pop ecx
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x30]
push eax
call fcn.0040764f
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x44]
lea ecx, [ecx - 0x10]
call fcn.00406985
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00406985
mov edx, str..cab
lea ecx, [ebp - 0x14]
call fcn.0041c23b
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x28]
push eax
call fcn.0040764f
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00406985
cmp dword [ebp - 0x28], 0
jne 0x42a0a7
mov dword [ebp - 0x24], 0x52
jmp 0x42a185
mov edx, dword [ebp - 0x28]
push 0
push ecx
mov ecx, dword [ebp - 0x34]
call fcn.0041a2b7
mov dword [ebp - 0x24], eax
pop ecx
pop ecx
test eax, eax
je 0x42a0c3
jmp 0x42a185
push dword [ebp - 0x28]
and dword [ebp - 0x14], 0
lea ecx, [ebp - 0x18]
or edi, 0xffffffff
mov dword [ebp - 0x18], edi
call fcn.00409673
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x24], eax
test eax, eax
je 0x42a100
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x18], edi
je 0x42a0fb
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x18], edi
jmp 0x42a185
mov ecx, dword [ebp - 0x28]
push 0
call fcn.0041ed18
mov dword [ebp - 0x24], eax
pop ecx
test eax, eax
je 0x42a138
push dword [ebp - 0x28]
push str.Update_file:_s_has_broken_signature
call fcn.0041b909
pop ecx
pop ecx
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x18], edi
je 0x42a136
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x18], edi
jmp 0x42a185
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x28]
call fcn.004147cc
mov dword [ebp - 0x24], eax
test eax, eax
je 0x42a161
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x18], edi
je 0x42a15f
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x18], edi
jmp 0x42a185
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x18], edi
je 0x42a176
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x18], edi
push dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
lea ecx, [ebx + 0x60]
call fcn.0042d374
pop ecx
mov byte [ebp - 4], 0xb
lea ecx, [esi - 0x10]
call fcn.00406985
mov esi, dword [ebp - 0x24]
test esi, esi
jne 0x42a1da
push 0x47de58
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x14]
call fcn.004074c4
mov byte [ebp - 4], 0x1e
mov edx, dword [ebp - 0x2c]
mov ecx, dword [eax]
push esi
push ebx
push 1
call fcn.0042cd8d
add esp, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00406985
mov esi, dword [ebp - 0x24]
jmp 0x42a1da
push 0x57
pop esi
mov dword [ebp - 0x24], esi
mov eax, dword [ebp - 0x28]
cmp dword [eax - 0xc], 0
je 0x42a218
push 9
pop edi
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x42a215
cmp eax, 0x20
je 0x42a205
cmp eax, 5
jne 0x42a215
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
sub edi, 1
jns 0x42a1e6
mov esi, dword [ebp - 0x24]
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x30]
lea ecx, [ecx - 0x10]
call fcn.00406985
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.00406985
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.00406985
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x34]
lea ecx, [ecx - 0x10]
call fcn.00406985
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x40]
lea ecx, [ecx - 0x10]
call fcn.00406985
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x78]
call fcn.004327d5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.0041bbc1
mov eax, esi
call fcn.00463afe
ret