Function at 0x44e2b0
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 0x44e2f9
push 0x5f
push str..Service.cpp
call fcn.00407270
mov ecx, eax
call fcn.0040a520
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenschManager_Error:__d_n
push 4
call fcn.0047fc80
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 0x44e381
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 0x7b
jne 0x44e353
push 0x68
push str..Service.cpp
call fcn.00407270
mov ecx, eax
call fcn.0040a520
push esi
push str._s_no_Found___n
push 4
call fcn.0047fc80
add esp, 0xc
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x28
ret
push 0x6b
push str..Service.cpp
call fcn.00407270
mov ecx, eax
call fcn.0040a520
call edi
push eax
push str.OpenService_Error:__d_n
push 4
call fcn.0047fc80
add esp, 0xc
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x28
ret
push ebp
push 0x2000
call fcn.004d61e0
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 0x44e3db
push 0x72
push str..Service.cpp
call fcn.00407270
mov ecx, eax
call fcn.0040a520
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebp
push eax
push str.QueryServiceConfig_Error:__d_n
push 4
call fcn.0047fc80
add esp, 0xc
jmp 0x44e48b
mov ecx, dword [edi + 0x20]
mov eax, ecx
lea ebp, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x44e3e3
sub eax, ebp
inc eax
push eax
push ecx
lea ecx, [esi + 8]
call fcn.00406d50
mov ecx, dword [edi + 0xc]
mov eax, ecx
lea ebp, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x44e400
sub eax, ebp
inc eax
push eax
push ecx
lea ecx, [esi + 0x40]
call fcn.00406d50
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 0x44e420
sub eax, ebp
inc eax
push eax
push ecx
lea ecx, [esi + 0x50]
call fcn.00406d50
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 0x44e442
sub eax, ebp
inc eax
push eax
push ecx
lea ecx, [esi + 0x48]
call fcn.00406d50
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 0x44e460
sub eax, ebp
inc eax
push eax
push ecx
lea ecx, [esi + 0x58]
call fcn.00406d50
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 0x44e4c5
push 0x94
push str..Service.cpp
call fcn.00407270
mov ecx, eax
call fcn.0040a520
call ebp
push eax
push str.QueryServiceStatus_Error:__d_n
push 4
call fcn.0047fc80
add esp, 0xc
jmp 0x44e4ef
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.004d61e0
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 0x44e544
push 0xa7
push str..Service.cpp
call fcn.00407270
mov ecx, eax
call fcn.0040a520
call ebp
push eax
push str.QueryServiceConfig2_Error:__d_n
push 4
call fcn.0047fc80
add esp, 0xc
jmp 0x44e56d
mov edx, dword [ebx]
test edx, edx
je 0x44e55e
mov eax, edx
lea ebp, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44e550
sub eax, ebp
inc eax
push eax
push edx
jmp 0x44e565
push 1
push 0x502a56
lea ecx, [esi + 0x10]
call fcn.00406d50
test edi, edi
pop ebp
je 0x44e57b
push edi
call fcn.004d60c8
add esp, 4
test ebx, ebx
je 0x44e588
push ebx
call fcn.004d60c8
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