Function at 0x40d8c7
Capabilities:
Delete file

Disassembly:
mov eax, 0x4e3148
call fcn.004bb144
sub esp, 0x54
push esi
mov esi, ecx
call fcn.004de606
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x14]
add eax, 0xd4
push eax
call fcn.004d813d
mov eax, dword [esi + 0x1c]
mov ecx, dword [0x52d2c4]
and dword [ebp - 4], 0
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], ecx
test eax, eax
mov byte [ebp - 4], 1
je 0x40dbf4
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_DeleteFileA]
push edi
mov esi, 0x511f48
jmp 0x40d91e
mov eax, dword [ebp - 0x18]
mov edi, dword [eax + 8]
mov ecx, dword [eax]
test edi, edi
mov dword [ebp - 0x18], ecx
je 0x40dbe8
mov ecx, edi
call fcn.0040df6f
cmp eax, 0xa
jl 0x40d97f
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004d865d
add edi, 0xc
mov byte [ebp - 4], 2
push edi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004d85f7
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.004d8501
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.004d83c8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
jmp 0x40dbde
mov ecx, edi
call fcn.0040df6f
dec eax
je 0x40db54
dec eax
je 0x40db11
dec eax
je 0x40dacb
dec eax
je 0x40da85
dec eax
je 0x40da3f
dec eax
je 0x40d9f9
dec eax
jne 0x40dbe8
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004d865d
push str._mct_rmi_
push eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0x10
push eax
call fcn.004d865d
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x11
call fcn.004d8501
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x10
call fcn.004d83c8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
jmp 0x40db95
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004d865d
push str._mct_it_
push eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xe
push eax
call fcn.004d865d
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xf
call fcn.004d8501
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xe
call fcn.004d83c8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
jmp 0x40db95
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.004d865d
push str._mct_xm_
push eax
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0xc
push eax
call fcn.004d865d
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xd
call fcn.004d8501
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xc
call fcn.004d83c8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
jmp 0x40db95
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004d865d
push str._mct_s3m_
push eax
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0xa
push eax
call fcn.004d865d
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xb
call fcn.004d8501
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xa
call fcn.004d83c8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
jmp 0x40db95
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.004d865d
push str._mct_mid_
push eax
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 8
push eax
call fcn.004d865d
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.004d8501
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 8
call fcn.004d83c8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
jmp 0x40db95
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.004d865d
push str._mct_mod_
push eax
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 6
push eax
call fcn.004d865d
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 7
call fcn.004d8501
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 6
call fcn.004d83c8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
jmp 0x40db95
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004d865d
push str._mct_wav_
push eax
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 4
push eax
call fcn.004d865d
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.004d8501
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 4
call fcn.004d83c8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.004d83c8
add edi, 0xc
lea eax, [ebp - 0x10]
push edi
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.004d85f7
push str..tmp
push eax
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0x12
push eax
call fcn.004d865d
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x13
call fcn.004d8501
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x12
call fcn.004d83c8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.004d83c8
push dword [ebp - 0x10]
call ebx
cmp dword [ebp - 0x18], 0
jne 0x40d91b
pop edi
pop ebx
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004d83c8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004d83c8
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret