Function at 0x40d843
Capabilities:
Delete file

Disassembly:
mov eax, 0x4dffac
call fcn.004b8e80
sub esp, 0x54
push esi
mov esi, ecx
call fcn.004db454
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x14]
add eax, 0xd4
push eax
call fcn.004d4f11
mov eax, dword [esi + 0x1c]
mov ecx, dword [0x52933c]
and dword [ebp - 4], 0
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], ecx
test eax, eax
mov byte [ebp - 4], 1
je 0x40db70
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_DeleteFileA]
push edi
mov esi, 0x50ef48
jmp 0x40d89a
mov eax, dword [ebp - 0x18]
mov edi, dword [eax + 8]
mov ecx, dword [eax]
test edi, edi
mov dword [ebp - 0x18], ecx
je 0x40db64
mov ecx, edi
call fcn.0041c25b
cmp eax, 0xa
jl 0x40d8fb
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004d5431
add edi, 0xc
mov byte [ebp - 4], 2
push edi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004d53cb
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.004d52d5
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.004d519c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
jmp 0x40db5a
mov ecx, edi
call fcn.0041c25b
dec eax
je 0x40dad0
dec eax
je 0x40da8d
dec eax
je 0x40da47
dec eax
je 0x40da01
dec eax
je 0x40d9bb
dec eax
je 0x40d975
dec eax
jne 0x40db64
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004d5431
push str._mct_rmi_
push eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0x10
push eax
call fcn.004d5431
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x11
call fcn.004d52d5
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x10
call fcn.004d519c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
jmp 0x40db11
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004d5431
push str._mct_it_
push eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xe
push eax
call fcn.004d5431
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xf
call fcn.004d52d5
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xe
call fcn.004d519c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
jmp 0x40db11
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.004d5431
push str._mct_xm_
push eax
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0xc
push eax
call fcn.004d5431
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xd
call fcn.004d52d5
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xc
call fcn.004d519c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
jmp 0x40db11
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004d5431
push str._mct_s3m_
push eax
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0xa
push eax
call fcn.004d5431
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xb
call fcn.004d52d5
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xa
call fcn.004d519c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
jmp 0x40db11
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.004d5431
push str._mct_mid_
push eax
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 8
push eax
call fcn.004d5431
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.004d52d5
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 8
call fcn.004d519c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
jmp 0x40db11
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.004d5431
push str._mct_mod_
push eax
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 6
push eax
call fcn.004d5431
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 7
call fcn.004d52d5
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 6
call fcn.004d519c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
jmp 0x40db11
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004d5431
push str._mct_wav_
push eax
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 4
push eax
call fcn.004d5431
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.004d52d5
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 4
call fcn.004d519c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.004d519c
add edi, 0xc
lea eax, [ebp - 0x10]
push edi
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.004d53cb
push str..tmp
push eax
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0x12
push eax
call fcn.004d5431
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x13
call fcn.004d52d5
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x12
call fcn.004d519c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.004d519c
push dword [ebp - 0x10]
call ebx
cmp dword [ebp - 0x18], 0
jne 0x40d897
pop edi
pop ebx
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004d519c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004d519c
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret