Function at 0x4bbb40
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x4bbb48
push ebx
push esi
push edi
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4bc086
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4eb840]
cmp byte [eax], 0
jne 0x4bc05e
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x385], 0
jne 0x4bc05e
mov edx, dword [0x4eb7a8]
mov edx, dword [edx]
dec edx
mov eax, dword [0x4eb9e8]
mov eax, dword [eax]
call fcn.00419b4c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x608], 0
jne 0x4bbbea
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x37c], 0
jne 0x4bbbea
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x37c], 1
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x378]
add eax, 0x3c
mov edx, dword [ebp - 0x10]
add edx, 0x204
call fcn.00405398
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x378]
xor edx, edx
call fcn.004b62f0
jmp 0x4bc05e
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x380]
test eax, eax
je 0x4bbc07
call fcn.00404234
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [eax + 0x380], edx
mov eax, dword [0x4eb7a8]
mov eax, dword [eax]
mov edx, dword [0x4eb9e8]
mov edx, dword [edx]
cmp eax, dword [edx + 8]
jge 0x4bc047
mov eax, dword [0x4eb7a8]
inc dword [eax]
mov edx, dword [0x4eb7a8]
mov edx, dword [edx]
dec edx
mov eax, dword [0x4eb9e8]
mov eax, dword [eax]
call fcn.00419b4c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x608], 2
jne 0x4bbfe9
lea eax, [ebp - 4]
mov edx, dword [ebp - 0x10]
add edx, 0x408
call fcn.00405398
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x643], 0
je 0x4bbc7d
lea eax, [ebp - 8]
mov edx, dword [0x4eb9f0]
mov edx, dword [edx]
call fcn.004051cc
jmp 0x4bbc8e
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x10]
add edx, 0x508
call fcn.00405398
push dword [ebp - 8]
push dword [ebp - 4]
push 0x4bc09c
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.004054c8
mov eax, dword [ebp - 0x18]
call fcn.0040a408
test al, al
je 0x4bbd03
push 0x80
push dword [ebp - 8]
push dword [ebp - 4]
push 0x4bc09c
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.004054c8
mov eax, dword [ebp - 0x1c]
call fcn.004055c4
push eax
call sub.kernel32.dll_SetFileAttributesA
push dword [ebp - 8]
push dword [ebp - 4]
push 0x4bc09c
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.004054c8
mov eax, dword [ebp - 0x20]
call fcn.004055c4
push eax
call sub.kernel32.dll_DeleteFileA
lea eax, [ebp - 0x24]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.0040544c
mov eax, dword [ebp - 0x24]
call fcn.004dc4c4
test eax, eax
je 0x4bbd2c
mov edx, dword [ebp - 0x10]
cmp eax, dword [edx + 0x648]
je 0x4bbe06
push 0x80
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.0040544c
mov eax, dword [ebp - 0x28]
call fcn.004055c4
push eax
call sub.kernel32.dll_SetFileAttributesA
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.0040544c
mov eax, dword [ebp - 0x2c]
call fcn.004055c4
push eax
call sub.kernel32.dll_DeleteFileA
push 0xffff
push dword [ebp - 8]
push dword [ebp - 4]
push 0x4bc09c
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.004054c8
mov ecx, dword [ebp - 0x30]
mov dl, 1
mov eax, dword [0x417a9c]
call fcn.0041c278
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x380], eax
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 0x10]
call fcn.00405398
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x36c]
call fcn.00449ea4
mov edx, dword [0x4eb7a8]
mov edx, dword [edx]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x368]
call fcn.004726a4
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x378]
add eax, 0x3c
mov edx, dword [ebp - 0x10]
add edx, 0x100
call fcn.00405398
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x380]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x378]
call fcn.004b62f0
jmp 0x4bc05e
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x643], 0
je 0x4bbfdd
xor edx, edx
push ebp
push 0x4bbe7a
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x38]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.0040544c
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x374]
add eax, 0x40
call fcn.00405a98
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x374]
add eax, 0x3c
mov edx, dword [ebp - 0x10]
add edx, 0x508
call fcn.00405a70
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x374]
xor edx, edx
call fcn.004b0b60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bbe84
push dword [ebp - 8]
push dword [ebp - 4]
push 0x4bc09c
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.004054c8
mov eax, dword [ebp - 0x3c]
call fcn.004055c4
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x644], 0
je 0x4bbef3
push 0x80
lea eax, [ebp - 0x40]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.0040544c
mov eax, dword [ebp - 0x40]
call fcn.004055c4
push eax
call sub.kernel32.dll_SetFileAttributesA
lea eax, [ebp - 0x44]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.0040544c
mov eax, dword [ebp - 0x44]
call fcn.004055c4
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, dword [0x4eb9f0]
push dword [eax]
mov eax, dword [0x4eb8cc]
push dword [eax]
push 0x4bc0ac
lea eax, [ebp - 0x48]
mov edx, 3
call fcn.004054c8
mov ecx, dword [ebp - 0x48]
mov dl, 1
mov eax, dword [0x423e9c]
call fcn.00423f54
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x4bbf7a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0x14], 0
je 0x4bbf64
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x60c]
push eax
lea eax, [ebp - 0x4c]
mov edx, dword [ebp - 0x10]
add edx, 0x610
call fcn.00405398
mov ecx, dword [ebp - 0x4c]
mov edx, 0x4bc0bc
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bbf81
mov eax, dword [ebp - 0x14]
call fcn.00404234
ret
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.004bbb40
jmp 0x4bc05e
lea eax, [ebp - 0x58]
mov edx, dword [ebp - 0x10]
call fcn.00405398
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x36c]
call fcn.00449ea4
mov edx, dword [0x4eb7a8]
mov edx, dword [edx]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x368]
call fcn.004726a4
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x378]
add eax, 0x3c
mov edx, dword [ebp - 0x10]
add edx, 0x100
call fcn.00405398
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x378]
xor edx, edx
call fcn.004b62f0
jmp 0x4bc05e
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x385], 1
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x294], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bc08d
lea eax, [ebp - 0x58]
mov edx, 0x11
call fcn.00405158
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405158
ret