Function at 0x44cc50
Capabilities:
Delete file
Get common file path
Get file system object information

Disassembly:
sub esp, 0x730
push esi
push edi
mov edi, dword [esp + 0x73c]
xor esi, esi
xor eax, eax
cmp edi, esi
setne al
or ah, 0x40
lea ecx, [esp + 0x5d8]
push eax
push 0x160
push ecx
push esi
push 0x4e220c
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
lea edx, [esp + 0x238]
mov edi, eax
push edx
mov dword [esp + 0x28], edi
mov dword [esp + 0x23c], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x248], 1
jne 0x44ccb9
mov eax, edi
pop edi
pop esi
add esp, 0x730
ret
mov al, byte [0x4eb858]
mov ecx, 0x40
mov byte [esp + 0x134], al
xor eax, eax
lea edi, [esp + 0x135]
push ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0xc]
push ebp
push ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], esi
stosb byte es:[edi], al
mov dword [esp + 0x20], esi
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jl 0x44cf4b
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x44cf4b
lea eax, [esp + 0x38]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x44cd44
lea ecx, [esp + 0x38]
push 0x104
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x44cf4b
lea edx, [esp + 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [esp + eax + 0x37], 0x5c
je 0x44cd66
lea eax, [esp + 0x38]
push 0x4e076c
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [esp + 0x38]
lea edx, [esp + 0x13c]
push ecx
push edx
call ebx
push esi
lea eax, [esp + 0x2d8]
push str.temp_d.lnk
push eax
call ebp
add esp, 0xc
lea ecx, [esp + 0x2d4]
lea edx, [esp + 0x13c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
push 0x80
push 1
push 0
push 0
lea eax, [esp + 0x150]
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp esi, 0x64
mov edi, eax
jg 0x44cec2
inc esi
cmp edi, 0xffffffff
je 0x44cd72
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ecx, [esp + 0x3d8]
push 0x104
push ecx
lea edx, [esp + 0x40]
push 0xffffffffffffffff
push edx
push 0
push 0
or edi, 0xffffffff
call esi
lea edx, [esp + 0x30]
mov eax, dword [esp + 0x10]
push edx
lea edx, [esp + 0x28]
mov ecx, dword [eax]
push edx
lea edx, [esp + 0x30]
push edx
lea edx, [esp + 0x3e4]
push edx
push 0
push 0
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x44cec2
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x28]
mov ecx, dword [eax]
push 0x4cca10
push 0
push edx
push eax
call dword [ecx + 0x14]
test eax, eax
jl 0x44cec2
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
push 0x4dcd30
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jl 0x44cec2
lea eax, [esp + 0x3d8]
push 0x104
push eax
lea ecx, [esp + 0x2dc]
push 0xffffffffffffffff
push ecx
push 0
push 0
call esi
lea ecx, [esp + 0x30]
mov eax, dword [esp + 0x18]
push ecx
lea ecx, [esp + 0x24]
mov edx, dword [eax]
push ecx
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x3e4]
push ecx
push 0
push 0
push eax
call dword [edx + 0xc]
test eax, eax
jl 0x44cec2
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x24]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0xc]
xor esi, esi
lea edx, [esp + 0x13c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0x1c]
pop ebp
cmp eax, esi
pop ebx
je 0x44cee2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp edi, 0xffffffff
je 0x44ceee
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x44cefc
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0xc]
cmp eax, esi
je 0x44cf30
mov ecx, dword [esp + 0x18]
cmp ecx, esi
je 0x44cf17
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x14]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x1c]
cmp ecx, esi
je 0x44cf2a
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x14]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 8]
cmp eax, esi
je 0x44cf3e
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x24]
pop edi
pop esi
add esp, 0x730
ret
mov edi, dword [esp + 0x34]
jmp 0x44cec4