Function at 0x180005cf8
Capabilities:
Create process on windows
Get graphical window text

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x228]
sub rsp, 0x328
mov rax, qword [0x180052d00]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov eax, r8d
mov r14d, r8d
mov r8d, 0xc
mov r15, r9
mov rsi, rdx
mov rbx, rcx
sub eax, r8d
je 0x180005f7f
sub eax, 3
je 0x180005e6f
sub eax, 0x75
je 0x180005e65
sub eax, 0x17c
je 0x180005e0b
sub eax, 1
je 0x180005ddd
cmp eax, 1
jne 0x180005de4
xor edi, edi
cmp byte [rcx + 0x248], dil
je 0x180005de4
mov eax, dword [rcx + 0x244]
xor r8d, r8d
mov dword [rcx + 0x240], eax
xor edx, edx
mov byte [rcx + 0x248], dil
mov rcx, rsi
call qword [sym.imp.USER32.dll_InvalidateRect]
mov rcx, rsi
call qword [sym.imp.USER32.dll_UpdateWindow]
lea r8, [rbx + 0x20]
cmp word [r8], di
jne 0x180005dbc
mov r8d, 0x208
lea rdx, [rbp]
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea r8, [rbp]
mov dword [rsp + 0x28], 1
lea rdx, str.open
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x180005de4
mov byte [rcx + 0x248], 1
mov rax, qword [rbp + 0x280]
mov r9, r15
mov rcx, qword [rbx + 0x238]
mov r8d, r14d
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.USER32.dll_CallWindowProcW]
jmp 0x180005fac
mov rax, qword [rcx + 0x230]
test rax, rax
jne 0x180005e5c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
mov edx, 5
lea rax, [0x1800515e0]
mov qword [rsp + 0x30], rax
lea rax, [0x180051560]
mov qword [rsp + 0x28], rax
lea r9d, [rdx + 0x1b]
mov dword [rsp + 0x20], 0x20
lea r8d, [rdx - 3]
call qword [sym.imp.USER32.dll_CreateCursor]
mov qword [rbx + 0x230], rax
mov rcx, rax
call qword [sym.imp.USER32.dll_SetCursor]
mov eax, 1
jmp 0x180005fac
mov edx, 0xfffffff0
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov r8d, eax
mov rcx, rsi
and r8d, 1
add r8d, 0x20
mov edx, r8d
or edx, 2
test al, 2
cmove edx, r8d
mov r15d, edx
or r15d, 4
bt eax, 9
cmovae r15d, edx
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetClientRect]
lea rdx, [rbp - 0x50]
mov rcx, rsi
call qword [sym.imp.USER32.dll_BeginPaint]
mov edx, dword [rbx + 0x240]
mov rcx, rax
mov r14, rax
call qword [sym.imp.GDI32.dll_SetTextColor]
mov ecx, 0xf
call qword [sym.imp.USER32.dll_GetSysColor]
mov edx, eax
mov rcx, r14
call qword [sym.imp.GDI32.dll_SetBkColor]
mov rax, qword [rbx + 0x228]
test rax, rax
jne 0x180005f25
lea ecx, [rax + 0x11]
call qword [sym.imp.GDI32.dll_GetStockObject]
lea r8, [rsp + 0x50]
mov edx, 0x5c
mov rcx, rax
call qword [sym.imp.GDI32.dll_GetObjectW]
lea rcx, [rsp + 0x50]
mov byte [rsp + 0x65], 1
call qword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov qword [rbx + 0x228], rax
mov rdx, rax
mov rcx, r14
call qword [sym.imp.GDI32.dll_SelectObject]
mov r8d, 0x208
lea rdx, [rbp]
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea r9, [rsp + 0x40]
mov dword [rsp + 0x20], r15d
or r8d, 0xffffffff
lea rdx, [rbp]
mov rcx, r14
call qword [sym.imp.USER32.dll_DrawTextW]
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.GDI32.dll_SelectObject]
lea rdx, [rbp - 0x50]
mov rcx, rsi
call qword [sym.imp.USER32.dll_EndPaint]
xor eax, eax
jmp 0x180005fac
mov rax, qword [rbp + 0x280]
mov rcx, qword [rcx + 0x238]
mov qword [rsp + 0x20], rax
call qword [sym.imp.USER32.dll_CallWindowProcW]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.USER32.dll_InvalidateRect]
mov rax, rbx
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.180020620
add rsp, 0x328
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret