Function at 0x42c054
Capabilities:
Delete file

Disassembly:
push 0x6c
mov eax, 0x479f85
call fcn.0045053c
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.0041dfa0
and dword [ebp - 4], 0
push ecx
lea ecx, [ebp - 0x78]
call fcn.00434cd9
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.0044a4d0
call fcn.00409480
push eax
lea ecx, [ebp - 0x40]
call fcn.00408c39
mov byte [ebp - 4], 3
call fcn.00409480
push eax
lea ecx, [ebp - 0x34]
call fcn.00408c39
mov byte [ebp - 4], 5
call fcn.00409480
push eax
lea ecx, [ebp - 0x2c]
call fcn.00408c39
mov byte [ebp - 4], 7
call fcn.00409480
push eax
lea ecx, [ebp - 0x28]
call fcn.00408c39
mov byte [ebp - 4], 9
call fcn.00409480
push eax
lea ecx, [ebp - 0x30]
call fcn.00408c39
mov byte [ebp - 4], 0xb
mov ecx, edi
call fcn.0044a600
test al, al
jne 0x42c4cb
mov ecx, edi
call fcn.0044e390
cmp eax, 2
jne 0x42c4cb
mov ecx, edi
call fcn.0044b5e0
mov esi, eax
mov ecx, esi
call fcn.0040b056
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.0040afd8
lea ecx, [ebp - 0x40]
call fcn.0041ab4d
mov ecx, eax
call fcn.0040a092
push 0x48df60
push dword [ebp - 0x40]
call fcn.00458623
pop ecx
pop ecx
test eax, eax
jne 0x42c4cb
mov esi, str.srcurl
lea eax, [ebp - 0x14]
push esi
push eax
mov ecx, edi
call fcn.0044aa60
lea ecx, [ebp - 0x38]
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
call fcn.0044a600
test al, al
je 0x42c181
push esi
push str._s_attribute_is_mandatory_for_cab_node
call fcn.0041dafb
pop ecx
pop ecx
push 0xd
jmp 0x42c4cd
lea ecx, [ebp - 0x38]
call fcn.0044e3b0
mov esi, eax
mov ecx, esi
call fcn.0040b056
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.0040afd8
lea ecx, [ebp - 0x34]
call fcn.0041ab4d
mov ecx, eax
call fcn.0040a092
mov eax, dword [ebp - 0x34]
cmp dword [eax - 0xc], 0
jne 0x42c1c0
push str.srcurl
push str._s_attribute_is_empty
jmp 0x42c173
push eax
push str.Processing_cab_node:__s
call fcn.0041dafb
pop ecx
pop ecx
push 0x48e090
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.0044aa60
lea ecx, [ebp - 0x38]
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
call fcn.0044a630
test eax, eax
je 0x42c265
lea ecx, [ebp - 0x38]
call fcn.0044e3b0
mov esi, eax
mov ecx, esi
call fcn.0040b056
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.0040afd8
lea ecx, [ebp - 0x2c]
call fcn.0041ab4d
mov ecx, eax
call fcn.0040a092
mov eax, dword [ebp - 0x2c]
cmp dword [eax - 0xc], 0
je 0x42c17a
push ebx
push 0
mov dl, 1
lea ecx, [ebp - 0x2c]
call fcn.0041ec18
mov edi, eax
mov dword [ebp - 0x24], edi
pop ecx
pop ecx
test edi, edi
jne 0x42c4d1
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
mov eax, dword [eax - 0xc]
dec eax
push eax
call fcn.0040a264
cmp ax, 0x5c
je 0x42c260
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0040a199
lea esi, [ebx + 4]
jmp 0x42c271
lea esi, [ebx + 4]
push esi
lea ecx, [ebp - 0x2c]
call fcn.0040a1c3
call fcn.00409480
push eax
lea ecx, [ebp - 0x3c]
call fcn.00408c39
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x30]
mov edx, dword [ebp - 0x34]
push ecx
lea ecx, [ebx + 0x60]
call fcn.0042fcfe
pop ecx
test al, al
je 0x42c2bc
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push str._s_is_already_downloaded_as__s__skipping_download
call fcn.0041dafb
add esp, 0xc
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x28]
add ecx, 0xfffffff0
jmp 0x42c480
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0040a1c3
lea ecx, [ebp - 0x3c]
call fcn.0040a0f6
mov edi, dword [ebp - 0x3c]
mov ecx, edi
mov eax, dword [edi - 0xc]
lea edx, [eax + eax]
lea eax, [ebp - 0x20]
push eax
call fcn.0041fd8d
mov dword [ebp - 0x24], eax
pop ecx
test eax, eax
je 0x42c2f8
mov byte [ebp - 4], 0xb
mov esi, dword [ebp - 0x28]
jmp 0x42c47d
lea eax, [ebp - 0x30]
push eax
push 0x10
pop edx
lea ecx, [ebp - 0x20]
call fcn.0041fdbf
mov dword [ebp - 0x24], eax
pop ecx
test eax, eax
je 0x42c311
jmp 0x42c2ec
lea eax, [ebp - 0x30]
mov edx, esi
push eax
lea ecx, [ebp - 0x14]
call fcn.0041aaa2
mov byte [ebp - 4], 0x11
mov edx, eax
lea ecx, [ebp - 0x44]
mov dword [esp], 0x48cb28
call fcn.0040a03a
pop ecx
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x30]
push eax
call fcn.0040a1c3
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x44]
lea ecx, [ecx - 0x10]
call fcn.00409575
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00409575
mov edx, str..cab
lea ecx, [ebp - 0x14]
call fcn.0041e774
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x28]
push eax
call fcn.0040a1c3
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00409575
mov esi, dword [ebp - 0x28]
test esi, esi
jne 0x42c39c
mov dword [ebp - 0x24], 0x52
jmp 0x42c479
push 0
push ecx
mov ecx, dword [ebp - 0x34]
mov edx, esi
call fcn.0041c6ed
mov dword [ebp - 0x24], eax
pop ecx
pop ecx
test eax, eax
je 0x42c3b7
jmp 0x42c479
and dword [ebp - 0x14], 0
lea ecx, [ebp - 0x18]
or dword [ebp - 0x18], 0xffffffff
push esi
call fcn.0040c4a0
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x24], eax
test eax, eax
je 0x42c3f2
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x18], 0xffffffff
je 0x42c3ed
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 0x18], 0xffffffff
jmp 0x42c479
push 0
mov ecx, esi
call fcn.004215c0
mov dword [ebp - 0x24], eax
pop ecx
test eax, eax
je 0x42c429
push esi
push str.Update_file:_s_has_broken_signature
call fcn.0041dafb
pop ecx
pop ecx
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x18], 0xffffffff
je 0x42c427
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 0x18], 0xffffffff
jmp 0x42c479
mov edx, dword [ebp - 0x30]
mov ecx, esi
call fcn.00416a2c
mov dword [ebp - 0x24], eax
test eax, eax
je 0x42c453
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x18], 0xffffffff
je 0x42c451
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 0x18], 0xffffffff
jmp 0x42c479
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x18], 0xffffffff
je 0x42c46a
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 0x18], 0xffffffff
push dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
lea ecx, [ebx + 0x60]
call fcn.0042fc33
pop ecx
mov byte [ebp - 4], 0xb
lea ecx, [edi - 0x10]
call fcn.00409575
mov edi, dword [ebp - 0x24]
test edi, edi
jne 0x42c4d4
mov edi, dword [ebp - 0x2c]
lea edx, [ebp - 0x30]
push 0x48ebe8
lea ecx, [ebp - 0x14]
call fcn.0040a03a
mov byte [ebp - 4], 0x1e
mov edx, edi
mov ecx, dword [eax]
push 0
push ebx
push 1
call fcn.0042f638
add esp, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00409575
mov edi, dword [ebp - 0x24]
jmp 0x42c4d4
push 0x57
pop edi
mov dword [ebp - 0x24], edi
mov esi, dword [ebp - 0x28]
cmp dword [esi - 0xc], 0
je 0x42c50d
push 9
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
jne 0x42c50a
cmp eax, 0x20
je 0x42c4fa
cmp eax, 5
jne 0x42c50a
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
sub ebx, 1
jns 0x42c4dd
mov edi, dword [ebp - 0x24]
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x30]
lea ecx, [ecx - 0x10]
call fcn.00409575
mov byte [ebp - 4], 7
lea ecx, [esi - 0x10]
call fcn.00409575
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.00409575
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x34]
lea ecx, [ecx - 0x10]
call fcn.00409575
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x40]
lea ecx, [ecx - 0x10]
call fcn.00409575
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x78]
call fcn.00434cfb
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.0041e015
mov eax, edi
call fcn.004504e6
ret