Function at 0x4302c0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a8380
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push esi
push edi
push ecx
lea edi, [ebp - 0x4c]
mov ecx, 0x10
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x4cd290]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
push str.Begin_Remove_Services_Of_Cube
mov esi, 0x4d1508
call fcn.00481e10
add esp, 4
mov esi, esp
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
cmp esi, esp
call fcn.004a574e
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x430347
push str.Open_SCM_Failed
mov esi, 0x4d1508
call fcn.00481e10
add esp, 4
xor eax, eax
jmp 0x430523
push str.TAOFrame
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.004306f0
push str.TAOKernelDriver
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.004306f0
lea ecx, [ebp - 0x1c]
call fcn.0040f1d0
mov dword [ebp - 4], 0
push str.systemroot
lea ecx, [ebp - 0x1c]
call fcn.00430a60
push str._system32_drivers_
lea ecx, [ebp - 0x1c]
call fcn.0041f410
push str.TAOKernelXP.sys
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x28]
push eax
call fcn.0041f9b0
add esp, 0xc
mov byte [ebp - 4], 1
push str.TAOKernel.sys
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x34]
push edx
call fcn.0041f9b0
add esp, 0xc
mov byte [ebp - 4], 2
push str.TAOKernel64.sys
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x40]
push ecx
call fcn.0041f9b0
add esp, 0xc
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
call fcn.00430970
test eax, eax
je 0x4303f8
mov edx, dword [ebp - 0x10]
add edx, 0x14
push edx
mov ecx, dword [ebp - 0x10]
call fcn.00430890
lea ecx, [ebp - 0x28]
call fcn.00430af0
mov esi, esp
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp esi, esp
call fcn.004a574e
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
push eax
lea ecx, [ebp - 0x28]
call fcn.00430af0
push eax
push 0x4ba9ec
mov esi, 0x4d1508
call fcn.00481e10
add esp, 0xc
lea ecx, [ebp - 0x34]
call fcn.00430af0
mov esi, esp
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp esi, esp
call fcn.004a574e
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x34]
call fcn.00430af0
push eax
push 0x4baa20
mov esi, 0x4d1508
call fcn.00481e10
add esp, 0xc
lea ecx, [ebp - 0x40]
call fcn.00430af0
mov esi, esp
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp esi, esp
call fcn.004a574e
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x48]
push edx
lea ecx, [ebp - 0x40]
call fcn.00430af0
push eax
push str.delete_file__s_result:_d
mov esi, 0x4d1508
call fcn.00481e10
add esp, 0xc
mov ecx, dword [ebp - 0x10]
call fcn.00430970
test eax, eax
je 0x4304c1
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x14]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.00430900
mov esi, esp
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp esi, esp
call fcn.004a574e
push str.End_Remove_Services_Of_Cube
mov esi, 0x4d1508
call fcn.00481e10
add esp, 4
mov dword [ebp - 0x4c], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.0040f420
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.0040f420
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0040f420
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0040f420
mov eax, dword [ebp - 0x4c]
push edx
mov ecx, ebp
push eax
lea edx, [0x430550]
call fcn.004a5771
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x4c
cmp ebp, esp
call fcn.004a574e
mov esp, ebp
pop ebp
ret