Function at 0x40eff7
Capabilities:
Terminate process

Disassembly:
push 0x10
mov eax, 0x417288
call fcn.00413fed
mov edi, dword [sym.imp.kernel32.dll_GetLastError]
xor ebx, ebx
cmp byte [0x42533c], bl
jne 0x40f033
push 1
push 0x40efa3
call dword [sym.imp.kernel32.dll_SetConsoleCtrlHandler]
test eax, eax
jne 0x40f033
call edi
push eax
push str.Could_not_install_console_handler:_SetConsoleCtrlHandler_failed__error__d__n
call fcn.0041130e
pop ecx
pop ecx
call fcn.00415407
mov esi, dword [sym.imp.kernel32.dll_GetCurrentProcessId]
call esi
push eax
push ebx
push 0x510
call dword [sym.imp.kernel32.dll_OpenProcess]
mov dword [0x425310], eax
cmp eax, ebx
jne 0x40f073
call edi
mov edi, eax
call esi
push edi
push eax
push str.Could_not_open_process__d:_error__d_n
call fcn.004115c7
add esp, 0xc
push 1
call dword [sym.imp.msvcr100.dll_exit]
mov dword [ebp - 0x10], ebx
cmp dword [0x42523c], ebx
jne 0x40f09c
push 0xd9
push 0x41c02c
push 0x41bfbc
call fcn.004115c7
push 1
call fcn.0040b45e
add esp, 0x10
lea eax, [ebp - 0x10]
push eax
push 0x28
push dword [0x425310]
call dword [0x42523c]
test eax, eax
jne 0x40f0c3
call edi
push eax
push str.Could_not_open_process_token:_error__d_n
call fcn.004115c7
pop ecx
pop ecx
jmp 0x40f06b
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], ebx
call fcn.0040b600
push 0x41c1e4
push dword [ebp - 0x10]
mov dword [0x42530c], eax
call fcn.00415407
pop ecx
pop ecx
mov byte [0x425306], al
cmp al, bl
jne 0x40f103
call edi
push eax
push str.SeLockMemoryPrivilege
push 0x41c214
call fcn.0041130e
add esp, 0xc
push 0x41c0dc
push dword [ebp - 0x10]
call fcn.00415407
pop ecx
pop ecx
mov byte [0x425307], al
cmp al, bl
jne 0x40f139
call edi
push eax
push str.SeIncreaseBasePriorityPrivilege
push str.Could_not_get__s_privilege:_error__d_n
call fcn.0041130e
mov al, byte [0x425307]
add esp, 0xc
cmp al, bl
je 0x40f150
cmp dword [0x42522c], ebx
je 0x40f150
mov byte [0x4252dc], 1
cmp dword [0x425230], ebx
jne 0x40f156
mov byte [0x4252dc], bl
cmp byte [0x425306], bl
je 0x40f16b
cmp al, bl
je 0x40f16b
mov byte [0x4252dd], 1
jmp 0x40f17c
push str.Lock_memory_requests_will_be_ignored:_Insufficient_privileges_n
mov byte [0x4252dd], bl
call fcn.0041130e
pop ecx
cmp dword [0x425220], ebx
setne al
cmp dword [0x425214], ebx
mov byte [0x4252df], al
setne al
mov byte [0x425300], al
cmp dword [0x425268], ebx
je 0x40f1af
mov byte [0x425301], 1
cmp dword [0x42524c], ebx
jne 0x40f1b5
mov byte [0x425301], bl
mov al, byte [0x42533c]
cmp al, bl
je 0x40f1dd
cmp dword [0x42525c], ebx
je 0x40f1dd
cmp dword [0x425260], ebx
je 0x40f1dd
mov byte [0x425302], 1
cmp dword [0x425264], ebx
jne 0x40f1e3
mov byte [0x425302], bl
cmp al, bl
je 0x40f205
mov eax, dword [0x425184]
cmp eax, 5
ja 0x40f1fc
jne 0x40f205
cmp dword [0x425188], 1
jb 0x40f205
mov byte [0x425303], 1
jmp 0x40f20b
mov byte [0x425303], bl
cmp byte [0x4252dc], bl
je 0x40f244
lea eax, [ebp - 0x1c]
push eax
call fcn.0040b4cb
lea eax, [ebp - 0x1c]
push eax
push str.Initial
call fcn.0040b441
mov eax, dword [ebp - 0x18]
push 0x4252c8
mov dword [0x4252cc], eax
mov dword [0x4252c8], eax
call fcn.00415407
add esp, 0x10
push 0x40
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_SetPriorityClass]
test eax, eax
jne 0x40f266
call edi
push eax
push str.Could_not_enter_IDLE_priority_class:_SetPriorityClass_failed__error__d__n
call fcn.0041130e
pop ecx
pop ecx
mov esi, dword [sym.imp.kernel32.dll_CreateEventA]
push ebx
push ebx
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
push ebx
mov dword [0x4252d4], eax
call esi
mov dword [0x4252d8], eax
call fcn.00401a8a
test al, al
jne 0x40f29e
push str.Unable_to_start_JQS_API_Server_thread_n
call fcn.004115c7
push 1
call fcn.0040b45e
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040b269
call fcn.0041408c
ret