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 + 0x18], r8
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x7f0]
sub rsp, 0x8f0
mov rsi, rdx
mov ecx, 0x104
lea rdx, [rbp + 0x3e0]
mov rdi, r9
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ebx, eax
test eax, eax
je 0x14000136e
lea rcx, [rbp + 0x820]
mov qword [rsp + 0x910], r14
call qword [sym.imp.KERNEL32.dll_GetSystemTimePreciseAsFileTime]
mov rdx, qword [rbp + 0x820]
lea r10, [0x140000000]
xor r14d, r14d
mov r9d, r14d
cmp ebx, 0x103
jae 0x1400011b3
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 0x140001167
mov word [rbp + rbx*2 + 0x3e0], r14w
test ebx, ebx
je 0x140001366
mov rax, r14
nop word [rax + rax]
movzx ecx, word [r10 + rax*2 + 0x2108]
lea rdx, [rbp - 0x20]
lea rdx, [rdx + rax*2]
test cx, cx
je 0x140001381
inc rax
mov word [rdx], cx
cmp rax, 0x1ff
jl 0x1400011c0
mov word [rbp + rax*2 - 0x20], r14w
mov word [rbp + rax*2 - 0x20], r14w
mov word [rbp + rax*2 - 0x20], r14w
mov word [rbp + rax*2 - 0x20], r14w
mov word [rbp + rax*2 - 0x20], r14w
movzx eax, word [rbp - 0x20]
mov word [rbp + 0x5f0], ax
test ax, ax
je 0x140001236
mov rcx, r14
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], r14
mov qword [rsp + 0x40], rax
xor r9d, r9d
mov qword [rsp + 0x38], r14
xor r8d, r8d
mov qword [rsp + 0x30], r14
xor ecx, ecx
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
vmovdqu xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], r14
mov dword [rbp - 0x50], r14d
mov qword [rbp - 0x48], r14
vmovdqu xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r14
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], r14
lea r8d, [rbx + 7]
mov dword [rsp + 0x28], r14d
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 [rdi]
sub r8, rax
cmp rcx, r8
cmovl r8, rcx
test r8, r8
je 0x14000135d
lea rdx, [rax + rsi]
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x820]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [rbp + 0x820]
add qword [rdi], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r14, qword [rsp + 0x910]
mov rbx, qword [rsp + 0x918]
add rsp, 0x8f0
pop rdi
pop rsi
pop rbp
ret
mov word [rdx], r14w
cmp rax, 0x1ff
jge 0x1400011ee
lea rcx, [rbp - 0x20]
lea rcx, [rcx + rax*2]
lea rdx, str.HKCUSOFTWAREMicrosoftWindows
movzx r8d, word [rdx]
test r8w, r8w
je 0x1400013c6
mov word [rcx], r8w
inc rax
add rcx, 2
add rdx, 2
cmp rax, 0x1ff
jl 0x1400013a0
jmp 0x1400011ee
mov word [rcx], r14w
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 0x14000140b
mov word [rcx], r8w
inc rax
add rcx, 2
add rdx, 2
cmp rax, 0x1ff
jl 0x1400013e5
jmp 0x1400011f4
mov word [rcx], r14w
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], r14w
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], r14w
jmp 0x140001206