Function at 0x100ce600
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x101b09f0
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 0x100ce651
call fcn.100ce3d0
mov eax, dword [esi + 8]
push ebp
push ebp
push 0x100ce480
push eax
call fcn.10123f50
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 0x100ce673
cmp eax, ecx
ja 0x100ce673
add eax, 0x493e0
cmp eax, ecx
jae 0x100ce6c6
mov dword [0x102a97c8], ecx
mov eax, dword [esi]
mov edi, dword [esi + 4]
push eax
mov ecx, esi
call fcn.100cd4c0
cmp edi, ebp
mov dword [esi + 4], eax
jne 0x100ce6c6
cmp eax, ebp
je 0x100ce6c6
mov eax, dword [esi + 8]
push ebp
push eax
call fcn.10123710
mov ecx, dword [0x102acd68]
add esp, 8
cmp ecx, ebp
je 0x100ce6c6
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.10141bb0
add esp, 0x18
lea edx, [esi + 0x14]
push 1
push edx
lea ecx, [esp + 0x4c]
call fcn.100e92c5
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.10020af0
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.100e8302
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 0x100ce7fb
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 0x100ce825
lea ebp, [edi + 0x24]
push 0
push ebp
call fcn.10120750
add esp, 8
test eax, eax
jne 0x100ce821
mov ecx, dword [esi + 0x3c]
sub ecx, ebx
dec ecx
je 0x100ce7ba
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.100eafc0
add esp, 0xc
mov ecx, dword [esi + 0x3c]
dec ecx
mov dword [esi + 0x3c], ecx
mov eax, dword [0x102acd68]
test eax, eax
je 0x100ce7e4
push ebp
push str.CTSCIIMMsgPolicy::Scan_RemoveAt___s_
push str.SCIIM
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x14
mov ebp, dword [esp + 0x14]
dec ebx
sub ebp, 0x230
test ebx, ebx
mov dword [esp + 0x14], ebp
jge 0x100ce762
lea ecx, [esp + 0x44]
mov dword [esp + 0x58], 0xffffffff
call fcn.100e9301
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 0x100ce84f
mov ecx, dword [esp + 0x18]
cmp eax, ecx
ja 0x100ce84f
mov edx, dword [esi + 0x10]
add edx, eax
cmp edx, ecx
jb 0x100ce84f
fld qword [esp + 0x2c]
fadd qword [edi + 8]
fcomp qword [esp + 0x24]
fnstsw ax
test ah, 1
je 0x100ce7e8
mov eax, dword [0x102acd68]
test eax, eax
je 0x100ce87a
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.10141bb0
add esp, 0x1c
mov ecx, dword [edi]
xor eax, eax
test ecx, ecx
je 0x100ce88d
lea edx, [edi + 0x24]
mov ecx, esi
push edx
call fcn.100cd380
test eax, eax
mov dword [edi], 0
je 0x100ce8f3
lea ecx, [esp + 0x20]
call fcn.100cc000
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 0x100ce8de
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.100eafc0
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.100cc020
mov edx, dword [esp + 0x18]
mov dword [edi + 0x20], edx
jmp 0x100ce7e8