Function at 0x448c80
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48d4f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
push eax
xor eax, eax
pop eax
je 0x448ca6
invalid
xor esi, esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x10], esp
mov eax, dword [ebp - 0x10]
cmp eax, esi
jne 0x448cbf
mov dword [0x104d5000], 0x104d5000
mov al, byte [0x4cb878]
push esi
lea ecx, [ebp - 0x20]
mov byte [0x4cbdf0], 1
mov byte [ebp - 0x20], al
call fcn.004017b0
mov ecx, dword [0x492cd4]
push ecx
push esi
push 0x4cb878
lea ecx, [ebp - 0x20]
call fcn.004094e0
mov edi, 0x4b3b88
or ecx, 0xffffffff
xor eax, eax
mov dword [ebp - 4], esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4b3b88
lea ecx, [ebp - 0x20]
call fcn.0041d2b0
mov edx, dword [0x492cd4]
lea ecx, [ebp - 0x20]
push edx
push esi
push 0x4cbcb0
call fcn.00412f10
mov edi, 0x4b3b88
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4b3b88
lea ecx, [ebp - 0x20]
call fcn.0041d2b0
mov eax, dword [0x492cd4]
lea ecx, [ebp - 0x20]
push eax
push esi
push 0x4cbd90
call fcn.00412f10
mov eax, dword [ebp - 0x1c]
cmp eax, esi
jne 0x448d5e
mov eax, 0x48e810
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x80
push eax
call ebx
mov eax, dword [ebp - 0x1c]
cmp eax, esi
jne 0x448d78
mov eax, 0x48e810
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push eax
call esi
mov ecx, dword [0x492cd4]
push ecx
push 0
push 0x4cb878
lea ecx, [ebp - 0x20]
call fcn.004094e0
mov edi, 0x4b3b88
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4b3b88
lea ecx, [ebp - 0x20]
call fcn.0041d2b0
mov edx, dword [0x492cd4]
lea ecx, [ebp - 0x20]
push edx
push 0
push 0x4cbcb0
call fcn.00412f10
mov edi, 0x4b3b88
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4b3b88
lea ecx, [ebp - 0x20]
call fcn.0041d2b0
mov eax, dword [0x492cd4]
lea ecx, [ebp - 0x20]
push eax
push 0
push 0x4cbd70
call fcn.00412f10
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x448e08
mov eax, 0x48e810
push 0x80
push eax
call ebx
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x448e1c
mov eax, 0x48e810
push eax
call esi
mov ecx, dword [0x492cd4]
push ecx
push 0
push 0x4cb878
lea ecx, [ebp - 0x20]
call fcn.004094e0
mov edi, 0x4b3b88
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [0x492cd4]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [ebp - 0x18]
sub edx, ecx
cmp edx, esi
ja 0x448e5a
call fcn.0047ac24
test esi, esi
jbe 0x448e9a
mov eax, dword [ebp - 0x18]
push 0
lea ecx, [ebp - 0x20]
lea ebx, [eax + esi]
push ebx
call fcn.00401850
test al, al
je 0x448e9a
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov ecx, esi
mov esi, 0x4b3b88
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x20]
call fcn.004099d0
mov eax, dword [0x492cd4]
lea ecx, [ebp - 0x20]
push eax
push 0
push 0x4cbcb0
call fcn.00412f10
mov edi, 0x4b3b88
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebp - 0x18]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [0x492cd4]
sub ecx, edx
cmp ecx, esi
ja 0x448ed4
call fcn.0047ac24
test esi, esi
jbe 0x448f15
mov edx, dword [ebp - 0x18]
push 0
lea ecx, [ebp - 0x20]
lea ebx, [edx + esi]
push ebx
call fcn.00401850
test al, al
je 0x448f15
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov ecx, esi
mov esi, 0x4b3b88
lea edi, [edx + eax]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ebx
mov byte [ecx + ebx], 0
mov edx, dword [0x492cd4]
lea ecx, [ebp - 0x20]
push edx
push 0
push 0x4cbd30
call fcn.00412f10
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x448f37
mov eax, 0x48e810
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x448f4f
mov eax, 0x48e810
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x448f88
mov al, byte [ecx - 1]
test al, al
je 0x448f7e
cmp al, 0xff
je 0x448f7e
dec al
mov byte [ecx - 1], al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
dec ecx
push ecx
call fcn.00486808
add esp, 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret