Function at 0x100ce4d0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x101afcb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
mov eax, dword [0x102a97c4]
push ebx
push ebp
xor ebp, ebp
push esi
cmp eax, ebp
push edi
mov esi, ecx
jne 0x100ce521
call fcn.100ce2a0
mov eax, dword [esi + 8]
push ebp
push ebp
push 0x100ce350
push eax
call fcn.10123e20
add esp, 0x10
mov dword [0x102a97c4], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, dword [0x102a97c8]
cmp eax, ebp
mov dword [esp + 0x18], ecx
je 0x100ce543
cmp eax, ecx
ja 0x100ce543
add eax, 0x493e0
cmp eax, ecx
jae 0x100ce596
mov dword [0x102a97c8], ecx
mov eax, dword [esi]
mov edi, dword [esi + 4]
push eax
mov ecx, esi
call fcn.100cd390
cmp edi, ebp
mov dword [esi + 4], eax
jne 0x100ce596
cmp eax, ebp
je 0x100ce596
mov eax, dword [esi + 8]
push ebp
push eax
call fcn.101235e0
mov ecx, dword [0x102acd68]
add esp, 8
cmp ecx, ebp
je 0x100ce596
mov ecx, dword [esi + 8]
push ecx
push eax
push str.CTSCIIMMsgPolicy::Scan_bMake__d__m_wstrMsgPath__s_
push str.SCIIM
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10140e70
add esp, 0x18
lea edx, [esi + 0x14]
push 1
push edx
lea ecx, [esp + 0x4c]
call fcn.100e9195
push ebp
push ebp
lea eax, [esp + 0x2c]
push ebp
mov dword [esp + 0x64], ebp
push eax
mov ecx, 0x10233440
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
call fcn.100209c0
mov eax, 0x45e7b273
push ebp
mul dword [esi + 0xc]
shr edx, 0xe
push edx
push ebp
push 0x1e
push 0xc
push 0x76b
lea ecx, [esp + 0x50]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], ebp
call fcn.100e81d2
mov ebx, dword [esi + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x1c], ebx
dec ebx
mov dword [esp + 0x2c], ecx
cmp ebx, ebp
mov dword [esp + 0x30], edx
jl 0x100ce6cb
lea eax, [ebx*8]
sub eax, ebx
lea ebp, [eax + eax*4]
shl ebp, 4
mov dword [esp + 0x14], ebp
mov ecx, dword [esi + 0x38]
mov edi, ebp
add edi, ecx
cmp dword [edi], 0
jne 0x100ce6f5
lea ebp, [edi + 0x24]
push 0
push ebp
call fcn.10120800
add esp, 8
test eax, eax
jne 0x100ce6f1
mov ecx, dword [esi + 0x3c]
sub ecx, ebx
dec ecx
je 0x100ce68a
lea eax, [ecx*8]
mov edx, dword [esi + 0x38]
sub eax, ecx
lea eax, [eax + eax*4]
shl eax, 4
push eax
mov eax, dword [esp + 0x18]
lea ecx, [eax + edx + 0x230]
add eax, edx
push ecx
push eax
call fcn.100eae90
add esp, 0xc
mov ecx, dword [esi + 0x3c]
dec ecx
mov dword [esi + 0x3c], ecx
mov eax, dword [0x102acd68]
test eax, eax
je 0x100ce6b4
push ebp
push str.CTSCIIMMsgPolicy::Scan_RemoveAt___s_
push str.SCIIM
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10140e70
add esp, 0x14
mov ebp, dword [esp + 0x14]
dec ebx
sub ebp, 0x230
test ebx, ebx
mov dword [esp + 0x14], ebp
jge 0x100ce632
lea ecx, [esp + 0x44]
mov dword [esp + 0x58], 0xffffffff
call fcn.100e91d1
mov ecx, dword [esp + 0x50]
pop edi
xor eax, eax
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov ebp, dword [esp + 0x14]
mov eax, dword [edi + 0x20]
test eax, eax
je 0x100ce71f
mov ecx, dword [esp + 0x18]
cmp eax, ecx
ja 0x100ce71f
mov edx, dword [esi + 0x10]
add edx, eax
cmp edx, ecx
jb 0x100ce71f
fld qword [esp + 0x2c]
fadd qword [edi + 8]
fcomp qword [esp + 0x24]
fnstsw ax
test ah, 1
je 0x100ce6b8
mov eax, dword [0x102acd68]
test eax, eax
je 0x100ce74a
mov eax, dword [edi]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
push ebx
push str.CTSCIIMMsgPolicy::Scan___d__d__bWrite__d_
push str.SCIIM
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10140e70
add esp, 0x1c
mov ecx, dword [edi]
xor eax, eax
test ecx, ecx
je 0x100ce75d
lea edx, [edi + 0x24]
mov ecx, esi
push edx
call fcn.100cd250
test eax, eax
mov dword [edi], 0
je 0x100ce7c3
lea ecx, [esp + 0x20]
call fcn.100cbed0
lea eax, [edi + 0x24]
mov byte [esp + 0x58], 1
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esi + 0x3c]
sub eax, ebx
dec eax
je 0x100ce7ae
mov edx, dword [esi + 0x38]
lea ecx, [eax*8]
sub ecx, eax
lea eax, [edx + ebp + 0x230]
lea ecx, [ecx + ecx*4]
shl ecx, 4
push ecx
lea ecx, [edx + ebp]
push eax
push ecx
call fcn.100eae90
add esp, 0xc
mov eax, dword [esi + 0x3c]
lea ecx, [esp + 0x20]
dec eax
mov dword [esi + 0x3c], eax
mov byte [esp + 0x58], 0
call fcn.100cbef0
mov edx, dword [esp + 0x18]
mov dword [edi + 0x20], edx
jmp 0x100ce6b8