Function at 0x1259f3b
Capabilities:
Delete file
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x50
and dword [ebp - 4], 0
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
push 0x100fe14
push 0x17
push 0
push 0x102c2c4
mov dword [ebp - 0x2c], ecx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jl 0x125a39e
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
and dword [ebp - 0xc], 0
mov edi, dword [ebp - 4]
push 0x102c270
call esi
push 0x102c264
mov ebx, eax
call esi
mov ecx, dword [edi]
lea edx, [ebp - 0xc]
push edx
push ebx
push eax
push edi
mov dword [ebp - 0x28], eax
call dword [ecx + 0xd0]
push dword [ebp - 0x28]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 0x30], eax
call edi
push ebx
call edi
cmp dword [ebp - 0x30], 0
jge 0x1259fcc
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x1259fc2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
test eax, eax
jmp 0x125a0da
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push 0
push dword [ebp - 0xc]
push eax
call dword [ecx + 0x54]
mov ebx, eax
test ebx, ebx
jl 0x125a145
and dword [ebp - 8], 0
mov ebx, dword [ebp - 4]
push 0x1014d48
call esi
mov ecx, dword [ebx]
lea edx, [ebp - 8]
push edx
push eax
push ebx
mov dword [ebp - 0x30], eax
call dword [ecx + 0xbc]
push dword [ebp - 0x30]
mov ebx, eax
call edi
test ebx, ebx
jl 0x125a138
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push 0
push dword [ebp - 8]
push eax
call dword [ecx + 0x54]
mov ebx, eax
test ebx, ebx
jl 0x125a138
and dword [ebp - 0x10], 0
mov ebx, dword [ebp - 4]
push 0x102c160
call esi
mov ecx, dword [ebx]
lea edx, [ebp - 0x10]
push edx
push eax
push ebx
mov dword [ebp - 0x30], eax
call dword [ecx + 0xbc]
push dword [ebp - 0x30]
mov ebx, eax
call edi
test ebx, ebx
jl 0x125a12b
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
xor ebx, ebx
push ebx
push dword [ebp - 0x10]
push eax
call dword [ecx + 0x54]
cmp eax, ebx
mov dword [ebp - 0x30], eax
jl 0x125a0ae
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x17c]
lea edx, [ebp - 0x14]
push edx
push 0xffffffffffffffff
mov dword [ebp - 0x14], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x60]
cmp eax, ebx
mov dword [ebp - 0x30], eax
jl 0x125a0a1
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ebx
push dword [ebp - 0x14]
push eax
call dword [ecx + 0x54]
cmp eax, ebx
mov dword [ebp - 0x30], eax
jge 0x125a0ea
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x125a0ae
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x125a0bb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x125a0c8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
cmp eax, ebx
je 0x125a0d5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x125a0e2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x30]
jmp 0x125a43d
and dword [ebp - 0x18], 0
mov ebx, dword [ebp - 4]
push 0x102c154
call esi
lea ecx, [ebp - 0x18]
mov esi, eax
mov eax, dword [ebx]
push ecx
push esi
push ebx
call dword [eax + 0xbc]
push esi
mov ebx, eax
call edi
test ebx, ebx
jge 0x125a166
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x125a11e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x125a12b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x125a138
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 8]
test eax, eax
je 0x125a145
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x125a152
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
test eax, eax
je 0x125a15f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, ebx
jmp 0x125a43d
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 0
push dword [ebp - 0x18]
push eax
call dword [ecx + 0x54]
mov esi, eax
test esi, esi
jl 0x125a3e8
mov eax, dword [ebp - 0x2c]
and dword [ebp - 0x30], 0
add eax, 0xd4
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax]
jmp 0x125a2c7
mov ecx, dword [0x12d1c68]
mov eax, ebx
mov eax, dword [eax + 8]
mov ebx, dword [ebx]
mov dword [ebp - 0x20], ecx
mov ecx, eax
mov dword [ebp - 0x38], eax
call fcn.01261f04
push eax
push 0x102c148
lea eax, [ebp - 0x20]
push 0x10143ac
push eax
call fcn.0125841a
and dword [ebp - 0x1c], 0
mov esi, dword [ebp - 4]
add esp, 0x10
push dword [ebp - 0x20]
lea ecx, [ebp - 0x34]
call fcn.01257752
mov eax, dword [eax]
mov ecx, dword [esi]
lea edx, [ebp - 0x1c]
push edx
push eax
push esi
call dword [ecx + 0xbc]
push dword [ebp - 0x34]
mov esi, eax
call edi
test esi, esi
jl 0x125a3d3
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x38]
push dword [ebp - 4]
call fcn.012634a5
mov esi, eax
test esi, esi
mov eax, dword [ebp - 0x1c]
jl 0x125a3d6
and dword [ebp - 0x24], 0
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
push eax
call dword [ecx + 0x30]
mov esi, eax
test esi, esi
mov eax, dword [ebp - 0x24]
jl 0x125a3c9
mov ecx, dword [eax]
lea edx, [ebp - 0x3c]
push edx
push eax
call dword [ecx + 0x20]
mov esi, eax
test esi, esi
jl 0x125a3c6
mov eax, dword [ebp - 0x1c]
and dword [ebp - 0x28], 0
mov ecx, dword [eax]
lea edx, [ebp - 0x28]
push edx
push eax
call dword [ecx + 0x44]
mov esi, eax
test esi, esi
mov eax, dword [ebp - 0x28]
jl 0x125a3bc
mov ecx, dword [eax]
lea edx, [ebp - 0x40]
push edx
push eax
call dword [ecx + 0x2c]
mov esi, eax
xor ecx, ecx
cmp esi, ecx
jl 0x125a3b2
cmp dword [ebp - 0x3c], ecx
jg 0x125a281
cmp dword [ebp - 0x40], ecx
jle 0x125a298
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
push ecx
push dword [ebp - 0x1c]
push eax
call dword [edx + 0x54]
mov esi, eax
test esi, esi
jl 0x125a3b9
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x125a2a5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x125a2b2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x125a2bf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x20]
call fcn.01257ce7
test ebx, ebx
jne 0x125a197
inc dword [ebp - 0x30]
add dword [ebp - 0x2c], 0xc
cmp dword [ebp - 0x30], 5
jl 0x125a18d
push 0x102c0f8
push str.HIGHMAT
push dword [ebp + 8]
lea eax, [ebp - 0x40]
push eax
call fcn.012592b6
push eax
lea eax, [ebp + 8]
push eax
call fcn.012592b6
lea ecx, [ebp - 0x40]
call fcn.01257ce7
push 0x80
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp + 8]
lea ecx, [ebp - 0x50]
call fcn.01259b08
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
sub esp, 0x10
mov edi, esp
mov esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ecx
movsd dword es:[edi], dword [esi]
call dword [edx + 0x108]
mov esi, eax
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp + 8]
call fcn.01257ce7
test esi, esi
mov eax, dword [ebp - 0x18]
jge 0x125a3f0
test eax, eax
je 0x125a36a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x125a377
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x125a384
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 8]
test eax, eax
je 0x125a391
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x125a39e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
test eax, eax
je 0x125a3ab
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
jmp 0x125a43d
mov eax, dword [ebp - 0x28]
cmp eax, ecx
jmp 0x125a3be
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x125a3c6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x125a3d3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x125a3e0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x20]
call fcn.01257ce7
mov eax, dword [ebp - 0x18]
jmp 0x125a360
test eax, eax
je 0x125a3fa
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x125a407
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x125a414
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 8]
test eax, eax
je 0x125a421
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x125a42e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
test eax, eax
je 0x125a43b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4