Function at 0x4836f8
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x483700
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x48399e
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax + 0x380]
mov eax, ebx
call fcn.0044c6fc
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.0040a7d0
mov edx, dword [ebp - 0x10]
mov eax, ebx
call fcn.0044c734
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x380]
call fcn.0044c6fc
cmp dword [ebp - 0x18], 0
jne 0x4837a3
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax + 0x380]
cmp byte [ebx + 0x57], 0
je 0x483786
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x483786
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x380]
mov edx, dword [eax]
call dword [edx + 0xd8]
push 0x40
mov ecx, 0x4839ac
mov edx, 0x4839c4
mov eax, dword [0x487800]
mov eax, dword [eax]
call fcn.0046dd04
jmp 0x483961
mov eax, dword [ebp - 0xc]
inc dword [eax + 0x38c]
lea edx, [ebp - 0x1c]
mov eax, dword [0x487800]
mov eax, dword [eax]
call fcn.0046e2bc
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 4]
mov edx, 0x483a08
call fcn.0040b2c0
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.0040b3d0
mov eax, dword [ebp - 0x24]
push eax
lea edx, [ebp - 0x2c]
mov eax, dword [0x487800]
mov eax, dword [eax]
call fcn.0046e2bc
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.0040b394
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x20]
pop edx
call fcn.00482ec8
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
add eax, 0x3ac
call fcn.004055bc
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3ac]
call fcn.0040b19c
test al, al
je 0x483836
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3ac]
call fcn.00405648
push eax
call sub.kernel32.dll_DeleteFileW
lea edx, [ebp - 0x30]
mov eax, dword [0x487800]
mov eax, dword [eax]
call fcn.0046e2bc
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x3ac]
mov eax, dword [ebp - 0xc]
call fcn.00483210
test al, al
jne 0x48387a
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x38c], 3
jl 0x483961
mov eax, dword [ebp - 0xc]
call fcn.004693f0
jmp 0x483961
lea eax, [ebp - 8]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x3ac]
call fcn.00405610
call fcn.00403310
dec eax
jl 0x4838c9
call fcn.00403310
mov ebx, eax
test ebx, ebx
jle 0x4838c9
mov esi, 1
push dword [ebp - 8]
push 0x483a20
lea edx, [ebp - 0x34]
mov eax, esi
call fcn.00403370
push dword [ebp - 0x34]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00405a18
inc esi
dec ebx
jne 0x4838a3
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3ac]
call fcn.0040b19c
test al, al
je 0x483955
xor eax, eax
push ebp
push 0x483909
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3ac]
call fcn.00405648
push eax
call sub.kernel32.dll_SetFileAttributesW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x483913
xor eax, eax
push ebp
push 0x48394e
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.004835d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x483955
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3ac]
call fcn.00405648
push eax
call sub.kernel32.dll_DeleteFileW
ret
mov eax, dword [0x487800]
mov eax, dword [eax]
call fcn.0046dbe8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4839a5
lea eax, [ebp - 0x34]
mov edx, 7
call fcn.004055b4
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004055b4
lea eax, [ebp - 0x10]
call fcn.004055ac
lea eax, [ebp - 8]
mov edx, 2
call fcn.004055b4
ret