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

Disassembly:
sub esp, 0xc14
mov eax, dword [0x4835f0]
xor eax, esp
mov dword [esp + 0xc10], eax
push esi
push edi
push 0x4001
push 0x2b4
lea eax, [esp + 0x14c]
push eax
xor esi, esi
push esi
push 0x4754e8
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea ecx, [esp + 0x30]
mov edi, eax
push ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x34], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x40], 1
jne 0x42925f
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0xc10]
xor ecx, esp
call fcn.0044a6e6
add esp, 0xc14
ret
push 0x206
lea eax, [esp + 0x606]
xor edx, edx
push esi
push eax
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
mov word [esp + 0x60c], dx
call fcn.0044d4f0
add esp, 0xc
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0x18], esi
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jl 0x42953c
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x42953c
lea eax, [esp + 0x3f8]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x4292ef
push 0x104
lea ecx, [esp + 0x3fc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x42953c
lea edx, [esp + 0x3f8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [esp + eax*2 + 0x3f6], 0x5c
je 0x42931b
push 0x470a78
lea eax, [esp + 0x3fc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileW]
lea esp, [esp]
lea ecx, [esp + 0x400]
push ecx
lea edx, [esp + 0x60c]
push edx
call ebx
push esi
lea eax, [esp + 0xa1c]
push str.temp_d.lnk
push eax
call fcn.0044c75e
add esp, 0xc
lea ecx, [esp + 0xa18]
push ecx
lea edx, [esp + 0x60c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0
push 0x80
push 1
push 0
push 0
push 0x40000000
lea eax, [esp + 0x620]
push eax
call ebp
cmp esi, 0x64
mov edi, eax
jg 0x429499
inc esi
cmp edi, 0xffffffff
je 0x429330
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or edi, 0xffffffff
xor eax, eax
jmp 0x4293b0
movzx ecx, word [esp + eax + 0x400]
mov word [esp + eax + 0x810], cx
add eax, 2
test cx, cx
jne 0x4293b0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x34]
push edx
lea edx, [esp + 0x28]
push edx
lea edx, [esp + 0x30]
push edx
lea edx, [esp + 0x81c]
push edx
push 0
push 0
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jl 0x429499
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x28]
push 0x46f81c
push 0
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
test eax, eax
jl 0x429499
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push 0x46f82c
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x429499
xor eax, eax
jmp 0x429440
movzx ecx, word [esp + eax + 0xa18]
mov word [esp + eax + 0x810], cx
add eax, 2
test cx, cx
jne 0x429440
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x34]
push edx
lea edx, [esp + 0x24]
push edx
lea edx, [esp + 0x30]
push edx
lea edx, [esp + 0x81c]
push edx
push 0
push 0
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jl 0x429499
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x24]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
pop ebp
xor esi, esi
pop ebx
lea ecx, [esp + 0x600]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x4294bb
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
cmp edi, 0xffffffff
je 0x4294c7
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x4294d7
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0xc]
cmp eax, esi
je 0x429511
mov ecx, dword [esp + 0x18]
cmp ecx, esi
je 0x4294f4
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x14]
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x1c]
cmp ecx, esi
je 0x429509
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x14]
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 8]
cmp eax, esi
je 0x429521
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esp + 0xc18]
mov eax, dword [esp + 0x28]
pop edi
pop esi
xor ecx, esp
call fcn.0044a6e6
add esp, 0xc14
ret
mov edi, dword [esp + 0x24]
jmp 0x42949d