Function at 0x100c47a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1018d118
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
mov eax, dword [0x10271354]
push ebx
push ebp
xor ebx, ebx
push esi
push edi
cmp eax, ebx
mov edi, ecx
jne 0x100c47ec
mov eax, dword [edi + 8]
push ebx
push ebx
push 0x100c4620
push eax
call fcn.101041a0
add esp, 0x10
mov dword [0x10271354], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, dword [0x10271358]
cmp eax, ebx
mov dword [esp + 0x14], ecx
je 0x100c480e
cmp eax, ecx
ja 0x100c480e
add eax, 0x493e0
cmp eax, ecx
jae 0x100c4861
mov dword [0x10271358], ecx
mov eax, dword [edi]
mov esi, dword [edi + 4]
push eax
mov ecx, edi
call fcn.100c36a0
cmp esi, ebx
mov dword [edi + 4], eax
jne 0x100c4861
cmp eax, ebx
je 0x100c4861
mov eax, dword [edi + 8]
push ebx
push eax
call fcn.10103960
mov ecx, dword [0x10274670]
add esp, 8
cmp ecx, ebx
je 0x100c4861
mov ecx, dword [edi + 8]
push ecx
push eax
push str.CTSCIIMMsgPolicy::Scan_bMake__d__m_wstrMsgPath__s_
push str.SCIIM
push 0xffffffffffffffff
push 0x10273ddc
call fcn.10119f10
add esp, 0x18
lea edx, [edi + 0x14]
push 1
push edx
lea ecx, [esp + 0x44]
call fcn.100c657b
push ebx
push ebx
lea eax, [esp + 0x24]
push ebx
mov dword [esp + 0x5c], ebx
push eax
mov ecx, 0x101fb638
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
call fcn.10020750
mov eax, 0x45e7b273
push ebx
mul dword [edi + 0xc]
shr edx, 0xe
push edx
push ebx
push 0x1e
push 0xc
push 0x76b
lea ecx, [esp + 0x48]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], ebx
call fcn.100c8a1b
mov ebp, dword [edi + 0x3c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x18], ebp
dec ebp
mov dword [esp + 0x24], ecx
cmp ebp, ebx
mov dword [esp + 0x28], edx
jl 0x100c4996
lea eax, [ebp*8]
sub eax, ebp
lea ebx, [eax + eax*4]
shl ebx, 4
mov dword [esp + 0x10], ebx
mov ecx, dword [edi + 0x38]
mov esi, ebx
add esi, ecx
cmp dword [esi], 0
jne 0x100c49c0
lea ebx, [esi + 0x24]
push 0
push ebx
call fcn.10100b80
add esp, 8
test eax, eax
jne 0x100c49bc
mov ecx, dword [edi + 0x3c]
sub ecx, ebp
dec ecx
je 0x100c4955
lea eax, [ecx*8]
mov edx, dword [edi + 0x38]
sub eax, ecx
lea eax, [eax + eax*4]
shl eax, 4
push eax
mov eax, dword [esp + 0x14]
lea ecx, [eax + edx + 0x230]
add eax, edx
push ecx
push eax
call fcn.100ca970
add esp, 0xc
mov ecx, dword [edi + 0x3c]
dec ecx
mov dword [edi + 0x3c], ecx
mov eax, dword [0x10274670]
test eax, eax
je 0x100c497f
push ebx
push str.CTSCIIMMsgPolicy::Scan_RemoveAt___s_
push str.SCIIM
push 0xffffffffffffffff
push 0x10273ddc
call fcn.10119f10
add esp, 0x14
mov ebx, dword [esp + 0x10]
dec ebp
sub ebx, 0x230
test ebp, ebp
mov dword [esp + 0x10], ebx
jge 0x100c48fd
lea ecx, [esp + 0x3c]
mov dword [esp + 0x50], 0xffffffff
call fcn.100c65b7
mov ecx, dword [esp + 0x48]
pop edi
xor eax, eax
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [esp + 0x10]
mov eax, dword [esi + 0x20]
test eax, eax
je 0x100c49ea
mov ecx, dword [esp + 0x14]
cmp eax, ecx
ja 0x100c49ea
mov edx, dword [edi + 0x10]
add edx, eax
cmp edx, ecx
jb 0x100c49ea
fld qword [esp + 0x24]
fadd qword [esi + 8]
fcomp qword [esp + 0x1c]
fnstsw ax
test ah, 1
je 0x100c4983
mov eax, dword [0x10274670]
test eax, eax
je 0x100c4a15
mov eax, dword [esi]
mov ecx, dword [esp + 0x18]
push eax
push ecx
push ebp
push str.CTSCIIMMsgPolicy::Scan___d__d__bWrite__d_
push str.SCIIM
push 0xffffffffffffffff
push 0x10273ddc
call fcn.10119f10
add esp, 0x1c
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
je 0x100c4a28
lea edx, [esi + 0x24]
mov ecx, edi
push edx
call fcn.100c3560
test eax, eax
mov dword [esi], 0
je 0x100c4a6e
lea eax, [esi + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [edi + 0x3c]
sub eax, ebp
dec eax
je 0x100c4a6b
mov edx, dword [edi + 0x38]
lea ecx, [eax*8]
sub ecx, eax
lea eax, [ebx + edx + 0x230]
lea ecx, [ecx + ecx*4]
shl ecx, 4
push ecx
lea ecx, [ebx + edx]
push eax
push ecx
call fcn.100ca970
add esp, 0xc
dec dword [edi + 0x3c]
mov edx, dword [esp + 0x14]
mov dword [esi + 0x20], edx
jmp 0x100c4983