Function at 0x140031800
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rdi, rdx
mov ebx, r8d
mov edx, 0xffffffeb
mov rsi, rcx
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov r15, rax
mov rcx, qword [rax + 0xc0]
test rcx, rcx
je 0x14003184e
test byte [rcx + 0x44], 0x44
jne 0x14003184e
xor r14b, r14b
jmp 0x140031851
mov r14b, 1
sub ebx, 0x9c49
je 0x1400319f4
sub ebx, 1
je 0x1400319e3
sub ebx, 2
je 0x140031995
cmp ebx, 1
jne 0x140031a95
mov rax, qword [rdi + 0x28]
lea rcx, [rsp + 0x20]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x20], 0x70
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x38], rax
lea rax, str.edit
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x30], rax
movups xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], ebx
movups xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x24], 0x400
movups xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x28], rsi
movups xmmword [rbp - 0x80], xmm0
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x140031935
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x483
jne 0x14003192d
lea rbx, str.open
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x30], rbx
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x140031935
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x483
jne 0x14003192d
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x30], 0
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x140031935
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140031a95
test r14b, r14b
jne 0x140031a95
lea rcx, [r15 + 0x508]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [r15 + 0x530]
mov rax, qword [rdx + 8]
lea rcx, [r15 + 0x508]
mov qword [rdi], rdx
mov qword [rdi + 8], rax
mov qword [rax], rdi
mov qword [rdx + 8], rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [r15 + 0x20]
xor r9d, r9d
mov edx, 0x1503
mov r8d, 0x3e8
call qword [sym.imp.USER32.dll_SetTimer]
mov qword [r15 + 0x540], rax
jmp 0x140031aac
xorps xmm0, xmm0
mov dword [rbp], 0x70
xor eax, eax
lea rcx, [rbp]
mov qword [rbp + 0x64], rax
mov dword [rbp + 0x6c], eax
lea rax, [0x1400e2bc8]
movups xmmword [rbp + 0x14], xmm0
mov qword [rbp + 0x18], rax
mov rax, qword [rdi + 0x28]
movups xmmword [rbp + 0x24], xmm0
mov qword [rbp + 0x20], rax
movups xmmword [rbp + 4], xmm0
mov dword [rbp + 0x30], 1
movups xmmword [rbp + 0x34], xmm0
movups xmmword [rbp + 0x44], xmm0
movups xmmword [rbp + 0x54], xmm0
jmp 0x140031a85
mov rdx, qword [rdi + 0x28]
mov rcx, rsi
call fcn.14001af50
jmp 0x140031a95
mov rax, qword [rdi + 0x28]
lea rbx, str.open
xorps xmm0, xmm0
lea rcx, [rbp - 0x70]
movups xmmword [rbp - 0x70], xmm0
mov dword [rbp - 0x70], 0x70
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x58], rax
movups xmmword [rbp - 0x40], xmm0
mov dword [rbp - 0x40], 1
mov dword [rbp - 0x6c], 0x400
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], rbx
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x140031a95
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x483
jne 0x140031a95
lea rcx, [rbp - 0x70]
mov qword [rbp - 0x60], rbx
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x140031a95
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x483
jne 0x140031a95
mov qword [rbp - 0x60], 0
lea rcx, [rbp - 0x70]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x140031a95
call qword [sym.imp.KERNEL32.dll_GetLastError]
test rdi, rdi
je 0x140031aac
mov rcx, qword [0x1400e1230]
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret