Function at 0x4d2b1c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x4d2b25
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0x2c]
mov eax, dword [ebp - 4]
call fcn.00406430
xor eax, eax
push ebp
push 0x4d2f79
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
push eax
mov ecx, 8
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00406bec
mov eax, dword [ebp - 0x28]
mov edx, 0x4d2f98
call fcn.00406be4
sete byte [ebp - 0x21]
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.004de778
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 4]
call fcn.0040649c
lea eax, [ebp - 0x30]
mov ecx, 0x4d2fb8
mov edx, dword [ebp - 4]
call fcn.00406914
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 8]
call fcn.0047f470
lea eax, [ebp - 0x34]
mov ecx, 0x4d2fd0
mov edx, dword [ebp - 4]
call fcn.00406914
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0xc]
call fcn.0047f470
lea eax, [ebp - 0x38]
mov ecx, 0x4d2fe8
mov edx, dword [ebp - 4]
call fcn.00406914
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x10]
call fcn.0047f470
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0047f470
movzx ebx, byte [0x4d2ff4]
cmp byte [ebp + 0x20], 0
je 0x4d2bff
or bl, 1
jmp 0x4d2c08
cmp byte [ebp - 0x21], 0
je 0x4d2c08
or bl, 2
cmp byte [ebp + 0x14], 0
je 0x4d2c1f
mov dl, 1
mov al, 6
call fcn.004da394
test al, al
je 0x4d2c1f
mov byte [ebp + 0x14], 0
mov eax, esi
call fcn.004d26a8
mov byte [ebp - 0x22], al
cmp byte [ebp - 0x22], 0
je 0x4d2c3c
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x10]
call fcn.0040649c
jmp 0x4d2c47
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 8]
call fcn.0040649c
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0x11
lea edx, [ebp - 0x40]
xor ecx, ecx
mov eax, 0x4d3004
call fcn.004b2620
mov dl, 1
mov eax, dword [ebp - 0x18]
call fcn.004cca70
mov eax, dword [ebp + 0x38]
mov eax, dword [eax + 8]
push eax
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 0x18]
call fcn.0047f520
mov edx, dword [ebp - 0x44]
mov ecx, ebx
xor eax, eax
call fcn.004cea58
pop ecx
mov eax, dword [ebp - 8]
call fcn.004064d4
push eax
call sub.kernel32.dll_DeleteFileW
mov eax, dword [ebp - 0xc]
call fcn.004064d4
push eax
call sub.kernel32.dll_DeleteFileW
mov eax, dword [ebp - 0x10]
call fcn.0047f8f8
test al, al
je 0x4d2cc5
mov eax, dword [ebp - 0x10]
call fcn.004064d4
push eax
push 0
push 0
push 0
call sub.kernel32.dll_WritePrivateProfileStringW
mov eax, dword [ebp - 0x10]
call fcn.004064d4
push eax
call sub.kernel32.dll_DeleteFileW
mov eax, dword [ebp - 0x14]
call fcn.004d2940
mov eax, 0x4d3034
call fcn.004b239c
cmp byte [ebp - 0x22], 0
jne 0x4d2d9f
mov eax, dword [ebp + 0x34]
push eax
mov eax, dword [ebp + 0x30]
push eax
push edi
mov eax, dword [ebp + 0x28]
push eax
mov eax, dword [ebp + 0x24]
push eax
movzx eax, word [ebp + 0x18]
push eax
movzx eax, byte [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
movzx eax, byte [ebp + 0xc]
push eax
movzx eax, byte [ebp + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
call fcn.004fc104
cmp byte [ebp + 0x14], 0
je 0x4d2d3b
mov eax, dword [ebp - 0x1c]
call fcn.0047f91c
test al, al
jne 0x4d2d3f
xor eax, eax
jmp 0x4d2d41
mov al, 1
mov byte [ebp - 0x23], al
cmp byte [ebp + 0x1c], 0
je 0x4d2dbe
cmp byte [ebp - 0x23], 0
jne 0x4d2dbe
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 0x1c]
call fcn.0047f57c
mov eax, dword [ebp - 0x48]
mov edx, 0x4d2fd0
call fcn.0040c760
test eax, eax
jne 0x4d2dbe
xor eax, eax
push ebp
push 0x4d2d93
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp + 0x1c], 1
sete dl
mov eax, dword [ebp - 0x1c]
call fcn.00487d30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d2dbe
mov eax, dword [ebp + 0x28]
push eax
mov ecx, edi
mov edx, esi
mov eax, dword [ebp - 0x10]
call fcn.004d275c
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
call fcn.0040649c
mov byte [ebp - 0x23], 0
mov eax, 0x4d3068
call fcn.004b239c
mov eax, dword [0x506db4]
mov byte [eax], 1
cmp byte [ebp - 0x23], 0
je 0x4d2dec
push 0
mov eax, dword [ebp - 0x1c]
call fcn.004064d4
push eax
push 5
push 8
call sub.shell32.dll_SHChangeNotify
jmp 0x4d2e00
push 0
mov eax, dword [ebp - 0x1c]
call fcn.004064d4
push eax
push 5
push 2
call sub.shell32.dll_SHChangeNotify
push 0
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 0x1c]
call fcn.0047f520
mov eax, dword [ebp - 0x4c]
call fcn.004064d4
push eax
push 0x1005
push 0x1000
call sub.shell32.dll_SHChangeNotify
cmp byte [ebp + 0x20], 0
jne 0x4d2f2d
cmp byte [ebp - 0x23], 0
je 0x4d2ec8
push 0
push 0x12
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x50], eax
lea ecx, [ebp - 0x50]
mov eax, dword [ebp + 0x38]
mov eax, dword [eax + 8]
mov eax, dword [eax - 4]
mov dx, 0x81
call fcn.004b531c
push 0
push 0
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 0x1c]
call fcn.0047f044
lea eax, [ebp - 0x54]
mov edx, 0x4d30b4
call fcn.00406854
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x50], eax
lea ecx, [ebp - 0x50]
mov eax, dword [ebp + 0x38]
mov eax, dword [eax + 8]
mov eax, dword [eax - 4]
mov dx, 0x82
call fcn.004b531c
push 0
push 0
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 0x1c]
call fcn.0047f044
lea eax, [ebp - 0x58]
mov edx, 0x4d30d8
call fcn.00406854
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x50], eax
lea ecx, [ebp - 0x50]
mov eax, dword [ebp + 0x38]
mov eax, dword [eax + 8]
mov eax, dword [eax - 4]
mov dx, 0x82
call fcn.004b531c
jmp 0x4d2f2d
cmp byte [ebp - 0x22], 0
je 0x4d2eef
push 0
push 0x20
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x50], eax
lea ecx, [ebp - 0x50]
mov eax, dword [ebp + 0x38]
mov eax, dword [eax + 8]
mov eax, dword [eax - 4]
mov dx, 0x82
call fcn.004b531c
jmp 0x4d2f2d
push 0
push 0x20
mov eax, dword [ebp - 8]
mov dword [ebp - 0x50], eax
lea ecx, [ebp - 0x50]
mov eax, dword [ebp + 0x38]
mov eax, dword [eax + 8]
mov eax, dword [eax - 4]
mov dx, 0x82
call fcn.004b531c
push 0
push 0x20
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x50], eax
lea ecx, [ebp - 0x50]
mov eax, dword [ebp + 0x38]
mov eax, dword [eax + 8]
mov eax, dword [eax - 4]
mov dx, 0x82
call fcn.004b531c
mov eax, 0x3e8
call fcn.004cce9c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d2f80
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.00406440
lea eax, [ebp - 0x4c]
mov edx, 3
call fcn.00406440
lea eax, [ebp - 0x38]
mov edx, 5
call fcn.00406440
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.00406440
ret