Function at 0x140024944
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r14
lea rbp, [rsp - 0xfb0]
mov eax, 0x10b0
call fcn.140026bd0
sub rsp, rax
mov rax, qword [0x14004d9a8]
xor rax, rsp
mov qword [rbp + 0xfa0], rax
xor r12d, r12d
mov dil, r9b
mov esi, r8d
mov rbx, rdx
mov r14, rcx
cmp word [rdx], r12w
je 0x140024bd2
mov rcx, rdx
call fcn.14002bb78
cmp rax, 0x7f6
jae 0x140024bd2
xor edx, edx
lea r8d, [r12 + 0x70]
lea rcx, [rsp + 0x30]
call fcn.140027ac0
test dil, dil
mov dword [rsp + 0x30], 0x70
mov eax, 0x1c0
mov ecx, 0x5c0
cmovne eax, ecx
mov rdx, rbx
movzx ecx, word [rbx]
cmp cx, 0x22
mov dword [rsp + 0x34], eax
lea rax, [rbx + 2]
cmove rdx, rax
mov eax, r12d
mov qword [rsp + 0x48], rdx
test cx, cx
je 0x140024a3e
lea r8d, [r12 + 0x20]
cmp cx, 0x22
jne 0x140024a15
jmp 0x140024a02
cmp cx, 0x22
je 0x140024a10
inc rax
movzx ecx, word [rbx + rax*2]
test cx, cx
jne 0x1400249fc
jmp 0x140024a15
mov word [rbx + rax*2], r8w
lea rcx, [rbx + 2]
lea rcx, [rcx + rax*2]
cmp word [rbx + rax*2], r8w
je 0x140024bf8
cmp word [rcx], 0x2f
je 0x140024bfd
inc rax
movzx ecx, word [rbx + rax*2]
test cx, cx
jne 0x1400249f4
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140024a4e
cmp word [rcx], r12w
jne 0x140024a6b
test dil, dil
jne 0x140024a6b
cmp word [0x140061d4a], r12w
lea rax, [0x140061d4a]
cmove rax, rcx
mov qword [rsp + 0x50], rax
mov rcx, rdx
mov dword [rsp + 0x60], esi
call fcn.14000f3a0
mov rbx, rax
test rax, rax
je 0x140024aa2
lea rdx, str..inf
mov rcx, rax
call fcn.140016b34
test eax, eax
lea rcx, str.Install
cmovne rcx, qword [rsp + 0x40]
mov qword [rsp + 0x40], rcx
mov rcx, qword [rsp + 0x48]
call fcn.14000d48c
test al, al
je 0x140024acd
mov rcx, qword [rsp + 0x48]
lea rdx, [rbp - 0x60]
mov r8d, 0x800
call fcn.14000f08c
lea rax, [rbp - 0x60]
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x140024bd2
cmp byte [0x14005fd40], r12b
mov sil, r12b
jne 0x140024afa
test dil, dil
jne 0x140024afa
cmp byte [0x14006f3b8], r12b
je 0x140024b6f
test r14, r14
je 0x140024b1a
mov rcx, r14
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x140024b1a
xor edx, edx
mov rcx, r14
call qword [sym.imp.USER32.dll_ShowWindow]
mov sil, 1
mov rcx, qword [rbp - 0x68]
mov edx, 0x7d0
call qword [sym.imp.USER32.dll_WaitForInputIdle]
mov rcx, qword [rbp - 0x68]
call fcn.140024ef4
cmp byte [0x14006f3b8], r12b
je 0x140024b6f
test dil, dil
jne 0x140024b6f
mov rcx, qword [rbp - 0x68]
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x140024b6f
mov eax, dword [0x14006f3bc]
cmp dword [rsp + 0x20], eax
mov byte [0x14006f3b9], 1
cmova eax, dword [rsp + 0x20]
mov dword [0x14006f3bc], eax
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rbx, rbx
je 0x140024b91
lea rdx, str..exe
mov rcx, rbx
call fcn.140016b34
test eax, eax
je 0x140024bba
cmp byte [0x14005fd40], r12b
je 0x140024bba
test dil, dil
jne 0x140024bba
mov eax, dword [0x14006f3c0]
mov ecx, 0x1b58
cmp byte [0x14006f3b8], r12b
cmove eax, ecx
mov dword [0x14006f3c0], eax
test sil, sil
je 0x140024bd2
test dil, dil
je 0x140024bd2
mov edx, 1
mov rcx, r14
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rbp + 0xfa0]
xor rcx, rsp
call fcn.140026760
mov rbx, qword [rsp + 0x10f8]
add rsp, 0x10b0
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret
mov word [rbx + rax*2], r12w
mov qword [rsp + 0x50], rcx
jmp 0x140024a43