Function at 0x428420
Capabilities:
Compare security identifiers
Delete file
Move file
Set file attributes

Disassembly:
push 0x10c
mov eax, 0x43fed5
call fcn.00412746
mov edi, ecx
mov eax, edi
call fcn.004235eb
test al, al
jne 0x428444
mov al, 1
call fcn.004127c9
ret
cmp dword [edi + 0x18], 8
jb 0x428454
lea esi, [edi + 4]
mov eax, dword [esi]
mov dword [ebp - 0x54], esi
jmp 0x42845c
lea eax, [edi + 4]
mov dword [ebp - 0x54], eax
mov esi, eax
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [edi + 0x18], 8
jb 0x428472
mov eax, dword [esi]
jmp 0x428474
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x42843c
mov eax, edi
call fcn.0042329b
xor ebx, ebx
mov dword [ebp - 0x50], eax
cmp eax, ebx
je 0x428503
call fcn.00422d7c
push eax
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x4284b0
call fcn.00422d7c
push eax
call fcn.0042384b
pop ecx
jmp 0x4284cb
cmp dword [edi + 0x18], 8
jb 0x4284ba
mov eax, dword [esi]
jmp 0x4284bc
mov eax, esi
push ebx
push ebx
push ebx
push ebx
push 4
push 1
push eax
call dword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
push dword [ebp - 0x50]
call fcn.00410f30
cmp dword [edi + 0x18], 8
pop ecx
jb 0x4284de
mov eax, dword [esi]
jmp 0x4284e0
mov eax, esi
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [edi + 0x18], 8
jb 0x4284f4
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x42843c
push 0x44668c
lea esi, [ebp - 0x8c]
call fcn.00401916
push str..tmp
lea esi, [ebp - 0x70]
mov dword [ebp - 4], ebx
call fcn.00401916
lea eax, [ebp - 0x8c]
push eax
mov eax, esi
push eax
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 1
call fcn.004278aa
mov esi, eax
lea eax, [ebp - 0xa8]
push eax
mov byte [ebp - 4], 2
call fcn.00426f06
add esp, 0xc
push 0x446970
push eax
lea eax, [ebp - 0xfc]
push eax
mov byte [ebp - 4], 3
call fcn.00403c02
add esp, 0xc
push esi
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 4
call fcn.00403c48
add esp, 0xc
push ebx
push 1
lea esi, [ebp - 0xfc]
call fcn.0040115a
push ebx
push 1
lea esi, [ebp - 0xa8]
call fcn.0040115a
push ebx
push 1
lea esi, [ebp - 0xc4]
call fcn.0040115a
push ebx
push 1
lea esi, [ebp - 0x70]
call fcn.0040115a
push ebx
push 1
lea esi, [ebp - 0x8c]
mov byte [ebp - 4], 0xa
call fcn.0040115a
cmp dword [ebp - 0x14], 8
mov ecx, dword [ebp - 0x28]
jae 0x4285cf
lea ecx, [ebp - 0x28]
cmp dword [edi + 0x18], 8
mov eax, dword [ebp - 0x54]
jb 0x4285da
mov eax, dword [eax]
push 1
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne al
cmp al, bl
je 0x428621
lea edi, [ebp - 0x2c]
call fcn.004236f7
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x428601
lea eax, [ebp - 0x28]
push 2
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov byte [ebp - 0x49], 1
push ebx
push 1
lea esi, [ebp - 0x2c]
call fcn.0040115a
mov al, byte [ebp - 0x49]
jmp 0x42843e
push str..deleted
lea eax, [ebp - 0x48]
push edi
push eax
call fcn.00403c02
add esp, 0xc
push 0xffffffffffffffff
lea eax, [ebp - 0x2c]
push eax
xor ebx, ebx
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0xb
call fcn.004010d2
mov dword [ebp - 0x50], 2
jmp 0x4286aa
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x118]
call fcn.00423a1f
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0xe0]
push eax
mov byte [ebp - 4], 0xc
call fcn.00403c48
add esp, 0xc
push 0xffffffffffffffff
lea ecx, [ebp - 0x2c]
push ecx
xor ebx, ebx
mov byte [ebp - 4], 0xd
call fcn.004010d2
inc dword [ebp - 0x50]
push ebx
push 1
lea esi, [ebp - 0xe0]
call fcn.0040115a
push ebx
push 1
lea esi, [ebp - 0x118]
mov byte [ebp - 4], 0xb
call fcn.0040115a
lea eax, [ebp - 0x2c]
call fcn.004235a6
test al, al
jne 0x428650
cmp dword [ebp - 0x14], 8
mov ecx, dword [ebp - 0x28]
jae 0x4286c2
lea ecx, [ebp - 0x28]
cmp dword [edi + 0x18], 8
mov eax, dword [ebp - 0x54]
jb 0x4286cd
mov eax, dword [eax]
push 1
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne bl
test bl, bl
je 0x4286e8
lea edi, [ebp - 0x2c]
call fcn.004236f7
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x4286f4
lea eax, [ebp - 0x28]
push 2
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0
push 1
lea esi, [ebp - 0x48]
call fcn.0040115a
mov byte [ebp - 0x49], bl
xor ebx, ebx
jmp 0x42860e