Function at 0x10033ad0
Capabilities:
Acquire debug privileges
Delete service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b8ad3
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x100dcdc0]
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.10008840
add esp, 8
mov edx, eax
cmp dword [edx + 0x14], 0xf
mov dword [ebp - 4], 0
jbe 0x10033b39
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 0x10033b53
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.10003b70
mov ecx, dword [ebp - 0x74]
mov byte [ebp - 4], 2
cmp ecx, 0xf
jbe 0x10033ba1
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10033b97
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10033ed8
push ecx
push edx
call fcn.1008c535
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 0x10033c36
lea eax, [ebp - 0xb8]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x10033c2a
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.1002ea70
add esi, 0x30
mov byte [ebp - 4], 3
push esi
push dword [ebp - 0xac]
lea eax, [ebp - 0x58]
push eax
call fcn.1002ea70
push esi
mov byte [ebp - 4], 4
mov byte [ebp - 0xa1], 0
call fcn.10034b30
add esp, 0x1c
cmp byte [ebp + 0x14], 0
je 0x10033d62
cmp dword [ebp - 0x2c], 0xf
lea eax, [ebp - 0xa0]
push 0x1ae
lea esi, [ebp - 0x40]
cmova esi, dword [ebp - 0x40]
push eax
call fcn.1002f220
add esp, 8
cmp dword [eax + 0x14], 0xf
mov byte [ebp - 4], 5
jbe 0x10033ca9
mov eax, dword [eax]
push esi
push eax
lea eax, [ebp - 0x28]
push 0x100bc070
push eax
call fcn.10035e00
mov ecx, dword [ebp - 0x8c]
add esp, 0x10
mov byte [ebp - 4], 4
cmp ecx, 0xf
jbe 0x10033cfa
mov edx, dword [ebp - 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10033cf0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10033edd
push ecx
push edx
call fcn.1008c535
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 [0x100dcd54], eax
lea eax, [ebp - 0x70]
push 0xea60
push eax
call fcn.10034f90
mov ecx, dword [ebp - 0x14]
add esp, 8
mov byte [ebp - 0xa1], al
cmp ecx, 0xf
jbe 0x10033d62
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10033d58
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10033ee2
push ecx
push edx
call fcn.1008c535
add esp, 8
lea eax, [ebp - 0x58]
push 0xea60
push eax
call fcn.10034f90
add esp, 8
cmp byte [ebp - 0xa1], 0
jne 0x10033d85
push edi
call fcn.10034b30
add esp, 4
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
je 0x10033dd7
mov eax, dword [ebp - 0xb0]
cmp dword [eax + 0x14], 7
jbe 0x10033da8
mov eax, dword [eax]
push 0x10000
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x10033dc4
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x10033dd7
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 0x10033de2
call fcn.10034360
push dword [ebp - 0xac]
call fcn.10033ef0
add esp, 4
call fcn.100348c0
mov ecx, dword [ebp - 0x44]
cmp ecx, 7
jbe 0x10033e2f
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10033e25
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10033ee7
push ecx
push edx
call fcn.1008c535
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 0x10033e79
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10033e6f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10033ee7
push ecx
push edx
call fcn.1008c535
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 0x10033ebd
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10033eb3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10033ee7
push ecx
push edx
call fcn.1008c535
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.1008c543
mov esp, ebp
pop ebp
ret
call fcn.10091a0f
call fcn.10091a0f
call fcn.10091a0f
call fcn.10091a0f
int3