Function at 0x10043ac0
Capabilities:
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x100ab080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xf003f
push 0
push 0
mov dword [ebp - 0x3c], 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
mov dword [ebp - 0x40], ebx
test ebx, ebx
jne 0x10043b44
call dword [0x101250b4]
test al, al
je 0x10043c0a
call dword [0x101250b0]
cmp eax, 3
jg 0x10043c0a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x1009d400
push 3
push 0xe3
push str.newconsoleCConsoleDriverNewHelper.cpp
call dword [0x101250b8]
mov eax, dword [ebp - 0x3c]
add esp, 0x14
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006636c
mov esp, ebp
pop ebp
ret
call fcn.10028f00
lea ecx, [ebp - 0x1c]
lea edx, [eax + 0x184]
call fcn.1001bc10
cmp dword [eax + 0x14], 7
jbe 0x10043b5f
mov eax, dword [eax]
push 0xf01ff
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ecx, dword [ebp - 8]
mov edi, eax
cmp ecx, 7
jbe 0x10043ba8
mov edx, dword [ebp - 0x1c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10043b9e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10043de5
push ecx
push edx
call fcn.100666c9
add esp, 8
xor eax, eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 7
mov word [ebp - 0x1c], ax
test edi, edi
jne 0x10043c1e
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x424
je 0x10043c01
call dword [0x101250b4]
test al, al
je 0x10043c01
call dword [0x101250b0]
cmp eax, 3
jg 0x10043c01
call esi
push eax
push 0x1009d478
push 3
push 0xf0
push str.newconsoleCConsoleDriverNewHelper.cpp
call dword [0x101250b8]
add esp, 0x14
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
call esi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x3c]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1006636c
mov esp, ebp
pop ebp
ret
mov ebx, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
lea eax, [ebp - 0x38]
push eax
push edi
call ebx
test eax, eax
jne 0x10043c7b
call dword [0x101250b4]
test al, al
je 0x10043dd4
call dword [0x101250b0]
cmp eax, 3
jg 0x10043dd4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x1009d4c0
push 3
push 0xf8
push str.newconsoleCConsoleDriverNewHelper.cpp
call dword [0x101250b8]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
add esp, 0x14
push edi
call esi
mov ebx, dword [ebp - 0x40]
jmp 0x10043c07
cmp dword [ebp - 0x34], 3
jne 0x10043cb8
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
nop dword [eax]
lea eax, [ebp - 0x38]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x10043cb2
cmp dword [ebp - 0x34], 1
je 0x10043cb2
push 0x1f4
call ebx
inc esi
cmp esi, 6
jb 0x10043c90
mov ebx, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
push 0
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x10043cff
call dword [0x101250b4]
test al, al
je 0x10043cff
call dword [0x101250b0]
cmp eax, 3
jg 0x10043cff
call esi
push eax
push 0x1009d660
push 3
push 0x10e
push str.newconsoleCConsoleDriverNewHelper.cpp
call dword [0x101250b8]
add esp, 0x14
lea eax, [ebp - 0x38]
push eax
push edi
call ebx
test eax, eax
jne 0x10043d55
call dword [0x101250b4]
test al, al
je 0x10043dd4
call dword [0x101250b0]
cmp eax, 3
jg 0x10043dd4
call esi
push eax
push 0x1009d4c0
push 3
push 0x114
push str.newconsoleCConsoleDriverNewHelper.cpp
call dword [0x101250b8]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
add esp, 0x14
push edi
call esi
mov ebx, dword [ebp - 0x40]
jmp 0x10043c07
cmp dword [ebp - 0x34], 4
je 0x10043d9e
call dword [0x101250b4]
test al, al
je 0x10043dd4
call dword [0x101250b0]
cmp eax, 3
jg 0x10043dd4
push dword [ebp - 0x34]
push 0x1009d6a8
push 3
push 0x11a
push str.newconsoleCConsoleDriverNewHelper.cpp
call dword [0x101250b8]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
add esp, 0x14
push edi
call esi
mov ebx, dword [ebp - 0x40]
jmp 0x10043c07
call dword [0x101250b4]
test al, al
je 0x10043dcd
call dword [0x101250b0]
cmp eax, 1
jg 0x10043dcd
push str._N:gq
push 1
push 0x11e
push str.newconsoleCConsoleDriverNewHelper.cpp
call dword [0x101250b8]
add esp, 0x10
mov dword [ebp - 0x3c], 1
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call esi
mov ebx, dword [ebp - 0x40]
jmp 0x10043c07
call fcn.10070c0f
int3