Function at 0x461046
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc48
push esi
push edi
lea eax, [ebp - 0xc48]
push eax
call fcn.0045ed23
xor esi, esi
xor edi, edi
cmp dword [str.Crescendo], esi
je 0x46108f
mov eax, 0x6187b8
lea ecx, [ebp - 0xc48]
push ecx
push dword [eax + 4]
push dword [eax]
call fcn.0045f9f5
inc edi
mov eax, edi
imul eax, eax, 9
lea eax, [eax + 0x6187b8]
cmp dword [eax], esi
jne 0x46106e
cmp dword [0x61884c], esi
push ebx
mov dword [ebp - 0xc], esi
je 0x461375
xor ebx, ebx
mov dword [ebp - 8], 0x61884c
mov dword [ebp - 4], 0x618854
mov eax, dword [ebp - 4]
cmp dword [eax], esi
je 0x461357
lea ecx, [ebx + 0x618854]
mov dword [ebp - 0x14], ecx
mov eax, dword [eax]
push eax
push str.SoftwareClasses._s
mov esi, 0x104
lea edi, [ebp - 0xa40]
mov dword [ebp - 0x18], eax
call fcn.004a9039
pop ecx
pop ecx
push 0x5b07d8
push 0
mov eax, edi
push eax
push SysReAllocString
lea eax, [ebp - 0x428]
call fcn.00401132
cmp word [ebp - 0x428], 0
je 0x461207
mov eax, dword [ebp - 8]
push dword [eax]
lea eax, [ebp - 0xc48]
push eax
push str.__s___extfind__s____L_
lea edi, [ebp - 0x838]
call fcn.004a9039
push dword [ebx + 0x618850]
lea eax, [ebp - 0x428]
push eax
push str.SoftwareClasses_sShell_scommand
lea edi, [ebp - 0x220]
call fcn.004a9039
add esp, 0x18
push 0x5b07d8
push 0
mov eax, edi
push eax
push SysReAllocString
lea eax, [ebp - 0x630]
call fcn.00401132
lea ecx, [ebp - 0x838]
lea eax, [ebp - 0x630]
call fcn.0040106a
test eax, eax
jne 0x461207
push dword [ebx + 0x618850]
lea eax, [ebp - 0x428]
push eax
push str.SoftwareClasses_sShell_s
call fcn.004a9039
add esp, 0xc
mov esi, SysReAllocString
push esi
mov eax, edi
call fcn.004a9431
lea eax, [ebp - 0x428]
push eax
mov eax, edi
push str.SoftwareClasses_sShell
push eax
call fcn.00401000
and dword [ebp - 0x10], 0
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push 1
push 0
mov eax, edi
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4611e0
lea esi, [ebp - 0x10]
call fcn.00446bc7
test al, al
jne 0x461207
mov esi, SysReAllocString
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x220]
push str.SoftwareClasses_sDefaultIcon
push eax
call fcn.00401000
add esp, 0xc
push esi
lea eax, [ebp - 0x220]
call fcn.004a9431
push 0x5b07d8
push 0
lea eax, [ebp - 0xa40]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea eax, [ebp - 0x428]
call fcn.00401132
cmp word [ebp - 0x428], 0
je 0x461335
mov eax, dword [ebp - 8]
push dword [eax]
lea eax, [ebp - 0xc48]
push eax
push str.__s___extfind__s____L_
mov esi, 0x104
lea edi, [ebp - 0x838]
call fcn.004a9039
push dword [ebx + 0x618850]
lea eax, [ebp - 0x428]
push eax
push str.SoftwareClasses_sShell_scommand
lea edi, [ebp - 0x220]
call fcn.004a9039
add esp, 0x18
push 0x5b07d8
push 0
mov eax, edi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea eax, [ebp - 0x630]
call fcn.00401132
test al, al
je 0x4612cd
lea ecx, [ebp - 0x838]
lea eax, [ebp - 0x630]
call fcn.0040106a
test eax, eax
jne 0x4612cd
push dword [ebx + 0x618850]
lea eax, [ebp - 0x428]
push eax
push str.SoftwareClasses_sShell_s
call fcn.004a9039
add esp, 0xc
push reloc.OLEAUT32.dll_SysReAllocString
mov eax, edi
call fcn.004a9431
push 0x5b07d8
push 0
lea eax, [ebp - 0x220]
push eax
push SysReAllocString
lea eax, [ebp - 0x630]
call fcn.00401132
test al, al
je 0x461335
lea ecx, [ebp - 0x838]
lea eax, [ebp - 0x630]
call fcn.0040106a
test eax, eax
jne 0x461335
push dword [ebx + 0x618850]
lea eax, [ebp - 0x428]
push eax
push str.SoftwareClasses_sShell_s
mov esi, 0x104
lea edi, [ebp - 0x220]
call fcn.004a9039
add esp, 0xc
push SysReAllocString
mov eax, edi
call fcn.004a9431
push dword [ebx + 0x618850]
push dword [ebp - 0x18]
call fcn.0045fcdf
mov eax, dword [ebp - 0x14]
add eax, 4
cmp dword [eax], 0
mov dword [ebp - 0x14], eax
jne 0x4610c3
xor esi, esi
inc dword [ebp - 0xc]
mov ebx, dword [ebp - 0xc]
add dword [ebp - 4], 0x5c
imul ebx, ebx, 0x5c
lea eax, [ebx + 0x61884c]
cmp dword [eax], esi
mov dword [ebp - 8], eax
jne 0x4610af
call fcn.0045f5ad
call fcn.00401340
test al, al
mov ebx, 0x5ddd48
je 0x461398
push 0x5ddd6c
call fcn.0045f759
push ebx
call fcn.0045f759
mov edi, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x838]
push eax
push esi
push esi
push 0x28
push esi
call edi
test eax, eax
jne 0x4613d4
push 0x5b07d8
push ebx
lea eax, [ebp - 0x838]
push eax
lea eax, [ebp - 0xa40]
push eax
call fcn.004a2dab
lea ecx, [ebp - 0xa40]
call fcn.004a3166
lea eax, [ebp - 0x630]
push eax
push esi
push esi
push 6
push esi
mov word [ebp - 0x630], si
call edi
cmp word [ebp - 0x630], si
pop ebx
je 0x46141d
push str..lnk
push 0x5df2d0
lea eax, [ebp - 0x630]
push eax
lea eax, [ebp - 0x838]
push eax
call fcn.004a2dab
lea eax, [ebp - 0x838]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
push esi
push 0x2000
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
pop edi
pop esi
leave
ret