Function at 0x100b4030
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012c880
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x10167c60]
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 esi, ecx
mov dword [ebp - 0x6c], esi
mov edi, dword [ebp + 8]
call fcn.100b2f40
test edi, edi
jne 0x100b4070
xor ecx, ecx
jmp 0x100b4084
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100b4075
sub ecx, edx
sar ecx, 1
push ecx
push edi
mov ecx, esi
call fcn.1000b940
mov dword [esi + 0x14], 1
lea ebx, [esi + 4]
mov eax, dword [ebx]
mov ecx, esi
mov dword [ebx + 4], eax
lea eax, [ebp - 0x58]
push eax
call fcn.100b2bb0
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0
push eax
push dword [ebp - 0x58]
mov dword [ebp - 0x3c], 0
call fcn.100aaa40
add esp, 0xc
or edi, 0xffffffff
test eax, eax
je 0x100b4425
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x100b4425
cmp dword [ebp - 0x3c], 0
jle 0x100b4425
push eax
call fcn.10097680
add esp, 4
mov dword [ebp - 0x40], eax
test eax, eax
je 0x100b441a
mov dword [ebp - 0x74], eax
push str.nItem
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.10007a50
push 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
push dword [ebp - 0x40]
call fcn.100988c0
add esp, 0xc
mov dword [ebp - 0x54], eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.10007e60
push str.bActived
lea ecx, [ebp - 0x28]
call fcn.10007a50
push 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
push dword [ebp - 0x40]
call fcn.100988c0
add esp, 0xc
mov dword [esi + 0x18], eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.10007e60
push str.dwInterval
lea ecx, [ebp - 0x28]
call fcn.10007a50
push 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
push dword [ebp - 0x40]
call fcn.100988c0
add esp, 0xc
mov dword [esi + 0x1c], eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.10007e60
push str.emMODE
lea ecx, [ebp - 0x28]
call fcn.10007a50
push 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
push eax
push dword [ebp - 0x40]
call fcn.100988c0
add esp, 0xc
mov dword [esi + 0x20], eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.10007e60
push str.ItemIndex
lea ecx, [ebp - 0x28]
call fcn.10007a50
push 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 6
push eax
push dword [ebp - 0x40]
call fcn.100988c0
add esp, 0xc
mov dword [esi + 0x10], eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.10007e60
xor eax, eax
cmp dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
jle 0x100b4408
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push eax
lea eax, [ebp - 0x3c]
mov ecx, esi
push eax
call fcn.100b2a20
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 7
call fcn.100b07d0
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 8
call fcn.100b0cb0
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.100b0c10
push dword [eax]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 9
call fcn.100079a0
push dword [ebp - 0x64]
mov byte [ebp - 4], 0xb
call ebx
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.100b0c70
push dword [eax]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xc
call fcn.100079a0
push dword [ebp - 0x68]
mov byte [ebp - 4], 0xe
call ebx
lea ecx, [ebp - 0x38]
call fcn.100406e0
push ecx
mov ecx, dword [ebp - 0x44]
mov esi, esp
add ecx, 0xfffffff0
mov dword [ebp - 0x5c], esp
push ecx
mov ebx, eax
mov dword [ebp - 0x60], esi
call fcn.10008570
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp - 0x48]
mov esi, esp
add eax, 0xfffffff0
mov byte [ebp - 4], 0xf
push eax
mov dword [ebp - 0x60], esi
call fcn.10008570
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov esi, dword [ebp - 0x6c]
mov ecx, esi
mov byte [ebp - 4], 0xe
call fcn.100b25b0
test eax, eax
jne 0x100b430f
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x38]
call fcn.1003eef0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 0x70]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100b4303
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esi + 0x10], 0
jmp 0x100b438d
mov eax, dword [ebp - 0x48]
cmp dword [eax - 0xc], 0
je 0x100b438d
cmp ebx, 3
jl 0x100b4361
mov ecx, 0x1013dbc4
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100b4348
test dx, dx
je 0x100b4344
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100b4348
add eax, 4
add ecx, 4
test dx, dx
jne 0x100b4322
xor eax, eax
jmp 0x100b434d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x100b4356
lea ebx, [eax + 2]
jmp 0x100b4361
mov eax, dword [ebp - 0x44]
xor ebx, ebx
cmp dword [eax - 0xc], ebx
setne bl
push 0
push 0
push 0
push ebx
mov ecx, esi
call fcn.100b2d30
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x100b438d
lea ecx, [ebp - 0x38]
push ecx
mov ecx, eax
call fcn.100b0ac0
lea eax, [ebp - 0x5c]
push eax
lea ecx, [esi + 4]
call fcn.100b4490
mov edx, dword [ebp - 0x44]
mov eax, edi
mov byte [ebp - 4], 0xb
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100b43ab
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x48]
mov eax, edi
mov byte [ebp - 4], 8
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100b43c9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x38]
call fcn.100b0920
mov edx, dword [ebp - 0x3c]
mov eax, edi
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100b43ef
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x50]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
inc eax
mov dword [ebp - 0x50], eax
cmp eax, dword [ebp - 0x54]
jl 0x100b4213
lea ebx, [esi + 4]
mov ecx, esi
call fcn.100b3910
push dword [ebp - 0x40]
call fcn.10097510
add esp, 4
push dword [ebp - 0x4c]
call fcn.100c49a1
add esp, 4
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
cmp dword [esi + 0x10], eax
jb 0x100b4439
mov dword [esi + 0x10], 0
cmp dword [esi + 0x18], 0
je 0x100b4453
mov eax, dword [ebx]
cmp eax, dword [ebx + 4]
jne 0x100b4453
cmp dword [ebp + 0xc], 0
jg 0x100b4453
mov dword [esi + 0x18], 0
mov edx, dword [ebp - 0x58]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x100b4472
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.100c495f
mov esp, ebp
pop ebp
ret 8