Function at 0x4d0c50
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x4d0c59
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0x24]
mov eax, dword [ebp - 4]
call fcn.004052f0
xor eax, eax
push ebp
push 0x4d1064
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x24]
push eax
mov ecx, 8
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00405368
mov eax, dword [ebp - 0x24]
mov edx, 0x4d107c
call fcn.00405298
sete byte [ebp - 0x1d]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.004dbe20
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 4]
call fcn.00404f08
lea eax, [ebp - 0x2c]
mov ecx, 0x4d1090
mov edx, dword [ebp - 4]
call fcn.00405188
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 8]
call fcn.0046f1c8
lea eax, [ebp - 0x30]
mov ecx, 0x4d10a0
mov edx, dword [ebp - 4]
call fcn.00405188
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0xc]
call fcn.0046f1c8
lea eax, [ebp - 0x34]
mov ecx, 0x4d10b0
mov edx, dword [ebp - 4]
call fcn.00405188
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x10]
call fcn.0046f1c8
movzx ebx, byte [0x4d10b8]
cmp byte [ebp + 0x18], 0
je 0x4d0d27
or bl, 1
jmp 0x4d0d30
cmp byte [ebp - 0x1d], 0
je 0x4d0d30
or bl, 2
mov eax, esi
call fcn.004d0a6c
mov byte [ebp - 0x1e], al
cmp byte [ebp - 0x1e], 0
je 0x4d0d4d
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x10]
call fcn.00404f08
jmp 0x4d0d58
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.00404f08
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
lea edx, [ebp - 0x3c]
xor ecx, ecx
mov eax, 0x4d10c4
call fcn.004b66a4
mov dl, 1
mov eax, dword [ebp - 0x14]
call fcn.004cc0d0
mov eax, dword [ebp + 0x30]
mov eax, dword [eax + 8]
push eax
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0x14]
call fcn.0046f26c
mov edx, dword [ebp - 0x40]
mov ecx, ebx
xor eax, eax
call fcn.004cdae0
pop ecx
mov eax, dword [ebp - 8]
call fcn.00405300
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, dword [ebp - 0xc]
call fcn.00405300
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, dword [ebp - 0x10]
call fcn.0046f694
test al, al
je 0x4d0dd6
mov eax, dword [ebp - 0x10]
call fcn.00405300
push eax
push 0
push 0
push 0
call sub.kernel32.dll_WritePrivateProfileStringA
mov eax, dword [ebp - 0x10]
call fcn.00405300
push eax
call sub.kernel32.dll_DeleteFileA
cmp byte [ebp - 0x1e], 0
jne 0x4d0e94
mov eax, dword [ebp + 0x2c]
push eax
mov eax, dword [ebp + 0x28]
push eax
push edi
mov eax, dword [ebp + 0x20]
push eax
mov eax, dword [ebp + 0x1c]
push eax
movzx eax, word [ebp + 0x10]
push eax
movzx eax, byte [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
call fcn.004b5204
cmp byte [ebp + 0xc], 0
je 0x4d0e30
mov eax, dword [ebp - 0x18]
call fcn.0046f6b8
test al, al
jne 0x4d0e34
xor eax, eax
jmp 0x4d0e36
mov al, 1
mov byte [ebp - 0x1f], al
cmp byte [ebp + 0x14], 0
je 0x4d0eb3
cmp byte [ebp - 0x1f], 0
jne 0x4d0eb3
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 0x18]
call fcn.0046f2c4
mov eax, dword [ebp - 0x44]
mov edx, 0x4d10a0
call fcn.00409670
test eax, eax
jne 0x4d0eb3
xor eax, eax
push ebp
push 0x4d0e88
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp + 0x14], 1
sete dl
mov eax, dword [ebp - 0x18]
call fcn.004b43e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d0eb3
mov eax, dword [ebp + 0x20]
push eax
mov ecx, edi
mov edx, esi
mov eax, dword [ebp - 0x10]
call fcn.004d0b0c
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x10]
call fcn.00404f08
mov byte [ebp - 0x1f], 0
mov eax, dword [0x500218]
mov byte [eax], 1
cmp byte [ebp - 0x1f], 0
je 0x4d0ed7
push 0
mov eax, dword [ebp - 0x18]
call fcn.00405300
push eax
push 1
push 8
call sub.shell32.dll_SHChangeNotify
jmp 0x4d0eeb
push 0
mov eax, dword [ebp - 0x18]
call fcn.00405300
push eax
push 1
push 2
call sub.shell32.dll_SHChangeNotify
push 0
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 0x18]
call fcn.0046f26c
mov eax, dword [ebp - 0x48]
call fcn.00405300
push eax
push 0x1001
push 0x1000
call sub.shell32.dll_SHChangeNotify
cmp byte [ebp + 0x18], 0
jne 0x4d1018
cmp byte [ebp - 0x1f], 0
je 0x4d0fb3
push 0
push 0x12
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x4c]
mov eax, dword [ebp + 0x30]
mov eax, dword [eax + 8]
mov eax, dword [eax - 4]
mov dx, 0x81
call fcn.004b8f54
push 0
push 0
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 0x18]
call fcn.0046ee20
lea eax, [ebp - 0x50]
mov edx, 0x4d10dc
call fcn.0040513c
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x4c]
mov eax, dword [ebp + 0x30]
mov eax, dword [eax + 8]
mov eax, dword [eax - 4]
mov dx, 0x82
call fcn.004b8f54
push 0
push 0
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 0x18]
call fcn.0046ee20
lea eax, [ebp - 0x54]
mov edx, 0x4d10f0
call fcn.0040513c
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x4c]
mov eax, dword [ebp + 0x30]
mov eax, dword [eax + 8]
mov eax, dword [eax - 4]
mov dx, 0x82
call fcn.004b8f54
jmp 0x4d1018
cmp byte [ebp - 0x1e], 0
je 0x4d0fda
push 0
push 0x20
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x4c]
mov eax, dword [ebp + 0x30]
mov eax, dword [eax + 8]
mov eax, dword [eax - 4]
mov dx, 0x82
call fcn.004b8f54
jmp 0x4d1018
push 0
push 0x20
mov eax, dword [ebp - 8]
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x4c]
mov eax, dword [ebp + 0x30]
mov eax, dword [eax + 8]
mov eax, dword [eax - 4]
mov dx, 0x82
call fcn.004b8f54
push 0
push 0x20
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x4c]
mov eax, dword [ebp + 0x30]
mov eax, dword [eax + 8]
mov eax, dword [eax - 4]
mov dx, 0x82
call fcn.004b8f54
mov eax, 0x3e8
call fcn.004cc4a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d106b
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.00404e94
lea eax, [ebp - 0x48]
mov edx, 3
call fcn.00404e94
lea eax, [ebp - 0x34]
mov edx, 5
call fcn.00404e94
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.00404e94
ret