Function at 0x418df0
Capabilities:
Query service status
Start service

Disassembly:
push 0xffffffffffffffff
push 0x4232a6
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x43893c]
xor eax, esp
mov dword [esp + 0x5c], eax
push ebx
push esi
push edi
mov eax, dword [0x43893c]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, dword [esp + 0x80]
mov dword [esp + 0x78], 0
cmp esi, 3
ja 0x418e71
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
je 0x418e71
push 0xf003f
lea ecx, [esp + 0x88]
call dword [sym.imp.Qt5Core.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x418eaa
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor bl, bl
lea ecx, [esp + 0x84]
mov dword [esp + 0x78], 0xffffffff
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov al, bl
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.0041ef94
add esp, 0x6c
ret 8
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0
push eax
push 0x24
lea eax, [esp + 0x50]
push eax
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x418f2b
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0
lea ecx, [esp + 0x3c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const__]
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug___thiscall_QMessageLogger::debug_void_]
mov esi, eax
mov byte [esp + 0x78], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.QueryServiceStatusEx_failed___d_
mov ecx, esi
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___char_const__]
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___unsigned_long_int_]
lea ecx, [esp + 0x10]
mov byte [esp + 0x78], 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDebug::destructor_void_]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call esi
push ebx
call esi
jmp 0x418e71
cmp dword [esp + 0x4c], 1
jne 0x419067
test esi, esi
jne 0x41905a
push esi
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
setne al
test al, al
jne 0x419067
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0x420
je 0x419067
push 0x24
push str.StartService_is_running_soquit__1__2
call dword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____cdecl_QString::fromAscii_helper_char_const___int_]
mov dword [esp + 0x18], eax
add esp, 4
mov byte [esp + 0x18], 0x20
mov ecx, esp
mov byte [esp + 0x7c], 2
push dword [esp + 0x18]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
push 0xa
push 0
push esi
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QString::arg_int__int__int__class_QChar_]
mov esi, eax
push ecx
mov ecx, esp
mov byte [esp + 0x18], 0x20
push dword [esp + 0x18]
mov byte [esp + 0x80], 3
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
push 0
lea eax, [esp + 0x8c]
mov ecx, esi
push eax
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QString::arg_class_QString_const___int__class_QChar_]
mov esi, eax
lea eax, [esp + 0x28]
mov byte [esp + 0x78], 4
push eax
push 0
push 0
push 0
lea ecx, [esp + 0x3c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const__]
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug___thiscall_QMessageLogger::debug_void_]
push esi
mov ecx, eax
mov byte [esp + 0x7c], 5
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___class_QString_const__]
lea ecx, [esp + 0x28]
mov byte [esp + 0x78], 4
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDebug::destructor_void_]
lea ecx, [esp + 0x18]
mov byte [esp + 0x78], 3
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x78], 2
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x10]
mov byte [esp + 0x78], 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
call esi
push edi
call esi
mov bl, 1
jmp 0x418e73
lea eax, [esp + 0x2c]
push eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
call esi
push edi
call esi
mov bl, 1
jmp 0x418e73