Function at 0x10007c70
Capabilities:
Check if file exists
Create service
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001bd48
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x10024080]
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
mov esi, ecx
lea ecx, [ebp - 0x48]
call fcn.10005940
xor ebx, ebx
mov dword [ebp - 4], ebx
lea edi, [ebp - 0x64]
call fcn.10005800
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x2c]
push edx
mov ecx, eax
call fcn.100080c0
add esp, 8
mov byte [ebp - 4], 3
mov edi, 8
cmp dword [ebp - 0x50], edi
jb 0x10007ce2
mov eax, dword [ebp - 0x64]
push eax
call fcn.100085f3
add esp, 4
mov eax, dword [ebp - 0x48]
xor ecx, ecx
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], cx
cmp dword [ebp - 0x34], edi
jae 0x10007cfd
lea eax, [ebp - 0x48]
push eax
push str.CWinRing::CreateWinRingService__SysName_s
call sym.HardwareLib.dll_DebugStringW
mov eax, dword [ebp - 0x2c]
add esp, 8
cmp dword [ebp - 0x18], edi
jae 0x10007d16
lea eax, [ebp - 0x2c]
push eax
push str.CWinRing::CreateWinRingService__SysPath_s
call sym.HardwareLib.dll_DebugStringW
mov eax, dword [ebp - 0x2c]
add esp, 8
cmp dword [ebp - 0x18], edi
jae 0x10007d2f
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
mov eax, dword [ebp - 0x2c]
jne 0x10007da1
cmp dword [ebp - 0x18], edi
jae 0x10007d46
lea eax, [ebp - 0x2c]
push eax
push str.CWinRing::CreateWinRingService__sysfile_not_exist___s
call sym.HardwareLib.dll_DebugStringW
add esp, 8
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], edi
jb 0x10007d68
mov edx, dword [ebp - 0x2c]
push edx
call fcn.100085f3
add esp, 4
mov esi, 7
xor eax, eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x34], edi
jb 0x10007d91
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.100085f3
add esp, 4
xor edx, edx
mov dword [ebp - 0x34], esi
mov word [ebp - 0x48], dx
xor eax, eax
jmp 0x10007e30
cmp dword [ebp - 0x18], edi
jae 0x10007da9
lea eax, [ebp - 0x2c]
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push 1
push 3
push 1
push 0xf01ff
push str.iobit_monitor_server
push str.iobit_monitor_server
push esi
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov esi, eax
cmp esi, ebx
jne 0x10007de5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CWinRing::CreateWinRingService__errorcode_d
call sym.HardwareLib.dll_DebugStringW
add esp, 8
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], edi
jb 0x10007df9
mov eax, dword [ebp - 0x2c]
push eax
call fcn.100085f3
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x34], edi
jb 0x10007e21
mov edx, dword [ebp - 0x48]
push edx
call fcn.100085f3
add esp, 4
xor eax, eax
mov word [ebp - 0x48], ax
mov dword [ebp - 0x34], 7
mov eax, esi
mov dword [ebp - 0x38], ebx
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.10008214
mov esp, ebp
pop ebp
ret