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

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x328
mov rax, qword [0x180080238]
xor rax, rsp
mov qword [rsp + 0x310], rax
mov rbp, r9
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
cmp r8d, 0x200
ja 0x1800014c5
je 0x180001463
mov eax, r8d
sub eax, 0xc
je 0x18000142a
sub eax, 3
je 0x180001301
cmp eax, 0x75
jne 0x180001560
mov eax, 1
jmp 0x180001583
mov edx, 0xfffffff0
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov edx, eax
movzx ecx, al
and edx, 1
or edx, 0x20
mov r8d, edx
or r8d, 2
and cl, 2
mov rcx, rdi
cmove r8d, edx
and eax, 0x200
mov ebp, r8d
lea rdx, [rsp + 0x40]
or ebp, 4
test rax, rax
cmove ebp, r8d
call qword [sym.imp.USER32.dll_GetClientRect]
lea rdx, [rsp + 0xb0]
mov rcx, rdi
call qword [sym.imp.USER32.dll_BeginPaint]
mov edx, dword [rbx + 0x240]
mov rcx, rax
mov rsi, rax
call qword [sym.imp.GDI32.dll_SetTextColor]
mov ecx, 0xf
call qword [sym.imp.USER32.dll_GetSysColor]
mov edx, eax
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SetBkColor]
mov rdx, qword [rbx + 0x228]
test rdx, rdx
jne 0x1800013c3
lea ecx, [rdx + 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, rsi
call qword [sym.imp.GDI32.dll_SelectObject]
mov r8d, 0x104
lea rdx, [rsp + 0x100]
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea r9, [rsp + 0x40]
mov dword [rsp + 0x20], ebp
mov r8d, 0xffffffff
lea rdx, [rsp + 0x100]
mov rcx, rsi
call qword [sym.imp.USER32.dll_DrawTextW]
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SelectObject]
lea rdx, [rsp + 0xb0]
mov rcx, rdi
call qword [sym.imp.USER32.dll_EndPaint]
xor eax, eax
jmp 0x180001583
mov rax, qword [rsp + 0x370]
mov r8d, 0xc
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, rdi
mov rbx, rax
call qword [sym.imp.USER32.dll_InvalidateRect]
mov rax, rbx
jmp 0x180001583
mov rcx, qword [rcx + 0x230]
test rcx, rcx
jne 0x1800014b5
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
mov edx, 5
lea rax, [0x18005c960]
mov qword [rsp + 0x30], rax
lea rax, [0x18005c8e0]
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 0x180001583
mov eax, esi
sub eax, 0x201
je 0x180001559
cmp eax, 1
jne 0x180001560
cmp byte [rcx + 0x248], 0
je 0x180001560
mov eax, dword [rcx + 0x244]
xor r8d, r8d
mov dword [rcx + 0x240], eax
xor edx, edx
mov byte [rcx + 0x248], 0
mov rcx, rdi
call qword [sym.imp.USER32.dll_InvalidateRect]
mov rcx, rdi
call qword [sym.imp.USER32.dll_UpdateWindow]
cmp word [rbx + 0x20], 0
lea r8, [rbx + 0x20]
jne 0x180001538
mov r8d, 0x104
lea rdx, [rsp + 0x100]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea r8, [rsp + 0x100]
xor r9d, r9d
mov dword [rsp + 0x28], 1
lea rdx, str.open
mov qword [rsp + 0x20], r9
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x180001560
mov byte [rcx + 0x248], 1
mov rax, qword [rsp + 0x370]
mov r9, rbp
mov rcx, qword [rbx + 0x238]
mov r8d, esi
mov rdx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.USER32.dll_CallWindowProcW]
mov rcx, qword [rsp + 0x310]
xor rcx, rsp
call fcn.180037cc0
add rsp, 0x328
pop rdi
pop rsi
pop rbp
pop rbx
ret