Function at 0x40d3a6
Capabilities:
Delete file

Disassembly:
mov eax, 0x4b0bb8
call fcn.0048a7d0
sub esp, 0x54
push esi
mov esi, ecx
call fcn.004ac071
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x14]
add eax, 0xd4
push eax
call fcn.004a5c9b
mov eax, dword [esi + 0x1c]
mov ecx, dword [0x4ea054]
and dword [ebp - 4], 0
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], ecx
test eax, eax
mov byte [ebp - 4], 1
je 0x40d6d3
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_DeleteFileA]
push edi
mov esi, 0x4ddf38
jmp 0x40d3fd
mov eax, dword [ebp - 0x18]
mov edi, dword [eax + 8]
mov ecx, dword [eax]
test edi, edi
mov dword [ebp - 0x18], ecx
je 0x40d6c7
mov ecx, edi
call fcn.00419b06
cmp eax, 0xa
jl 0x40d45e
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004a61bb
add edi, 0xc
mov byte [ebp - 4], 2
push edi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004a6155
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.004a605f
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.004a5f26
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
jmp 0x40d6bd
mov ecx, edi
call fcn.00419b06
dec eax
je 0x40d633
dec eax
je 0x40d5f0
dec eax
je 0x40d5aa
dec eax
je 0x40d564
dec eax
je 0x40d51e
dec eax
je 0x40d4d8
dec eax
jne 0x40d6c7
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004a61bb
push str._mct_rmi_
push eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0x10
push eax
call fcn.004a61bb
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x11
call fcn.004a605f
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x10
call fcn.004a5f26
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
jmp 0x40d674
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004a61bb
push str._mct_it_
push eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xe
push eax
call fcn.004a61bb
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xf
call fcn.004a605f
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xe
call fcn.004a5f26
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
jmp 0x40d674
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.004a61bb
push str._mct_xm_
push eax
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0xc
push eax
call fcn.004a61bb
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xd
call fcn.004a605f
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xc
call fcn.004a5f26
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
jmp 0x40d674
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004a61bb
push str._mct_s3m_
push eax
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0xa
push eax
call fcn.004a61bb
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xb
call fcn.004a605f
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xa
call fcn.004a5f26
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
jmp 0x40d674
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.004a61bb
push str._mct_mid_
push eax
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 8
push eax
call fcn.004a61bb
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.004a605f
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 8
call fcn.004a5f26
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
jmp 0x40d674
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.004a61bb
push str._mct_mod_
push eax
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 6
push eax
call fcn.004a61bb
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 7
call fcn.004a605f
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 6
call fcn.004a5f26
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
jmp 0x40d674
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004a61bb
push str._mct_wav_
push eax
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 4
push eax
call fcn.004a61bb
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.004a605f
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 4
call fcn.004a5f26
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.004a5f26
add edi, 0xc
lea eax, [ebp - 0x10]
push edi
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.004a6155
push str..tmp
push eax
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0x12
push eax
call fcn.004a61bb
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x13
call fcn.004a605f
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x12
call fcn.004a5f26
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.004a5f26
push dword [ebp - 0x10]
call ebx
cmp dword [ebp - 0x18], 0
jne 0x40d3fa
pop edi
pop ebx
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004a5f26
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004a5f26
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret