Function at 0x100cf2a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x101b3e00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
mov eax, dword [0x102c81f4]
push ebx
push ebp
xor ebp, ebp
push esi
cmp eax, ebp
push edi
mov esi, ecx
jne 0x100cf2f1
call fcn.100cf070
mov eax, dword [esi + 8]
push ebp
push ebp
push 0x100cf120
push eax
call fcn.10127050
add esp, 0x10
mov dword [0x102c81f4], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, dword [0x102c81f8]
cmp eax, ebp
mov dword [esp + 0x18], ecx
je 0x100cf313
cmp eax, ecx
ja 0x100cf313
add eax, 0x493e0
cmp eax, ecx
jae 0x100cf385
mov dword [0x102c81f8], ecx
mov eax, dword [esi]
mov edi, dword [esi + 4]
push eax
mov ecx, esi
call fcn.100ce160
mov dword [esi + 4], eax
mov ecx, dword [0x102370e8]
cmp ecx, ebp
je 0x100cf341
cmp eax, ebp
mov dword [0x102370e4], 1
je 0x100cf347
mov dword [0x102370e4], ebp
cmp edi, ebp
jne 0x100cf385
cmp dword [esi + 4], ebp
je 0x100cf385
mov eax, dword [esi + 8]
push ebp
push eax
call fcn.10126810
mov ecx, dword [0x102cb7c8]
add esp, 8
cmp ecx, ebp
je 0x100cf385
mov ecx, dword [esi + 8]
push ecx
push eax
push str.CTSCIIMMsgPolicy::Scan_bMake__d__m_wstrMsgPath__s_
push str.SCIIM
push 0xffffffffffffffff
push 0x102caf34
call fcn.10131cf0
add esp, 0x18
lea edx, [esi + 0x14]
push 1
push edx
lea ecx, [esp + 0x4c]
call fcn.100ec3b5
push ebp
push ebp
lea eax, [esp + 0x2c]
push ebp
mov dword [esp + 0x64], ebp
push eax
mov ecx, 0x10238220
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
call fcn.10020bd0
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.100eb3f2
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 0x100cf4ba
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 0x100cf4e4
lea ebp, [edi + 0x24]
push 0
push ebp
call fcn.10123850
add esp, 8
test eax, eax
jne 0x100cf4e0
mov ecx, dword [esi + 0x3c]
sub ecx, ebx
dec ecx
je 0x100cf479
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.100ee0b0
add esp, 0xc
mov ecx, dword [esi + 0x3c]
dec ecx
mov dword [esi + 0x3c], ecx
mov eax, dword [0x102cb7c8]
test eax, eax
je 0x100cf4a3
push ebp
push str.CTSCIIMMsgPolicy::Scan_RemoveAt___s_
push str.SCIIM
push 0xffffffffffffffff
push 0x102caf34
call fcn.10131cf0
add esp, 0x14
mov ebp, dword [esp + 0x14]
dec ebx
sub ebp, 0x230
test ebx, ebx
mov dword [esp + 0x14], ebp
jge 0x100cf421
lea ecx, [esp + 0x44]
mov dword [esp + 0x58], 0xffffffff
call fcn.100ec3f1
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 0x100cf50e
mov ecx, dword [esp + 0x18]
cmp eax, ecx
ja 0x100cf50e
mov edx, dword [esi + 0x10]
add edx, eax
cmp edx, ecx
jb 0x100cf50e
fld qword [esp + 0x2c]
fadd qword [edi + 8]
fcomp qword [esp + 0x24]
fnstsw ax
test ah, 1
je 0x100cf4a7
mov eax, dword [0x102cb7c8]
test eax, eax
je 0x100cf539
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 0x102caf34
call fcn.10131cf0
add esp, 0x1c
mov ecx, dword [edi]
xor eax, eax
test ecx, ecx
je 0x100cf54c
lea edx, [edi + 0x24]
mov ecx, esi
push edx
call fcn.100ce020
test eax, eax
mov dword [edi], 0
je 0x100cf5b2
lea ecx, [esp + 0x20]
call fcn.100ccc40
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 0x100cf59d
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.100ee0b0
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.100ccc60
mov edx, dword [esp + 0x18]
mov dword [edi + 0x20], edx
jmp 0x100cf4a7