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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100eb017
mov eax, dword fs:[0]
push eax
sub esp, 0x1d8
mov eax, dword [0x1012931c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1e0], ecx
mov ebx, dword [ebp + 8]
xor eax, eax
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x1d8], ebx
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
push dword [edi]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x40]
push eax
call fcn.1003557c
add esp, 8
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.10005780
mov ecx, eax
call fcn.1003eb66
push 5
push str.scach
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.10006070
push 1
push 0x100f58d0
lea ecx, [ebp - 0x28]
call fcn.10006070
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x28]
push eax
call esi
test eax, eax
jne 0x1000aa17
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.1004095b
add esp, 4
cmp dword [edi + 8], 1
jne 0x1000aae0
cmp dword [edi + 0x24], 8
lea eax, [edi + 0x10]
jb 0x1000aa2c
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
mov esi, eax
push ecx
lea ecx, [ebp - 0x70]
call fcn.10006070
push 1
push 0x100f58d0
lea ecx, [ebp - 0x70]
call fcn.10006070
test esi, esi
mov ebx, str.aaaa
cmovne ebx, esi
mov ecx, ebx
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000aa70
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x70]
call fcn.10006070
mov ecx, dword [ebp - 0x1e0]
lea eax, [ebp - 0x70]
cmp dword [ebp - 0x5c], 8
cmovae eax, dword [ebp - 0x70]
push dword [ecx + 4]
push dword [ecx + 8]
push eax
call fcn.10041c9a
add esp, 0xc
lea ecx, [ebp - 0x7c]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push ebx
mov ebx, dword [ebp - 0x1d8]
push 0x100f5e08
push ecx
push eax
lea eax, [ebp - 0x1e4]
mov ecx, ebx
push eax
call fcn.10048409
mov ecx, eax
call fcn.1004a0c6
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push 0
call fcn.100b60a4
push edx
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.1003548d
add esp, 0x10
cmp dword [ebp - 0xbc], 8
lea ecx, [ebp - 0xd0]
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
cmovae ecx, dword [ebp - 0xd0]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x7c]
push 0x100f5d04
push ecx
push eax
lea eax, [ebp - 0x1dc]
mov ecx, ebx
push eax
call fcn.10048409
mov ecx, eax
call fcn.1004a0c6
push dword [edi + 0xc]
lea eax, [ebp - 0xb8]
push eax
call fcn.1003557c
add esp, 8
cmp dword [ebp - 0xa4], 8
lea ecx, [ebp - 0xb8]
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
cmovae ecx, dword [ebp - 0xb8]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x7c]
push 0x100f5cec
push ecx
push eax
lea eax, [ebp - 0x1dc]
mov ecx, ebx
push eax
call fcn.10048409
mov ecx, eax
call fcn.1004a0c6
push dword [edi + 4]
lea eax, [ebp - 0xa0]
push eax
call fcn.1003557c
add esp, 8
cmp dword [ebp - 0x8c], 8
lea ecx, [ebp - 0xa0]
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 5
cmovae ecx, dword [ebp - 0xa0]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x7c]
push 0x100f5cfc
push ecx
push eax
lea eax, [ebp - 0x1dc]
mov ecx, ebx
push eax
call fcn.10048409
mov ecx, eax
call fcn.1004a0c6
cmp dword [edi + 0x3c], 8
lea ecx, [edi + 0x28]
jb 0x1000abf0
mov ecx, dword [ecx]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push ecx
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x7c]
push 0x100f5d0c
push ecx
push eax
lea eax, [ebp - 0x1dc]
mov ecx, ebx
push eax
call fcn.10048409
mov ecx, eax
call fcn.1004a0c6
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0x100f5cc0
push dword [edi + 4]
cmovae eax, dword [ebp - 0x28]
push dword [edi]
push eax
lea eax, [ebp - 0x58]
push str._s_d_d_s.db
push eax
call fcn.100350d8
add esp, 0x18
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 6
cmovae eax, dword [ebp - 0x58]
push eax
call esi
test eax, eax
je 0x1000ac6a
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push 3
cmovae eax, dword [ebp - 0x58]
mov ecx, ebx
push 1
push eax
call fcn.10049e88
test eax, eax
sete bl
mov byte [ebp - 0x1d1], bl
call fcn.10045da9
test al, al
je 0x1000ada4
test bl, bl
je 0x1000aca4
push str.1018
jmp 0x1000aca9
push str.1019
call fcn.10045bd3
add esp, 4
push eax
push str.1094
call fcn.10045bd3
add esp, 4
push eax
lea eax, [ebp - 0x88]
push str._s__s
push eax
call fcn.100350d8
add esp, 0x10
mov byte [ebp - 4], 7
call fcn.10045da9
test al, al
je 0x1000ad99
mov eax, dword [0x1012ebd0]
test eax, eax
je 0x1000ad99
cmp dword [eax + 4], 4
jl 0x1000ad99
cmp dword [ebp - 0x74], 8
lea eax, [ebp - 0x88]
push str.1121
cmovae eax, dword [ebp - 0x88]
mov dword [ebp - 0x1d8], eax
call fcn.10045bd3
add esp, 4
lea ecx, [ebp - 0x1d0]
mov ebx, eax
push 0
push 0
push 0x100f5674
push 0xa0
push str.CCloudTaskDll::WriteRecordData
push 4
call fcn.10006e20
mov dword [ebp - 0x1e0], eax
mov esi, 0x100f5c08
mov byte [ebp - 4], 8
test ebx, ebx
lea edi, [eax + 0x28]
mov ecx, esi
cmovne ecx, ebx
push ecx
push edi
call fcn.10006220
mov eax, dword [ebp - 0x1d8]
test eax, eax
cmovne esi, eax
push esi
push edi
call fcn.10006220
mov ecx, dword [0x1012ebd0]
add esp, 0x10
push dword [ebp - 0x1e0]
call fcn.10007f70
lea ecx, [ebp - 0x1d0]
call fcn.10007910
mov bl, byte [ebp - 0x1d1]
lea ecx, [ebp - 0x88]
call fcn.10001ee0
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x1000adde
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000add4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000affb
push edx
push ecx
call fcn.10081441
add esp, 8
mov edx, dword [ebp - 0x8c]
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp edx, 8
jb 0x1000ae32
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000ae28
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000b000
push edx
push ecx
call fcn.10081441
add esp, 8
mov edx, dword [ebp - 0xa4]
xor eax, eax
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
cmp edx, 8
jb 0x1000ae8f
mov ecx, dword [ebp - 0xb8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000ae85
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000b005
push edx
push ecx
call fcn.10081441
add esp, 8
mov edx, dword [ebp - 0xbc]
xor eax, eax
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 7
mov word [ebp - 0xb8], ax
cmp edx, 8
jb 0x1000aeec
mov ecx, dword [ebp - 0xd0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000aee2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000b00a
push edx
push ecx
call fcn.10081441
add esp, 8
mov edx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 7
mov word [ebp - 0xd0], ax
cmp edx, 8
jb 0x1000af43
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000af39
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000b00f
push edx
push ecx
call fcn.10081441
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x1000af91
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000af87
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000b014
push edx
push ecx
call fcn.10081441
add esp, 8
mov edx, dword [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 8
jb 0x1000afdb
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000afd1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000b019
push edx
push ecx
call fcn.10081441
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10081454
mov esp, ebp
pop ebp
ret 8
call fcn.100ad050
call fcn.100ad050
call fcn.100ad050
call fcn.100ad050
call fcn.100ad050
call fcn.100ad050
call fcn.100ad050
int3