Function at 0x140001100
Capabilities:
Create process on windows
Get common file path
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x18], r8
push rbp
push rdi
push r14
lea rbp, [rsp - 0x7f0]
sub rsp, 0x8f0
mov r14, rdx
mov rdi, rcx
lea rdx, [rbp + 0x3e0]
mov ecx, 0x104
mov rsi, r9
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ebx, eax
test eax, eax
je 0x14000136e
lea rcx, [rbp + 0x820]
mov qword [rsp + 0x910], r15
call qword [sym.imp.KERNEL32.dll_GetSystemTimePreciseAsFileTime]
mov rdx, qword [rbp + 0x820]
lea r10, [0x140000000]
xor r15d, r15d
mov r9d, r15d
cmp ebx, 0x103
jae 0x1400011bc
mov ecx, 7
mov r8d, edx
sub cl, r9b
inc r9
shl cl, 2
shr r8, cl
and r8d, 0xf
mov ecx, ebx
inc ebx
movzx eax, word [r10 + r8*2 + 0x20e0]
mov word [rbp + rcx*2 + 0x3e0], ax
cmp r9, 8
jl 0x140001170
mov word [rbp + rbx*2 + 0x3e0], r15w
test ebx, ebx
je 0x140001366
mov rax, r15
nop
movzx ecx, word [r10 + rax*2 + 0x2108]
lea rdx, [rbp - 0x20]
lea rdx, [rdx + rax*2]
test cx, cx
je 0x140001386
inc rax
mov word [rdx], cx
cmp rax, 0x1ff
jl 0x1400011c0
mov word [rbp + rax*2 - 0x20], r15w
mov word [rbp + rax*2 - 0x20], r15w
mov word [rbp + rax*2 - 0x20], r15w
mov word [rbp + rax*2 - 0x20], r15w
mov word [rbp + rax*2 - 0x20], r15w
movzx eax, word [rbp - 0x20]
mov word [rbp + 0x5f0], ax
test ax, ax
je 0x140001236
mov rcx, r15
nop dword [rax]
lea rcx, [rcx + 2]
movzx eax, word [rbp + rcx - 0x20]
mov word [rbp + rcx + 0x5f0], ax
test ax, ax
jne 0x140001220
vpxor xmm0, xmm0, xmm0
lea rax, [rsp + 0x50]
mov dword [rsp + 0x70], 0x68
mov qword [rsp + 0x48], rax
lea rdx, [rbp + 0x5f0]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x78], r15
mov qword [rsp + 0x40], rax
xor r9d, r9d
mov qword [rsp + 0x38], r15
xor r8d, r8d
mov qword [rsp + 0x30], r15
xor ecx, ecx
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
vmovdqu xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], r15
mov dword [rbp - 0x50], r15d
mov qword [rbp - 0x48], r15
vmovdqu xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r15
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140001366
mov rcx, qword [rsp + 0x50]
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x50]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x140001366
mov qword [rsp + 0x30], r15
lea r8d, [rbx + 7]
mov dword [rsp + 0x28], r15d
lea rcx, [rbp + 0x3e0]
xor r9d, r9d
mov dword [rsp + 0x20], 3
mov edx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140001366
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, eax
mov r8d, 0x20000000
mov rax, qword [rsi]
sub r8, rax
cmp rcx, r8
cmovl r8, rcx
test r8, r8
je 0x14000135d
lea rdx, [rax + r14]
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0x820]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [rbp + 0x820]
add qword [rsi], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r15, qword [rsp + 0x910]
lea r11, [rsp + 0x8f0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov word [rdx], r15w
cmp rax, 0x1ff
jge 0x1400011ee
lea rcx, [rbp - 0x20]
lea rcx, [rcx + rax*2]
nop
movzx edx, word [rdi]
test dx, dx
je 0x1400013c3
mov word [rcx], dx
inc rax
add rcx, 2
add rdi, 2
cmp rax, 0x1ff
jl 0x1400013a0
jmp 0x1400011ee
mov word [rcx], r15w
cmp rax, 0x1ff
jge 0x1400011f4
lea rcx, [rbp - 0x20]
lea rcx, [rcx + rax*2]
lea rdx, [0x140002128]
movzx r8d, word [rdx]
test r8w, r8w
je 0x140001408
mov word [rcx], r8w
inc rax
add rcx, 2
add rdx, 2
cmp rax, 0x1ff
jl 0x1400013e2
jmp 0x1400011f4
mov word [rcx], r15w
cmp rax, 0x1ff
jge 0x1400011fa
lea rcx, [rbp - 0x20]
lea rcx, [rcx + rax*2]
lea rdx, [rbp + 0x3e0]
nop word [rax + rax]
movzx r8d, word [rdx]
test r8w, r8w
je 0x140001456
mov word [rcx], r8w
inc rax
add rcx, 2
add rdx, 2
cmp rax, 0x1ff
jl 0x140001430
jmp 0x1400011fa
mov word [rcx], r15w
cmp rax, 0x1ff
jge 0x140001200
lea rcx, [rbp - 0x20]
lea rcx, [rcx + rax*2]
lea rdx, str.___y
movzx r8d, word [rdx]
test r8w, r8w
je 0x14000149b
mov word [rcx], r8w
inc rax
add rcx, 2
add rdx, 2
cmp rax, 0x1ff
jl 0x140001475
jmp 0x140001200
mov word [rcx], r15w
jmp 0x140001206