Function at 0x140219fe0
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x140
mov qword [rbp - 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov r13, r8
mov rsi, rcx
xor r15d, r15d
mov r12d, r15d
mov r8d, edx
lea rdx, [rsp + 0x60]
call fcn.140217810
nop
or r14d, 0xffffffff
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x14021a4f0
add rdx, 8
mov rcx, rsi
call fcn.1402175e0
test al, al
jne 0x14021a4f0
mov ecx, 0x100
call fcn.1400be454
test rax, rax
je 0x14021a067
mov rcx, rax
call fcn.1400746cc
mov rdi, rax
jmp 0x14021a06a
mov rdi, r15
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], r15
mov rdx, rdi
lea rcx, [rbp - 0x60]
call fcn.14007505c
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rax]
mov qword [rsp + 0x58], rcx
mov qword [rax], rdx
mov rbx, qword [rbp - 0x60]
test rbx, rbx
je 0x14021a0c5
mov eax, r14d
lock xadd dword [rbx + 8], eax
add eax, r14d
jne 0x14021a0c5
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
add eax, r14d
jne 0x14021a0c5
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
mov r8, rdi
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.1400020a0
nop
mov rdx, qword [rsp + 0x60]
add rdx, 8
mov rcx, qword [rsp + 0x50]
add rcx, 8
call fcn.14000c244
mov r11, qword [rsp + 0x60]
mov ecx, dword [r11]
mov rax, qword [rsp + 0x50]
mov dword [rax + 0x18], ecx
mov rax, qword [rsp + 0x50]
mov qword [rax], r13
mov rax, qword [rsp + 0x60]
mov ebx, dword [rax + 0x60]
or ebx, 0xf003f
mov edx, dword [rax + 0x50]
lea rcx, [rbp - 0x50]
call fcn.140219ae0
nop
lea r8, [0x140352420]
mov rdx, rax
lea rcx, [rbp - 0x68]
call fcn.14001c3e0
nop
mov r8, qword [rsp + 0x60]
add r8, 0x58
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.140004278
mov r8, qword [rax]
mov rax, qword [rsp + 0x60]
mov ecx, dword [rax + 0x50]
call fcn.140217510
mov rdx, rax
mov rcx, qword [rsp + 0x50]
add rcx, 0x28
mov r9d, ebx
call fcn.1400114d4
mov r12d, eax
mov rdx, qword [rbp - 0x70]
add rdx, 0xffffffffffffffe8
mov ecx, r14d
lock xadd dword [rdx + 0x10], ecx
add ecx, r14d
test ecx, ecx
jg 0x14021a192
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
nop
mov rdx, qword [rbp - 0x68]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x14021a1b3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x50]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x14021a1d3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test r12d, r12d
jne 0x14021a4b9
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rbp + 0x88], rbx
mov rax, qword [rsp + 0x60]
mov ecx, dword [rax + 0x50]
test cl, 8
je 0x14021a256
mov rcx, qword [rsp + 0x50]
add rcx, 0x10
lea r8d, [r12 + 0xf]
lea rdx, str.UninstallString
call fcn.14000c9f8
mov rcx, qword [rsp + 0x50]
add rcx, 0x20
lea r9, [0x140330de8]
lea r8, str.UninstallString
lea rdx, [rbp - 0x58]
call fcn.140224ba8
nop
mov rdx, rax
lea rcx, [rbp + 0x88]
call fcn.14000c244
nop
mov rdx, qword [rbp - 0x58]
jmp 0x14021a2a4
test cl, 2
je 0x14021a2c7
mov rcx, qword [rsp + 0x50]
add rcx, 0x10
mov r8d, VariantTimeToDosDateTime
lea rdx, [0x14035b4c0]
call fcn.14000c9f8
mov rdx, qword [rsp + 0x60]
add rdx, 0x58
lea rcx, [rbp - 0x78]
call fcn.1402197e0
nop
mov r8, qword [rax]
lea rdx, str.msiexec.exe__X_s
lea rcx, [rbp + 0x88]
call fcn.14000d9c8
nop
mov rdx, qword [rbp - 0x78]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x14021a2c0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rbp + 0x88]
cmp dword [rbx - 0x10], r15d
jne 0x14021a2d5
mov r12d, r14d
jmp 0x14021a49c
mov rdi, qword [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rdi + 0x50], rax
mov rcx, qword [rsp + 0x50]
mov r9, qword [rcx + 0x50]
test r9, r9
je 0x14021a49c
mov r13d, 1
mov dword [rsp + 0x20], r13d
lea r8d, [r13 + 3]
mov edx, r13d
mov rcx, qword [rcx + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegNotifyChangeKeyValue]
test eax, eax
jne 0x14021a49c
lea edi, [rax + 0x68]
mov r8d, edi
xor edx, edx
lea rcx, [rbp - 0x30]
call fcn.1400c7360
mov dword [rbp - 0x30], edi
mov word [rbp + 0x10], r13w
mov rdi, qword [rsp + 0x50]
mov edx, dword [rbx - 0x10]
test edx, edx
jns 0x14021a354
mov ecx, 0x80070057
call fcn.14000cbb8
int3
mov ecx, r13d
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edx
or eax, ecx
jge 0x14021a376
lea rcx, [rbp + 0x88]
call fcn.14000c998
mov rbx, qword [rbp + 0x88]
lea rax, [rdi + 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
setne dil
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
call fcn.1400beaac
test eax, eax
js 0x14021a491
cmp eax, dword [rbx - 0xc]
jg 0x14021a491
mov dword [rbx - 0x10], eax
cdqe
mov word [rbx + rax*2], r15w
test dil, dil
je 0x14021a486
add dword [rsi + 8], r13d
mov edx, dword [rsi + 8]
lea r9, [0x140035138]
xor ecx, ecx
mov r8d, 0x3e8
call qword [sym.imp.USER32.dll_SetTimer]
mov eax, eax
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x58]
mov qword [rbp - 0x80], rax
test rax, rax
je 0x14021a42d
lock add dword [rax + 8], r13d
mov rbx, qword [rbp + 0x88]
lea rcx, [rsi + 0xc0]
lea r8, [rsp + 0x70]
lea rdx, [rbp - 0x40]
call fcn.140074e30
nop
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x14021a49c
mov eax, r14d
lock xadd dword [rcx + 8], eax
add eax, r14d
jne 0x14021a47d
mov rbx, qword [rbp - 0x80]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
add eax, r14d
jne 0x14021a47d
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rbx, qword [rbp + 0x88]
jmp 0x14021a49c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12d, eax
jmp 0x14021a49c
mov ecx, 0x80070057
call fcn.14000cbb8
nop
lea rdx, [rbx - 0x18]
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x14021a4b9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rbx, qword [rsp + 0x58]
test rbx, rbx
je 0x14021a4f0
mov eax, r14d
lock xadd dword [rbx + 8], eax
add eax, r14d
jne 0x14021a4f0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
add eax, r14d
jne 0x14021a4f0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
nop
mov rbx, qword [rsp + 0x68]
test rbx, rbx
je 0x14021a526
mov eax, r14d
lock xadd dword [rbx + 8], eax
add eax, r14d
jne 0x14021a526
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
add eax, r14d
jne 0x14021a526
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
mov eax, r12d
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret