Function at 0x10024740
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x100450f3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov eax, dword [0x100555f8]
xor ebx, ebx
mov ecx, 0x100555f8
mov dword [esp + 0x90], ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x98]
mov ecx, dword [esi + 0x28]
push ebp
push ecx
lea edx, [esp + 0x18]
push str._s_s.txt
push edx
mov byte [esp + 0xa0], 1
call fcn.10005730
xor eax, eax
mov al, byte [esi + 0x34]
add esp, 0x10
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push eax
push ecx
push edx
mov ecx, esi
call fcn.10022300
mov edi, dword [esp + 0x1c]
cmp edi, ebx
je 0x100247cb
push edi
call dword [sym.imp.OLEAUT32.dll_VariantInit]
cmp eax, ebx
ja 0x100247f4
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push edi
call esi
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x90], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x100249ed
mov dword [esp + 0x14], ebx
lea eax, [esp + 0x14]
push eax
push 0x100479c8
push 7
push ebx
push 0x1004b118
mov byte [esp + 0xa4], 3
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
mov eax, dword [esp + 0x14]
jne 0x100249b7
cmp eax, ebx
je 0x100249b7
lea edx, [esp + 0x20]
push edx
push edi
mov dword [esp + 0x28], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x104]
cmp eax, ebx
je 0x10024896
mov esi, dword [esp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x14]
cmp eax, ebx
mov byte [esp + 0x90], 2
je 0x10024864
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push edi
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call edi
lea eax, [esi - 0x10]
mov byte [esp + 0x90], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1002488e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push ebp
call edi
jmp 0x100249fa
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push str.__rule
push eax
mov byte [esp + 0x9c], 4
call dword [ecx + 0x94]
cmp eax, ebx
mov eax, dword [esp + 0x18]
jne 0x1002497b
cmp eax, ebx
je 0x1002497b
lea ecx, [esp + 0x24]
call fcn.100338a0
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x94], 5
call fcn.10033bd0
push ebx
call fcn.10036fcf
add esp, 4
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x30]
add esi, 0x1c
push edx
mov ecx, esi
mov dword [esp + 0x44], eax
call fcn.10021170
mov ecx, eax
call fcn.10020930
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call fcn.10021170
lea ecx, [esp + 0x24]
mov esi, eax
mov byte [esp + 0x90], 4
call fcn.10033980
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov byte [esp + 0x90], 3
je 0x10024949
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
cmp eax, ebx
mov byte [esp + 0x90], 2
je 0x1002495f
mov edx, dword [eax]
push eax
call dword [edx + 8]
push edi
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call edi
lea ecx, [esp + 0x10]
call fcn.10001690
push ebp
call edi
mov eax, esi
jmp 0x100249fc
cmp eax, ebx
mov byte [esp + 0x90], 3
je 0x1002498d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
cmp eax, ebx
mov byte [esp + 0x90], 2
je 0x100249a3
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push edi
call esi
lea ecx, [esp + 0x10]
call fcn.10001690
jmp 0x100249f7
cmp eax, ebx
mov byte [esp + 0x90], 2
je 0x100249c9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push edi
call esi
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x90], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x100249f7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push ebp
call esi
xor eax, eax
mov ecx, dword [esp + 0x88]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x84
ret 4