Function at 0x1400282d0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg
Hash data with crc32
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x30
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rcx + 0xa8], xmm0
mov rdi, rdx
mov rbx, rcx
movups xmmword [rcx + 0xb8], xmm0
mov edx, 0x4000
movups xmmword [rcx + 0xc8], xmm0
movups xmmword [rcx + 0xd8], xmm0
movups xmmword [rcx + 0xe8], xmm0
movups xmmword [rcx + 0xf8], xmm0
movups xmmword [rcx + 0x108], xmm0
mov qword [rcx + 0x118], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rbx + 0xa8], rax
test rax, rax
je 0x140028660
cmp word [rbx + 0x66], 0
je 0x14002841e
mov edx, 0x78
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rbx + 0xe0], rax
test rax, rax
je 0x140028660
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax], xmm0
mov edx, 0x2d00
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x60], xmm0
mov qword [rax + 0x70], rcx
mov rax, qword [rbx + 0xe0]
mov dword [rax + 8], reloc.WSOCK32.dll_ntohs
mov rax, qword [rbx + 0xe0]
mov byte [rax + 0x70], 7
mov rax, qword [rbx + 0xe0]
mov byte [rax + 0x6c], cl
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, qword [rbx + 0xe0]
mov qword [rcx + 0x40], rax
test rax, rax
je 0x140028660
mov edx, 0x8000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, qword [rbx + 0xe0]
mov qword [rcx + 0x48], rax
test rax, rax
je 0x140028660
mov rcx, qword [rbx + 0xe0]
mov rax, qword [rcx + 0x48]
add rax, 0x8000
mov qword [rcx + 0x50], rax
mov rcx, qword [rbx + 0xe0]
mov rax, qword [rcx + 0x48]
mov qword [rcx + 0x60], rax
mov rcx, qword [rbx + 0xe0]
mov rax, qword [rcx + 0x60]
mov qword [rcx + 0x58], rax
mov ecx, dword [rbx]
test cl, 8
je 0x140028449
mov eax, dword [rdi + 0x28]
mov dword [rbx + 0x70], eax
mov eax, dword [rdi + 0x30]
mov dword [rbx + 0x74], eax
mov rax, qword [rdi + 0x28]
mov qword [rbx + 0x8a], rax
mov rdx, qword [rdi + 0x30]
mov qword [rbx + 0x92], rdx
jmp 0x140028457
mov rax, qword [rbx + 0x8a]
mov rdx, qword [rbx + 0x92]
movzx r8d, word [rbx + 0x64]
mov qword [rbx + 0xf0], rax
mov qword [rbx + 0xf8], rdx
test r8b, 8
je 0x140028476
movzx eax, byte [rbx + 0x69]
jmp 0x14002847a
movzx eax, byte [rbx + 0x6f]
mov byte [rbx + 0x118], al
mov ebp, 7
test cl, 4
je 0x140028496
mov rax, qword [rbx + 0x9a]
jmp 0x140028627
mov edx, ecx
test r8b, 1
je 0x14002854d
mov r8, qword [rbx + 0x50]
mov qword [rbx + 0x110], reloc.WSOCK32.dll_ioctlsocket
mov dword [rbx + 0x100], 0x12345678
mov dword [rbx + 0x104], 0x23456789
mov dword [rbx + 0x108], 0x34567890
test r8, r8
je 0x14002854d
movzx eax, byte [r8]
test al, al
je 0x14002854d
lea r9, [0x1400f2cd0]
nop dword [rax]
nop word [rax + rax]
mov edx, dword [rbx + 0x100]
lea r8, [r8 + 1]
mov ecx, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
xor edx, dword [r9 + rax*4]
movzx eax, dl
add eax, dword [rbx + 0x104]
imul eax, eax, 0x8088405
mov dword [rbx + 0x100], edx
mov edx, dword [rbx + 0x108]
movzx ecx, dl
shr edx, 8
inc eax
mov dword [rbx + 0x104], eax
shr rax, 0x18
xor rcx, rax
xor edx, dword [r9 + rcx*4]
mov dword [rbx + 0x108], edx
movzx eax, byte [r8]
test al, al
jne 0x1400284f0
mov edx, dword [rbx]
mov r8, qword [rbx + 0x9a]
mov ecx, dword [rbx + 0x34]
add r8, 0x1c
add r8, rcx
test dl, 1
jne 0x14002858c
mov edx, dword [rbx + 0x14]
xor r9d, r9d
mov rcx, qword [rbx + 8]
add rdx, r8
lea r8, [rsp + 0x60]
mov qword [rsp + 0x60], rdx
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140028665
mov edx, dword [rbx]
jmp 0x140028590
mov qword [rbx + 0x20], r8
mov esi, 2
test dl, 1
jne 0x1400285c7
mov rcx, qword [rbx + 8]
lea r9, [rsp + 0x60]
xor edi, edi
lea rdx, [rsp + 0x50]
mov r8d, esi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400285c1
mov dword [rbx + 0x10], ebp
jmp 0x140028607
mov edi, dword [rsp + 0x60]
jmp 0x140028607
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x58], r14
mov r14, qword [rbx + 0x20]
lea rax, [r14 + 2]
cmp rax, rcx
jbe 0x1400285e2
mov esi, ecx
sub esi, r14d
mov rdx, qword [rbx + 8]
lea rcx, [rsp + 0x50]
add rdx, r14
mov r8d, esi
mov edi, esi
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rdi + r14]
mov r14, qword [rsp + 0x58]
mov qword [rbx + 0x20], rax
mov edi, esi
test edi, edi
je 0x140028665
movzx eax, word [rsp + 0x50]
movzx ecx, word [rbx + 0x78]
add rcx, rax
mov rax, qword [rbx + 0x9a]
add rax, 0x1e
add rax, rcx
mov ecx, dword [rbx]
test cl, 1
jne 0x14002864f
mov edx, dword [rbx + 0x14]
lea r8, [rsp + 0x50]
mov rcx, qword [rbx + 8]
add rdx, rax
xor r9d, r9d
mov qword [rsp + 0x50], rdx
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x140028670
jmp 0x140028665
mov qword [rbx + 0x20], rax
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
mov ebp, 2
mov rcx, rbx
mov dword [rbx + 0x10], ebp
call fcn.140028170
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret