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

Disassembly:
push ebp
sub esp, 0x414
lea ebp, [esp - 4]
mov eax, dword [0x486ba4]
xor eax, ebp
mov dword [ebp + 0x414], eax
push 0x38
mov eax, 0x46c881
call fcn.00450ec5
mov eax, dword [0x489144]
mov esi, 0x489144
mov ecx, esi
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x14], ebx
xor edi, edi
xor eax, eax
mov dword [ebp - 4], edi
push 0x206
mov word [ebp + 0x20c], ax
lea eax, [ebp + 0x20e]
push edi
push eax
call fcn.00450fd0
add esp, 0xc
push 0x478d3c
lea eax, [ebp - 0x1c]
push eax
call fcn.00402676
mov byte [ebp - 4], 1
mov eax, dword [0x489144]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0x104
lea eax, [ebp + 0x20c]
push eax
push edi
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp + 0x20c]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00402658
push 0x5c
lea esi, [ebp - 0x10]
call fcn.00403d9d
mov ecx, eax
lea edx, [ebp - 0x18]
mov eax, esi
call fcn.00403e02
lea edi, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.00401bfe
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.004026f8
mov eax, dword [ebp - 0x10]
mov edi, dword [eax - 0xc]
push 0x5c
call fcn.00403d9d
mov ecx, edi
sub ecx, eax
lea eax, [ebp - 0x18]
push eax
dec ecx
mov eax, esi
call fcn.0040d574
mov edi, esi
mov byte [ebp - 4], 4
call fcn.00401bfe
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.004026f8
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov esi, dword [ebp - 0x10]
test eax, eax
jl 0x41d7c7
lea eax, [ebp - 0x20]
push eax
push 0x10
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x41d7c7
lea eax, [ebp]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x41d780
mov eax, dword [ebp - 0x24]
push dword [ebp - 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp]
push eax
push 0x478fa4
lea eax, [ebp - 0x14]
call fcn.004044d7
pop ecx
pop ecx
push 0x478d68
lea eax, [ebp - 0x14]
push eax
call fcn.00404851
push dword [esi - 0xc]
lea eax, [ebp - 0x14]
push esi
call fcn.004020ed
push 0x47ab94
lea eax, [ebp - 0x14]
push eax
call fcn.00404851
mov ebx, dword [ebp - 0x14]
cmp dword [ebx - 0xc], 0
je 0x41d847
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x44]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x14
pop eax
mov word [ebp - 0x34], ax
lea eax, [ebp - 0x44]
xor edi, edi
push eax
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], 3
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], edi
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je 0x41d847
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esi - 0x10]
call fcn.004026f8
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.004026f8
lea eax, [ebx - 0x10]
call fcn.004026f8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x414]
xor ecx, ebp
call fcn.0044bafb
add ebp, 0x418
leave
ret
call dword [sym.imp.ole32.dll_CoUninitialize]
xor edi, edi
inc edi
jmp 0x41d807