Function at 0x42f270
Capabilities:
Create process on windows
Create process suspended
Get graphical window text
Resume thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48c
mov eax, dword [0x507628]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x44
lea eax, [ebp - 0x488]
push 0
push eax
call fcn.00460c60
add esp, 0xc
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x426]
push edx
mov dword [ebp - 0x488], 0x44
mov word [ebp - 0x428], cx
call fcn.00460c60
mov edx, 0x74
mov word [ebp - 0x10], dx
mov edx, 0x78
mov eax, 0x65
mov word [ebp - 0xa], dx
add esp, 0xc
mov word [ebp - 0x14], ax
mov ecx, 0x61
mov word [ebp - 0x12], cx
lea edx, [ebp - 0x14]
push edx
mov eax, 0x2e
mov ecx, 0x65
mov word [ebp - 0xe], ax
mov eax, ecx
mov word [ebp - 0xc], cx
xor ecx, ecx
push 0x511470
push 0x4f9c54
lea edx, [ebp - 0x428]
mov word [ebp - 8], ax
mov word [ebp - 6], cx
call fcn.00403b80
add esp, 0xc
lea eax, [ebp - 0x440]
push eax
lea ecx, [ebp - 0x488]
push ecx
push 0
push 0
push 4
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x428]
push edx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
mov eax, dword [0x511850]
je 0x42f59b
push 2
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov ecx, dword [ebp - 0x43c]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, dword [ebp - 0x440]
push 0xffffffffffffffff
push edx
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov edi, dword [sym.imp.USER32.dll_GetTopWindow]
xor ebx, ebx
push ebx
mov dword [ebp - 0x42c], ebx
call edi
mov esi, eax
test esi, esi
je 0x42f3f9
mov ebx, dword [sym.imp.USER32.dll_GetWindow]
jmp 0x42f3a0
lea eax, [ebp - 0x430]
push eax
push esi
mov dword [ebp - 0x430], 0
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x42f3d1
mov ecx, dword [ebp - 0x438]
cmp ecx, dword [ebp - 0x430]
jne 0x42f3d1
push esi
call edi
test eax, eax
jne 0x42f3de
push 2
push esi
call ebx
mov esi, eax
test esi, esi
jne 0x42f3a0
jmp 0x42f3f3
push esi
mov dword [ebp - 0x42c], esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test esi, esi
jne 0x42f477
mov ebx, dword [ebp - 0x42c]
cmp dword [0x51146c], 3
push 0
jge 0x42f436
mov edx, dword [ebp - 0x440]
mov edi, dword [sym.imp.KERNEL32.dll_TerminateProcess]
inc dword [0x51146c]
push edx
call edi
cmp dword [0x51146c], 2
jne 0x42f42f
push str.lineage.cfg
call fcn.0045eea8
add esp, 4
call fcn.0042f270
jmp 0x42f483
mov eax, dword [ebp - 0x440]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [0x511a84]
mov edx, dword [0x511850]
push 1
push 0
push ecx
push edx
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov eax, dword [0x511850]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, 0x4fa968
jmp 0x42f5c5
mov edi, dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, dword [ebp - 0x42c]
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x21e]
push edx
mov word [ebp - 0x220], cx
call fcn.00460c60
mov esi, dword [sym.imp.USER32.dll_GetWindowTextW]
add esp, 0xc
jmp 0x42f4b0
mov ecx, dword [ebp - 0x440]
lea eax, [ebp - 0x42c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x42f561
cmp dword [ebp - 0x42c], 0x103
jne 0x42f561
push ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x42f54b
push 0x104
lea edx, [ebp - 0x220]
push edx
push ebx
call esi
lea eax, [ebp - 0x220]
push str.Aplus
push eax
call fcn.0045cb46
add esp, 8
test eax, eax
jne 0x42f556
lea ecx, [ebp - 0x220]
push str.Poseidon
push ecx
call fcn.0045cb46
add esp, 8
test eax, eax
jne 0x42f556
lea edx, [ebp - 0x220]
push 0x4fa9e4
push edx
call fcn.0045cb46
add esp, 8
test eax, eax
jne 0x42f556
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x42f4b0
mov eax, dword [ebp - 0x440]
push 0
push eax
jmp 0x42f55f
mov ecx, dword [ebp - 0x440]
push 0
push ecx
call edi
mov edx, dword [0x511a84]
mov eax, dword [0x511850]
push 1
push 0
push edx
push eax
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov ecx, dword [0x511850]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045ba17
mov esp, ebp
pop ebp
ret
mov edx, dword [0x511a84]
push 1
push 0
push edx
push eax
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov ecx, dword [0x511850]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, 0x4fa9ec
push 0xffffffffffffffff
mov esi, eax
call fcn.00429c00
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0045ba17
mov esp, ebp
pop ebp
ret