Function at 0x40f550
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4bd3c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push ebp
push esi
mov esi, ecx
call fcn.004b8884
mov eax, dword [eax + 4]
lea ecx, [esp + 0x10]
add eax, 0xd4
push eax
call fcn.004b2520
mov eax, dword [esi + 0x1c]
mov ecx, dword [0x4f4df4]
mov dword [esp + 0x64], 0
mov ebp, dword [eax + 4]
mov dword [esp + 0xc], ecx
mov bl, 1
test ebp, ebp
mov byte [esp + 0x64], bl
je 0x40f8e5
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_DeleteFileA]
mov eax, ebp
mov ebp, dword [ebp]
mov esi, dword [eax + 8]
test esi, esi
je case.default.0x40f63a
mov ecx, esi
call fcn.00439360
cmp eax, 0xa
jl 0x40f629
lea edx, [esp + 0x14]
push 0x4e9f48
lea eax, [esp + 0x20]
push edx
push eax
call fcn.004b2a40
add esi, 0xc
lea ecx, [esp + 0x18]
push esi
push eax
push ecx
mov byte [esp + 0x74], 2
call fcn.004b29da
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c], 3
call fcn.004b28e4
lea ecx, [esp + 0x18]
mov byte [esp + 0x68], 2
call fcn.004b27ab
lea ecx, [esp + 0x1c]
mov byte [esp + 0x68], bl
call fcn.004b27ab
mov edx, dword [esp + 0x10]
push edx
jmp 0x40f8da
mov ecx, esi
call fcn.00439360
dec eax
cmp eax, 6
ja case.default.0x40f63a
jmp dword [eax*4 + 0x40f918]
lea eax, [esp + 0x14]
push 0x4e9f48
lea ecx, [esp + 0x28]
push eax
push ecx
call fcn.004b2a40
push str._mct_wav_
lea edx, [esp + 0x24]
push eax
push edx
mov byte [esp + 0x74], 4
call fcn.004b2a40
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c], 5
call fcn.004b28e4
lea ecx, [esp + 0x20]
mov byte [esp + 0x68], 4
call fcn.004b27ab
mov byte [esp + 0x68], bl
lea ecx, [esp + 0x24]
jmp 0x40f87e
lea eax, [esp + 0x14]
push 0x4e9f48
lea ecx, [esp + 0x30]
push eax
push ecx
call fcn.004b2a40
push str._mct_mod_
lea edx, [esp + 0x2c]
push eax
push edx
mov byte [esp + 0x74], 6
call fcn.004b2a40
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c], 7
call fcn.004b28e4
lea ecx, [esp + 0x28]
mov byte [esp + 0x68], 6
call fcn.004b27ab
mov byte [esp + 0x68], bl
lea ecx, [esp + 0x2c]
jmp 0x40f87e
lea eax, [esp + 0x14]
push 0x4e9f48
lea ecx, [esp + 0x38]
push eax
push ecx
call fcn.004b2a40
push str._mct_mid_
lea edx, [esp + 0x34]
push eax
push edx
mov byte [esp + 0x74], 8
call fcn.004b2a40
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c], 9
call fcn.004b28e4
lea ecx, [esp + 0x30]
mov byte [esp + 0x68], 8
call fcn.004b27ab
mov byte [esp + 0x68], bl
lea ecx, [esp + 0x34]
jmp 0x40f87e
lea eax, [esp + 0x14]
push 0x4e9f48
lea ecx, [esp + 0x40]
push eax
push ecx
call fcn.004b2a40
push str._mct_s3m_
lea edx, [esp + 0x3c]
push eax
push edx
mov byte [esp + 0x74], 0xa
call fcn.004b2a40
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c], 0xb
call fcn.004b28e4
lea ecx, [esp + 0x38]
mov byte [esp + 0x68], 0xa
call fcn.004b27ab
mov byte [esp + 0x68], bl
lea ecx, [esp + 0x3c]
jmp 0x40f87e
lea eax, [esp + 0x14]
push 0x4e9f48
lea ecx, [esp + 0x48]
push eax
push ecx
call fcn.004b2a40
push str._mct_xm_
lea edx, [esp + 0x44]
push eax
push edx
mov byte [esp + 0x74], 0xc
call fcn.004b2a40
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c], 0xd
call fcn.004b28e4
lea ecx, [esp + 0x40]
mov byte [esp + 0x68], 0xc
call fcn.004b27ab
mov byte [esp + 0x68], bl
lea ecx, [esp + 0x44]
jmp 0x40f87e
lea eax, [esp + 0x14]
push 0x4e9f48
lea ecx, [esp + 0x50]
push eax
push ecx
call fcn.004b2a40
push str._mct_it_
lea edx, [esp + 0x4c]
push eax
push edx
mov byte [esp + 0x74], 0xe
call fcn.004b2a40
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c], 0xf
call fcn.004b28e4
lea ecx, [esp + 0x48]
mov byte [esp + 0x68], 0xe
call fcn.004b27ab
mov byte [esp + 0x68], bl
lea ecx, [esp + 0x4c]
jmp 0x40f87e
lea eax, [esp + 0x14]
push 0x4e9f48
lea ecx, [esp + 0x58]
push eax
push ecx
call fcn.004b2a40
push str._mct_rmi_
lea edx, [esp + 0x54]
push eax
push edx
mov byte [esp + 0x74], 0x10
call fcn.004b2a40
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c], 0x11
call fcn.004b28e4
lea ecx, [esp + 0x50]
mov byte [esp + 0x68], 0x10
call fcn.004b27ab
mov byte [esp + 0x68], bl
lea ecx, [esp + 0x54]
call fcn.004b27ab
add esi, 0xc
lea eax, [esp + 0x10]
push esi
lea ecx, [esp + 0x60]
push eax
push ecx
call fcn.004b29da
push str..tmp
lea edx, [esp + 0x5c]
push eax
push edx
mov byte [esp + 0x74], 0x12
call fcn.004b2a40
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c], 0x13
call fcn.004b28e4
lea ecx, [esp + 0x58]
mov byte [esp + 0x68], 0x12
call fcn.004b27ab
lea ecx, [esp + 0x5c]
mov byte [esp + 0x68], bl
call fcn.004b27ab
mov eax, dword [esp + 0x10]
push eax
call edi
test ebp, ebp
jne 0x40f5b1
pop edi
lea ecx, [esp + 0xc]
mov byte [esp + 0x64], 0
call fcn.004b27ab
lea ecx, [esp + 0x10]
mov dword [esp + 0x64], 0xffffffff
call fcn.004b27ab
mov ecx, dword [esp + 0x5c]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x5c
ret