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

Disassembly:
push rbp
lea rbp, [rsp - 0x650]
sub rsp, 0x750
mov rax, qword [0x140050088]
xor rax, rsp
mov qword [rbp + 0x640], rax
lea rdx, [rbp + 0x220]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x14000ba1c
lea r9, [rbp + 0x10]
xor r8d, r8d
lea rdx, [0x140046b58]
lea rcx, [rbp + 0x220]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x14000ba23
xor al, al
jmp 0x14000bc99
mov r8d, 0x104
lea rdx, [rbp + 0x430]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14000ba1c
xor r8d, r8d
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x430]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x14000ba1c
xor eax, eax
mov qword [rsp + 0x768], rsi
mov qword [rbp - 0x68], rax
lea r9, [rbp - 0x78]
mov qword [rsp + 0x778], r14
lea rcx, [rbp + 0x10]
xor r14d, r14d
mov qword [rbp - 0x70], rax
mov qword [rsp + 0x30], r14
lea r8d, [rax + 5]
mov dword [rsp + 0x28], 0x4000000
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
mov dword [rbp - 0x78], 0x18
mov dword [rbp - 0x68], 1
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14000babb
xor al, al
jmp 0x14000bc89
mov qword [rsp + 0x760], rbx
mov qword [rsp + 0x770], rdi
mov qword [rsp + 0x58], 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x30], r14d
lea r9, [rsp + 0x58]
mov rcx, rax
mov dword [rsp + 0x28], 1
mov r8, rdi
mov dword [rsp + 0x20], 0x100000
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x14000bb29
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x14000bc79
xorps xmm0, xmm0
lea rcx, [rsp + 0x78]
movdqu xmmword [rsp + 0x78], xmm0
call fcn.1400143b0
mov rdi, qword [rbp - 0x80]
test al, al
jne 0x14000bb60
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor sil, sil
jmp 0x14000bc52
xor r8d, r8d
lea r9, str.Local4a609708_5900_408b_ab61_e3847b67ead4
xor ecx, ecx
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rbx, rax
test rax, rax
je 0x14000bb44
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x50], rax
test rdi, rdi
je 0x14000bb97
movsd xmm0, qword [rsp + 0x50]
movsd qword [rdi], xmm0
xor edx, edx
lea rcx, [rbp - 0x58]
lea r8d, [rdx + 0x60]
call fcn.140019d60
xor eax, eax
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], rax
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x70], rax
xor r9d, r9d
lea rax, [rsp + 0x60]
mov dword [rbp - 0x60], 0x68
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rax, [rbp - 0x60]
xor edx, edx
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov rcx, rsi
mov r14d, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r14d, r14d
je 0x14000bc3b
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
or edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp r14d, 1
sete sil
cmp rbx, 0xffffffffffffffff
je 0x14000bc52
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rdi, rdi
je 0x14000bc60
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [rsp + 0x78]
lea rdx, [rcx - 1]
cmp rdx, 0xfffffffffffffffd
ja 0x14000bc75
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, sil
mov rdi, qword [rsp + 0x770]
mov rbx, qword [rsp + 0x760]
mov rsi, qword [rsp + 0x768]
mov r14, qword [rsp + 0x778]
mov rcx, qword [rbp + 0x640]
xor rcx, rsp
call fcn.1400164d0
add rsp, 0x750
pop rbp
ret