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

Disassembly:
push 0xffffffffffffffff
push 0x1014b1c4
mov eax, dword fs:[0]
push eax
sub esp, 0x358
mov eax, dword [0x10177024]
xor eax, esp
mov dword [esp + 0x354], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10177024]
xor eax, esp
push eax
lea eax, [esp + 0x36c]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, dword [esp + 0x37c]
mov dword [esp + 0x1c], ebp
mov dword [ebp], vtable.CUiRecord.0
mov dword [ebp + 4], esi
call fcn.1005ff70
mov dword [ebp + 0xc], eax
mov byte [eax + 0x2d], 1
mov eax, dword [ebp + 0xc]
mov dword [eax + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [eax], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [eax + 8], eax
mov dword [ebp + 0x10], ebx
mov dword [esp + 0x374], ebx
mov dword [ebp + 0x30], ebx
mov dword [ebp + 0x3c], ebx
mov dword [ebp + 0x40], ebx
mov dword [ebp + 0x44], ebx
mov dword [ebp + 0x4c], ebx
mov dword [ebp + 0x50], ebx
mov dword [ebp + 0x54], ebx
mov dword [ebp + 0x5c], ebx
mov dword [ebp + 0x60], ebx
mov dword [ebp + 0x64], ebx
mov dword [ebp + 0x6c], ebx
mov dword [ebp + 0x70], ebx
mov dword [ebp + 0x74], ebx
mov dword [ebp + 0x7c], ebx
mov dword [ebp + 0x80], ebx
mov dword [ebp + 0x84], ebx
cmp esi, 2
mov byte [esp + 0x374], 5
mov dword [ebp + 0x88], ebx
je 0x100322ba
mov dword [ebp + 0x34], ebx
mov dword [ebp + 0x2c], ebx
mov dword [ebp + 0x90], ebx
call sub.Comn.dll_GetObjectSys
mov dword [ebp + 0x28], eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x1c]
mov dword [esp + 0x18], 1
call eax
test eax, eax
je 0x10032144
mov ecx, 0xa
mov esi, str.C:UsersAll_UsersAomeiBR_tasks2.2.xml
lea edi, [esp + 0x264]
push 0xdc
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x290]
push ebx
push ecx
call sub.MSVCR80.dll_memset
mov ecx, 0x12
mov esi, str.C:Documents_and_SettingsAll_UsersApplication_DataAomeiBR_tasks2.2.xml
lea edi, [esp + 0x16c]
rep movsd dword es:[edi], dword [esi]
push 0xba
lea edx, [esp + 0x1ba]
push ebx
push edx
movsw word es:[edi], word [esi]
call sub.MSVCR80.dll_memset
push 0x13c
lea eax, [esp + 0x40]
push ebx
push eax
mov dword [esp + 0x44], ebx
call sub.MSVCR80.dll_memset
mov esi, dword [sym.imp.MSVCR80.dll_strcpy_s]
lea ecx, [esp + 0x288]
push ecx
push 0x104
push 0x101794e0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
add esp, 0x30
lea edx, [esp + 0x20]
push edx
push 0x101794e0
call edi
cmp eax, 0xffffffff
jne 0x100320f3
lea eax, [esp + 0x160]
push eax
push 0x104
push 0x101794e0
call esi
add esp, 0xc
lea ecx, [esp + 0x20]
push ecx
push 0x101794e0
call edi
cmp eax, 0xffffffff
je 0x10032107
cmp eax, 0xffffffff
mov dword [esp + 0x18], ebx
je 0x10032107
cmp eax, ebx
je 0x10032107
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
call sub.Comn.dll_GetObjectLog
mov esi, dword [eax]
push 0x101794e0
push 0x218
mov edi, str..UiRecord.cpp
mov dword [esp + 0x1c], eax
add esi, 0xc
call fcn.1002f930
mov edx, dword [esp + 0x1c]
add esp, 4
push eax
mov eax, dword [esi]
push str._s:_m_pSys__IsWinPE__:_s
push edx
call eax
add esp, 0x10
cmp dword [esp + 0x18], ebx
je 0x100321a1
push 0x101794e0
push ebx
push ebx
push 0x23
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov eax, 0x101794e0
add eax, 0xffffffff
lea esp, [esp]
mov cl, byte [eax + 1]
add eax, 1
cmp cl, bl
jne 0x10032160
mov ecx, dword [str.AomeiBR_tasks2.2.xml]
mov edx, dword [0x10155e54]
mov dword [eax], ecx
mov ecx, dword [0x10155e58]
mov dword [eax + 4], edx
mov edx, dword [0x10155e5c]
mov dword [eax + 8], ecx
mov ecx, dword [0x10155e60]
mov dword [eax + 0xc], edx
mov dx, word [0x10155e64]
mov dword [eax + 0x10], ecx
mov word [eax + 0x14], dx
call sub.Comn.dll_GetObjectLog
mov esi, dword [eax]
push 0x101794e0
push 0x220
mov edi, str..UiRecord.cpp
mov dword [esp + 0x1c], eax
add esi, 0xc
call fcn.1002f930
mov ecx, dword [esi]
add esp, 4
push eax
mov eax, dword [esp + 0x1c]
push str._s:_CUiRecord:_s
push eax
call ecx
add esp, 0x10
mov ecx, ebp
mov dword [ebp + 0x14], ebx
call fcn.100327e0
push 0x10155e80
mov ecx, ebp
call fcn.10050cf0
push 0x10155ed0
mov ecx, ebp
call fcn.10050cf0
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push str.C:UsersAll_UsersAomeiBR_tasks.xml
call esi
push str.C:Documents_and_SettingsAll_UsersApplication_DataAomeiBR_tasks.xml
call esi
push 0x10155fd0
mov ecx, ebp
call fcn.10050cf0
push 0x10156020
mov ecx, ebp
call fcn.10050cf0
push str.C:UsersAll_UsersAomeiBR_tasks2.0.xml
call esi
push str.C:Documents_and_SettingsAll_UsersApplication_DataAomeiBR_tasks2.0.xml
call esi
push 0x10156130
mov ecx, ebp
call fcn.10050cf0
push 0x10156188
mov ecx, ebp
call fcn.10050cf0
push str.C:UsersAll_UsersAomeiBR_tasks2.0.1.xml
call esi
push str.C:Documents_and_SettingsAll_UsersApplication_DataAomeiBR_tasks2.0.1.xml
call esi
mov ecx, ebp
call fcn.100327e0
cmp dword [ebp + 0x14], ebx
mov edx, dword [ebp]
mov ecx, ebp
je 0x10032273
mov eax, dword [edx + 0x138]
jmp 0x10032279
mov eax, dword [edx + 0x13c]
call eax
call fcn.10030380
call sub.ImgFile.dll_CreateObjectImgInfo
test byte [0x101db9f0], 1
mov dword [ebp + 0x30], eax
mov dword [ebp + 0x88], ebx
jne 0x100322b0
or dword [0x101db9f0], 1
call fcn.1008d200
push 0x1014bd00
call fcn.10130f6d
add esp, 4
mov dword [ebp + 0x88], 0x101c21a0
mov eax, ebp
mov ecx, dword [esp + 0x36c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x354]
xor ecx, esp
call fcn.10130e50
add esp, 0x364
ret 4