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

Disassembly:
push 0x1f4
mov eax, 0x5890aa
call fcn.00475b46
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.0040a1fd
pop ecx
pop ecx
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
call fcn.0040ff17
mov ecx, eax
call fcn.00412dd3
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push 0x58e75c
push eax
call fcn.004066b3
pop ecx
pop ecx
push 8
pop edi
mov ecx, eax
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], edi
jb 0x410888
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x40]
call fcn.004016b0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.004019e0
push 0x58e084
lea ecx, [ebp - 0x40]
call fcn.0040306a
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 0x4108d3
cmp dword [ebp - 0x2c], edi
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.0041d765
pop ecx
cmp dword [ebx + 8], 1
jne 0x410989
lea eax, [ebx + 0x10]
cmp dword [eax + 0x14], edi
jb 0x4108e7
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.004016b0
push 0x58e084
lea ecx, [ebp - 0x88]
call fcn.0040306a
test esi, esi
lea ecx, [ebp - 0x88]
mov edi, str.aaaa
cmovne edi, esi
push edi
call fcn.0040306a
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.0041ac34
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 0x58e7c4
push ecx
push eax
lea eax, [ebp - 0x200]
mov ecx, esi
push eax
call fcn.0041b434
mov ecx, eax
call fcn.0041d2e8
push 8
pop edi
push 0
call fcn.00491354
push edx
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.0040a10e
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 0x58e7a0
push ecx
push eax
lea eax, [ebp - 0x1f8]
mov ecx, esi
push eax
call fcn.0041b434
mov ecx, eax
call fcn.0041d2e8
push dword [ebx + 0x40]
lea eax, [ebp - 0xb8]
push eax
call fcn.0040a1fd
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 str.intert
push ecx
push eax
lea eax, [ebp - 0x1f8]
mov ecx, esi
push eax
call fcn.0041b434
mov ecx, eax
call fcn.0041d2e8
push dword [ebx + 4]
lea eax, [ebp - 0xa0]
push eax
call fcn.0040a1fd
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 0x58e798
push ecx
push eax
lea eax, [ebp - 0x1f8]
mov ecx, esi
push eax
call fcn.0041b434
mov ecx, eax
call fcn.0041d2e8
lea ecx, [ebx + 0x28]
cmp dword [ecx + 0x14], edi
jb 0x410a90
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 0x58e7a8
push ecx
push eax
lea eax, [ebp - 0x1f8]
mov ecx, esi
push eax
call fcn.0041b434
mov ecx, eax
call fcn.0041d2e8
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.0040aa36
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 7
push ebx
push eax
call fcn.0040ff88
pop ecx
pop ecx
push 8
pop ebx
mov ecx, eax
mov byte [ebp - 4], bl
cmp dword [eax + 0x14], ebx
jb 0x410aed
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x70]
call fcn.004016b0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 7
call fcn.004019e0
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 0x410b2b
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.0041d0aa
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
mov dword [ebp - 0x1fc], ebx
call fcn.00415737
test al, al
je 0x410c30
test bl, bl
je 0x410b67
push str.1018
jmp 0x410b6c
push str.1019
call fcn.0041535c
pop ecx
push eax
push str.1094
call fcn.0041535c
pop ecx
push eax
lea eax, [ebp - 0x58]
push 0x58e7f0
push eax
call fcn.00409f65
add esp, 0x10
mov byte [ebp - 4], 9
call fcn.00415737
test al, al
je 0x410c28
mov eax, dword [0x60e988]
test eax, eax
je 0x410c28
cmp dword [eax + 4], 4
jl 0x410c28
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push str.1121
cmovae eax, dword [ebp - 0x58]
mov dword [ebp - 0x1f4], eax
call fcn.0041535c
pop ecx
push edi
push edi
push 0x58daf8
push 0x133
push str.CCloudTaskClient::WriteRecordData
push 4
lea ecx, [ebp - 0x1f0]
mov ebx, eax
call fcn.0040df19
mov edi, eax
lea esi, [edi + 0x30]
mov byte [ebp - 4], 0xa
push ebx
push esi
call fcn.0040e372
push dword [ebp - 0x1f4]
push esi
call fcn.0040e372
mov ecx, dword [0x60e988]
add esp, 0x10
push edi
call fcn.0040e3e5
lea ecx, [ebp - 0x1f0]
call fcn.0040e0e1
mov ebx, dword [ebp - 0x1fc]
lea ecx, [ebp - 0x58]
call fcn.004019e0
lea ecx, [ebp - 0x70]
call fcn.004019e0
lea ecx, [ebp - 0xa0]
call fcn.004019e0
lea ecx, [ebp - 0xb8]
call fcn.004019e0
lea ecx, [ebp - 0xd0]
call fcn.004019e0
lea ecx, [ebp - 0x40]
call fcn.004019e0
lea ecx, [ebp - 0x28]
call fcn.004019e0
lea ecx, [ebp - 0x88]
call fcn.004019e0
mov al, bl
call fcn.00475af0
ret 8