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

Disassembly:
push 0x1f4
mov eax, 0x6222e2
call fcn.00503bb3
mov dword [ebp - 0x1fc], ecx
mov esi, dword [ebp + 8]
xor eax, eax
mov ebx, dword [ebp + 0xc]
and dword [ebp - 0x78], 0
mov dword [ebp - 0x1f4], 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.00409e9f
pop ecx
pop ecx
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
call fcn.00404394
mov ecx, eax
call fcn.0040bb90
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push 0x6a1620
push eax
call fcn.0040e937
pop ecx
pop ecx
push 8
pop edi
mov ecx, eax
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], edi
jb 0x414abc
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00401917
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.004019ec
push 0x6a1678
lea ecx, [ebp - 0x40]
call fcn.00401975
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 0x414b07
cmp dword [ebp - 0x2c], edi
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.0041dc49
pop ecx
cmp dword [ebx + 8], 1
jne 0x414bbd
lea eax, [ebx + 0x10]
cmp dword [eax + 0x14], edi
jb 0x414b1b
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.00401917
push 0x6a1678
lea ecx, [ebp - 0x88]
call fcn.00401975
test esi, esi
lea ecx, [ebp - 0x88]
mov edi, str.aaaa
cmovne edi, esi
push edi
call fcn.00401975
mov ecx, dword [ebp - 0x1fc]
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.0041d601
mov esi, dword [ebp - 0x1f4]
lea ecx, [ebp - 0x4c]
add esp, 0xc
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push edi
push 0x62a6e0
push ecx
push eax
lea eax, [ebp - 0x200]
mov ecx, esi
push eax
call fcn.004208eb
mov ecx, eax
call fcn.004223ab
push 8
pop edi
push 0
call fcn.00528f33
push edx
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.00409db0
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 0x62a68c
push ecx
push eax
lea eax, [ebp - 0x1f8]
mov ecx, esi
push eax
call fcn.004208eb
mov ecx, eax
call fcn.004223ab
push dword [ebx + 0x40]
lea eax, [ebp - 0xb8]
push eax
call fcn.00409e9f
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 0x62a674
push ecx
push eax
lea eax, [ebp - 0x1f8]
mov ecx, esi
push eax
call fcn.004208eb
mov ecx, eax
call fcn.004223ab
push dword [ebx + 4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00409e9f
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 0x62a684
push ecx
push eax
lea eax, [ebp - 0x1f8]
mov ecx, esi
push eax
call fcn.004208eb
mov ecx, eax
call fcn.004223ab
lea ecx, [ebx + 0x28]
cmp dword [ecx + 0x14], edi
jb 0x414cc4
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 0x62a694
push ecx
push eax
lea eax, [ebp - 0x1f8]
mov ecx, esi
push eax
call fcn.004208eb
mov ecx, eax
call fcn.004223ab
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.00407ab7
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 7
push ebx
push eax
call fcn.004145b4
pop ecx
pop ecx
push 8
pop ebx
mov ecx, eax
mov byte [ebp - 4], bl
cmp dword [eax + 0x14], ebx
jb 0x414d21
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x70]
call fcn.00401917
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 7
call fcn.004019ec
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 0x414d5f
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.0042216d
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
mov dword [ebp - 0x1fc], ebx
call fcn.00418307
test al, al
je 0x414e64
test bl, bl
je 0x414d9b
push str.1018
jmp 0x414da0
push str.1019
call fcn.00418121
pop ecx
push eax
push str.1094
call fcn.00418121
pop ecx
push eax
lea eax, [ebp - 0x58]
push 0x62a70c
push eax
call fcn.00409b62
add esp, 0x10
mov byte [ebp - 4], 9
call fcn.00418307
test al, al
je 0x414e5c
mov eax, dword [0x6c5d08]
test eax, eax
je 0x414e5c
cmp dword [eax + 4], 4
jl 0x414e5c
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push str.1121
cmovae eax, dword [ebp - 0x58]
mov dword [ebp - 0x1f4], eax
call fcn.00418121
pop ecx
push edi
push edi
push 0x6a15b8
push 0x133
push str.CCloudTaskClient::WriteRecordData
push 4
lea ecx, [ebp - 0x1f0]
mov ebx, eax
call fcn.00406cb0
mov edi, eax
lea esi, [edi + 0x30]
mov byte [ebp - 4], 0xa
push ebx
push esi
call fcn.0040511b
push dword [ebp - 0x1f4]
push esi
call fcn.0040511b
mov ecx, dword [0x6c5d08]
add esp, 0x10
push edi
call fcn.00406d94
lea ecx, [ebp - 0x1f0]
call fcn.00405138
mov ebx, dword [ebp - 0x1fc]
lea ecx, [ebp - 0x58]
call fcn.004019ec
lea ecx, [ebp - 0x70]
call fcn.004019ec
lea ecx, [ebp - 0xa0]
call fcn.004019ec
lea ecx, [ebp - 0xb8]
call fcn.004019ec
lea ecx, [ebp - 0xd0]
call fcn.004019ec
lea ecx, [ebp - 0x40]
call fcn.004019ec
lea ecx, [ebp - 0x28]
call fcn.004019ec
lea ecx, [ebp - 0x88]
call fcn.004019ec
mov al, bl
call fcn.00503b5d
ret 8