Function at 0x10021120
Capabilities:
Access peb ldr_data
Get ntdll base address
Start service

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x101814bd
mov eax, dword fs:[0]
push eax
sub esp, 0x4ec
mov eax, dword [0x101f7210]
xor eax, esp
mov dword [esp + 0x4e4], eax
push esi
push edi
mov eax, dword [0x101f7210]
xor eax, esp
push eax
lea eax, [esp + 0x4f8]
mov dword fs:[0], eax
lea ecx, [esp + 0x54]
call fcn.100237c0
push ecx
lea ecx, [esp + 0x58]
mov dword [esp + 0x504], 0
call fcn.10002b70
push 0x25
push str.Zshieldzs_isp_clientconfigins.json
lea ecx, [esp + 0x5c]
call fcn.100125b0
xorps xmm0, xmm0
movdqa xmmword [esp + 0x24], xmm0
psrldq xmm0, 8
movd eax, xmm0
mov dword [esp + 0x30], 0
and eax, 0xfffffe00
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x14]
and eax, 0xfffffe01
mov dword [esp + 0x18], 0
or eax, 1
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
cdq
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
lea eax, [esp + 0xc]
mov byte [esp + 0x500], 3
push eax
push ecx
push 0x101cfe1c
push str.firstrun
lea ecx, [esp + 0x34]
call fcn.100293c0
add esp, 4
mov ecx, eax
call fcn.10028310
lea ecx, [esp + 0xc]
mov byte [esp + 0x500], 2
call fcn.10028290
mov eax, dword [esp + 0x14]
and eax, 0xfffffe01
mov dword [esp + 0x18], 0
or eax, 1
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0xc]
cdq
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
lea eax, [esp + 0xc]
mov byte [esp + 0x500], 4
push eax
push ecx
push 0x101cfe28
push str.language
lea ecx, [esp + 0x34]
call fcn.100293c0
add esp, 4
mov ecx, eax
call fcn.10028310
lea ecx, [esp + 0xc]
mov byte [esp + 0x500], 2
call fcn.10028290
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x28]
call fcn.10029c20
mov byte [esp + 0x500], 5
lea edx, [esp + 0x3c]
cmp dword [esp + 0x50], 0x10
mov dword [esp + 0x20], 0xf
cmovae edx, dword [esp + 0x3c]
mov dword [esp + 0x1c], 0
mov byte [esp + 0xc], 0
cmp byte [edx], 0
jne 0x100212b2
xor ecx, ecx
jmp 0x100212c0
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100212b7
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x14]
call fcn.1001ec60
mov byte [esp + 0x500], 6
lea eax, [esp + 0xc]
cmp dword [esp + 0x20], 0x10
push 0x101cd0f8
push dword [esp + 0x20]
cmovae eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x60]
push eax
call fcn.10004d00
cmp dword [esp + 0x20], 0x10
jb 0x10021308
push dword [esp + 0xc]
call fcn.1002fb32
add esp, 4
push 0x438
lea eax, [esp + 0xb8]
push 0
push eax
call fcn.10150100
add esp, 0xc
mov dword [esp + 0xb4], vtable.asp::CNTServiceEx.0
lea eax, [esp + 0x2ec]
mov dword [esp + 0xb8], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
push str.FLService
push 0x100
push eax
call fcn.1014e5a6
add esp, 0xc
lea eax, [esp + 0x2ec]
push eax
lea eax, [esp + 0xf0]
push 0x100
push eax
call fcn.1014e5a6
lea eax, [esp + 0xc0]
mov dword [esp + 0xcc], 0
add esp, 0xc
mov dword [esp + 0xbc], 0
mov dword [0x10203690], eax
push 0xf003f
push 0
push 0
mov byte [esp + 0x50c], 7
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
je 0x10021420
push 0xf01ff
push str.ZsProtect
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x10021420
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
je 0x10021420
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
push str._tZsProtect_Start_Success
sub esp, 0xc
mov dword [esp + 0x1c], str.WPFHelper.cpp:NSIS_WConfig__:Line_234
mov eax, esp
mov dword [esp + 0x20], 0
movq xmm0, qword [esp + 0x1c]
movq qword [eax], xmm0
mov dword [eax + 8], 1
jmp 0x1002144b
push str._tZsProtect_Start_Failed
sub esp, 0xc
mov dword [esp + 0x1c], str.WPFHelper.cpp:NSIS_WConfig__:Line_238
mov eax, esp
mov dword [esp + 0x20], 0
movq xmm0, qword [esp + 0x1c]
movq qword [eax], xmm0
mov dword [eax + 8], 3
call fcn.10005540
add esp, 0x10
mov byte [esp + 0x500], 5
lea ecx, [esp + 0xb4]
call fcn.1000e020
cmp dword [esp + 0x50], 0x10
jb 0x1002147a
push dword [esp + 0x3c]
call fcn.1002fb32
add esp, 4
lea ecx, [esp + 0x24]
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
mov byte [esp + 0x500], 0
call fcn.10028290
lea ecx, [esp + 0x54]
call fcn.100024d0
mov ecx, dword [esp + 0x4f8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x4e4]
xor ecx, esp
call fcn.1014aad2
mov esp, ebp
pop ebp
ret 8