Function at 0x1001d6f7
Capabilities:
Hide graphical window

Disassembly:
push 0x34
mov eax, 0x10042592
call fcn.1003efaa
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0xd], 0
call fcn.1002d823
push eax
lea ecx, [ebp - 0x18]
call fcn.1002f04b
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 1
mov edi, dword [ebx + 0x12c]
mov eax, dword [edi]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x1004d3bc]
mov ecx, edi
call esi
mov edi, dword [ebp - 0x14]
mov ebx, eax
mov edi, dword [edi + 0x12c]
mov edx, dword [edi]
mov esi, dword [edx + 0x20]
mov ecx, esi
call dword [0x1004d3bc]
mov ecx, edi
call esi
push 0x1000854c
lea ecx, [ebp - 0x1c]
mov esi, eax
call fcn.10027aaa
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 2
push eax
push 0x10008658
push ecx
push ebx
lea ecx, [ebp - 0x40]
call fcn.1000fe41
mov byte [ebp - 4], 3
lea edx, [ebp - 0x34]
push dword [sym.imp.advapi32.dll_GetServiceDisplayNameW]
mov ecx, esi
push dword [sym.imp.advapi32.dll_QueryServiceStatus]
push dword [sym.imp.advapi32.dll_OpenServiceW]
push dword [sym.imp.advapi32.dll_CloseServiceHandle]
push dword [sym.imp.advapi32.dll_OpenSCManagerW]
push ebx
call fcn.1002ade4
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.1002f04b
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.1002d9fa
test esi, esi
js 0x1001d906
mov eax, dword [ebp - 0x30]
test eax, eax
jle 0x1001d906
xor ebx, ebx
test eax, eax
jle 0x1001d8f7
lea eax, [ebp - 0x1c]
push eax
push ebx
lea ecx, [ebp - 0x34]
call fcn.1002f04b
mov ecx, eax
call fcn.1002f04b
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov eax, dword [eax]
mov esi, dword [eax - 0xc]
call fcn.1002d9fa
push ecx
mov eax, esp
mov dword [ebp - 0x28], esp
push eax
lea ecx, [ebp - 0x34]
push ebx
call fcn.1002f04b
mov ecx, eax
test esi, esi
jne 0x1001d883
call fcn.1002f04b
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 4
push 4
mov edi, dword [eax + 0x12c]
mov eax, dword [edi]
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x1004d3bc]
mov ecx, edi
call esi
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.10026e86
lea eax, [ebp - 0x20]
push eax
push ebx
lea ecx, [ebp - 0x34]
call fcn.1002f04b
mov ecx, eax
call fcn.1002f04b
mov byte [ebp - 4], 5
push dword [eax]
lea eax, [ebp - 0x18]
push 0x10008860
push eax
call fcn.1002f04b
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
jmp 0x1001d8e2
call fcn.1002f04b
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 6
push 4
mov edi, dword [eax + 0x12c]
mov eax, dword [edi]
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x1004d3bc]
mov ecx, edi
call esi
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.10026e86
lea eax, [ebp - 0x24]
push eax
push ebx
lea ecx, [ebp - 0x34]
call fcn.1002f04b
mov ecx, eax
call fcn.1002f04b
mov byte [ebp - 4], 7
push dword [eax]
lea eax, [ebp - 0x18]
push 0x10008860
push eax
call fcn.1002f04b
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x24]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.1002d9fa
inc ebx
cmp ebx, dword [ebp - 0x30]
jl 0x1001d7e8
mov ebx, dword [ebp - 0x14]
mov byte [ebp - 0xd], 1
mov eax, dword [ebx + 0x134]
jmp 0x1001d90f
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x130]
push eax
push 1
push 0x172
push 0x70
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov esi, dword [ebp - 0x18]
push esi
push dword [ebx + 0xd0]
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp byte [ebp - 0xd], 0
je 0x1001d94a
push 1
push dword [ebx + 0xd0]
call dword [sym.imp.USER32.dll_EnableWindow]
push 5
jmp 0x1001d95a
xor edi, edi
push edi
push dword [ebx + 0xd0]
call dword [sym.imp.USER32.dll_EnableWindow]
push edi
push dword [ebx + 0xd0]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [ebp - 0xd], 0
je 0x1001d970
xor eax, eax
jmp 0x1001d976
mov al, byte [ebx + 0x128]
lea ecx, [ebp - 0x34]
mov byte [ebx + 0x128], al
call fcn.1002b8a9
lea ecx, [esi - 0x10]
call fcn.1002d9fa
call fcn.1003ef84
ret