Function at 0x1400794d0
Capabilities:
Create process on windows

Disassembly:
push rbp
push rbx
push rsi
push r12
push r14
push r15
lea rbp, [rsp - 0xaa8]
sub rsp, 0xbc8
mov rax, qword [0x1401f7280]
xor rax, rsp
mov qword [rbp + 0xa90], rax
mov r12, qword [rbp + 0xb10]
mov r14, rdx
mov rsi, rcx
lea rdx, str.Stub_Plugin.exe
lea rcx, [rbp + 0x260]
mov rbx, r9
mov r15, r8
call fcn.1400748e0
lea rcx, [rbp + 0x260]
call fcn.1400e7210
test eax, eax
jne 0x140079549
lea rcx, str.Stub_Plugin.exe
xor r8d, r8d
mov rdx, rbx
call fcn.140077e40
xor eax, eax
jmp 0x14007979c
mov qword [rsp + 0xbc0], rdi
mov edi, dword [rbp + 0xb00]
cmp edi, 0x40
jne 0x140079585
lea rcx, [0x1401897a0]
call fcn.1400743a0
test eax, eax
je 0x140079585
lea rcx, [0x1401897a0]
xor r8d, r8d
mov rdx, rbx
call fcn.140077e40
xor eax, eax
jmp 0x140079794
mov rcx, qword [0x1401fbb88]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1400795a3
mov rcx, qword [0x1401fbb88]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rcx, rsi
call fcn.140077f20
mov qword [0x1401fbb88], rax
test rax, rax
je 0x14007957e
xor ebx, ebx
lea rcx, [rbp - 0x30]
xor edx, edx
lea r8d, [rbx + 0x68]
mov qword [0x1401fbf78], r14
mov dword [0x1401f7250], 3
mov dword [0x1401fbf68], ebx
mov dword [0x1401fbf6c], ebx
call fcn.1400f9ab0
xor eax, eax
lea rdx, [rbp + 0x150]
mov rcx, r15
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
mov dword [rbp - 0x30], 0x68
call fcn.140074980
lea rdx, [rbp + 0x470]
lea rcx, [rbp + 0x260]
call fcn.140074980
lea rdx, [rbp + 0x40]
mov rcx, r12
call fcn.1400ec840
lea rax, [0x140188451]
lea r9d, [rbx + 1]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x88], rax
lea rax, [rbp + 0x40]
lea r8, [rbp + 0x470]
lea rdx, [0x140189730]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], rbx
lea rax, [rbp + 0x150]
lea rcx, [rbp + 0x680]
mov qword [rsp + 0x48], rax
mov eax, dword [0x1401fbb88]
mov dword [rsp + 0x40], 3
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], InitCommonControls
call fcn.1400f9828
lea rax, [rbp - 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x30]
lea rdx, [rbp + 0x680]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x140079770
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x1401fbf68], ebx
jne 0x14007977a
nop word [rax + rax]
mov rcx, qword [0x1401fbb88]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14007977a
lea rcx, [rbp - 0x68]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x140079765
lea rcx, [rbp - 0x68]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x68]
call qword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [0x1401fbf68], ebx
je 0x140079720
jmp 0x14007977a
mov ecx, dword [rbp - 0x58]
call qword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x14007977a
mov dword [0x1401fbf68], 1
mov rcx, qword [0x1401fbb88]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [0x1401fbf6c]
mov qword [0x1401fbb88], rbx
mov rdi, qword [rsp + 0xbc0]
mov rcx, qword [rbp + 0xa90]
xor rcx, rsp
call fcn.1400f9a80
add rsp, 0xbc8
pop r15
pop r14
pop r12
pop rsi
pop rbx
pop rbp
ret