Function at 0x10033930
Capabilities:
Acquire debug privileges
Delete service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b8963
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x100dcbc0]
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 0x10033999
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 0x100339b3
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 0x10033a01
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100339f7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10033d38
push ecx
push edx
call fcn.1008c3c5
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 0x10033a96
lea eax, [ebp - 0xb8]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x10033a8a
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.1002ea60
add esi, 0x30
mov byte [ebp - 4], 3
push esi
push dword [ebp - 0xac]
lea eax, [ebp - 0x58]
push eax
call fcn.1002ea60
push esi
mov byte [ebp - 4], 4
mov byte [ebp - 0xa1], 0
call fcn.10034990
add esp, 0x1c
cmp byte [ebp + 0x14], 0
je 0x10033bc2
cmp dword [ebp - 0x2c], 0xf
lea eax, [ebp - 0xa0]
push 0x1a9
lea esi, [ebp - 0x40]
cmova esi, dword [ebp - 0x40]
push eax
call fcn.1002f210
add esp, 8
cmp dword [eax + 0x14], 0xf
mov byte [ebp - 4], 5
jbe 0x10033b09
mov eax, dword [eax]
push esi
push eax
lea eax, [ebp - 0x28]
push 0x100bc070
push eax
call fcn.10035c60
mov ecx, dword [ebp - 0x8c]
add esp, 0x10
mov byte [ebp - 4], 4
cmp ecx, 0xf
jbe 0x10033b5a
mov edx, dword [ebp - 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10033b50
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10033d3d
push ecx
push edx
call fcn.1008c3c5
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 [0x100dcb68], eax
lea eax, [ebp - 0x70]
push 0xea60
push eax
call fcn.10034df0
mov ecx, dword [ebp - 0x14]
add esp, 8
mov byte [ebp - 0xa1], al
cmp ecx, 0xf
jbe 0x10033bc2
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10033bb8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10033d42
push ecx
push edx
call fcn.1008c3c5
add esp, 8
lea eax, [ebp - 0x58]
push 0xea60
push eax
call fcn.10034df0
add esp, 8
cmp byte [ebp - 0xa1], 0
jne 0x10033be5
push edi
call fcn.10034990
add esp, 4
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
je 0x10033c37
mov eax, dword [ebp - 0xb0]
cmp dword [eax + 0x14], 7
jbe 0x10033c08
mov eax, dword [eax]
push 0x10000
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x10033c24
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x10033c37
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 0x10033c42
call fcn.100341c0
push dword [ebp - 0xac]
call fcn.10033d50
add esp, 4
call fcn.10034720
mov ecx, dword [ebp - 0x44]
cmp ecx, 7
jbe 0x10033c8f
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10033c85
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10033d47
push ecx
push edx
call fcn.1008c3c5
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 0x10033cd9
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10033ccf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10033d47
push ecx
push edx
call fcn.1008c3c5
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 0x10033d1d
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10033d13
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10033d47
push ecx
push edx
call fcn.1008c3c5
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.1008c3d3
mov esp, ebp
pop ebp
ret
call fcn.1009189f
call fcn.1009189f
call fcn.1009189f
call fcn.1009189f
int3