Function at 0x4aa131
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0x1f4
mov eax, 0x636fbc
call fcn.004d66c3
mov dword [ebp - 0x1f4], ecx
mov esi, dword [ebp + 8]
xor eax, eax
mov ebx, dword [ebp + 0xc]
and dword [ebp - 0x78], 0
mov dword [ebp - 0x1f8], esi
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
and dword [ebp - 4], eax
lea eax, [ebp - 0x28]
push dword [ebx]
push eax
call fcn.004b11bc
pop ecx
pop ecx
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
call fcn.0040676a
mov ecx, eax
call fcn.004afc78
push 8
pop edi
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push edi
push eax
call fcn.004a56ea
pop ecx
pop ecx
mov ecx, eax
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], edi
jb 0x4aa1aa
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00401c58
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.00401ce8
push 0x63de0c
lea ecx, [ebp - 0x40]
call fcn.00401cb6
cmp dword [ebp - 0x2c], edi
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4aa1f5
cmp dword [ebp - 0x2c], edi
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.004b21b3
pop ecx
cmp dword [ebx + 8], 1
jne 0x4aa2ab
lea eax, [ebx + 0x10]
cmp dword [eax + 0x14], edi
jb 0x4aa209
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
cmp dword [ebp - 0x2c], edi
lea ecx, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae ecx, dword [ebp - 0x40]
mov esi, eax
push ecx
lea ecx, [ebp - 0x88]
call fcn.00401c58
push 0x63de0c
lea ecx, [ebp - 0x88]
call fcn.00401cb6
test esi, esi
lea ecx, [ebp - 0x88]
mov edi, str.aaaa
cmovne edi, esi
push edi
call fcn.00401cb6
mov ecx, dword [ebp - 0x1f4]
lea eax, [ebp - 0x88]
cmp dword [ebp - 0x74], 8
cmovae eax, dword [ebp - 0x88]
push dword [ecx + 4]
push dword [ecx + 8]
push eax
call fcn.004b298d
mov esi, dword [ebp - 0x1f8]
lea ecx, [ebp - 0x4c]
add esp, 0xc
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push edi
push 0x64aecc
push ecx
push eax
lea eax, [ebp - 0x200]
mov ecx, esi
push eax
call fcn.004b74e7
mov ecx, eax
call fcn.004b921f
push 8
pop edi
push 0
call fcn.00500fe0
push edx
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.004b118e
add esp, 0x10
cmp dword [ebp - 0xbc], edi
lea ecx, [ebp - 0xd0]
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
cmovae ecx, dword [ebp - 0xd0]
cmp dword [ebp - 0x14], edi
push ecx
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x4c]
push 0x64ae44
push ecx
push eax
lea eax, [ebp - 0x200]
mov ecx, esi
push eax
call fcn.004b74e7
mov ecx, eax
call fcn.004b921f
push dword [ebx + 0x40]
lea eax, [ebp - 0xb8]
push eax
call fcn.004b11bc
pop ecx
pop ecx
cmp dword [ebp - 0xa4], edi
lea ecx, [ebp - 0xb8]
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
cmovae ecx, dword [ebp - 0xb8]
cmp dword [ebp - 0x14], edi
push ecx
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x4c]
push 0x64ae2c
push ecx
push eax
lea eax, [ebp - 0x200]
mov ecx, esi
push eax
call fcn.004b74e7
mov ecx, eax
call fcn.004b921f
push dword [ebx + 4]
lea eax, [ebp - 0xa0]
push eax
call fcn.004b11bc
pop ecx
pop ecx
cmp dword [ebp - 0x8c], edi
lea ecx, [ebp - 0xa0]
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 6
cmovae ecx, dword [ebp - 0xa0]
cmp dword [ebp - 0x14], edi
push ecx
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x4c]
push 0x64ae3c
push ecx
push eax
lea eax, [ebp - 0x200]
mov ecx, esi
push eax
call fcn.004b74e7
mov ecx, eax
call fcn.004b921f
lea ecx, [ebx + 0x28]
cmp dword [ecx + 0x14], edi
jb 0x4aa3b2
mov ecx, dword [ecx]
cmp dword [ebp - 0x14], edi
lea eax, [ebp - 0x28]
push ecx
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x4c]
push 0x64ae4c
push ecx
push eax
lea eax, [ebp - 0x200]
mov ecx, esi
push eax
call fcn.004b74e7
mov ecx, eax
call fcn.004b921f
lea eax, [ebp - 0x40]
xor edi, edi
push eax
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x5c], edi
call fcn.00401ad6
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 7
push ebx
push eax
call fcn.004a9a2f
pop ecx
pop ecx
push 8
pop ebx
mov ecx, eax
mov byte [ebp - 4], bl
cmp dword [eax + 0x14], ebx
jb 0x4aa40f
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x70]
call fcn.00401c58
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 7
call fcn.00401ce8
cmp dword [ebp - 0x5c], ebx
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4aa44d
cmp dword [ebp - 0x5c], ebx
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x5c], ebx
lea eax, [ebp - 0x70]
push 3
cmovae eax, dword [ebp - 0x70]
mov ecx, esi
push 1
push eax
call fcn.004b8f6a
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
mov dword [ebp - 0x1fc], ebx
call fcn.004ad773
test al, al
je 0x4aa575
mov eax, str.1018
test bl, bl
mov ecx, str.1019
cmovne ecx, eax
push ecx
call fcn.004ad356
pop ecx
push eax
push str.1094
call fcn.004ad356
pop ecx
push eax
lea eax, [ebp - 0x58]
push 0x64aee0
push eax
call fcn.004b0f77
add esp, 0x10
mov byte [ebp - 4], 9
call fcn.004ad773
test al, al
je 0x4aa56d
mov eax, dword [0x6d9390]
test eax, eax
je 0x4aa56d
cmp dword [eax + 4], 4
jl 0x4aa56d
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push str.1121
cmovae eax, dword [ebp - 0x58]
mov dword [ebp - 0x1f8], eax
call fcn.004ad356
pop ecx
push edi
push edi
push 0x6b2730
push 0x167
push str.CCloudTaskClient::WriteRecordData
push 4
lea ecx, [ebp - 0x1f0]
mov ebx, eax
call fcn.00405da5
mov dword [ebp - 0x1f4], eax
mov esi, str._null_
mov byte [ebp - 4], 0xa
test ebx, ebx
lea edi, [eax + 0x30]
mov ecx, esi
cmovne ecx, ebx
push ecx
push edi
call fcn.00403a1c
mov eax, dword [ebp - 0x1f8]
test eax, eax
cmovne esi, eax
push esi
push edi
call fcn.00403a1c
mov ecx, dword [0x6d9390]
add esp, 0x10
push dword [ebp - 0x1f4]
call fcn.00405e8a
lea ecx, [ebp - 0x1f0]
call fcn.00403bae
mov ebx, dword [ebp - 0x1fc]
lea ecx, [ebp - 0x58]
call fcn.00401ce8
lea ecx, [ebp - 0x70]
call fcn.00401ce8
lea ecx, [ebp - 0xa0]
call fcn.00401ce8
lea ecx, [ebp - 0xb8]
call fcn.00401ce8
lea ecx, [ebp - 0xd0]
call fcn.00401ce8
lea ecx, [ebp - 0x40]
call fcn.00401ce8
lea ecx, [ebp - 0x28]
call fcn.00401ce8
lea ecx, [ebp - 0x88]
call fcn.00401ce8
mov al, bl
call fcn.004d666d
ret 8