Function at 0x10008810
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
push esi
push edi
push sym.LDrvSvc.dll_ServiceHandler
push str.LDrvSvc
call dword [sym.imp.ADVAPI32.dll_RegisterServiceCtrlHandlerW]
mov dword [0x101b74b4], eax
test eax, eax
jne 0x10008914
mov esi, dword [0x101b7488]
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
test esi, esi
jne 0x1000888d
push 0x124
call fcn.1000da7d
add esp, 4
mov esi, eax
mov dword [esp + 0xc], esi
push 0x104
lea ecx, [esi + 4]
mov dword [esi], 0
push 0
push ecx
mov dword [esi + 0x108], 0xffffffff
call fcn.100106a0
add esp, 0xc
lea eax, [esi + 0x10c]
push eax
call edi
mov dword [0x101b7488], esi
push str.error_RegisterServiceCtrlHandler
push 0
push 0x101b17b8
push str.......project_base_svcLDrvSvc.cpp
push 0x14
push esi
call fcn.10002fc0
mov esi, dword [0x101b7488]
add esp, 0x18
test esi, esi
jne 0x100088f8
push 0x124
call fcn.1000da7d
add esp, 4
mov esi, eax
mov dword [esp + 0xc], esi
push 0x104
lea eax, [esi + 4]
mov dword [esi], 0
push 0
push eax
mov dword [esi + 0x108], 0xffffffff
call fcn.100106a0
add esp, 0xc
lea eax, [esi + 0x10c]
push eax
call edi
mov dword [0x101b7488], esi
push 0x101b17b8
push str.......project_base_svcLDrvSvc.cpp
push 0x14
push ecx
mov ecx, esi
call fcn.100033f0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
push 0x101b74b8
push eax
mov dword [0x101b74b8], 0x30
mov dword [0x101b74bc], 4
mov dword [0x101b74c0], 1
mov dword [0x101b74c4], 0
mov dword [0x101b74c8], 0
mov dword [0x101b74cc], 0
mov dword [0x101b74d0], 0
call dword [sym.imp.ADVAPI32.dll_SetServiceStatus]
test eax, eax
jne 0x10008a4a
mov esi, dword [0x101b7488]
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
test esi, esi
jne 0x100089c3
push 0x124
call fcn.1000da7d
add esp, 4
mov esi, eax
mov dword [esp + 0xc], esi
push 0x104
lea ecx, [esi + 4]
mov dword [esi], 0
push 0
push ecx
mov dword [esi + 0x108], 0xffffffff
call fcn.100106a0
add esp, 0xc
lea eax, [esi + 0x10c]
push eax
call edi
mov dword [0x101b7488], esi
push str.error_SetServiceStatus
push 0
push 0x101b17b8
push str.......project_base_svcLDrvSvc.cpp
push 0x22
push esi
call fcn.10002fc0
mov esi, dword [0x101b7488]
add esp, 0x18
test esi, esi
jne 0x10008a2e
push 0x124
call fcn.1000da7d
add esp, 4
mov esi, eax
mov dword [esp + 0xc], esi
push 0x104
lea eax, [esi + 4]
mov dword [esi], 0
push 0
push eax
mov dword [esi + 0x108], 0xffffffff
call fcn.100106a0
add esp, 0xc
lea eax, [esi + 0x10c]
push eax
call edi
mov dword [0x101b7488], esi
push 0x101b17b8
push str.......project_base_svcLDrvSvc.cpp
push 0x22
push ecx
mov ecx, esi
call fcn.100033f0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x101b74b0], eax
test eax, eax
jne 0x10008b39
mov esi, dword [0x101b7488]
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
test esi, esi
jne 0x10008aba
push 0x124
call fcn.1000da7d
add esp, 4
mov esi, eax
mov dword [esp + 0xc], esi
push 0x104
lea ecx, [esi + 4]
mov dword [esi], 0
push 0
push ecx
mov dword [esi + 0x108], 0xffffffff
call fcn.100106a0
add esp, 0xc
lea eax, [esi + 0x10c]
push eax
call edi
mov dword [0x101b7488], esi
push str.error_CreateEvent.
push 0
push 0x101b17b8
push str.......project_base_svcLDrvSvc.cpp
push 0x28
push esi
call fcn.10002fc0
mov esi, dword [0x101b7488]
add esp, 0x18
test esi, esi
jne 0x10008b25
push 0x124
call fcn.1000da7d
add esp, 4
mov esi, eax
mov dword [esp + 0xc], esi
push 0x104
lea eax, [esi + 4]
mov dword [esi], 0
push 0
push eax
mov dword [esi + 0x108], 0xffffffff
call fcn.100106a0
add esp, 0xc
lea eax, [esi + 0x10c]
push eax
call edi
mov dword [0x101b7488], esi
push 0x101b17b8
push str.......project_base_svcLDrvSvc.cpp
push 0x28
push ecx
mov ecx, esi
call fcn.100033f0
push 0
push 0
push 0
push 0x10008cf0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8