Function at 0x1003a110
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10083110
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x100a6250]
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.10038f80
test edi, edi
jne 0x1003a150
xor ecx, ecx
jmp 0x1003a164
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003a155
sub ecx, edx
sar ecx, 1
push ecx
push edi
mov ecx, esi
call fcn.10007190
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.10038bc0
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.10039730
add esp, 0xc
or edi, 0xffffffff
test eax, eax
je 0x1003a516
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x1003a516
cmp dword [ebp - 0x3c], 0
jle 0x1003a516
push eax
call fcn.1002c840
add esp, 4
mov dword [ebp - 0x40], eax
test eax, eax
je 0x1003a50b
mov dword [ebp - 0x74], eax
push str.nItem
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.1001bfe8
push 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
push dword [ebp - 0x40]
call fcn.1002d8e0
add esp, 0xc
mov dword [ebp - 0x54], eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.10006680
push str.bActived
lea ecx, [ebp - 0x28]
call fcn.1001bfe8
push 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
push dword [ebp - 0x40]
call fcn.1002d8e0
add esp, 0xc
mov dword [esi + 0x18], eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.10006680
push str.dwInterval
lea ecx, [ebp - 0x28]
call fcn.1001bfe8
push 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
push dword [ebp - 0x40]
call fcn.1002d8e0
add esp, 0xc
mov dword [esi + 0x1c], eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.10006680
push str.emMODE
lea ecx, [ebp - 0x28]
call fcn.1001bfe8
push 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
push eax
push dword [ebp - 0x40]
call fcn.1002d8e0
add esp, 0xc
mov dword [esi + 0x20], eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.10006680
push str.ItemIndex
lea ecx, [ebp - 0x28]
call fcn.1001bfe8
push 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 6
push eax
push dword [ebp - 0x40]
call fcn.1002d8e0
add esp, 0xc
mov dword [esi + 0x10], eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.10006680
xor eax, eax
cmp dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
jle 0x1003a4e8
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push eax
lea eax, [ebp - 0x3c]
mov ecx, esi
push eax
call fcn.10038a30
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 7
call fcn.100369a0
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 8
call fcn.10036ed0
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.10036de0
push dword [eax]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 9
call fcn.10008b60
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.10036e80
push dword [eax]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xc
call fcn.10008b60
push dword [ebp - 0x68]
mov byte [ebp - 4], 0xe
call ebx
lea ecx, [ebp - 0x38]
call fcn.10036ec0
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.1000cfc0
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.1000cfc0
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.100385c0
test eax, eax
jne 0x1003a3ef
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x38]
call fcn.10036e20
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 0x1003a3e3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esi + 0x10], 0
jmp 0x1003a46d
mov eax, dword [ebp - 0x48]
cmp dword [eax - 0xc], 0
je 0x1003a46d
cmp ebx, 3
jl 0x1003a441
mov ecx, 0x1008e0ec
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1003a428
test dx, dx
je 0x1003a424
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1003a428
add eax, 4
add ecx, 4
test dx, dx
jne 0x1003a402
xor eax, eax
jmp 0x1003a42d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1003a436
lea ebx, [eax + 2]
jmp 0x1003a441
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.10038d70
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x1003a46d
lea ecx, [ebp - 0x38]
push ecx
mov ecx, eax
call fcn.10036c90
lea eax, [ebp - 0x5c]
push eax
lea ecx, [esi + 4]
call fcn.1003a580
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 0x1003a48b
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 0x1003a4a9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x38]
call fcn.10036af0
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 0x1003a4cf
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 0x1003a2f3
lea ebx, [esi + 4]
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
cmp eax, 4
jae 0x1003a4f9
mov dword [esi + 0x18], 0
mov ecx, esi
call fcn.100399f0
push dword [ebp - 0x40]
call fcn.1002c6d0
add esp, 4
push dword [ebp - 0x4c]
call fcn.1001a724
add esp, 4
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
cmp dword [esi + 0x10], eax
jb 0x1003a52a
mov dword [esi + 0x10], 0
cmp dword [esi + 0x18], 0
je 0x1003a53e
mov eax, dword [ebx]
cmp eax, dword [ebx + 4]
jne 0x1003a53e
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 0x1003a55d
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.1001a767
mov esp, ebp
pop ebp
ret 4