Function at 0x10033a80
Capabilities:
Acquire debug privileges
Delete service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b8c33
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x100dcd80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.100087e0
add esp, 8
mov edx, eax
cmp dword [edx + 0x14], 0xf
mov dword [ebp - 4], 0
jbe 0x10033ae9
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x30], 0
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x40], xmm0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10033b03
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.10003b90
mov ecx, dword [ebp - 0x74]
mov byte [ebp - 4], 2
cmp ecx, 0xf
jbe 0x10033b51
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10033b47
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10033e88
push ecx
push edx
call fcn.1008c554
add esp, 8
lea eax, [ebp - 0xa8]
mov dword [ebp - 0x78], 0
push eax
push 0x20
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
mov dword [ebp - 0xa8], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x10033be6
lea eax, [ebp - 0xb8]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x10033bda
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xb4]
push 0
push 0
push 0x10
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
push 0
push dword [ebp - 0xa8]
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [ebp - 0xa8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edi, [esi + 0x18]
push edi
push dword [ebp - 0xac]
lea eax, [ebp - 0x70]
push eax
call fcn.1002ea00
add esi, 0x30
mov byte [ebp - 4], 3
push esi
push dword [ebp - 0xac]
lea eax, [ebp - 0x58]
push eax
call fcn.1002ea00
push esi
mov byte [ebp - 4], 4
mov byte [ebp - 0xa1], 0
call fcn.10034ae0
add esp, 0x1c
cmp byte [ebp + 0x14], 0
je 0x10033d12
cmp dword [ebp - 0x2c], 0xf
lea eax, [ebp - 0xa0]
push 0x1ae
lea esi, [ebp - 0x40]
cmova esi, dword [ebp - 0x40]
push eax
call fcn.1002f1b0
add esp, 8
cmp dword [eax + 0x14], 0xf
mov byte [ebp - 4], 5
jbe 0x10033c59
mov eax, dword [eax]
push esi
push eax
lea eax, [ebp - 0x28]
push 0x100bc060
push eax
call fcn.10035e30
mov ecx, dword [ebp - 0x8c]
add esp, 0x10
mov byte [ebp - 4], 4
cmp ecx, 0xf
jbe 0x10033caa
mov edx, dword [ebp - 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10033ca0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10033e8d
push ecx
push edx
call fcn.1008c554
add esp, 8
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
push 1
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x100dcd24], eax
lea eax, [ebp - 0x70]
push 0xea60
push eax
call fcn.10034f30
mov ecx, dword [ebp - 0x14]
add esp, 8
mov byte [ebp - 0xa1], al
cmp ecx, 0xf
jbe 0x10033d12
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10033d08
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10033e92
push ecx
push edx
call fcn.1008c554
add esp, 8
lea eax, [ebp - 0x58]
push 0xea60
push eax
call fcn.10034f30
add esp, 8
cmp byte [ebp - 0xa1], 0
jne 0x10033d35
push edi
call fcn.10034ae0
add esp, 4
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
je 0x10033d87
mov eax, dword [ebp - 0xb0]
cmp dword [eax + 0x14], 7
jbe 0x10033d58
mov eax, dword [eax]
push 0x10000
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x10033d74
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x10033d87
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
cmp byte [ebp + 0x18], 0
je 0x10033d92
call fcn.10034310
push dword [ebp - 0xac]
call fcn.10033ea0
add esp, 4
call fcn.10034870
mov ecx, dword [ebp - 0x44]
cmp ecx, 7
jbe 0x10033ddf
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10033dd5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10033e97
push ecx
push edx
call fcn.1008c554
add esp, 8
mov ecx, dword [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp ecx, 7
jbe 0x10033e29
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10033e1f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10033e97
push ecx
push edx
call fcn.1008c554
add esp, 8
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
cmp ecx, 0xf
jbe 0x10033e6d
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10033e63
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10033e97
push ecx
push edx
call fcn.1008c554
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008c562
mov esp, ebp
pop ebp
ret
call fcn.10091b9f
call fcn.10091b9f
call fcn.10091b9f
call fcn.10091b9f
int3