Function at 0x100093b0
Capabilities:
Check if file exists
Create service
Persist via windows service
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b09c8
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x100e30c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 2
push 0x100cfb88
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x84]
push ecx
call fcn.10010490
add esp, 0xc
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x50], edx
mov byte [ebp - 4], 3
lea eax, [ebp + 0x20]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.10010560
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x84]
call fcn.1000bb50
nop
lea ecx, [ebp - 0x28]
call fcn.1000b9d0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10009474
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.1000bb50
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.1000bb50
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x20]
call fcn.1000bb50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x38]
call fcn.1000bb50
nop
jmp 0x1000963d
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x100094c5
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.1000bb50
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.1000bb50
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x20]
call fcn.1000bb50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x38]
call fcn.1000bb50
nop
jmp 0x1000963d
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp - 0x40]
call fcn.1000bc50
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
call fcn.1000b9d0
mov dword [ebp - 0x54], eax
lea ecx, [ebp - 0x40]
call fcn.1000b9d0
mov dword [ebp - 0x58], eax
lea ecx, [ebp - 0x40]
call fcn.1000b9d0
mov dword [ebp - 0x5c], eax
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x54]
push ecx
push 1
push 2
push 0x110
push 0xf01ff
mov edx, dword [ebp - 0x58]
push edx
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x1000957c
mov edx, dword [ebp - 0x44]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.1000bb50
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.1000bb50
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.1000bb50
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x20]
call fcn.1000bb50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x38]
call fcn.1000bb50
nop
jmp 0x1000963d
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x64], esp
push 0x100cfb8c
call fcn.1000bbd0
call fcn.1001f3b0
add esp, 0x18
movzx eax, byte [ebp + 0x50]
test eax, eax
je 0x100095e9
push 0
push 0
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
jne 0x100095cf
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x68], esp
push str.Fail_to_start_service
call fcn.1000bbd0
call fcn.1001f3b0
add esp, 0x18
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x6c], esp
push str.Service_Started
call fcn.1000bbd0
call fcn.1001f3b0
add esp, 0x18
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.1000bb50
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.1000bb50
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.1000bb50
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x20]
call fcn.1000bb50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x38]
call fcn.1000bb50
nop
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008702a
mov esp, ebp
pop ebp
ret