Function at 0x421690
Capabilities:
Check for time delay via gettickcount
Create service
Modify service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446220
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x459020]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov dword [ebp - 4], 0
xor edx, edx
mov esi, dword [ecx + 4]
mov eax, dword [ecx]
sub esi, eax
sar esi, 3
test esi, esi
je 0x421799
mov ecx, dword [eax]
cmp dword [ecx + 0x5c], 0x40
je 0x421707
inc edx
add eax, 8
cmp edx, esi
jb 0x4216f2
jmp 0x421799
mov esi, dword [ecx]
mov eax, 0x2aaaaaab
mov ecx, dword [ecx + 4]
sub ecx, esi
imul ecx
lea ecx, [ebp - 0x84]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x42172f
push esi
call fcn.00401430
jmp 0x421753
push 0
push 0x45306c
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0xf
call fcn.004018a0
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x58]
call fcn.00409c90
mov edx, dword [ebp - 0x70]
cmp edx, 0x10
jb 0x421799
mov ecx, dword [ebp - 0x84]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42178f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421a9a
push edx
push ecx
call fcn.00423b44
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x4217bb
xor bl, bl
jmp 0x421a42
mov edx, 9
lea ecx, [ebp - 0x84]
call fcn.00411db0
cmp dword [eax + 0x14], 0x10
jb 0x4217d3
mov eax, dword [eax]
push 0x24
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov edx, dword [ebp - 0x70]
mov esi, eax
cmp edx, 0x10
jb 0x421816
mov ecx, dword [ebp - 0x84]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42180c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421a90
push edx
push ecx
call fcn.00423b44
add esp, 8
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0xf
mov byte [ebp - 0x84], 0
test esi, esi
je 0x421842
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
mov bl, 1
jmp 0x421a42
push 1
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x40]
push 0x453574
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.004018a0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x40]
call fcn.00409c20
push str.___service
lea ecx, [ebp - 0x40]
call fcn.004023f0
cmp dword [ebp - 0x2c], 0x10
lea ebx, [ebp - 0x40]
mov edx, 9
lea ecx, [ebp - 0xa0]
cmovae ebx, dword [ebp - 0x40]
call fcn.00411db0
mov esi, eax
mov byte [ebp - 4], 2
cmp dword [esi + 0x14], 0x10
jb 0x4218b0
mov esi, dword [esi]
mov edx, 9
lea ecx, [ebp - 0x84]
call fcn.00411db0
cmp dword [eax + 0x14], 0x10
jb 0x4218c8
mov eax, dword [eax]
push 0
push 0
push 0
push 0
push 0
push ebx
push 1
push 2
push 0x10
push 0xf01ff
push esi
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov edx, dword [ebp - 0x70]
mov esi, eax
cmp edx, 0x10
jb 0x421920
mov ecx, dword [ebp - 0x84]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x421916
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421a95
push edx
push ecx
call fcn.00423b44
add esp, 8
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0xf
mov byte [ebp - 0x84], 0
cmp edx, 0x10
jb 0x42196f
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x421965
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421a95
push edx
push ecx
call fcn.00423b44
add esp, 8
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
test esi, esi
jne 0x421999
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor bl, bl
jmp 0x421a00
lea eax, [ebp - 0x28]
mov dword [ebp - 0x6c], 1
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x6c]
push eax
push 2
push esi
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x60], 3
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x24], 0xea60
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], 0xea60
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], 0xea60
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
mov bl, 1
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x421a30
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x421a26
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421a9a
push edx
push ecx
call fcn.00423b44
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x421a72
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x421a68
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421a9a
push edx
push ecx
call fcn.00423b44
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00423b13
mov esp, ebp
pop ebp
ret
call fcn.0042823f
call fcn.0042823f
call fcn.0042823f
int3