Function at 0xa052e0
Capabilities:
Resume thread
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0xa8a681
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x69c
mov eax, dword [esp + 0x6ac]
push ebx
push ebp
push esi
mov ebp, ecx
push edi
push eax
lea ecx, [esp + 0x4a0]
mov dword [esp + 0x20], ebp
call fcn.00a152e0
push 0x5f
push 1
mov ecx, eax
mov dword [esp + 0x6bc], 0
call fcn.00a15770
mov ecx, str.controllernotify
mov esi, eax
test ecx, ecx
je 0xa05345
push ecx
call fcn.00a7e07a
add esp, 4
jmp 0xa05347
xor eax, eax
push eax
push str.controllernotify
mov ecx, esi
call fcn.00a15880
mov eax, dword [eax + 8]
lea edx, [esp + 0x28c]
push eax
push edx
call fcn.00a04f20
add esp, 8
mov ecx, dword [0xa918f4]
mov byte [esp + 0x6b4], 1
push ecx
push 0
push eax
lea ecx, [esp + 0x88]
call fcn.00a151b0
lea ecx, [esp + 0x28c]
mov byte [esp + 0x6b4], 4
call fcn.00a155e0
lea ecx, [esp + 0x49c]
mov byte [esp + 0x6b4], 3
call fcn.00a155e0
lea ecx, [esp + 0x7c]
call fcn.00a15640
push eax
push 1
push 0
push 0
call fcn.00a24110
test eax, eax
mov dword [esp + 0x18], eax
jne 0xa05406
mov esi, dword [esp + 0x6cc]
test esi, esi
je 0xa053eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xaa3970
push esi
call fcn.00a16060
add esp, 0xc
lea ecx, [esp + 0x7c]
mov dword [esp + 0x6b4], 0xffffffff
call fcn.00a155e0
xor eax, eax
jmp 0xa056c6
mov edi, dword [esp + 0x6c0]
push edi
call fcn.00a7e07a
lea edx, [eax + eax + 2]
push edx
call fcn.009ef3a0
mov esi, eax
add esp, 8
test esi, esi
jne 0xa05449
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [esp + 0x7c]
mov dword [esp + 0x6b4], 0xffffffff
call fcn.00a155e0
xor eax, eax
jmp 0xa056c6
push edi
push esi
call fcn.00a7e270
mov ebx, dword [esp + 0x6d4]
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x40]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x1c]
push ebx
lea ecx, [esp + 0x2c]
push eax
lea edx, [esp + 0x48]
push ecx
push edx
push 0
push 0
push 0x400000c
push 0
push 0
push 0
push esi
push 0
mov dword [esp + 0x70], 0x44
call fcn.009fbf00
add esp, 0x38
mov byte [esp + 0x13], al
test ebx, ebx
je 0xa054b2
mov eax, dword [esp + 0x14]
push eax
push esi
push str._CreateProcessW__ls_____xh_
push ebx
call fcn.00a16060
add esp, 0x10
push esi
call fcn.00a7d8f0
mov al, byte [esp + 0x17]
add esp, 4
test al, al
jne 0xa054dd
test ebx, ebx
mov dword [esp + 0x14], 0
je 0xa056a1
push str._virtual_CreateProcess_failed__
jmp 0xa05698
mov eax, dword [esp + 0x14]
test eax, eax
je 0xa0568f
mov ecx, ebp
call fcn.00a05000
test eax, eax
jne 0xa05549
test ebx, ebx
je 0xa05506
push str._AcquireMemLock_failed__
push ebx
call fcn.00a16060
add esp, 8
mov ecx, dword [esp + 0x20]
push 1
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [esp + 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x20]
push eax
call esi
mov ecx, dword [esp + 0x18]
push ecx
call esi
lea ecx, [esp + 0x7c]
mov dword [esp + 0x6b4], 0xffffffff
call fcn.00a155e0
xor eax, eax
jmp 0xa056c6
mov esi, dword [esp + 0x6bc]
mov ecx, ebp
push esi
call fcn.00a06300
test eax, eax
je 0xa05563
mov edx, dword [esp + 0x28]
mov dword [eax + 0x24], edx
push esi
call fcn.00a7e07a
mov edi, dword [esp + 0x6c8]
add esp, 4
test edi, edi
lea esi, [eax + eax + 0x12]
jbe 0xa055a5
mov ebp, dword [esp + 0x6c8]
mov ebx, edi
mov eax, dword [ebp]
push eax
call fcn.00a7e07a
add esp, 4
add ebp, 4
dec ebx
lea esi, [esi + eax*2 + 2]
jne 0xa05584
mov ebx, dword [esp + 0x6cc]
mov ebp, dword [esp + 0x1c]
push esi
push 1
mov ecx, ebp
call fcn.00a06490
mov ecx, dword [esp + 0x28]
lea edx, [edi + 1]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea esi, [eax + 0x10]
mov eax, dword [esp + 0x6bc]
push eax
push esi
call fcn.00a7e270
push esi
call fcn.00a7e07a
add esp, 0xc
lea esi, [esi + eax*2 + 2]
test edi, edi
jbe 0xa05606
mov ebp, dword [esp + 0x6c8]
mov ecx, dword [ebp]
push ecx
push esi
call fcn.00a7e270
push esi
call fcn.00a7e07a
add esp, 0xc
add ebp, 4
dec edi
lea esi, [esi + eax*2 + 2]
jne 0xa055e5
mov ebp, dword [esp + 0x1c]
mov ecx, ebp
call fcn.00a05050
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
xor edi, edi
push 0x7530
lea edx, [esp + 0x34]
push edi
push edx
push 2
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, eax
mov eax, dword [esp + 0x24]
push eax
call ebp
mov ecx, dword [esp + 0x20]
push ecx
call ebp
cmp esi, edi
jne 0xa0566f
cmp ebx, edi
je 0xa05669
push str._Service_quit_without_signal__
push ebx
call fcn.00a16060
add esp, 8
mov dword [esp + 0x14], edi
jmp 0xa056a1
cmp esi, 0x102
jne 0xa056a1
cmp ebx, edi
je 0xa05669
push str._Service_Startup_timeout__
push ebx
call fcn.00a16060
add esp, 8
mov dword [esp + 0x14], edi
jmp 0xa056a1
test ebx, ebx
je 0xa056a1
push str._CreateProcess_failed__
push ebx
call fcn.00a16060
add esp, 8
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x7c]
mov dword [esp + 0x6b4], 0xffffffff
call fcn.00a155e0
mov eax, esi
mov ecx, dword [esp + 0x6ac]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x6a8
ret 0x14