Function at 0x4e6cb0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4e6f24
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, 0x4e6f40
call fcn.004de890
test al, al
jne 0x4e6efc
mov eax, dword [ebp - 4]
add eax, 0x4a4
xor edx, edx
call fcn.00406874
mov ebx, 0x5a
lea eax, [ebp - 0xc]
mov edx, ebx
call fcn.004069f0
lea eax, [ebp - 0xc]
mov edx, 0x4e6f60
call fcn.00406c98
mov edx, dword [ebp - 0xc]
mov eax, dword [0x500514]
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
jne 0x4e6d4e
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.004069f0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
add eax, 0x4a4
mov ecx, 0x4e6f74
call fcn.00406d58
jmp 0x4e6d54
dec ebx
cmp ebx, 0x40
jne 0x4e6d06
mov eax, dword [ebp - 4]
cmp dword [eax + 0x4a4], 0
setne byte [ebp - 5]
cmp byte [ebp - 5], 0
je 0x4e6efc
push 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4a0]
mov edx, 0x4e6f84
mov eax, 0x4e6fa0
call fcn.004d912c
call fcn.004d8f0c
test al, al
je 0x4e6dab
push 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x49c]
mov edx, 0x4e6fbc
mov eax, 0x4e6fa0
call fcn.004d912c
jmp 0x4e6dc5
push 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x49c]
mov edx, 0x4e6f40
mov eax, 0x4e6fa0
call fcn.004d912c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4a0]
call fcn.00411eb8
test al, al
je 0x4e6efc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x49c]
call fcn.00411eb8
test al, al
je 0x4e6efc
xor eax, eax
push ebp
push 0x4e6ef5
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4a0]
call fcn.00412360
mov eax, dword [ebp - 0x14]
call fcn.00412908
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4a0]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0x11
lea edx, [ebp - 0x20]
xor ecx, ecx
mov eax, 0x4e6fdc
call fcn.00412e3c
mov eax, dword [ebp - 0x18]
xor edx, edx
call fcn.004d72d8
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4a0]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0x11
lea edx, [ebp - 0x20]
xor ecx, ecx
mov eax, 0x4e6ff4
call fcn.00412e3c
mov eax, dword [ebp - 0x24]
xor edx, edx
call fcn.004d72d8
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4a0]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0x11
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4a4]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0x11
lea edx, [ebp - 0x38]
mov ecx, 1
mov eax, 0x4e700c
call fcn.00412e3c
mov eax, dword [ebp - 0x28]
xor edx, edx
call fcn.004d72d8
mov eax, 0x4e6f40
call fcn.004de8e0
mov byte [ebp - 5], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e6efc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4a0]
call fcn.00406900
push eax
call sub.kernel32.dll_DeleteFileW
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x49c]
call fcn.00406900
push eax
call sub.kernel32.dll_DeleteFileW
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e6f2b
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.0040686c
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.0040686c
ret