Function at 0x4836d0
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x4836d8
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x483976
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.0044c6e8
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.0040a7d0
mov edx, dword [ebp - 0x10]
mov eax, ebx
call fcn.0044c720
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x380]
call fcn.0044c6e8
cmp dword [ebp - 0x18], 0
jne 0x48377b
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax + 0x380]
cmp byte [ebx + 0x57], 0
je 0x48375e
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x48375e
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x380]
mov edx, dword [eax]
call dword [edx + 0xd8]
push 0x40
mov ecx, 0x483984
mov edx, 0x48399c
mov eax, dword [0x487800]
mov eax, dword [eax]
call fcn.0046dcb8
jmp 0x483939
mov eax, dword [ebp - 0xc]
inc dword [eax + 0x38c]
lea edx, [ebp - 0x1c]
mov eax, dword [0x487800]
mov eax, dword [eax]
call fcn.0046e270
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 4]
mov edx, 0x4839e0
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.0046e270
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.00482ea0
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 0x48380e
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.0046e270
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x3ac]
mov eax, dword [ebp - 0xc]
call fcn.004831e8
test al, al
jne 0x483852
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x38c], 3
jl 0x483939
mov eax, dword [ebp - 0xc]
call fcn.004693ac
jmp 0x483939
lea eax, [ebp - 8]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x3ac]
call fcn.00405610
call fcn.00403310
dec eax
jl 0x4838a1
call fcn.00403310
mov ebx, eax
test ebx, ebx
jle 0x4838a1
mov esi, 1
push dword [ebp - 8]
push 0x4839f8
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 0x48387b
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3ac]
call fcn.0040b19c
test al, al
je 0x48392d
xor eax, eax
push ebp
push 0x4838e1
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 0x4838eb
xor eax, eax
push ebp
push 0x483926
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.004835a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48392d
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.0046db9c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48397d
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