Function at 0x140001b80
Capabilities:
Create thread
Get file size
Query environment variable
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x130]
sub rsp, 0x230
mov rax, qword [0x14001f010]
xor rax, rsp
mov qword [rbp + 0x120], rax
mov r12, qword [0x140020d20]
sub r12, qword [0x140020d18]
sar r12, 5
mov qword [rsp + 0x50], r12
mov eax, 0x18
mul r12
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.14000ab2c
mov rsi, rax
mov qword [rsp + 0x58], rax
lea r8, [r12 + r12*2]
shl r8, 3
xor edx, edx
mov rcx, rax
call fcn.140007de0
xor ebx, ebx
mov dword [rsp + 0x60], ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
jne 0x140001c33
mov rcx, rsi
call fcn.14000ab18
mov eax, 0x80004005
jmp 0x140001f56
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
mov qword [rsp + 0x78], rbx
lea rcx, [rsp + 0x68]
cmp dword [rsp + 0x60], 0
jne 0x140001c5d
mov r8, qword [0x140020d20]
mov rdx, qword [0x140020d18]
jmp 0x140001c6b
mov r8, qword [0x140020d38]
mov rdx, qword [0x140020d30]
call fcn.140004bc0
test r12, r12
je 0x140001e53
mov r13, rbx
mov r14, rsi
mov qword [rsp + 0x48], r12
mov r12d, 0x5a4d
nop word [rax + rax]
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x10]
call fcn.140007de0
mov rcx, qword [rsp + 0x68]
add rcx, r13
cmp qword [rcx + 0x18], 0x10
jb 0x140001cb3
mov rcx, qword [rcx]
mov r8d, 0x104
lea rdx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov rdi, rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x140001e35
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
lea ecx, [rsi - 1]
cmp ecx, 0xfffffffd
ja 0x140001d44
mov ecx, esi
call fcn.14000ab2c
mov rdi, rax
test rax, rax
je 0x140001d44
mov dword [rsp + 0x64], ebx
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x64]
mov r8d, esi
mov rdx, rax
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [rsp + 0x64], esi
je 0x140001d56
mov esi, ebx
test rdi, rdi
je 0x140001d56
mov rcx, rdi
call fcn.14000ab18
mov rdi, rbx
test r15, r15
je 0x140001d64
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rdi, rdi
je 0x140001e35
add esi, 0xfffffff4
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
mov dword [rbp], eax
mov dword [rsp + 0x40], 1
lea r9, [rsp + 0x40]
mov r8, rdi
lea rcx, [rbp - 0x80]
call fcn.140005c10
lea r8, [rdi + 0xc]
mov edx, esi
lea rcx, [rbp - 0x80]
call fcn.140005e50
cmp word [rdi + 0xc], r12w
jne 0x140001e35
mov edx, esi
lea rcx, [rdi + 0xc]
call fcn.140005320
mov qword [r14], rax
mov rcx, rdi
test rax, rax
jne 0x140001de4
call fcn.14000ab18
jmp 0x140001e35
call fcn.14000ab18
lea rdx, str.start
mov rcx, qword [r14]
call fcn.140005970
mov r8, rax
test rax, rax
jne 0x140001e17
lea rdx, str.Init
mov rcx, qword [r14]
call fcn.140005970
mov r8, rax
test rax, rax
je 0x140001e35
lea rax, [r14 + 0x10]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [r14 + 8], rax
add r13, 0x20
add r14, 0x18
sub qword [rsp + 0x48], 1
jne 0x140001c90
mov r12, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov eax, 8
mul r12
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.14000ab2c
mov rdi, rax
mov r11d, ebx
mov r10d, ebx
test r12, r12
je 0x140001ea4
mov r9, rax
lea rdx, [rsi + 8]
mov rcx, qword [rdx]
test rcx, rcx
je 0x140001e95
mov qword [r9], rcx
inc r11d
add r9, 8
inc r10d
add rdx, 0x18
movsxd rax, r10d
cmp rax, r12
jb 0x140001e83
mov r9d, 0xffffffff
mov r8d, 1
mov rdx, rdi
mov ecx, r11d
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test rdi, rdi
je 0x140001ec9
mov rcx, rdi
call fcn.14000ab18
test rsi, rsi
je 0x140001f09
test r12, r12
je 0x140001f00
mov rdi, rsi
mov rcx, qword [rdi]
test rcx, rcx
je 0x140001ee3
call fcn.140005af0
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140001ef2
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
add rdi, 0x18
movsxd rax, ebx
cmp rax, r12
jb 0x140001ed6
mov rcx, rsi
call fcn.14000ab18
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140001f54
mov rdx, qword [rsp + 0x70]
call fcn.140004820
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x68]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001f4f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001f86
call fcn.1400064dc
xor eax, eax
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.140006160
lea r11, [rsp + 0x230]
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
call fcn.14000ad68
int3