Function at 0x42d46d
Capabilities:
Delete file

Disassembly:
push 0x68
mov eax, 0x48134b
call fcn.004569c5
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.0041e6cc
and dword [ebp - 4], 0
push ecx
lea ecx, [ebp - 0x74]
call fcn.004362ad
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.00451160
lea ecx, [ebp - 0x40]
call fcn.0040aaed
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.0040aaed
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.0040aaed
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x34]
call fcn.0040aaed
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.0040aaed
mov byte [ebp - 4], 6
mov ecx, esi
call fcn.004512f0
test al, al
jne 0x42d88b
mov ecx, esi
call fcn.00454f40
cmp eax, 2
jne 0x42d88b
mov ecx, esi
call fcn.00452350
push eax
lea ecx, [ebp - 0x40]
call fcn.0040a676
lea ecx, [ebp - 0x40]
call fcn.0041b0f9
mov ecx, eax
call fcn.004093ea
push 0x4adbd8
push dword [ebp - 0x40]
call fcn.0045f9d3
pop ecx
pop ecx
test eax, eax
jne 0x42d88b
mov ebx, str.srcurl
lea eax, [ebp - 0x14]
push ebx
push eax
mov ecx, esi
call fcn.00451700
lea ecx, [ebp - 0x3c]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
call fcn.004512f0
test al, al
je 0x42d577
push ebx
push str._s_attribute_is_mandatory_for_cab_node
call fcn.0041e1d8
pop ecx
pop ecx
mov dword [ebp - 0x24], 0xd
jmp 0x42d892
lea ecx, [ebp - 0x3c]
call fcn.00454f60
push eax
lea ecx, [ebp - 0x38]
call fcn.0040a676
lea ecx, [ebp - 0x38]
call fcn.0041b0f9
mov ecx, eax
call fcn.004093ea
mov eax, dword [ebp - 0x38]
cmp dword [eax - 0xc], 0
jne 0x42d5a8
push ebx
push str._s_attribute_is_empty
jmp 0x42d564
push eax
push str.Processing_cab_node:__s
call fcn.0041e1d8
pop ecx
pop ecx
push 0x4add08
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.00451700
lea ecx, [ebp - 0x3c]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
call fcn.00451320
test eax, eax
je 0x42d641
lea ecx, [ebp - 0x3c]
call fcn.00454f60
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040a676
lea ecx, [ebp - 0x2c]
call fcn.0041b0f9
mov ecx, eax
call fcn.004093ea
mov eax, dword [ebp - 0x2c]
cmp dword [eax - 0xc], 0
je 0x42d56b
push edi
push 0
mov dl, 1
lea ecx, [ebp - 0x2c]
call fcn.0041f2ea
mov dword [ebp - 0x24], eax
pop ecx
pop ecx
test eax, eax
jne 0x42d892
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
mov eax, dword [eax - 0xc]
dec eax
push eax
call fcn.004095d2
cmp ax, 0x5c
je 0x42d63c
push ecx
lea ecx, [ebp - 0x2c]
call fcn.004094f4
lea esi, [edi + 4]
jmp 0x42d64d
lea esi, [edi + 4]
push esi
lea ecx, [ebp - 0x2c]
call fcn.0040951e
lea ecx, [ebp - 0x28]
call fcn.0040aaed
mov byte [ebp - 4], 7
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 0x38]
lea ecx, [edi + 0x60]
push eax
call fcn.00431163
pop ecx
test al, al
je 0x42d685
push dword [ebp - 0x30]
push dword [ebp - 0x38]
push str._s_is_already_downloaded_as__s__skipping_download
call fcn.0041e1d8
add esp, 0xc
jmp 0x42d83a
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040951e
lea ecx, [ebp - 0x28]
call fcn.0040944e
mov ecx, dword [ebp - 0x28]
mov eax, dword [ecx - 0xc]
lea edx, [eax + eax]
lea eax, [ebp - 0x20]
push eax
call fcn.00420527
mov dword [ebp - 0x24], eax
pop ecx
test eax, eax
je 0x42d6b8
jmp 0x42d83a
lea eax, [ebp - 0x30]
push eax
push 0x10
pop edx
lea ecx, [ebp - 0x20]
call fcn.00420559
mov dword [ebp - 0x24], eax
pop ecx
test eax, eax
je 0x42d6d4
jmp 0x42d83a
lea eax, [ebp - 0x30]
mov edx, esi
push eax
lea ecx, [ebp - 0x14]
call fcn.0041b04e
mov byte [ebp - 4], 0xb
mov edx, eax
lea ecx, [ebp - 0x44]
mov dword [esp], 0x4ac674
call fcn.00409379
pop ecx
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x30]
push eax
call fcn.0040951e
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x44]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
mov edx, str..cab
lea ecx, [ebp - 0x14]
call fcn.0041eeb3
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x34]
push eax
call fcn.0040951e
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040aacb
mov edx, dword [ebp - 0x34]
test edx, edx
jne 0x42d75f
mov dword [ebp - 0x24], 0x52
jmp 0x42d83a
push ecx
push 0
push ecx
mov ecx, dword [ebp - 0x38]
call fcn.0041ce33
add esp, 0xc
mov dword [ebp - 0x24], eax
test eax, eax
je 0x42d77a
jmp 0x42d83a
push dword [ebp - 0x34]
lea ecx, [ebp - 0x18]
call fcn.0040c04f
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x42d7af
mov byte [ebp - 4], 7
cmp dword [ebp - 0x18], 0xffffffff
je 0x42d7aa
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 0x18], 0xffffffff
jmp 0x42d83a
mov ecx, dword [ebp - 0x34]
push 0
call fcn.00421f7f
mov dword [ebp - 0x24], eax
pop ecx
test eax, eax
je 0x42d7e9
push dword [ebp - 0x34]
push str.Update_file:_s_has_broken_signature
call fcn.0041e1d8
pop ecx
pop ecx
mov byte [ebp - 4], 7
cmp dword [ebp - 0x18], 0xffffffff
je 0x42d7e7
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 0x18], 0xffffffff
jmp 0x42d83a
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
call fcn.00416968
mov dword [ebp - 0x24], eax
test eax, eax
je 0x42d814
mov byte [ebp - 4], 7
cmp dword [ebp - 0x18], 0xffffffff
je 0x42d812
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 0x18], 0xffffffff
jmp 0x42d83a
mov byte [ebp - 4], 7
cmp dword [ebp - 0x18], 0xffffffff
je 0x42d82b
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.004310af
pop ecx
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.0040aacb
cmp dword [ebp - 0x24], 0
jne 0x42d892
mov esi, dword [ebp - 0x2c]
lea edx, [ebp - 0x30]
push 0x4ae990
lea ecx, [ebp - 0x14]
call fcn.00409379
mov byte [ebp - 4], 0x18
mov edx, esi
mov ecx, dword [eax]
push 0
push edi
push 1
call fcn.00430b37
add esp, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
jmp 0x42d892
mov dword [ebp - 0x24], 0x57
mov eax, dword [ebp - 0x34]
cmp dword [eax - 0xc], 0
je 0x42d8d0
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 0x42d8d0
cmp eax, 0x20
je 0x42d8bb
cmp eax, 5
jne 0x42d8d0
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
sub edi, 1
js 0x42d8d0
mov eax, dword [ebp - 0x34]
jmp 0x42d89e
mov esi, dword [ebp - 0x24]
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x30]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x34]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x38]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x40]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.004362cf
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.0041e740
mov eax, esi
call fcn.00456974
ret