Function at 0x441d10
Capabilities:
Delete file
Get file attributes
Set file attributes

Disassembly:
push 0x5c
mov eax, 0x490f57
call fcn.00458f33
mov ebx, ecx
mov dword [ebp - 0x28], ebx
xor ecx, ecx
lea eax, [ebp - 0x10]
push eax
push ecx
push ecx
push ecx
push ecx
push 0x64
push ecx
push dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x10], ecx
push 1
push ecx
push dword [ebx + 0xc]
mov dword [ebp - 0x14], esi
push dword [ebx + 8]
call fcn.0041443a
add esp, 0x30
test eax, eax
jne 0x441d79
mov ecx, dword [ebx + 0x8c]
test ecx, ecx
je 0x441d71
cmp dword [0x4c12e0], esi
je 0x441d71
push dword [ebx + 8]
mov eax, dword [ecx]
push str.Could_not_create_an_INF_object_based_on_path__s
push ecx
call dword [eax + 0x1c]
add esp, 0xc
push 0x57
pop eax
jmp 0x4420e2
xor eax, eax
mov byte [ebp + 0xb], al
cmp dword [ebp - 0x10], eax
je 0x4420d9
push eax
push 0x4c1f04
push 0x4c1eec
push eax
push dword [ebp - 0x10]
call fcn.0045d3ba
mov ecx, eax
add esp, 0x14
test ecx, ecx
je 0x441df4
lea eax, [ebx + 0x74]
mov byte [ebp + 0xb], 1
push eax
lea eax, [ebx + 0x5c]
push eax
lea eax, [ebx + 0x44]
push eax
movzx eax, byte [ebx + 0x40]
push eax
lea eax, [ebx + 0x28]
push eax
lea eax, [ebx + 0x10]
push eax
call fcn.0042f3aa
call fcn.0043cfef
test eax, eax
jne 0x441df4
mov ecx, dword [ebx + 0x8c]
test ecx, ecx
je 0x441dee
cmp dword [0x4c12e0], esi
je 0x441dee
mov eax, dword [ecx]
push str.Critical_error:_Registry_cache_pointer_invalid.
push ecx
call dword [eax + 0x1c]
pop ecx
pop ecx
xor esi, esi
inc esi
mov dword [ebp - 0x14], esi
xor edi, edi
push edi
push 0x4c24c4
push 0x4c1eec
push edi
push dword [ebp - 0x10]
call fcn.0045d3ba
add esp, 0x14
test eax, eax
je 0x441e18
mov ecx, ebx
call fcn.00442249
test esi, esi
jne 0x441e7b
mov ecx, dword [ebp - 0x10]
push dword [ebx + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x6c]
mov esi, eax
mov ecx, 0x4c3638
mov dword [ebp - 0x14], esi
call fcn.0043e344
test eax, eax
je 0x441e7b
test byte [ebx + 0xc], 1
je 0x441e7b
cmp esi, 0x11
je 0x441e7b
mov eax, dword [ebx + 8]
test eax, eax
je 0x441e7b
cmp byte [eax], 0
je 0x441e7b
push eax
call fcn.00444f03
pop ecx
test eax, eax
je 0x441e7b
push dword [ebx + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and eax, 0xfffffffe
push eax
push dword [ebx + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push dword [ebx + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0x10]
mov ecx, 0x4c3638
push dword [eax + 0x60]
call fcn.00440856
push dword [ebx + 0xc]
mov ecx, dword [ebp - 0x10]
call fcn.004163ec
mov ecx, dword [ebp - 0x10]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x441eae
test ecx, ecx
je 0x441eae
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [ebx + 0x8c]
test ecx, ecx
je 0x441ec3
mov eax, dword [ecx]
push dword [0x4c363c]
call dword [eax + 0x28]
cmp byte [ebp + 0xb], 0
je 0x4420dd
test esi, esi
jne 0x4420dd
lea ecx, [ebx + 0x10]
push 0x494e50
call fcn.00433e50
test eax, eax
mov edx, str.CabManifest64.ini
mov ecx, str.CabManifest32.ini
cmovne ecx, edx
push ecx
lea ecx, [ebp - 0x20]
call fcn.0040d7d2
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], edi
call fcn.00441a8c
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x68]
call fcn.00438fe8
lea ecx, [ebp - 0x1c]
call fcn.0040d837
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 2
push 1
push eax
call fcn.00445261
pop ecx
pop ecx
test al, al
jne 0x441f59
mov ecx, dword [ebx + 0x8c]
test ecx, ecx
je 0x441f51
cmp dword [0x4c12e0], esi
je 0x441f51
push str.Failed_to_get_the_module_directory___
mov eax, dword [ecx]
push ecx
call dword [eax + 0x1c]
pop ecx
pop ecx
xor esi, esi
inc esi
jmp 0x4420ae
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax - 0xc]
mov eax, dword [0x4c377c]
mov esi, dword [eax]
cmp esi, eax
je 0x442076
mov ebx, ecx
and dword [ebp - 0x34], 0
and dword [ebp - 0x30], 0
and dword [ebp - 0x2c], 0
mov eax, dword [esi + 0x40]
mov byte [ebp - 4], 3
mov edi, dword [eax]
cmp edi, eax
je 0x441fc5
lea eax, [edi + 8]
cmp dword [eax + 0x14], 0x10
jb 0x441f94
mov eax, dword [eax]
push eax
lea ecx, [ebp + 8]
call fcn.0040d7d2
lea eax, [ebp + 8]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x34]
call fcn.00438919
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 3
lea ecx, [ecx - 0x10]
call fcn.0040c5fb
mov eax, dword [edi]
mov edi, eax
cmp eax, dword [esi + 0x40]
jne 0x441f89
lea eax, [esi + 8]
cmp dword [eax + 0x14], 0x10
jb 0x441fd0
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040d7d2
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
mov eax, dword [eax - 0xc]
sub eax, ebx
push eax
push ebx
lea eax, [ebp - 0x24]
push eax
call fcn.00416350
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x18]
call fcn.0040d89a
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 5
lea ecx, [ecx - 0x10]
call fcn.0040c5fb
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x68]
call fcn.00438991
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.0040c5fb
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 2
test eax, eax
je 0x44205d
xor edi, edi
cmp dword [ebp - 0x30], edi
jle 0x442052
push 0
lea ecx, [eax + edi*4]
call fcn.004388cb
mov eax, dword [ebp - 0x34]
inc edi
cmp edi, dword [ebp - 0x30]
jl 0x44203f
push eax
call fcn.0045f1d9
and dword [ebp - 0x34], 0
pop ecx
and dword [ebp - 0x30], 0
and dword [ebp - 0x2c], 0
mov esi, dword [esi]
cmp esi, dword [0x4c377c]
jne 0x441f70
mov ebx, dword [ebp - 0x28]
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x68]
call fcn.004399c5
test al, al
jne 0x4420ab
mov ecx, dword [ebx + 0x8c]
test ecx, ecx
je 0x441f51
cmp dword [0x4c12e0], 0
je 0x441f51
push str.Failed_to_save_the_manifest_file___
jmp 0x441f49
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0040c5fb
mov ecx, dword [ebp - 0x38]
lea ecx, [ecx - 0x10]
call fcn.0040c5fb
lea ecx, [ebp - 0x68]
call fcn.00441b2f
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.0040c5fb
jmp 0x4420e0
mov esi, eax
jmp 0x4420e0
mov esi, dword [ebp - 0x14]
mov eax, esi
call fcn.00458efc
ret 4