Function at 0x40c011
Capabilities:
Delete file

Disassembly:
mov eax, 0x4a62f8
call fcn.004817b4
sub esp, 0x54
push esi
mov esi, ecx
call fcn.004a1a25
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x14]
add eax, 0xd4
push eax
call fcn.0049bb53
mov eax, dword [esi + 0x1c]
mov ecx, dword [0x4dbfc4]
and dword [ebp - 4], 0
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], ecx
test eax, eax
mov byte [ebp - 4], 1
je 0x40c33e
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_DeleteFileA]
push edi
mov esi, 0x4d0f00
jmp 0x40c068
mov eax, dword [ebp - 0x18]
mov edi, dword [eax + 8]
mov ecx, dword [eax]
test edi, edi
mov dword [ebp - 0x18], ecx
je 0x40c332
mov ecx, edi
call fcn.0040c6d1
cmp eax, 0xa
jl 0x40c0c9
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0049c073
add edi, 0xc
mov byte [ebp - 4], 2
push edi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0049c00d
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.0049bf17
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.0049bdde
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
jmp 0x40c328
mov ecx, edi
call fcn.0040c6d1
dec eax
je 0x40c29e
dec eax
je 0x40c25b
dec eax
je 0x40c215
dec eax
je 0x40c1cf
dec eax
je 0x40c189
dec eax
je 0x40c143
dec eax
jne 0x40c332
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0049c073
push str._mct_rmi_
push eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0x10
push eax
call fcn.0049c073
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x11
call fcn.0049bf17
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x10
call fcn.0049bdde
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
jmp 0x40c2df
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0049c073
push str._mct_it_
push eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xe
push eax
call fcn.0049c073
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xf
call fcn.0049bf17
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xe
call fcn.0049bdde
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
jmp 0x40c2df
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0049c073
push str._mct_xm_
push eax
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0xc
push eax
call fcn.0049c073
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xd
call fcn.0049bf17
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xc
call fcn.0049bdde
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
jmp 0x40c2df
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0049c073
push str._mct_s3m_
push eax
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0xa
push eax
call fcn.0049c073
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xb
call fcn.0049bf17
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xa
call fcn.0049bdde
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
jmp 0x40c2df
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0049c073
push str._mct_mid_
push eax
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 8
push eax
call fcn.0049c073
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0049bf17
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 8
call fcn.0049bdde
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
jmp 0x40c2df
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.0049c073
push str._mct_mod_
push eax
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 6
push eax
call fcn.0049c073
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 7
call fcn.0049bf17
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 6
call fcn.0049bdde
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
jmp 0x40c2df
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0049c073
push str._mct_wav_
push eax
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 4
push eax
call fcn.0049c073
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.0049bf17
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 4
call fcn.0049bdde
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.0049bdde
add edi, 0xc
lea eax, [ebp - 0x10]
push edi
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.0049c00d
push str..tmp
push eax
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0x12
push eax
call fcn.0049c073
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x13
call fcn.0049bf17
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x12
call fcn.0049bdde
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.0049bdde
push dword [ebp - 0x10]
call ebx
cmp dword [ebp - 0x18], 0
jne 0x40c065
pop edi
pop ebx
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0049bdde
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0049bdde
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret