Function at 0x4455d0
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 0x4f00f8
call dword [sym.imp.shell32.dll_SHGetFileInfo]
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 0x445639
mov eax, edi
pop edi
pop esi
add esp, 0x730
ret
mov al, byte [0x4fbe40]
mov ecx, pe_nt_image_headers32
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 0x4458cb
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.shell32.dll_SHGetMalloc]
test eax, eax
jl 0x4458cb
lea eax, [esp + 0x38]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
test eax, eax
jne 0x4456c4
lea ecx, [esp + 0x38]
push 0x104
push ecx
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x4458cb
lea edx, [esp + 0x38]
push edx
call dword [sym.imp.kernel32.dll_lstrlen]
cmp byte [esp + eax + 0x37], 0x5c
je 0x4456e6
lea eax, [esp + 0x38]
push 0x4ee610
push eax
call dword [sym.imp.kernel32.dll_lstrcat]
mov ebx, dword [sym.imp.kernel32.dll_lstrcpy]
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 0x4f00ec
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_lstrcat]
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 0x445842
inc esi
cmp edi, 0xffffffff
je 0x4456f2
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 0x445842
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x28]
mov ecx, dword [eax]
push 0x4d8a08
push 0
push edx
push eax
call dword [ecx + 0x14]
test eax, eax
jl 0x445842
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
push 0x4d89e8
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jl 0x445842
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 0x445842
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 0x445862
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp edi, 0xffffffff
je 0x44586e
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x44587c
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0xc]
cmp eax, esi
je 0x4458b0
mov ecx, dword [esp + 0x18]
cmp ecx, esi
je 0x445897
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 0x4458aa
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 0x4458be
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 0x445844