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

Disassembly:
push 0xffffffffffffffff
push 0x10117cd4
mov eax, dword fs:[0]
push eax
sub esp, 0x358
mov eax, dword [0x1013b024]
xor eax, esp
mov dword [esp + 0x354], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1013b024]
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.10060110
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 0x100318e9
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 0x10031794
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 0x1013d1c0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
add esp, 0x30
lea edx, [esp + 0x20]
push edx
push 0x1013d1c0
call edi
cmp eax, 0xffffffff
jne 0x10031743
lea eax, [esp + 0x160]
push eax
push 0x104
push 0x1013d1c0
call esi
add esp, 0xc
lea ecx, [esp + 0x20]
push ecx
push 0x1013d1c0
call edi
cmp eax, 0xffffffff
je 0x10031757
cmp eax, 0xffffffff
mov dword [esp + 0x18], ebx
je 0x10031757
cmp eax, ebx
je 0x10031757
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
call sub.Comn.dll_GetObjectLog
mov esi, dword [eax]
push 0x1013d1c0
push 0x219
mov edi, str.E:AMWork_branchesBRCloudv2_srcUiLogicUiRecord.cpp
mov dword [esp + 0x1c], eax
add esi, 0xc
call fcn.1002ef80
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 0x100317f1
push 0x1013d1c0
push ebx
push ebx
push 0x23
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov eax, 0x1013d1c0
add eax, 0xffffffff
lea esp, [esp]
mov cl, byte [eax + 1]
add eax, 1
cmp cl, bl
jne 0x100317b0
mov ecx, dword [str.AomeiBR_tasks2.2.xml]
mov edx, dword [0x10121724]
mov dword [eax], ecx
mov ecx, dword [0x10121728]
mov dword [eax + 4], edx
mov edx, dword [0x1012172c]
mov dword [eax + 8], ecx
mov ecx, dword [0x10121730]
mov dword [eax + 0xc], edx
mov dx, word [0x10121734]
mov dword [eax + 0x10], ecx
mov word [eax + 0x14], dx
call sub.Comn.dll_GetObjectLog
mov esi, dword [eax]
push 0x1013d1c0
push 0x221
mov edi, str.E:AMWork_branchesBRCloudv2_srcUiLogicUiRecord.cpp
mov dword [esp + 0x1c], eax
add esi, 0xc
call fcn.1002ef80
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.10031e10
push 0x10121750
mov ecx, ebp
call fcn.10050530
push 0x101217a0
mov ecx, ebp
call fcn.10050530
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 0x101218a0
mov ecx, ebp
call fcn.10050530
push 0x101218f0
mov ecx, ebp
call fcn.10050530
push str.C:UsersAll_UsersAomeiBR_tasks2.0.xml
call esi
push str.C:Documents_and_SettingsAll_UsersApplication_DataAomeiBR_tasks2.0.xml
call esi
push 0x10121a00
mov ecx, ebp
call fcn.10050530
push 0x10121a58
mov ecx, ebp
call fcn.10050530
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.10031e10
cmp dword [ebp + 0x14], ebx
mov edx, dword [ebp]
mov ecx, ebp
je 0x100318c3
mov eax, dword [edx + 0x138]
jmp 0x100318c9
mov eax, dword [edx + 0x13c]
call eax
call fcn.1002f9c0
call sub.ImgFile.dll_CreateObjectImgInfo
mov dword [ebp + 0x30], eax
mov dword [ebp + 0x88], ebx
call sub.NetworkMgr.dll_CreateNetworkMgr
mov dword [ebp + 0x88], eax
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.1010dc50
add esp, 0x364
ret 4