Function at 0x4d0f58
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x4d0f60
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x4d1364
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4e4f28]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4d0f8d
sub eax, 4
mov eax, dword [eax]
cmp eax, 0xa
jle 0x4d101c
lea eax, [ebp - 0xc]
call fcn.00405408
lea eax, [ebp - 8]
mov edx, dword [0x4e4f28]
call fcn.004054a0
xor edx, edx
push ebp
push 0x4d0fda
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.004cf78c
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0xc]
call fcn.00409e88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d0ff0
mov edx, dword [ebp - 0xc]
mov eax, dword [0x4e4efc]
call fcn.004059e4
test eax, eax
jle 0x4d101c
mov eax, 0x4d137c
call fcn.00447348
mov eax, dword [0x4ddf7c]
mov eax, dword [eax]
call fcn.00473b64
jmp 0x4d132f
mov eax, dword [0x4e4eec]
call fcn.0040aa4c
test al, al
jne 0x4d1034
mov eax, dword [0x4e4eec]
call fcn.0040aa70
mov edx, 6
mov eax, dword [0x4e4eec]
call fcn.0040ac24
lea eax, [ebp - 0x1c]
mov ecx, 0x4d1394
mov edx, dword [0x4e4eec]
call fcn.00405720
mov eax, dword [ebp - 0x1c]
call fcn.00405898
mov edx, eax
lea eax, [ebp - 0x18]
call fcn.00405600
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x10]
call fcn.00405898
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
lea eax, [ebp - 4]
mov edx, dword [0x4e4eec]
call fcn.004054a0
mov eax, dword [0x4e4ec8]
mov eax, dword [eax + 0x37c]
mov edx, dword [0x4e4f90]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [0x4e4ec8]
mov eax, dword [eax + 0x37c]
mov edx, dword [ebp - 4]
call fcn.00485c64
mov eax, dword [0x4e4ec8]
mov eax, dword [eax + 0x37c]
mov byte [eax + 0x39], 1
mov byte [eax + 0x50], 1
mov byte [eax + 0x40], 1
push 0x4d13a4
push dword [0x4e4f70]
push 0x4d13b0
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.0040579c
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call fcn.00476254
lea eax, [ebp - 0x30]
lea edx, [ebp - 0x20]
call fcn.004762cc
mov edx, dword [ebp - 0x20]
mov eax, dword [0x4e4ec8]
mov eax, dword [eax + 0x37c]
add eax, 0x44
call fcn.0040545c
xor eax, eax
push ebp
push 0x4d1141
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4e4ec8]
mov eax, dword [eax + 0x37c]
call fcn.00486554
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d116b
lea eax, [ebp - 0x38]
mov ecx, dword [0x4e4f34]
mov edx, dword [ebp - 4]
call fcn.00405720
mov eax, dword [ebp - 0x38]
mov edx, 6
call fcn.0040ac24
push 1
lea eax, [ebp - 0x40]
mov ecx, dword [0x4e4f34]
mov edx, dword [ebp - 4]
call fcn.00405720
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x3c]
call fcn.0040ae7c
mov eax, dword [ebp - 0x3c]
call fcn.00405898
push eax
push 0
lea eax, [ebp - 0x44]
mov ecx, dword [0x4e4f34]
mov edx, dword [ebp - 4]
call fcn.00405720
mov eax, dword [ebp - 0x44]
call fcn.00405898
push eax
push 0x4d13cc
push 0
call sub.shell32.dll_ShellExecuteA
mov eax, dword [0x4ddf7c]
mov eax, dword [eax]
call fcn.00473894
mov eax, 0x4e4f8c
mov ecx, dword [0x4e4f34]
mov edx, dword [ebp - 4]
call fcn.00405720
lea edx, [ebp - 0x48]
mov eax, dword [0x4e4f8c]
call fcn.0040ae7c
mov edx, dword [ebp - 0x48]
mov eax, 0x4e4f94
mov ecx, 0x4d13dc
call fcn.00405720
lea edx, [ebp - 0x4c]
mov eax, dword [0x4e4f8c]
call fcn.0040ae7c
mov edx, dword [ebp - 0x4c]
mov eax, 0x4e4f98
mov ecx, 0x4d13f0
call fcn.00405720
mov edx, 6
mov eax, dword [0x4e4f94]
call fcn.0040ac24
mov edx, 6
mov eax, dword [0x4e4f98]
call fcn.0040ac24
push 1
push 0
push 0x4d1408
push dword [0x4e4f8c]
push 0x4d1408
lea eax, [ebp - 0x50]
mov edx, 3
call fcn.0040579c
mov eax, dword [ebp - 0x50]
call fcn.00405898
push eax
lea edx, [ebp - 0x54]
mov eax, dword [0x4ddf7c]
mov eax, dword [eax]
call fcn.004741cc
mov eax, dword [ebp - 0x54]
call fcn.00405898
push eax
push 0x4d13cc
push 0
call sub.shell32.dll_ShellExecuteA
lea eax, [ebp - 0x5c]
mov ecx, 0x4d1394
mov edx, dword [0x4e4eec]
call fcn.00405720
mov eax, dword [ebp - 0x5c]
call fcn.00405898
mov edx, eax
lea eax, [ebp - 0x58]
call fcn.00405600
mov ebx, dword [ebp - 0x58]
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x10]
call fcn.00405898
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
mov eax, dword [0x4e4ec8]
mov eax, dword [eax + 0x378]
mov dl, 1
call fcn.0044138c
mov eax, dword [0x4e4f10]
mov edx, 0x4d1414
call fcn.00405830
jne 0x4d132f
xor eax, eax
push ebp
push 0x4d1325
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0044809c
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d132f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d136b
lea eax, [ebp - 0x5c]
mov edx, 0xb
call fcn.0040542c
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.0040542c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040542c
ret