Function at 0x10003e90
Capabilities:
Create service
Get common file path
Start service

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100098cb
push eax
mov dword fs:[0], esp
mov eax, dword [esp + 0x10]
sub esp, 0x80c
push ebx
push ebp
push esi
push edi
xor edi, edi
cmp eax, edi
jne 0x100040bf
push edi
lea eax, [esp + 0x420]
push 0x400
push eax
call fcn.10002af0
add esp, 0xc
test eax, eax
jne 0x10003f0a
call fcn.10005670
push 0x5c
push str.F:RC50WSSC50SCap24_srcdrviSrnBlocker.cpp
mov esi, eax
call sub.MSVCRT.dll_strrchr
inc eax
push str.error_n
push esi
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0xa5
call fcn.100014b0
add esp, 0x10
xor eax, eax
jmp 0x100041da
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x1000c224
mov dword [esp + 0x14], edi
call ebp
cmp eax, edi
je 0x10003f36
push str.Wow64DisableWow64FsRedirection
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x10003f36
lea ecx, [esp + 0x10]
push ecx
call eax
lea edx, [esp + 0x1c]
push 0x400
push edx
mov dword [esp + 0x82c], edi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x10003fc3
call fcn.10005670
push 0x5c
push str.F:RC50WSSC50SCap24_srcdrviSrnBlocker.cpp
mov esi, eax
call sub.MSVCRT.dll_strrchr
add esp, 8
inc eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0xaf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x1000c158
push esi
call fcn.100014b0
mov eax, dword [esp + 0x1c]
add esp, 0xc
cmp eax, edi
mov dword [esp + 0x824], 0xffffffff
je 0x10003fbc
push 0x1000c224
call ebp
cmp eax, edi
je 0x10003fbc
push str.Wow64RevertWow64FsRedirection
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x10003fbc
mov ecx, dword [esp + 0x10]
push ecx
call eax
xor eax, eax
jmp 0x100041da
lea edx, [esp + 0x41c]
push 0x5c
push edx
call sub.MSVCRT.dll__mbsrchr
mov ebx, eax
lea edi, [esp + 0x24]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [str.drivers]
mov ecx, dword [0x1000c718]
mov dl, byte [0x1000c71c]
dec edi
mov dword [edi], eax
xor eax, eax
mov dword [edi + 4], ecx
or ecx, 0xffffffff
mov byte [edi + 8], dl
mov edi, ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x24]
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x24]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x428]
push ecx
call fcn.10005740
add esp, 0x10
test eax, eax
jne 0x10004077
call fcn.10005670
push 0x5c
push str.F:RC50WSSC50SCap24_srcdrviSrnBlocker.cpp
mov esi, eax
call sub.MSVCRT.dll_strrchr
add esp, 8
inc eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0xb8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x1000c158
push esi
call fcn.100014b0
add esp, 0xc
push ebx
lea edx, [esp + 0x20]
push str.SystemRoot_system32drivers_s
push edx
call sub.MSVCRT.dll_sprintf
mov eax, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
mov dword [esp + 0x824], 0xffffffff
je 0x100040bf
push 0x1000c224
call ebp
test eax, eax
je 0x100040bf
push str.Wow64RevertWow64FsRedirection
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100040bf
mov ecx, dword [esp + 0x10]
push ecx
call eax
mov ebx, dword [esp + 0x82c]
mov ebp, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor esi, esi
neg ebx
sbb ebx, ebx
mov dword [esp + 0x18], esi
and ebx, 0x1ff0ffc1
add ebx, 0xf003f
push ebx
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
je 0x1000422c
mov eax, dword [esp + 0x82c]
test eax, eax
jne 0x1000412f
push 0
push 0
push 0
push 0
lea edx, [esp + 0x2c]
push 0
push edx
push 1
push 3
push 1
push 0xf01ff
push str.rsmh5
push str.rsmh5
push edi
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov esi, eax
test esi, esi
jne 0x1000414a
push ebx
push str.rsmh5
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
je 0x100041f3
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
mov dword [esp + 0x14], eax
jne 0x100041d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x420
je 0x10004230
cmp eax, 0x422
jne 0x1000419a
push esi
call ebp
push edi
call ebp
inc dword [esp + 0x18]
call fcn.10004510
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esp + 0x18], 3
jl 0x100040e2
call fcn.10005670
push 0x5c
push str.F:RC50WSSC50SCap24_srcdrviSrnBlocker.cpp
mov ebx, eax
call sub.MSVCRT.dll_strrchr
add esp, 8
inc eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], 0xfb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x1000c158
push ebx
call fcn.100014b0
add esp, 0xc
push esi
call ebp
push edi
call ebp
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x81c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x818
ret
call fcn.10005670
push 0x5c
push str.F:RC50WSSC50SCap24_srcdrviSrnBlocker.cpp
mov esi, eax
call sub.MSVCRT.dll_strrchr
add esp, 8
inc eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0xdf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x1000c158
push esi
call fcn.100014b0
add esp, 0xc
push edi
call ebp
xor eax, eax
jmp 0x100041da
mov dword [esp + 0x14], 1
jmp 0x100041d0