Function at 0x421280
Capabilities:
Delete service
Encode data using xor
Stop service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x793b98
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x831184]
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 + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x14], edi
cmp dword [eax + 0x14], 8
jb 0x4212bb
mov eax, dword [eax]
push 0xf003f
push eax
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
test esi, esi
jne 0x4213ab
mov eax, 0x12
mov dword [ebp - 0x58], 0xda00e6
mov dword [ebp - 0x5c], eax
xor ecx, ecx
mov dword [ebp - 0x54], 0xc200ce
mov dword [ebp - 0x50], 0xcb00fe
mov dword [ebp - 0x4c], 0xc600dd
mov dword [ebp - 0x48], 0xd100d8
mov dword [ebp - 0x44], 0x9400d6
mov dword [ebp - 0x40], 0xd700d3
mov dword [ebp - 0x3c], 0xd400de
mov dword [ebp - 0x38], 0xde00dc
mov dword [ebp - 0x34], 0xbb
nop dword [eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x58], ax
inc ecx
mov eax, dword [ebp - 0x5c]
cmp ecx, eax
jb 0x421330
xor ecx, ecx
mov dword [ebp - 0x68], 7
mov word [ebp + eax*2 - 0x58], cx
xor eax, eax
mov dword [ebp - 0x6c], ecx
lea ecx, [ebp - 0x58]
mov word [ebp - 0x7c], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x421360
sub ecx, edx
lea eax, [ebp - 0x58]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x7c]
call fcn.004044f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 1
push eax
mov ecx, edi
call fcn.00404120
mov ecx, dword [ebp - 0x64]
mov dword [edi + 0x18], ecx
lea ecx, [ebp - 0x7c]
mov byte [edi + 0x1c], 1
call fcn.00404490
jmp 0x4214a6
lea eax, [ebp - 0x30]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x421498
mov dword [ebp - 0x60], 0x15
xor ecx, ecx
mov dword [ebp - 0x5c], 0xcf00ed
mov dword [ebp - 0x58], 0xc900c7
mov dword [ebp - 0x54], 0xcb00d9
mov dword [ebp - 0x50], 0xc3008f
mov dword [ebp - 0x4c], 0xc000d4
mov dword [ebp - 0x48], 0xdd00c5
mov dword [ebp - 0x44], 0xd300d6
mov dword [ebp - 0x40], 0xde0097
mov dword [ebp - 0x3c], 0xd300d8
mov dword [ebp - 0x38], 0xd900d7
mov dword [ebp - 0x34], 0xbe00d9
nop dword [eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x5c], ax
inc ecx
mov eax, dword [ebp - 0x60]
cmp ecx, eax
jb 0x421420
xor ecx, ecx
mov dword [ebp - 0x68], 7
mov word [ebp + eax*2 - 0x5c], cx
xor eax, eax
mov dword [ebp - 0x6c], ecx
lea ecx, [ebp - 0x5c]
mov word [ebp - 0x7c], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x421450
sub ecx, edx
lea eax, [ebp - 0x5c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x7c]
call fcn.004044f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 2
push eax
mov ecx, edi
call fcn.00404120
mov eax, dword [ebp - 0x64]
lea ecx, [ebp - 0x7c]
mov dword [edi + 0x18], eax
mov byte [edi + 0x1c], 1
call fcn.00404490
jmp 0x42149f
mov byte [edi], 1
mov byte [edi + 0x1c], 0
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, edi
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.0076eb7e
mov esp, ebp
pop ebp
ret 8