Function at 0x4cec78
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x4cec80
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004054dc
xor eax, eax
push ebp
push 0x4cf053
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004050c0
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4cb5fc]
call fcn.004cc144
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
call fcn.004cc3e8
test al, al
jne 0x4cefec
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x28]
call fcn.004ccacc
mov eax, dword [ebp - 0x28]
call fcn.004cc3f0
test eax, eax
jle 0x4cefec
mov edx, 0x4cf06c
mov eax, dword [ebp - 0x28]
call fcn.004ccf54
mov edx, 0x4cf080
mov eax, dword [ebp - 0x28]
call fcn.004cc348
mov ebx, eax
test ebx, ebx
jne 0x4ced54
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 8]
call fcn.0040ad8c
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x30]
mov edx, 0x4cf094
call fcn.00405338
mov eax, dword [ebp - 0x30]
push eax
push 1
push 0x51
mov eax, dword [0x4e2b58]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
mov ecx, 0x4cf0a4
mov edx, 0x4cf0d8
call fcn.004cd5e8
mov eax, dword [ebp - 0x28]
call fcn.004041a0
jmp 0x4cefec
push 0
push 0
mov eax, ebx
call fcn.0041e64c
mov dl, 1
mov eax, dword [0x419acc]
call fcn.00404170
mov dword [ebp - 0x24], eax
mov edx, ebx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x6c]
lea eax, [ebp - 0x3c]
call fcn.0049e810
lea eax, [ebp - 0x3c]
mov edx, 0x4cf0fc
call fcn.00405a2c
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 0x38]
call fcn.004052b0
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov eax, dword [ebp - 0x24]
call fcn.004041a0
lea eax, [ebp - 0x40]
call fcn.0049e810
lea eax, [ebp - 0x40]
mov edx, 0x4cf0fc
call fcn.00405a2c
mov ecx, dword [ebp - 0x40]
mov dl, 1
mov eax, dword [0x4a00b0]
call fcn.004a0ba4
mov ebx, eax
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x4cf128
mov edx, 0x4cf138
mov eax, ebx
mov esi, dword [eax]
call dword [esi]
push 0x4cf14c
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x4cf154
mov edx, 0x4cf138
mov eax, ebx
mov esi, dword [eax]
call dword [esi]
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, 0x4cf160
mov edx, 0x4cf138
mov eax, ebx
mov esi, dword [eax]
call dword [esi]
push 0
lea eax, [ebp - 0x44]
push eax
mov ecx, 0x4cf178
mov edx, 0x4cf138
mov eax, ebx
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 0xc]
call fcn.004052b0
mov eax, ebx
call fcn.004041a0
lea eax, [ebp - 0x4c]
call fcn.0049e810
lea eax, [ebp - 0x4c]
mov edx, 0x4cf0fc
call fcn.00405a2c
mov edx, dword [ebp - 0x4c]
lea eax, [ebp - 0x48]
call fcn.004052b0
mov ebx, dword [ebp - 0x48]
mov dword [ebp - 0x50], ebx
mov eax, dword [ebp - 0x50]
call fcn.004054ec
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x4cf18c
mov edx, 0x4cf198
mov eax, dword [ebp - 0xc]
call fcn.004444c4
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
call fcn.004050c0
mov dl, 1
mov eax, dword [0x419acc]
call fcn.00404170
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4cef4c
inc eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], 0
xor eax, eax
push ebp
push 0x4cef3a
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x54]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x28]
call fcn.004cc348
mov ebx, eax
push 0
push 0
mov eax, ebx
call fcn.0041e64c
lea eax, [ebp - 0x58]
call fcn.0049e438
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x5c]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x5c]
pop eax
call fcn.004052f4
mov edx, dword [ebp - 0x58]
mov eax, ebx
call fcn.0041edac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4cef44
inc dword [ebp - 0x20]
dec dword [ebp - 0x2c]
jne 0x4ceecf
mov bl, 1
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4cef9f
inc eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x60]
call fcn.0049e438
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x64]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x64]
pop eax
call fcn.004052f4
mov eax, dword [ebp - 0x60]
call fcn.0040a980
test al, al
jne 0x4cef97
xor ebx, ebx
inc dword [ebp - 0x20]
dec dword [ebp - 0x2c]
jne 0x4cef66
test bl, bl
jne 0x4cefdc
push 0x4cf1a4
push 1
push 0x62
mov eax, dword [0x4e2b58]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
mov ecx, 0x4cf1dc
mov edx, 0x4cf20c
call fcn.004cd5e8
cmp eax, 7
jne 0x4cefdc
mov eax, dword [ebp - 0x24]
call fcn.004041a0
mov eax, dword [ebp - 0x28]
call fcn.004041a0
jmp 0x4cefec
mov eax, dword [ebp - 0x24]
call fcn.004041a0
mov eax, dword [ebp - 0x28]
call fcn.004041a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cf05a
lea eax, [ebp - 0x64]
mov edx, 5
call fcn.0040504c
lea eax, [ebp - 0x4c]
call fcn.00405834
lea eax, [ebp - 0x48]
call fcn.00405028
lea eax, [ebp - 0x44]
mov edx, 3
call fcn.0040584c
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.0040504c
lea eax, [ebp - 0x1c]
call fcn.00405028
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.0040584c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040504c
ret