Function at 0x440bc0
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x481598
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
push eax
xor eax, eax
pop eax
je 0x440be6
invalid
mov al, byte [0x4ba188]
push 0
lea ecx, [ebp - 0x1c]
mov byte [0x4ba6a8], 1
mov byte [ebp - 0x1c], al
call fcn.00401760
mov ecx, dword [0x484bc8]
push ecx
push 0
push 0x4ba188
lea ecx, [ebp - 0x1c]
call fcn.004073c0
mov edi, 0x4a3f0c
or ecx, 0xffffffff
xor eax, eax
mov dword [ebp - 4], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4a3f0c
lea ecx, [ebp - 0x1c]
call fcn.00418ca0
mov edx, dword [0x484bc8]
lea ecx, [ebp - 0x1c]
push edx
push 0
push 0x4ba588
call fcn.004103c0
mov edi, 0x4a3f0c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4a3f0c
lea ecx, [ebp - 0x1c]
call fcn.00418ca0
mov eax, dword [0x484bc8]
lea ecx, [ebp - 0x1c]
push eax
push 0
push 0x4ba658
call fcn.004103c0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x440c8d
mov eax, 0x482818
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x80
push eax
call ebx
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x440ca7
mov eax, 0x482818
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push eax
call esi
mov ecx, dword [0x484bc8]
push ecx
push 0
push 0x4ba188
lea ecx, [ebp - 0x1c]
call fcn.004073c0
mov edi, 0x4a3f0c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4a3f0c
lea ecx, [ebp - 0x1c]
call fcn.00418ca0
mov edx, dword [0x484bc8]
lea ecx, [ebp - 0x1c]
push edx
push 0
push 0x4ba588
call fcn.004103c0
mov edi, 0x4a3f0c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4a3f0c
lea ecx, [ebp - 0x1c]
call fcn.00418ca0
mov eax, dword [0x484bc8]
lea ecx, [ebp - 0x1c]
push eax
push 0
push 0x4ba638
call fcn.004103c0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x440d37
mov eax, 0x482818
push 0x80
push eax
call ebx
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x440d4b
mov eax, 0x482818
push eax
call esi
mov ecx, dword [0x484bc8]
push ecx
push 0
push 0x4ba188
lea ecx, [ebp - 0x1c]
call fcn.004073c0
mov edi, 0x4a3f0c
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [0x484bc8]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [ebp - 0x14]
sub edx, ecx
cmp edx, esi
ja 0x440d89
call fcn.0046d8e0
test esi, esi
jbe 0x440dc9
mov eax, dword [ebp - 0x14]
push 0
lea ecx, [ebp - 0x1c]
lea ebx, [eax + esi]
push ebx
call fcn.00401800
test al, al
je 0x440dc9
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, esi
mov esi, 0x4a3f0c
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 - 0x1c]
call fcn.004078b0
mov eax, dword [0x484bc8]
lea ecx, [ebp - 0x1c]
push eax
push 0
push 0x4ba588
call fcn.004103c0
mov edi, 0x4a3f0c
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebp - 0x14]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [0x484bc8]
sub ecx, edx
cmp ecx, esi
ja 0x440e03
call fcn.0046d8e0
test esi, esi
jbe 0x440e44
mov edx, dword [ebp - 0x14]
push 0
lea ecx, [ebp - 0x1c]
lea ebx, [edx + esi]
push ebx
call fcn.00401800
test al, al
je 0x440e44
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov ecx, esi
mov esi, 0x4a3f0c
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 - 0x18]
mov dword [ebp - 0x14], ebx
mov byte [ecx + ebx], 0
mov edx, dword [0x484bc8]
lea ecx, [ebp - 0x1c]
push edx
push 0
push 0x4ba5f8
call fcn.004103c0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x440e66
mov eax, 0x482818
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x440e7e
mov eax, 0x482818
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x440eb7
mov al, byte [ecx - 1]
test al, al
je 0x440ead
cmp al, 0xff
je 0x440ead
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.00478980
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