Function at 0x4e9190
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x656830
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [ebp + 8]
push esi
lea ecx, [ebp - 0x1c]
call fcn.0040bdf0
mov dword [ebp - 4], 0
mov eax, dword [eax]
push eax
call fcn.005ba710
add esp, 4
test al, al
mov eax, 0x675f50
jne 0x4e91d6
mov eax, esi
push eax
lea ecx, [ebp - 0x10]
call fcn.0040bea0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e9202
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [str.SCAuxiliaryService]
push 0x7530
push 0
push ecx
push edx
call fcn.004e7be0
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 0x10
push 0x12c
call ebx
mov eax, dword [ebp - 0x10]
mov ecx, dword [str.SCAuxiliaryService]
push eax
push ecx
call fcn.004e77f0
add esp, 8
cmp dword [ebp + 0x10], 0
je 0x4e94a5
mov edx, dword [0x700724]
mov eax, dword [edx + 0xc]
mov ecx, 0x700724
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
push ecx
lea edx, [ebp - 0x18]
push str._sADMIN_
push edx
call fcn.00405ab0
mov eax, dword [0x700724]
mov edx, dword [eax + 0xc]
add esp, 0xc
mov ecx, 0x700724
call edx
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 7
mov eax, dword [0x700724]
mov edx, dword [eax + 0xc]
mov ecx, 0x700724
call edx
add eax, 0x10
mov dword [ebp + 0x10], eax
mov byte [ebp - 4], 9
mov eax, dword [str.AuxiliarySvc.exe]
mov esi, dword [ebp - 0x18]
push eax
push esi
lea ecx, [ebp - 0x14]
push str._s_s
push ecx
call fcn.00405ab0
mov edx, dword [str.SCAuxiliaryServiceCfg.dat]
push edx
push esi
lea eax, [ebp + 0x10]
push str._s_s
push eax
call fcn.00405ab0
add esp, 0x20
xor esi, esi
push edi
jmp 0x4e92e0
mov ecx, dword [ebp - 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ecx
call edi
test eax, eax
je 0x4e92fa
mov edx, dword [ebp + 0x10]
push edx
call edi
test eax, eax
jne 0x4e9312
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x4e9312
push 0x320
call ebx
inc esi
cmp esi, 0xa
jl 0x4e92e0
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x1c], 0
lea esp, [esp]
mov eax, dword [ebp - 0x10]
push ebx
push eax
lea ecx, [ebp - 0x20]
push str._sADMIN__s
push ecx
call fcn.0040df60
add esp, 0x10
mov byte [ebp - 4], 0xa
mov esi, dword [eax]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi - 4], 0
lea edx, [esi - 4]
jl 0x4e9362
cmp eax, dword [esi - 0x10]
jne 0x4e9362
lea edi, [esi - 0x10]
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x4e939a
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x4e9416
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.0060fbd3
add esp, 0x10
lea esi, [edi + 0x10]
mov dword [ebp - 0x24], esi
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e93c3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4e941b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x4e941b
push 0x320
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [ebp - 4], 9
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e9404
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp eax, 0xa
jl 0x4e9320
jmp 0x4e943b
call fcn.00404070
mov byte [ebp - 4], 9
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e943b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 7
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
pop edi
test edx, edx
jg 0x4e945f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e9482
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e94a5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
pop esi
pop ebx
test edx, edx
jg 0x4e94cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret