Function at 0x425cf0
Capabilities:
Create service
Delete service
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fe64b
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x52a51c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ebx, eax
mov dword [ebp - 0x134], ebx
test ebx, ebx
jne 0x425d5e
push str.OpenSCManager_failed
push str.disk_write_monitor_server_t::start_disk_write_monitor_service
push 0x1f6
push str.d:_slaveworkspace_netdiskgamevirtualdiskserverdisk_write_monitor_server.h
push 0x20
call fcn.0040eb60
add esp, 0x14
xor bl, bl
jmp 0x425eb7
mov al, byte [0x512548]
movdqu xmm0, xmmword [str.DiskWriteMonitor]
push 0xf3
mov byte [ebp - 0x108], al
lea eax, [ebp - 0x107]
push 0
push eax
movdqu xmmword [ebp - 0x118], xmm0
call fcn.004ce8d0
add esp, 0xc
lea eax, [ebp - 0x118]
push 0xf003f
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov edi, eax
test edi, edi
jne 0x425ed5
mov dword [ebp - 0x11c], 0xf
mov dword [ebp - 0x120], eax
mov byte [ebp - 0x130], al
mov dword [ebp - 4], eax
lea eax, [ebp - 0x130]
push eax
call fcn.00425b50
test al, al
jne 0x425e11
push str.get_service_path_failed
push str.disk_write_monitor_server_t::start_disk_write_monitor_service
push 0x203
push str.d:_slaveworkspace_netdiskgamevirtualdiskserverdisk_write_monitor_server.h
push 0x20
call fcn.0040eb60
add esp, 0x14
cmp dword [ebp - 0x11c], 0x10
jb 0x425e0a
push dword [ebp - 0x130]
call fcn.0044bc50
add esp, 4
xor al, al
jmp 0x425eb9
cmp dword [ebp - 0x11c], 0x10
lea eax, [ebp - 0x130]
push 0
cmovae eax, dword [ebp - 0x130]
push 0
push 0
push 0
push 0
push eax
push 1
push 3
push 1
push 0xf01ff
lea eax, [ebp - 0x118]
push eax
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov dword [ebp - 4], 0xffffffff
mov edi, eax
cmp dword [ebp - 0x11c], 0x10
jb 0x425e6a
push dword [ebp - 0x130]
call fcn.0044bc50
add esp, 4
mov dword [ebp - 0x11c], 0xf
mov dword [ebp - 0x120], 0
mov byte [ebp - 0x130], 0
test edi, edi
jne 0x425ed5
push str.create_service_failed
push str.disk_write_monitor_server_t::start_disk_write_monitor_service
push 0x20e
push str.d:_slaveworkspace_netdiskgamevirtualdiskserverdisk_write_monitor_server.h
push 0x20
call fcn.0040eb60
add esp, 0x14
xor bl, bl
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [ebp - 0x134]
call esi
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c8a23
mov esp, ebp
pop ebp
ret
push 0
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x425f4b
cmp eax, 0x420
je 0x425f4b
cmp eax, 2
je 0x425f04
cmp eax, 3
je 0x425f04
cmp eax, 0x4fb
jne 0x425f29
push str.delete_original_service
push str.disk_write_monitor_server_t::start_disk_write_monitor_service
push 0x219
push str.d:_slaveworkspace_netdiskgamevirtualdiskserverdisk_write_monitor_server.h
push 4
call fcn.0040eb60
add esp, 0x14
push edi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push str.start_service_failed
push str.disk_write_monitor_server_t::start_disk_write_monitor_service
push 0x21d
push str.d:_slaveworkspace_netdiskgamevirtualdiskserverdisk_write_monitor_server.h
push 0x20
call fcn.0040eb60
add esp, 0x14
xor bl, bl
jmp 0x425f4d
mov bl, 1
test edi, edi
je 0x425ea9
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call esi
jmp 0x425eaf