Function at 0x4bb86c
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x4bb874
push ebx
push esi
push edi
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4bbdb2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4ea840]
cmp byte [eax], 0
jne 0x4bbd8a
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x385], 0
jne 0x4bbd8a
mov edx, dword [0x4ea7a8]
mov edx, dword [edx]
dec edx
mov eax, dword [0x4ea9e8]
mov eax, dword [eax]
call fcn.004198fc
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x608], 0
jne 0x4bb916
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x37c], 0
jne 0x4bb916
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.0040538c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x378]
xor edx, edx
call fcn.004b60a0
jmp 0x4bbd8a
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x380]
test eax, eax
je 0x4bb933
call fcn.00404228
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [eax + 0x380], edx
mov eax, dword [0x4ea7a8]
mov eax, dword [eax]
mov edx, dword [0x4ea9e8]
mov edx, dword [edx]
cmp eax, dword [edx + 8]
jge 0x4bbd73
mov eax, dword [0x4ea7a8]
inc dword [eax]
mov edx, dword [0x4ea7a8]
mov edx, dword [edx]
dec edx
mov eax, dword [0x4ea9e8]
mov eax, dword [eax]
call fcn.004198fc
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x608], 2
jne 0x4bbd15
lea eax, [ebp - 4]
mov edx, dword [ebp - 0x10]
add edx, 0x408
call fcn.0040538c
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x643], 0
je 0x4bb9a9
lea eax, [ebp - 8]
mov edx, dword [0x4ea9f0]
mov edx, dword [edx]
call fcn.004051c0
jmp 0x4bb9ba
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x10]
add edx, 0x508
call fcn.0040538c
push dword [ebp - 8]
push dword [ebp - 4]
push 0x4bbdc8
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.004054bc
mov eax, dword [ebp - 0x18]
call fcn.0040a3fc
test al, al
je 0x4bba2f
push 0x80
push dword [ebp - 8]
push dword [ebp - 4]
push 0x4bbdc8
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.004054bc
mov eax, dword [ebp - 0x1c]
call fcn.004055b8
push eax
call sub.kernel32.dll_SetFileAttributesA
push dword [ebp - 8]
push dword [ebp - 4]
push 0x4bbdc8
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.004054bc
mov eax, dword [ebp - 0x20]
call fcn.004055b8
push eax
call sub.kernel32.dll_DeleteFileA
lea eax, [ebp - 0x24]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00405440
mov eax, dword [ebp - 0x24]
call fcn.004db91c
test eax, eax
je 0x4bba58
mov edx, dword [ebp - 0x10]
cmp eax, dword [edx + 0x648]
je 0x4bbb32
push 0x80
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00405440
mov eax, dword [ebp - 0x28]
call fcn.004055b8
push eax
call sub.kernel32.dll_SetFileAttributesA
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00405440
mov eax, dword [ebp - 0x2c]
call fcn.004055b8
push eax
call sub.kernel32.dll_DeleteFileA
push 0xffff
push dword [ebp - 8]
push dword [ebp - 4]
push 0x4bbdc8
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.004054bc
mov ecx, dword [ebp - 0x30]
mov dl, 1
mov eax, dword [0x417a90]
call fcn.0041c028
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x380], eax
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 0x10]
call fcn.0040538c
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x36c]
call fcn.00449c54
mov edx, dword [0x4ea7a8]
mov edx, dword [edx]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x368]
call fcn.00472454
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x378]
add eax, 0x3c
mov edx, dword [ebp - 0x10]
add edx, 0x100
call fcn.0040538c
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x380]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x378]
call fcn.004b60a0
jmp 0x4bbd8a
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x643], 0
je 0x4bbd09
xor edx, edx
push ebp
push 0x4bbba6
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.00405440
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x374]
add eax, 0x40
call fcn.00405a8c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x374]
add eax, 0x3c
mov edx, dword [ebp - 0x10]
add edx, 0x508
call fcn.00405a64
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x374]
xor edx, edx
call fcn.004b0910
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bbbb0
push dword [ebp - 8]
push dword [ebp - 4]
push 0x4bbdc8
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.004054bc
mov eax, dword [ebp - 0x3c]
call fcn.004055b8
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x644], 0
je 0x4bbc1f
push 0x80
lea eax, [ebp - 0x40]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00405440
mov eax, dword [ebp - 0x40]
call fcn.004055b8
push eax
call sub.kernel32.dll_SetFileAttributesA
lea eax, [ebp - 0x44]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00405440
mov eax, dword [ebp - 0x44]
call fcn.004055b8
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, dword [0x4ea9f0]
push dword [eax]
mov eax, dword [0x4ea8cc]
push dword [eax]
push 0x4bbdd8
lea eax, [ebp - 0x48]
mov edx, 3
call fcn.004054bc
mov ecx, dword [ebp - 0x48]
mov dl, 1
mov eax, dword [0x423c4c]
call fcn.00423d04
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x4bbca6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0x14], 0
je 0x4bbc90
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.0040538c
mov ecx, dword [ebp - 0x4c]
mov edx, 0x4bbde8
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 0x4bbcad
mov eax, dword [ebp - 0x14]
call fcn.00404228
ret
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.004bb86c
jmp 0x4bbd8a
lea eax, [ebp - 0x58]
mov edx, dword [ebp - 0x10]
call fcn.0040538c
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x36c]
call fcn.00449c54
mov edx, dword [0x4ea7a8]
mov edx, dword [edx]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x368]
call fcn.00472454
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x378]
add eax, 0x3c
mov edx, dword [ebp - 0x10]
add edx, 0x100
call fcn.0040538c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x378]
xor edx, edx
call fcn.004b60a0
jmp 0x4bbd8a
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 0x4bbdb9
lea eax, [ebp - 0x58]
mov edx, 0x11
call fcn.0040514c
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040514c
ret