Function at 0x44c6f0
Capabilities:
Query service configuration
Query service status

Disassembly:
sub esp, 0x28
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
test eax, eax
mov dword [esp + 8], eax
jne 0x44c739
push 0x5f
push str..Service.cpp
call fcn.00407350
mov ecx, eax
call fcn.0040a680
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenschManager_Error:__d_n
push 4
call fcn.0047dea0
add esp, 0xc
xor eax, eax
add esp, 0x28
ret
push ebx
push esi
mov esi, dword [esp + 0x34]
push edi
push 0xf01ff
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0xc], ebx
jne 0x44c7c1
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 0x7b
jne 0x44c793
push 0x68
push str..Service.cpp
call fcn.00407350
mov ecx, eax
call fcn.0040a680
push esi
push str._s_no_Found___n
push 4
call fcn.0047dea0
add esp, 0xc
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x28
ret
push 0x6b
push str..Service.cpp
call fcn.00407350
mov ecx, eax
call fcn.0040a680
call edi
push eax
push str.OpenService_Error:__d_n
push 4
call fcn.0047dea0
add esp, 0xc
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x28
ret
push ebp
push 0x2000
call fcn.004d02a0
add esp, 4
mov edi, eax
lea eax, [esp + 0x14]
push eax
push 0x2000
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfigA]
test eax, eax
mov esi, dword [esp + 0x40]
jne 0x44c81b
push 0x72
push str..Service.cpp
call fcn.00407350
mov ecx, eax
call fcn.0040a680
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebp
push eax
push str.QueryServiceConfig_Error:__d_n
push 4
call fcn.0047dea0
add esp, 0xc
jmp 0x44c8cb
mov ecx, dword [edi + 0x20]
mov eax, ecx
lea ebp, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x44c823
sub eax, ebp
inc eax
push eax
push ecx
lea ecx, [esi + 8]
call fcn.00406e20
mov ecx, dword [edi + 0xc]
mov eax, ecx
lea ebp, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x44c840
sub eax, ebp
inc eax
push eax
push ecx
lea ecx, [esi + 0x40]
call fcn.00406e20
mov ecx, dword [edi + 0x18]
mov eax, ecx
lea ebp, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x44c860
sub eax, ebp
inc eax
push eax
push ecx
lea ecx, [esi + 0x50]
call fcn.00406e20
mov ecx, dword [edi + 8]
mov dword [esi + 0x38], ecx
mov ecx, dword [edi + 0x10]
mov eax, ecx
lea ebp, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x44c882
sub eax, ebp
inc eax
push eax
push ecx
lea ecx, [esi + 0x48]
call fcn.00406e20
mov ecx, dword [edi + 0x1c]
mov eax, ecx
lea ebp, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x44c8a0
sub eax, ebp
inc eax
push eax
push ecx
lea ecx, [esi + 0x58]
call fcn.00406e20
mov edx, dword [edi + 4]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x34], edx
mov eax, dword [edi + 0x14]
mov dword [esi + 0x3c], eax
mov ecx, dword [edi]
mov dword [esi + 0x18], ecx
lea edx, [esp + 0x1c]
push edx
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x44c905
push 0x94
push str..Service.cpp
call fcn.00407350
mov ecx, eax
call fcn.0040a680
call ebp
push eax
push str.QueryServiceStatus_Error:__d_n
push 4
call fcn.0047dea0
add esp, 0xc
jmp 0x44c92f
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x20], ecx
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x1c], edx
mov edx, dword [esp + 0x28]
mov dword [esi + 0x28], eax
mov dword [esi + 0x30], ecx
mov dword [esi + 0x24], edx
push 0x2000
call fcn.004d02a0
mov ecx, dword [esp + 0x14]
add esp, 4
mov ebx, eax
lea eax, [esp + 0x14]
push eax
push 0x2000
push ebx
push 1
push ecx
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfig2A]
test eax, eax
jne 0x44c984
push 0xa7
push str..Service.cpp
call fcn.00407350
mov ecx, eax
call fcn.0040a680
call ebp
push eax
push str.QueryServiceConfig2_Error:__d_n
push 4
call fcn.0047dea0
add esp, 0xc
jmp 0x44c9ad
mov edx, dword [ebx]
test edx, edx
je 0x44c99e
mov eax, edx
lea ebp, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44c990
sub eax, ebp
inc eax
push eax
push edx
jmp 0x44c9a5
push 1
push 0x4fca4e
lea ecx, [esi + 0x10]
call fcn.00406e20
test edi, edi
pop ebp
je 0x44c9bb
push edi
call fcn.004d0188
add esp, 4
test ebx, ebx
je 0x44c9c8
push ebx
call fcn.004d0188
add esp, 4
mov edx, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edx
call esi
mov eax, dword [esp + 0x14]
push eax
call esi
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x28
ret