Function at 0x1001c3af
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x1003b164]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x1c]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x20]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x40], ecx
xor edi, edi
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x18], edi
call fcn.1002bfb6
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x28], edi
call fcn.1002bfc5
cmp eax, edi
mov dword [ebp - 0x18], eax
jl 0x1001c5db
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], edi
push 4
pop ecx
mov edi, 0x10001a04
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
je 0x1001c430
mov dword [ebp - 0x30], 1
and dword [ebp - 0x44], 0
lea eax, [ebp - 0x44]
push eax
call sub.catsrvut.DLL_CGMIsAdministrator
test eax, eax
mov dword [ebp - 0x18], eax
jl 0x1001c5db
cmp dword [ebp - 0x44], 0
jne 0x1001c455
mov dword [ebp - 0x20], 1
push 4
mov eax, 0x1003b910
pop ecx
mov edi, 0x10001a04
mov esi, eax
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
je 0x1001c481
push 4
mov esi, eax
pop ecx
mov edi, 0x10007588
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
je 0x1001c481
mov dword [ebp - 0x34], 1
xor edx, edx
cmp dword [ebp - 0x30], edx
mov dword [ebp - 0x38], ebx
jne 0x1001c495
cmp dword [ebp - 0x20], edx
jne 0x1001c495
cmp dword [ebp - 0x34], edx
je 0x1001c4e1
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x34]
mov esi, 0x1003b910
push dword [ebp - 0x30]
push dword [ebp - 0x20]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x24]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x2c]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ebx
movsd dword es:[edi], dword [esi]
call fcn.1001bcda
test eax, eax
mov dword [ebp - 0x18], eax
jl 0x1001c5b3
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x38], eax
xor edx, edx
mov eax, dword [ebp - 0x1c]
cmp eax, edx
je 0x1001c4f1
cmp word [eax], dx
jne 0x1001c603
mov esi, dword [ebp - 0x24]
push 4
pop ecx
mov edi, 0x10001a04
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x20], edx
je 0x1001c50b
mov esi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x40]
mov eax, dword [ebx + 0x8c]
mov dword [ebp - 0x1c], edx
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push 0x10002858
push eax
call dword [ecx]
test eax, eax
mov dword [ebp - 0x18], eax
jl 0x1001c5b3
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push dword [ebp - 0x38]
push esi
push eax
call dword [ecx + 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0x18], 0
jl 0x1001c5b3
mov dword [ebp - 0x3c], 1
push dword [ebp - 0x1c]
call fcn.1002805a
push dword [ebp + 0x18]
mov ecx, ebx
push dword [ebp - 0x4c]
push dword [ebp - 0x1c]
push dword [ebp - 0x38]
call fcn.1001c029
test eax, eax
mov dword [ebp - 0x18], eax
jl 0x1001c5b3
mov esi, dword [ebp - 0x24]
push 4
pop ecx
mov edi, 0x10001a04
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
mov esi, dword [ebp - 0x24]
jne 0x1001c593
mov esi, dword [ebp - 0x2c]
push dword [ebp - 0x48]
mov eax, dword [ebx + 0x8c]
push dword [ebp - 0x50]
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x14]
push edx
movsd dword es:[edi], dword [esi]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov dword [ebp - 0x18], eax
mov esi, dword [sym.imp.ole32.dll_CoTaskMemFree]
xor edi, edi
cmp dword [ebp - 0x28], edi
je 0x1001c5ce
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 0x28]
call esi
cmp dword [ebp - 0x3c], edi
je 0x1001c5db
push dword [ebp - 0x1c]
call esi
mov dword [ebp - 0x1c], edi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x5c]
call fcn.1002c13a
mov esi, dword [ebp - 0x18]
lea ecx, [ebp - 0x5c]
call fcn.1002c18d
mov ecx, dword [ebp - 4]
mov eax, esi
call fcn.10023cf0
pop edi
pop esi
pop ebx
leave
ret 0x20
mov ebx, dword [ebp - 0x40]
jmp 0x1001c55a