Function at 0x4fc54c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x14
push 0
push 0
dec ecx
jne 0x4fc554
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4fc9fd
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 0x30]
call fcn.0049eca0
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0xc]
mov ecx, 0x4fca1c
call fcn.004056e8
mov eax, dword [ebp - 0xc]
call fcn.0040c2fc
test al, al
je 0x4fc90d
lea ecx, [ebp - 0x34]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 0xc]
call fcn.004fbf38
cmp dword [ebp - 0x34], 0
jne 0x4fc909
xor eax, eax
push ebp
push 0x4fc8de
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.004fc3f0
pop ecx
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 0x38]
call fcn.00405d0c
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x14]
call fcn.004a8504
lea ecx, [ebp - 0x48]
mov edx, 0x4fca38
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x24]
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x44]
mov ecx, dword [eax]
call dword [ecx + 0x8c]
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x40]
call fcn.004a8504
mov edx, dword [ebp - 0x40]
lea eax, [ebp - 0x14]
call fcn.0040751c
mov eax, dword [ebp - 0x14]
call fcn.004a8dd4
sub al, 6
je 0x4fc62c
jmp 0x4fc8d4
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x90]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x4fc8d4
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x90]
lea ecx, [ebp - 0x50]
mov edx, dword [ebp - 0x20]
call fcn.004b0684
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 0x4c]
mov ecx, dword [eax]
call dword [ecx + 0x8c]
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x18]
call fcn.004a8504
cmp dword [ebp - 0x18], 0
je 0x4fc8c8
mov dl, 1
mov eax, dword [0x4fbfb4]
call fcn.004fc0f0
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x58]
mov edx, 0x4fca48
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0x24]
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x54]
mov ecx, dword [eax]
call dword [ecx + 0x8c]
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x1c]
add eax, 4
call fcn.00405664
lea ecx, [ebp - 0x60]
mov edx, 0x4fca54
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0x24]
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x5c]
mov ecx, dword [eax]
call dword [ecx + 0x8c]
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x1c]
add eax, 8
call fcn.00405664
lea ecx, [ebp - 0x68]
mov edx, 0x4fca64
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0x24]
mov eax, dword [ebp - 0x68]
lea edx, [ebp - 0x64]
mov ecx, dword [eax]
call dword [ecx + 0x8c]
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x1c]
add eax, 0xc
call fcn.00405664
lea ecx, [ebp - 0x70]
mov edx, 0x4fca78
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0x24]
mov eax, dword [ebp - 0x70]
lea edx, [ebp - 0x6c]
mov ecx, dword [eax]
call dword [ecx + 0x8c]
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x1c]
add eax, 0x10
call fcn.00405664
xor eax, eax
push ebp
push 0x4fc7c1
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x9c]
mov edx, 0x4fca8c
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0x24]
mov eax, dword [ebp - 0x9c]
lea edx, [ebp - 0x98]
mov ecx, dword [eax]
call dword [ecx + 0x8c]
mov edx, dword [ebp - 0x98]
lea eax, [ebp - 0x94]
call fcn.00405664
mov edx, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
mov eax, dword [ebp - 4]
call fcn.004fd714
lea edx, [ebp - 0x90]
mov eax, dword [ebp - 0x1c]
add eax, 0x28
mov ecx, dword [0x4a2b34]
call fcn.00406400
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4fc7cb
mov eax, dword [ebp - 0x1c]
xor edx, edx
mov dword [eax + 0x68], edx
lea ecx, [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
call fcn.004fbf38
cmp dword [ebp - 0x10], 0
je 0x4fc875
mov eax, dword [ebp - 0x10]
call fcn.0040589c
mov edx, eax
lea eax, [ebp - 0xa0]
call fcn.004055d4
mov eax, dword [ebp - 0xa0]
call fcn.0040c2fc
test al, al
je 0x4fc823
mov eax, dword [ebp - 0x10]
call fcn.0040589c
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 0x10]
call fcn.004fbef4
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
call fcn.004fbef4
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x4fc864
mov eax, dword [ebp - 0x24]
call fcn.004044f8
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 0xc]
call fcn.004fbc68
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov ecx, dword [ebp - 0xc]
call fcn.004fbc68
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x30]
mov eax, dword [ebp - 0x1c]
add eax, 0x28
push eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 4]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004fe4c4
inc dword [ebp - 0x20]
dec dword [ebp - 0x28]
jne 0x4fc64e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4fc909
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fca07
lea eax, [ebp - 0xa0]
call fcn.004053cc
lea eax, [ebp - 0x9c]
call fcn.00407504
lea eax, [ebp - 0x98]
call fcn.00405b28
lea eax, [ebp - 0x94]
call fcn.004053cc
lea eax, [ebp - 0x90]
mov edx, dword [0x4a2b34]
call fcn.0040619c
lea eax, [ebp - 0x70]
call fcn.00407504
lea eax, [ebp - 0x6c]
call fcn.00405b28
lea eax, [ebp - 0x68]
call fcn.00407504
lea eax, [ebp - 0x64]
call fcn.00405b28
lea eax, [ebp - 0x60]
call fcn.00407504
lea eax, [ebp - 0x5c]
call fcn.00405b28
lea eax, [ebp - 0x58]
call fcn.00407504
lea eax, [ebp - 0x54]
call fcn.00405b28
lea eax, [ebp - 0x50]
call fcn.00407504
lea eax, [ebp - 0x4c]
call fcn.00405b28
lea eax, [ebp - 0x48]
call fcn.00407504
lea eax, [ebp - 0x44]
call fcn.00405b28
lea eax, [ebp - 0x40]
call fcn.00407504
lea eax, [ebp - 0x3c]
call fcn.004053cc
lea eax, [ebp - 0x38]
call fcn.00405b28
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.004053f0
lea eax, [ebp - 0x18]
mov edx, dword [0x4a78b0]
mov ecx, 2
call fcn.004061e8
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004053f0
ret