Function at 0x42abd1
Capabilities:
Create service
Modify service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55348b
mov eax, dword fs:[0]
push eax
sub esp, 0x45c
mov eax, dword [0x589780]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x458], ecx
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0x18]
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x454], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x45c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x468], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x460], eax
xor eax, eax
movups xmmword [ebp - 0x440], xmm0
mov dword [ebp - 0x450], edi
mov dword [ebp - 0x464], esi
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 7
mov word [ebp - 0x440], ax
mov dword [ebp - 4], eax
test edx, edx
je 0x42ab74
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42aa60
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x440]
call fcn.0040128a
mov esi, dword [ebp - 0x42c]
lea eax, [ebp - 0x440]
mov edi, dword [ebp - 0x440]
cmp esi, 7
mov edx, dword [ebp - 0x430]
cmova eax, edi
lea ecx, [eax + edx*2]
lea eax, [ebp - 0x440]
cmova eax, edi
cmp eax, ecx
je 0x42aad4
nop word [eax + eax]
cmp word [eax], 0x2f
jne 0x42aabb
xor edx, edx
mov word [eax], dx
add eax, 2
cmp eax, ecx
jne 0x42aab0
mov esi, dword [ebp - 0x42c]
mov edx, dword [ebp - 0x430]
mov edi, dword [ebp - 0x440]
cmp edx, esi
jae 0x42aaf4
lea eax, [edx + 1]
cmp esi, 7
mov dword [ebp - 0x430], eax
lea eax, [ebp - 0x440]
cmova eax, edi
xor ecx, ecx
mov dword [eax + edx*2], ecx
jmp 0x42ab09
push 0
push dword [ebp - 0x448]
lea ecx, [ebp - 0x440]
push 1
call fcn.0040b8d4
mov ecx, dword [ebp - 0x430]
mov edx, dword [ebp - 0x42c]
cmp ecx, edx
jae 0x42ab39
lea eax, [ecx + 1]
cmp edx, 7
mov dword [ebp - 0x430], eax
lea eax, [ebp - 0x440]
cmova eax, dword [ebp - 0x440]
xor edx, edx
mov dword [eax + ecx*2], edx
jmp 0x42ab4e
push 0
push dword [ebp - 0x448]
lea ecx, [ebp - 0x440]
push 1
call fcn.0040b8d4
cmp dword [ebp - 0x42c], 7
lea eax, [ebp - 0x440]
mov esi, dword [ebp - 0x464]
cmova eax, dword [ebp - 0x440]
mov edi, dword [ebp - 0x450]
mov dword [ebp - 0x44c], eax
mov ecx, esi
mov dword [ebp - 0x418], 0
xorps xmm0, xmm0
mov dword [ebp - 0x414], 0
movups xmmword [ebp - 0x428], xmm0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42ab97
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x428]
call fcn.00401677
lea eax, [edi - 0x10]
mov byte [ebp - 4], 1
cmp eax, 0x50
ja case.0x42abca.17
movzx eax, byte [eax + 0x42afc0]
jmp dword [eax*4 + 0x42afb8]
mov edi, dword [ebp - 0x414]
lea esi, [ebp - 0x428]
mov eax, dword [ebp - 0x418]
cmp edi, 7
cmova esi, dword [ebp - 0x428]
test eax, eax
je 0x42ac26
xor edx, edx
mov ecx, esi
test eax, eax
je 0x42ac11
cmp word [esi], 0x22
je 0x42ac0f
nop
cmp eax, 1
je 0x42ac11
add ecx, 2
dec eax
cmp word [ecx], 0x22
jne 0x42ac00
mov edx, ecx
test edx, edx
je 0x42ac20
sub edx, esi
cmp edx, 2
jb 0x42ace0
mov eax, dword [ebp - 0x418]
cmp edi, 7
lea esi, [ebp - 0x428]
cmova esi, dword [ebp - 0x428]
test eax, eax
je 0x42ace0
xor edx, edx
mov ecx, esi
test eax, eax
je 0x42ac61
cmp word [esi], 0x20
je 0x42ac5f
nop dword [eax]
cmp eax, 1
je 0x42ac61
add ecx, 2
dec eax
cmp word [ecx], 0x20
jne 0x42ac50
mov edx, ecx
test edx, edx
je 0x42ace0
sub edx, esi
sar edx, 1
cmp edx, 0xffffffff
je 0x42ace0
mov ecx, dword [ebp - 0x418]
mov eax, edi
sub eax, ecx
cmp eax, 1
jb 0x42acb6
lea eax, [ecx + 1]
cmp edi, 7
lea esi, [ebp - 0x428]
mov dword [ebp - 0x418], eax
cmova esi, dword [ebp - 0x428]
add eax, eax
push eax
push esi
lea ecx, [esi + 2]
push ecx
call fcn.0040a2a9
mov eax, 0x22
add esp, 0xc
mov word [esi], ax
lea eax, [ebp - 0x428]
jmp 0x42accf
push 0x22
push 1
push 0
push dword [ebp - 0x448]
lea ecx, [ebp - 0x428]
push 1
call fcn.004038af
push 0x22
push 1
mov ecx, eax
call fcn.00404dfe
mov edi, dword [ebp - 0x414]
push 0
push 0
push dword [ebp - 0x44c]
cmp edi, 7
lea eax, [ebp - 0x428]
push 0
push dword [ebp - 0x460]
cmova eax, dword [ebp - 0x428]
push eax
mov eax, dword [ebp - 0x458]
push 1
push dword [ebp - 0x468]
push dword [ebp - 0x450]
push 0xf01ff
push dword [ebp - 0x45c]
push dword [ebp - 0x454]
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov dword [ebp - 0x448], eax
test eax, eax
jne 0x42aee3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push edi
push esi
push eax
push 0x67
push str.C:projectsentryprotect_submodules_build_environmentinclude_sentrybay_servicemanager.h
lea eax, [ebp - 0x410]
push str._s__d_:___u__u__error_u__SB__n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x410]
push eax
call fcn.0040946c
add esp, 0x20
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x431
je 0x42ade0
call esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push edi
push esi
push eax
push 0x6b
push str.C:projectsentryprotect_submodules_build_environmentinclude_sentrybay_servicemanager.h
lea eax, [ebp - 0x410]
push str._s__d_:___u__u__error_u__SB__n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x410]
push eax
call fcn.0040946c
add esp, 0x20
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x431
jne 0x42ae51
mov eax, dword [ebp - 0x458]
push 0xf01ff
push dword [ebp - 0x454]
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x448], eax
test eax, eax
jne 0x42ae5d
call esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push edi
push esi
push eax
push 0x70
push str.C:projectsentryprotect_submodules_build_environmentinclude_sentrybay_servicemanager.h
lea eax, [ebp - 0x410]
push str._s__d_:___u__u__error_u__SB__n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x410]
push eax
call fcn.0040946c
add esp, 0x20
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [ebp - 0x441], 0
jmp 0x42aeea
push dword [ebp - 0x45c]
push 0
push 0
push dword [ebp - 0x44c]
push 0
push dword [ebp - 0x460]
push dword [ebp - 0x464]
push 1
push dword [ebp - 0x468]
push dword [ebp - 0x450]
push eax
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test eax, eax
setne byte [ebp - 0x441]
test eax, eax
jne 0x42aeea
call esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push edi
push esi
push eax
push 0x75
push str.C:projectsentryprotect_submodules_build_environmentinclude_sentrybay_servicemanager.h
lea eax, [ebp - 0x410]
push str._s__d_:___u__u__error_u__SB__n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x410]
push eax
call fcn.0040946c
add esp, 0x20
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x42aeea
mov byte [ebp - 0x441], 1
lea ecx, [ebp - 0x448]
call fcn.0040a66e
mov ecx, dword [ebp - 0x414]
cmp ecx, 7
jbe 0x42af35
mov edx, dword [ebp - 0x428]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42af2b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42afb1
push ecx
push edx
call fcn.0040246e
add esp, 8
mov ecx, dword [ebp - 0x42c]
xor eax, eax
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 7
mov word [ebp - 0x428], ax
cmp ecx, 7
jbe 0x42af8e
mov edx, dword [ebp - 0x440]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42af84
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42afb1
push ecx
push edx
call fcn.0040246e
add esp, 8
mov al, byte [ebp - 0x441]
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.0040512d
mov esp, ebp
pop ebp
ret 0x1c
call fcn.00408139
nop
shr dword [ebx - 0x5325ffbe], 1
inc edx
add byte [eax], al
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [eax], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [eax], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [eax], eax
int3