Function at 0x473230
Capabilities:
Query service status
Start service
Stop service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a15d8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x608554]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
push ecx
push str.OperateService::ControlPrintBuddyService
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x68], esi
call fcn.0040a480
mov dword [ebp - 4], 0
mov edx, dword [0x608f30]
cmp edx, 0x608f30
je 0x4732fc
test byte [edx + 0x1c], 1
je 0x4732bb
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov ecx, 0x45
cmovae eax, dword [0x608f54]
push eax
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x5cf518
call fcn.00401840
mov edx, dword [0x608f30]
add esp, 0xc
cmp edx, 0x608f30
je 0x4732fc
test byte [edx + 0x1c], 1
je 0x4732fc
movzx eax, word [esi]
mov ecx, 0x608f54
cmp dword [0x608f68], 8
push eax
push dword [ebp + 8]
cmovae ecx, dword [0x608f54]
push ecx
push dword [edx + 0x14]
mov ecx, 0x46
push dword [edx + 0x10]
mov edx, 0x5cf518
call fcn.00437f70
add esp, 0x14
push 0x20000000
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
push 0
push 0
movups xmmword [ebp - 0x2c], xmm0
movq qword [ebp - 0x1c], xmm0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x6c], eax
test eax, eax
jne 0x473427
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov edx, dword [0x608f30]
cmp edx, 0x608f30
je 0x473388
test byte [edx + 0x1c], 2
je 0x473388
cmp dword [0x608f68], 8
lea ecx, [ebp - 0x64]
mov esi, 0x608f54
cmovae esi, dword [0x608f54]
call fcn.0040a830
push eax
mov eax, dword [0x608f30]
mov edx, 0x5cf518
push esi
mov ecx, 0x47
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00405920
mov edx, dword [0x608f30]
add esp, 0x10
mov esi, dword [ebp - 0x68]
mov byte [ebp - 0x60], 1
cmp edi, 0x78
jne 0x4733d8
xor eax, eax
mov word [esi], ax
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x4737df
test byte [ecx + 0x1c], 1
je 0x4737df
cmp dword [0x608f68], 8
mov eax, 0x608f54
push 1
cmovae eax, dword [0x608f54]
push 0
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
lea ecx, [edi - 0x30]
jmp 0x4737d2
cmp edx, 0x608f30
je 0x473778
test byte [edx + 0x1c], 1
je 0x473778
cmp dword [0x608f68], 8
mov ecx, 0x608f54
movzx eax, word [esi]
cmovae ecx, dword [0x608f54]
push 0
push eax
push ecx
push dword [edx + 0x14]
mov ecx, 0x49
push dword [edx + 0x10]
mov edx, 0x5cf518
call fcn.00437f70
add esp, 0x14
xor esi, esi
jmp 0x4737e4
push 0xf01ff
push str.NBAgntNT
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x4734dc
mov eax, dword [0x608f30]
cmp eax, 0x608f30
je 0x47348f
test byte [eax + 0x1c], 2
je 0x47348f
cmp dword [0x608f68], 8
lea ecx, [ebp - 0x64]
mov esi, 0x608f54
cmovae esi, dword [0x608f54]
call fcn.0040a830
push eax
mov eax, dword [0x608f30]
lea ecx, [edi + 0x4a]
push esi
mov edx, 0x5cf518
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00405920
mov esi, dword [ebp - 0x68]
add esp, 0x10
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov byte [ebp - 0x60], 1
mov edx, dword [0x608f30]
cmp edx, 0x608f30
je 0x4737df
test byte [edx + 0x1c], 1
je 0x4737df
cmp dword [0x608f68], 8
mov ecx, 0x608f54
movzx eax, word [esi]
cmovae ecx, dword [0x608f54]
push 1
push eax
push ecx
mov ecx, 0x4b
jmp 0x4737cc
cmp dword [ebp + 8], 0
je 0x4735af
push 0
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x473784
mov eax, dword [0x608f30]
cmp eax, 0x608f30
je 0x473545
test byte [eax + 0x1c], 2
je 0x473545
cmp dword [0x608f68], 8
lea ecx, [ebp - 0x64]
mov esi, 0x608f54
cmovae esi, dword [0x608f54]
call fcn.0040a830
push eax
mov eax, dword [0x608f30]
mov edx, 0x5cf518
push esi
mov ecx, 0x4c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00405920
add esp, 0x10
push dword [ebp - 0x6c]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
mov byte [ebp - 0x60], 1
mov edx, dword [0x608f30]
cmp edx, 0x608f30
je 0x473778
test byte [edx + 0x1c], 1
je 0x473778
mov eax, dword [ebp - 0x68]
mov ecx, 0x608f54
cmp dword [0x608f68], 8
push 0
cmovae ecx, dword [0x608f54]
movzx eax, word [eax]
push eax
push ecx
push dword [edx + 0x14]
mov ecx, 0x4d
push dword [edx + 0x10]
mov edx, 0x5cf518
call fcn.00437f70
add esp, 0x14
xor esi, esi
jmp 0x4737e4
lea eax, [ebp - 0x2c]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x473678
mov eax, dword [0x608f30]
cmp eax, 0x608f30
je 0x47360e
test byte [eax + 0x1c], 2
je 0x47360e
cmp dword [0x608f68], 8
lea ecx, [ebp - 0x64]
mov esi, 0x608f54
cmovae esi, dword [0x608f54]
call fcn.0040a830
push eax
mov eax, dword [0x608f30]
mov edx, 0x5cf518
push esi
mov ecx, 0x4e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00405920
add esp, 0x10
push dword [ebp - 0x6c]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
mov byte [ebp - 0x60], 1
mov edx, dword [0x608f30]
cmp edx, 0x608f30
je 0x473778
test byte [edx + 0x1c], 1
je 0x473778
mov eax, dword [ebp - 0x68]
mov ecx, 0x608f54
cmp dword [0x608f68], 8
push 0
cmovae ecx, dword [0x608f54]
movzx eax, word [eax]
push eax
push ecx
push dword [edx + 0x14]
mov ecx, 0x4f
push dword [edx + 0x10]
mov edx, 0x5cf518
call fcn.00437f70
add esp, 0x14
xor esi, esi
jmp 0x4737e4
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x4736b1
test byte [ecx + 0x1c], 4
je 0x4736b1
cmp dword [0x608f68], 8
mov eax, 0x608f54
push dword [ebp - 0x28]
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.00470ac0
add esp, 0x10
cmp dword [ebp - 0x28], 1
je 0x473784
lea eax, [ebp - 0x2c]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
cmp eax, 1
je 0x47377c
mov eax, dword [0x608f30]
cmp eax, 0x608f30
je 0x47371d
test byte [eax + 0x1c], 2
je 0x47371d
cmp dword [0x608f68], 8
lea ecx, [ebp - 0x64]
mov esi, 0x608f54
cmovae esi, dword [0x608f54]
call fcn.0040a830
push eax
mov eax, dword [0x608f30]
mov edx, 0x5cf518
push esi
mov ecx, 0x51
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00405920
add esp, 0x10
push dword [ebp - 0x6c]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
mov byte [ebp - 0x60], 1
mov edx, dword [0x608f30]
cmp edx, 0x608f30
je 0x473778
test byte [edx + 0x1c], 1
je 0x473778
mov eax, dword [ebp - 0x68]
mov ecx, 0x608f54
cmp dword [0x608f68], 8
push 0
cmovae ecx, dword [0x608f54]
movzx eax, word [eax]
push eax
push ecx
push dword [edx + 0x14]
mov ecx, 0x52
push dword [edx + 0x10]
mov edx, 0x5cf518
call fcn.00437f70
add esp, 0x14
xor esi, esi
jmp 0x4737e4
mov eax, 1
mov word [esi], ax
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call esi
push dword [ebp - 0x6c]
call esi
mov byte [ebp - 0x60], 1
mov edx, dword [0x608f30]
cmp edx, 0x608f30
je 0x4737df
test byte [edx + 0x1c], 1
je 0x4737df
mov eax, dword [ebp - 0x68]
mov ecx, 0x608f54
cmp dword [0x608f68], 8
push 1
cmovae ecx, dword [0x608f54]
movzx eax, word [eax]
push eax
push ecx
mov ecx, 0x53
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x5cf518
call fcn.00437f70
add esp, 0x14
mov esi, 1
lea ecx, [ebp - 0x64]
call fcn.0040a570
mov eax, esi
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.0056d977
mov esp, ebp
pop ebp
ret 8