Function at 0x42ca2a
Capabilities:
Delete file

Disassembly:
push 0x68
mov eax, 0x47f8cb
call fcn.00454305
mov edi, edx
mov esi, ecx
and dword [ebp - 0x24], 0
lea eax, [ebp - 0x24]
push eax
push str.ApplyXmlCabUpdate
lea ecx, [ebp - 0x50]
call fcn.0041e3a4
and dword [ebp - 4], 0
push ecx
lea ecx, [ebp - 0x74]
call fcn.00435951
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.0044ebb0
lea ecx, [ebp - 0x40]
call fcn.0040aa2d
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.0040aa2d
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.0040aa2d
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x34]
call fcn.0040aa2d
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.0040aa2d
mov byte [ebp - 4], 6
mov ecx, esi
call fcn.0044ece0
test al, al
jne 0x42ce49
mov ecx, esi
call fcn.004528c0
cmp eax, 2
jne 0x42ce49
mov ecx, esi
call fcn.0044fd40
push eax
lea ecx, [ebp - 0x40]
call fcn.0040a5c2
lea ecx, [ebp - 0x40]
call fcn.0041aee1
mov ecx, eax
call fcn.0040930a
push 0x493248
push dword [ebp - 0x40]
call fcn.0045d493
pop ecx
pop ecx
test eax, eax
jne 0x42ce49
mov ebx, str.srcurl
lea eax, [ebp - 0x14]
push ebx
push eax
mov ecx, esi
call fcn.0044f130
lea ecx, [ebp - 0x3c]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
call fcn.0044ece0
test al, al
je 0x42cb2f
push ebx
push str._s_attribute_is_mandatory_for_cab_node
call fcn.0041defb
pop ecx
pop ecx
push 0xd
jmp 0x42ce4b
lea ecx, [ebp - 0x3c]
call fcn.004528e0
push eax
lea ecx, [ebp - 0x38]
call fcn.0040a5c2
lea ecx, [ebp - 0x38]
call fcn.0041aee1
mov ecx, eax
call fcn.0040930a
mov eax, dword [ebp - 0x38]
cmp dword [eax - 0xc], 0
jne 0x42cb60
push ebx
push str._s_attribute_is_empty
jmp 0x42cb21
push eax
push str.Processing_cab_node:__s
call fcn.0041defb
pop ecx
pop ecx
push 0x493378
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.0044f130
lea ecx, [ebp - 0x3c]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
call fcn.0044ed10
test eax, eax
je 0x42cbfb
lea ecx, [ebp - 0x3c]
call fcn.004528e0
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040a5c2
lea ecx, [ebp - 0x2c]
call fcn.0041aee1
mov ecx, eax
call fcn.0040930a
mov eax, dword [ebp - 0x2c]
cmp dword [eax - 0xc], 0
je 0x42cb28
push edi
push 0
mov dl, 1
lea ecx, [ebp - 0x2c]
call fcn.0041efbe
mov esi, eax
mov dword [ebp - 0x24], esi
pop ecx
pop ecx
test esi, esi
jne 0x42ce4f
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
mov eax, dword [eax - 0xc]
dec eax
push eax
call fcn.004094f2
cmp ax, 0x5c
je 0x42cbf6
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00409414
lea esi, [edi + 4]
jmp 0x42cc07
lea esi, [edi + 4]
push esi
lea ecx, [ebp - 0x2c]
call fcn.0040943e
lea ecx, [ebp - 0x28]
call fcn.0040aa2d
mov byte [ebp - 4], 7
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 0x38]
lea ecx, [edi + 0x60]
push eax
call fcn.00430717
pop ecx
test al, al
je 0x42cc3f
push dword [ebp - 0x30]
push dword [ebp - 0x38]
push str._s_is_already_downloaded_as__s__skipping_download
call fcn.0041defb
add esp, 0xc
jmp 0x42cdf4
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040943e
lea ecx, [ebp - 0x28]
call fcn.0040936e
mov ecx, dword [ebp - 0x28]
mov eax, dword [ecx - 0xc]
lea edx, [eax + eax]
lea eax, [ebp - 0x20]
push eax
call fcn.0042014a
mov dword [ebp - 0x24], eax
pop ecx
test eax, eax
je 0x42cc72
jmp 0x42cdf4
lea eax, [ebp - 0x30]
push eax
push 0x10
pop edx
lea ecx, [ebp - 0x20]
call fcn.0042017c
mov dword [ebp - 0x24], eax
pop ecx
test eax, eax
je 0x42cc8e
jmp 0x42cdf4
lea eax, [ebp - 0x30]
mov edx, esi
push eax
lea ecx, [ebp - 0x14]
call fcn.0041ae36
mov byte [ebp - 4], 0xb
mov edx, eax
lea ecx, [ebp - 0x44]
mov dword [esp], 0x491d74
call fcn.00409299
pop ecx
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x30]
push eax
call fcn.0040943e
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x44]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
mov edx, str..cab
lea ecx, [ebp - 0x14]
call fcn.0041eb87
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x34]
push eax
call fcn.0040943e
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040aa0b
mov edx, dword [ebp - 0x34]
test edx, edx
jne 0x42cd19
mov dword [ebp - 0x24], 0x52
jmp 0x42cdf4
push ecx
push 0
push ecx
mov ecx, dword [ebp - 0x38]
call fcn.0041cb53
add esp, 0xc
mov dword [ebp - 0x24], eax
test eax, eax
je 0x42cd34
jmp 0x42cdf4
push dword [ebp - 0x34]
lea ecx, [ebp - 0x18]
call fcn.0040bf35
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x42cd69
mov byte [ebp - 4], 7
cmp dword [ebp - 0x18], 0xffffffff
je 0x42cd64
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 0x18], 0xffffffff
jmp 0x42cdf4
mov ecx, dword [ebp - 0x34]
push 0
call fcn.00421b1e
mov dword [ebp - 0x24], eax
pop ecx
test eax, eax
je 0x42cda3
push dword [ebp - 0x34]
push str.Update_file:_s_has_broken_signature
call fcn.0041defb
pop ecx
pop ecx
mov byte [ebp - 4], 7
cmp dword [ebp - 0x18], 0xffffffff
je 0x42cda1
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 0x18], 0xffffffff
jmp 0x42cdf4
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
call fcn.00416957
mov dword [ebp - 0x24], eax
test eax, eax
je 0x42cdce
mov byte [ebp - 4], 7
cmp dword [ebp - 0x18], 0xffffffff
je 0x42cdcc
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 0x18], 0xffffffff
jmp 0x42cdf4
mov byte [ebp - 4], 7
cmp dword [ebp - 0x18], 0xffffffff
je 0x42cde5
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 0x18], 0xffffffff
push dword [ebp - 0x30]
mov edx, dword [ebp - 0x38]
lea ecx, [edi + 0x60]
call fcn.00430663
pop ecx
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.0040aa0b
mov esi, dword [ebp - 0x24]
test esi, esi
jne 0x42ce4f
mov esi, dword [ebp - 0x2c]
lea edx, [ebp - 0x30]
push 0x494000
lea ecx, [ebp - 0x14]
call fcn.00409299
mov byte [ebp - 4], 0x18
mov edx, esi
mov ecx, dword [eax]
push 0
push edi
push 1
call fcn.004300eb
add esp, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
mov esi, dword [ebp - 0x24]
jmp 0x42ce4f
push 0x57
pop esi
mov dword [ebp - 0x24], esi
mov eax, dword [ebp - 0x34]
cmp dword [eax - 0xc], 0
je 0x42ce90
push 9
pop edi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x42ce8d
cmp eax, 0x20
je 0x42ce78
cmp eax, 5
jne 0x42ce8d
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
sub edi, 1
js 0x42ce8d
mov eax, dword [ebp - 0x34]
jmp 0x42ce5b
mov esi, dword [ebp - 0x24]
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x30]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x34]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x38]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x40]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.00435973
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.0041e418
mov eax, esi
call fcn.004542b4
ret