Function at 0x4cd06c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xe
push 0
push 0
dec ecx
jne 0x4cd074
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x4cd537
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4e0e58]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4cd0a0
sub eax, 4
mov eax, dword [eax]
cmp eax, 0xa
jle 0x4cd1e8
xor eax, eax
push ebp
push 0x4cd0e5
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x18]
mov eax, dword [0x4e0df4]
mov eax, dword [eax + 0x388]
mov edx, dword [0x4e0e58]
call fcn.004b36b4
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 8]
call fcn.00409e60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4cd0ef
mov edx, dword [ebp - 8]
mov eax, dword [0x4e0e2c]
call fcn.004059bc
test eax, eax
jle 0x4cd1be
lea eax, [ebp - 0x2c]
mov ecx, dword [0x4e0e04]
mov edx, dword [0x4e0e2c]
call fcn.004056f8
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.004752bc
lea eax, [ebp - 0x28]
lea edx, [ebp - 0xc]
call fcn.00475334
xor eax, eax
push ebp
push 0x4cd1b4
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4cd1a3
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x42689c]
call fcn.0042696c
mov dword [ebp - 0x10], eax
mov edx, 0x80000001
mov eax, dword [ebp - 0x10]
call fcn.00426a0c
push 0x4cd550
push dword [ebp - 0xc]
push 0x4cd564
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00405774
mov edx, dword [ebp - 0x30]
mov cl, 1
mov eax, dword [ebp - 0x10]
call fcn.00426a70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cd1aa
mov eax, dword [ebp - 0x10]
call fcn.004044e0
ret
mov edx, dword [ebp - 8]
mov eax, dword [0x4e0e2c]
call fcn.004059bc
test eax, eax
jle 0x4cd1e8
mov eax, 0x4cd570
call fcn.004464ec
mov eax, dword [0x4e0df4]
call fcn.0046ecc8
jmp 0x4cd507
push 0x4cd590
lea edx, [ebp - 0x3c]
mov eax, dword [0x4d9dac]
mov eax, dword [eax]
call fcn.00473234
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x28]
call fcn.004752bc
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x38]
call fcn.00475334
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x34]
mov edx, 5
call fcn.0043c81c
push dword [ebp - 0x34]
push 0x4cd564
mov eax, 0x4e0e18
mov edx, 3
call fcn.00405774
mov eax, dword [0x4e0e18]
call fcn.0040aa24
test al, al
jne 0x4cd251
mov eax, dword [0x4e0e18]
call fcn.0040aa48
mov edx, 6
mov eax, dword [0x4e0e18]
call fcn.0040abfc
lea eax, [ebp - 0x44]
mov ecx, 0x4cd5b4
mov edx, dword [0x4e0e18]
call fcn.004056f8
mov eax, dword [ebp - 0x44]
call fcn.00405870
mov edx, eax
lea eax, [ebp - 0x40]
call fcn.004055d8
mov ebx, dword [ebp - 0x40]
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x14]
call fcn.00405870
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
lea edx, [ebp - 0x48]
mov eax, dword [0x4d9dac]
mov eax, dword [eax]
call fcn.00473234
mov eax, dword [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
mov ecx, 0x4cd5b4
mov edx, dword [0x4e0e18]
call fcn.004056f8
mov edx, dword [ebp - 0x4c]
pop eax
call fcn.004cce60
test al, al
jne 0x4cd2ed
mov eax, 0x4cd5c4
call fcn.004464ec
mov eax, dword [0x4d9dac]
mov eax, dword [eax]
call fcn.00472bcc
jmp 0x4cd507
lea eax, [ebp - 4]
mov edx, dword [0x4e0e18]
call fcn.00405478
lea eax, [ebp - 0x50]
mov ecx, 0x4cd5b4
mov edx, dword [0x4e0e18]
call fcn.004056f8
mov edx, dword [ebp - 0x50]
mov eax, dword [0x4e0df4]
mov eax, dword [eax + 0x370]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [0x4e0df4]
mov eax, dword [eax + 0x370]
mov edx, dword [ebp - 4]
call fcn.00484ccc
mov eax, dword [0x4e0df4]
mov eax, dword [eax + 0x370]
mov byte [eax + 0x39], 1
mov byte [eax + 0x50], 1
mov byte [eax + 0x40], 1
mov eax, dword [0x4e0e10]
mov edx, 0x4cd5dc
call fcn.00405808
jne 0x4cd36b
mov eax, 0x4e0e9c
mov edx, 0x4cd5e8
call fcn.00405434
push 0x4cd5fc
push dword [0x4e0e9c]
push 0x4cd608
lea eax, [ebp - 0x58]
mov edx, 3
call fcn.00405774
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x28]
call fcn.004752bc
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x54]
call fcn.00475334
mov edx, dword [ebp - 0x54]
mov eax, dword [0x4e0df4]
mov eax, dword [eax + 0x370]
add eax, 0x44
call fcn.00405434
xor eax, eax
push ebp
push 0x4cd3dc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4e0df4]
mov eax, dword [eax + 0x370]
call fcn.004855bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4cd406
lea eax, [ebp - 0x5c]
mov ecx, dword [0x4e0e64]
mov edx, dword [ebp - 4]
call fcn.004056f8
mov eax, dword [ebp - 0x5c]
mov edx, 6
call fcn.0040abfc
push 1
push 0
push 0
lea eax, [ebp - 0x60]
mov ecx, dword [0x4e0e64]
mov edx, dword [ebp - 4]
call fcn.004056f8
mov eax, dword [ebp - 0x60]
call fcn.00405870
push eax
push 0x4cd624
push 0
call sub.shell32.dll_ShellExecuteA
lea eax, [ebp - 0x68]
mov ecx, dword [0x4e0e64]
mov edx, dword [ebp - 4]
call fcn.004056f8
mov eax, dword [ebp - 0x68]
lea edx, [ebp - 0x64]
call fcn.0040ae54
mov edx, dword [ebp - 0x64]
mov eax, 0x4e0eac
call fcn.00405434
lea eax, [ebp - 0x70]
mov ecx, 0x4cd5b4
mov edx, dword [0x4e0e18]
call fcn.004056f8
mov eax, dword [ebp - 0x70]
call fcn.00405870
mov edx, eax
lea eax, [ebp - 0x6c]
call fcn.004055d8
mov ebx, dword [ebp - 0x6c]
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x14]
call fcn.00405870
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
mov eax, dword [0x4e0df4]
mov eax, dword [eax + 0x36c]
mov dl, 1
call fcn.00440530
mov eax, dword [0x4e0e40]
mov edx, 0x4cd634
call fcn.00405808
jne 0x4cd507
xor eax, eax
push ebp
push 0x4cd4fd
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00447240
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4cd507
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cd53e
lea eax, [ebp - 0x70]
mov edx, 0x12
call fcn.00405404
lea eax, [ebp - 0x18]
call fcn.004053e0
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405404
ret