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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b4c18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x73c
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x14]
call fcn.004ac252
mov ecx, dword [esi + 0xa0]
xor ebx, ebx
xor eax, eax
cmp ecx, ebx
setne al
or ah, 0x40
lea ecx, [ebp - 0x748]
push eax
push 0x160
push ecx
push ebx
push 0x4e3868
mov dword [ebp - 4], ebx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
lea edx, [ebp - 0x2dc]
mov dword [ebp - 0x34], eax
push edx
mov dword [ebp - 0x2dc], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x2cc], 1
jne 0x43e315
call sub.MFC42.DLL_AfxGetModuleState
push 0xc29
push 0xe
push 0xc29
call sub.MFC42.DLL_AfxFindResourceHandle
mov edi, dword [sym.imp.USER32.dll_LoadIconA]
push eax
call edi
mov ebx, dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push eax
mov eax, dword [ebp - 0x10]
push 0xffffffffffffffff
push eax
call ebx
mov dword [esi + 0x100], eax
call sub.MFC42.DLL_AfxGetModuleState
push 0xc23
push 0xe
push 0xc23
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call edi
mov ecx, dword [ebp - 0x10]
push eax
push 0xffffffffffffffff
push ecx
call ebx
mov dword [esi + 0x104], eax
call sub.MFC42.DLL_AfxGetModuleState
push 0xc33
push 0xe
push 0xc33
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call edi
mov edx, dword [ebp - 0x10]
push eax
push 0xffffffffffffffff
push edx
call ebx
mov dword [esi + 0x108], eax
mov eax, dword [ebp - 0x34]
push eax
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CImageList::Attach
jmp 0x43e68b
mov dl, byte [0x4e6998]
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x247]
mov byte [ebp - 0x248], dl
mov dword [ebp - 0x1c], ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x20], ebx
push eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x24], ebx
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
cmp eax, ebx
jl 0x43e587
lea ecx, [ebp - 0x18]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
cmp eax, ebx
jl 0x43e587
lea edx, [ebp - 0x144]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x43e399
lea eax, [ebp - 0x144]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x43e587
lea ecx, [ebp - 0x144]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [ebp + eax - 0x145], 0x5c
je 0x43e3c2
lea edx, [ebp - 0x144]
push 0x4e01dc
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
xor edi, edi
jmp 0x43e3c8
xor ebx, ebx
lea eax, [ebp - 0x144]
lea ecx, [ebp - 0x248]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
lea edx, [ebp - 0x3e0]
push str.temp_d.lnk
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x3e0]
lea ecx, [ebp - 0x248]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push ebx
push 0x80
push 1
push ebx
push ebx
lea edx, [ebp - 0x248]
push 0x40000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp edi, 0x64
mov ebx, eax
jg 0x43e58a
inc edi
cmp ebx, 0xffffffff
je 0x43e3c6
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x144]
mov dword [ebp - 0x2c], 0xffffffff
test eax, eax
jne 0x43e44f
xor ebx, ebx
jmp 0x43e488
lea ecx, [ebp - 0x144]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
inc edi
lea eax, [edi + edi]
add eax, 3
and al, 0xfc
call fcn.004acd20
mov ebx, esp
push edi
push ebx
lea edx, [ebp - 0x144]
push 0xffffffffffffffff
push edx
push 0
push 0
mov word [ebx], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x5e8]
push ebx
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0x1c]
push edx
lea edx, [ebp - 0x28]
mov ecx, dword [eax]
push edx
lea edx, [ebp - 0x3c]
push edx
lea edx, [ebp - 0x5e8]
push edx
push 0
push 0
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x43e587
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x20]
push edx
mov edx, dword [ebp - 0x28]
mov ecx, dword [eax]
push 0x4c8734
push 0
push edx
push eax
call dword [ecx + 0x14]
test eax, eax
jl 0x43e587
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x24]
push edx
push 0x4c8724
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jl 0x43e587
lea eax, [ebp - 0x3e0]
test eax, eax
jne 0x43e508
xor ebx, ebx
jmp 0x43e541
lea ecx, [ebp - 0x3e0]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
inc edi
lea eax, [edi + edi]
add eax, 3
and al, 0xfc
call fcn.004acd20
mov ebx, esp
push edi
push ebx
lea edx, [ebp - 0x3e0]
push 0xffffffffffffffff
push edx
push 0
push 0
mov word [ebx], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x5e8]
push ebx
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0x20]
push edx
lea edx, [ebp - 0x30]
mov ecx, dword [eax]
push edx
lea edx, [ebp - 0x3c]
push edx
lea edx, [ebp - 0x5e8]
push edx
push 0
push 0
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x43e587
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x40]
push edx
mov edx, dword [ebp - 0x30]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
mov ebx, dword [ebp - 0x2c]
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x43e5a4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp ebx, 0xffffffff
je 0x43e5b0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x43e5bd
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x43e5ec
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x43e5d5
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x14]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x43e5e6
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x14]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x43e5f9
mov edx, dword [eax]
push eax
call dword [edx + 8]
call sub.MFC42.DLL_AfxGetModuleState
push 0xc29
push 0xe
push 0xc29
call sub.MFC42.DLL_AfxFindResourceHandle
mov edi, dword [sym.imp.USER32.dll_LoadIconA]
push eax
call edi
mov ebx, eax
mov eax, dword [ebp - 0x34]
push eax
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CImageList::Attach
mov ecx, dword [ebp - 0x10]
push ebx
mov ebx, dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push 0xffffffffffffffff
push ecx
call ebx
mov dword [esi + 0x100], eax
call sub.MFC42.DLL_AfxGetModuleState
push 0xc23
push 0xe
push 0xc23
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call edi
mov edx, dword [ebp - 0x10]
push eax
push 0xffffffffffffffff
push edx
call ebx
mov dword [esi + 0x104], eax
call sub.MFC42.DLL_AfxGetModuleState
push 0xc33
push 0xe
push 0xc33
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call edi
push eax
mov eax, dword [ebp - 0x10]
push 0xffffffffffffffff
push eax
call ebx
mov dword [esi + 0x108], eax
mov eax, dword [esi + 0xa0]
mov edi, dword [ebp - 0x10]
xor ecx, ecx
test eax, eax
lea eax, [ebp - 0x14]
setne cl
neg eax
sbb eax, eax
and eax, edi
push eax
push ecx
mov ecx, dword [esi + 0x20]
push 0x1003
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
call sub.MFC42.DLL_CImageList::FromHandle
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CImageList::Detach
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CImageList::CImageList
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x754]
mov eax, 1
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret