Function at 0x125a16f
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 0x102c2dc
mov dword [ebp - 0x2c], ecx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jl 0x125a5d2
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
and dword [ebp - 0xc], 0
mov edi, dword [ebp - 4]
push 0x102c288
call esi
push 0x102c27c
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 0x125a200
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x125a1f6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
test eax, eax
jmp 0x125a30e
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 0x125a379
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 0x125a36c
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 0x125a36c
and dword [ebp - 0x10], 0
mov ebx, dword [ebp - 4]
push 0x102c178
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 0x125a35f
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 0x125a2e2
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 0x125a2d5
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 0x125a31e
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x125a2e2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x125a2ef
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x125a2fc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
cmp eax, ebx
je 0x125a309
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x125a316
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x30]
jmp 0x125a671
and dword [ebp - 0x18], 0
mov ebx, dword [ebp - 4]
push 0x102c16c
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 0x125a39a
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x125a352
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x125a35f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x125a36c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 8]
test eax, eax
je 0x125a379
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x125a386
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
test eax, eax
je 0x125a393
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, ebx
jmp 0x125a671
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 0x125a61c
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 0x125a4fb
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.01262091
push eax
push 0x102c160
lea eax, [ebp - 0x20]
push 0x10143ac
push eax
call fcn.012586ae
and dword [ebp - 0x1c], 0
mov esi, dword [ebp - 4]
add esp, 0x10
push dword [ebp - 0x20]
lea ecx, [ebp - 0x34]
call fcn.01032b44
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 0x125a607
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x38]
push dword [ebp - 4]
call fcn.0126363c
mov esi, eax
test esi, esi
mov eax, dword [ebp - 0x1c]
jl 0x125a60a
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 0x125a5fd
mov ecx, dword [eax]
lea edx, [ebp - 0x3c]
push edx
push eax
call dword [ecx + 0x20]
mov esi, eax
test esi, esi
jl 0x125a5fa
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 0x125a5f0
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 0x125a5e6
cmp dword [ebp - 0x3c], ecx
jg 0x125a4b5
cmp dword [ebp - 0x40], ecx
jle 0x125a4cc
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 0x125a5ed
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x125a4d9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x125a4e6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x125a4f3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x20]
call fcn.01257f79
test ebx, ebx
jne 0x125a3cb
inc dword [ebp - 0x30]
add dword [ebp - 0x2c], 0xc
cmp dword [ebp - 0x30], 5
jl 0x125a3c1
push 0x102c110
push str.HIGHMAT
push dword [ebp + 8]
lea eax, [ebp - 0x40]
push eax
call fcn.012594dd
push eax
lea eax, [ebp + 8]
push eax
call fcn.012594dd
lea ecx, [ebp - 0x40]
call fcn.01257f79
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.0114139d
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.01257f79
test esi, esi
mov eax, dword [ebp - 0x18]
jge 0x125a624
test eax, eax
je 0x125a59e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x125a5ab
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x125a5b8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 8]
test eax, eax
je 0x125a5c5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x125a5d2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
test eax, eax
je 0x125a5df
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
jmp 0x125a671
mov eax, dword [ebp - 0x28]
cmp eax, ecx
jmp 0x125a5f2
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x125a5fa
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x125a607
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x125a614
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x20]
call fcn.01257f79
mov eax, dword [ebp - 0x18]
jmp 0x125a594
test eax, eax
je 0x125a62e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x125a63b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x125a648
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 8]
test eax, eax
je 0x125a655
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x125a662
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
test eax, eax
je 0x125a66f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4