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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44e0eb
mov eax, dword fs:[0]
push eax
mov eax, 0x1070
call fcn.004290f0
mov eax, dword [0x4672b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
test dword [0x4725a0], 0x40000
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x107c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1078], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1074], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x1070], eax
lea eax, [ebp - 0x106c]
push eax
push 0
mov dword [ebp - 0x106c], 0
push ebx
je 0x41e01d
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x41de80
lea eax, [ebp - 0x420]
push eax
push dword [ebp - 0x106c]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push dword [ebp - 0x106c]
mov esi, eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
test esi, esi
je 0x41de80
lea eax, [ebp - 0x106c]
mov dword [ebp - 0x106c], 0
push eax
push 0x19
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x41dd8a
lea eax, [ebp - 0x830]
push eax
push dword [ebp - 0x106c]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push dword [ebp - 0x106c]
mov esi, eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
test esi, esi
jne 0x41dda5
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x830]
push 0x104
push eax
call fcn.0042f9f7
add esp, 0xc
push dword [ebp - 0x1070]
mov esi, dword [ebp - 0x107c]
lea eax, [ebp - 0x830]
push dword [ebp - 0x1074]
push dword [ebp - 0x1078]
push esi
push edi
push eax
push eax
push ebx
call fcn.0041e6a0
mov ebx, eax
add esp, 0x20
mov dword [ebp - 0x106c], ebx
test ebx, ebx
je 0x41e016
push esi
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x628]
push eax
call fcn.00421dd0
add esp, 0xc
test al, al
je 0x41de80
xor eax, eax
mov dword [ebp - 0x1058], 0
mov dword [ebp - 0x1054], 0
lea ecx, [ebp - 0x1068]
push str..lnk
mov dword [ebp - 0x1058], 0
mov dword [ebp - 0x1054], 7
mov word [ebp - 0x1068], ax
call fcn.00408a60
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x628]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41de50
mov eax, dword [ebp - 0x1058]
sub ecx, edx
sar ecx, 1
add eax, ecx
cmp eax, 0x104
jb 0x41de9e
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1068]
call fcn.00403400
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00428d9d
mov esp, ebp
pop ebp
ret
push str..lnk
lea eax, [ebp - 0x628]
push 0x104
push eax
call fcn.0042fd02
push 0
lea eax, [ebp - 0xe48]
push eax
lea eax, [ebp - 0x628]
push eax
call fcn.00424950
add esp, 0x18
test eax, eax
je 0x41e004
mov ecx, dword [0x469ee4]
xor eax, eax
mov word [ebp - 0x218], ax
xor bl, bl
mov eax, dword [ecx + 0x14]
mov esi, dword [eax + 0x39ab8]
cmp esi, dword [eax + 0x39abc]
je 0x41dfa2
nop word [eax + eax]
push edi
push esi
call fcn.00414e80
add esp, 8
test al, al
je 0x41df83
push 0
lea eax, [esi + 0x20c]
push eax
push 0x104
lea eax, [ebp - 0x1050]
push eax
push dword [esi + 0x208]
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0041eef0
add esp, 0x1c
test al, al
je 0x41dffe
push 0x208
lea eax, [ebp - 0xa38]
push 0
push eax
call fcn.0042a3f0
lea eax, [ebp - 0xa38]
push eax
push edi
push esi
call fcn.00414c10
lea eax, [ebp - 0xa38]
push eax
lea eax, [ebp - 0x218]
push eax
push eax
call fcn.00421dd0
add esp, 0x24
test al, al
je 0x41dffe
mov bl, 1
mov ecx, dword [0x469ee4]
add esi, 0x418
mov eax, dword [ecx + 0x14]
cmp esi, dword [eax + 0x39abc]
jne 0x41df00
test bl, bl
jne 0x41dfbf
mov eax, dword [ecx + 0x14]
add eax, 0xc04
push edi
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00421dd0
add esp, 0xc
test al, al
je 0x41dffe
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0xc40]
push 0x104
push eax
call fcn.0042f9f7
lea eax, [ebp - 0xc40]
push eax
lea eax, [ebp - 0xe48]
push eax
call fcn.0042fd77
add esp, 0x14
test eax, eax
jne 0x41dffe
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, dword [ebp - 0x106c]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1068]
call fcn.00403400
mov eax, ebx
jmp 0x41de82
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x41de80
lea eax, [ebp - 0x420]
push eax
push dword [ebp - 0x106c]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push dword [ebp - 0x106c]
mov esi, eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
test esi, esi
je 0x41de80
push dword [ebp - 0x1070]
mov esi, dword [ebp - 0x107c]
lea eax, [ebp - 0x420]
push dword [ebp - 0x1074]
push dword [ebp - 0x1078]
push esi
push edi
push eax
push eax
push ebx
call fcn.0041e6a0
add esp, 0x20
jmp 0x41de82