Function at 0x1400f4724
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x140422d38]
xor rax, rsp
mov qword [rbp + 0xb0], rax
and qword [rsp + 0x58], 0
mov r15, rcx
and qword [rsp + 0x50], 0
lea rcx, [rsp + 0x40]
and qword [rsp + 0x38], 0
mov rsi, r8
mov rbx, rdx
call fcn.1400edb94
lea rcx, [rbp - 0x50]
call fcn.1400edbec
test rbx, rbx
je 0x1400f47a8
mov rdx, rbx
lea rcx, str.msft:spp_migrationencryptor_tokenact_1.0
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
je 0x1400f47a8
mov edi, 0x80070057
mov ecx, edi
call fcn.140075fa0
jmp 0x1400f4a47
lea r14, [r15 + 0x10]
mov edx, 0x40
mov rcx, r14
call fcn.1400ba5bc
mov edi, eax
test eax, eax
jns 0x1400f47c3
mov ecx, eax
jmp 0x1400f479e
lea rax, [0x14002c440]
mov qword [rsp + 0x60], 3
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x60]
lea rax, [rsp + 0x44]
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x70], rax
xor r9d, r9d
lea rax, [rsp + 0x58]
mov dword [rbp - 0x80], 0x40
mov qword [rbp - 0x78], rax
lea rax, [rsp + 0x48]
mov qword [rbp - 0x70], rax
lea r8d, [r9 + 0x48]
lea ecx, [r8 + 0x71]
call sub.ntdll.dll_NtQuerySystemInformation
mov edi, dword [rsp + 0x44]
test edi, edi
js 0x1400f479c
cmp dword [rsp + 0x48], 0x60
je 0x1400f4834
mov ecx, 0x8007000d
mov edi, ecx
jmp 0x1400f479e
lea r8, [rsp + 0x50]
xor edx, edx
lea rcx, str.msft:rm_algorithm_hwid_4.0
call fcn.1400b064c
mov edi, eax
test eax, eax
js 0x1400f47bf
mov rbx, qword [rsp + 0x50]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x60]
mov rcx, rdi
call qword [0x1403b0a10]
mov rcx, rbx
call rdi
mov edi, eax
test eax, eax
js 0x1400f47bf
mov rax, qword [rbx]
mov rdi, qword [rax + 0x38]
mov rcx, rdi
call qword [0x1403b0a10]
lea r8, [rsp + 0x38]
mov rcx, rbx
lea rdx, str.SppBindingEnvironmentData
call rdi
mov edi, eax
test eax, eax
js 0x1400f47bf
mov rax, qword [rsp + 0x38]
cmp dword [rax + 8], 4
jne 0x1400f4828
cmp dword [rax + 0x18], 0
je 0x1400f4828
lea rcx, [0x14002fec0]
mov qword [rsp + 0x60], 3
mov qword [rsp + 0x68], rcx
lea rdx, [rsp + 0x4c]
mov qword [rsp + 0x70], rdx
xor r9d, r9d
mov edx, dword [rax + 0x18]
mov dword [rsp + 0x78], edx
mov rdx, qword [rax + 0x10]
lea rax, [rbp + 0x88]
lea r8d, [r9 + 0x48]
mov qword [rbp - 0x80], rdx
lea rdx, [rsp + 0x60]
mov dword [rbp - 0x78], 0x40
lea ecx, [r8 + 0x71]
mov qword [rbp - 0x70], r14
mov dword [rbp - 0x68], 0x20
mov qword [rbp - 0x60], rax
call sub.ntdll.dll_NtQuerySystemInformation
mov edi, dword [rsp + 0x4c]
test edi, edi
js 0x1400f479c
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
mov r8d, 4
mov dword [rsp + 0x40], 2
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400f4964
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140075438
mov edi, eax
jmp 0x1400f47bf
cmp dword [rsp + 0x30], 4
je 0x1400f4975
mov ecx, 0x80004005
jmp 0x1400f482d
lea r8, str.spp:migblob_aesencryptor_tokenact
mov edx, 0x78
lea rcx, [rbp - 0x50]
call fcn.140091590
mov edi, eax
test eax, eax
js 0x1400f47bf
mov rax, qword [rsp + 0x58]
lea r9, [rsp + 0x30]
and qword [rsp + 0x20], 0
lea rdx, [rbp - 0x50]
mov ebx, 0xfc
mov r8d, ebx
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x38], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rbp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rbp + 0x58], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rbp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x50]
mov rax, qword [rsp + 0x38]
movups xmmword [rbp + 0x78], xmm1
mov ecx, dword [rax + 0x18]
mov dword [rbp + 0xa8], ecx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400f4950
cmp dword [rsp + 0x30], ebx
jne 0x1400f496b
mov rdx, qword [rsp + 0x38]
lea r9, [rsp + 0x30]
and qword [rsp + 0x20], 0
mov rcx, rsi
mov r8d, dword [rdx + 0x18]
mov rdx, qword [rdx + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400f4950
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax + 0x18]
cmp dword [rsp + 0x30], ecx
jne 0x1400f496b
mov qword [r15 + 8], rsi
mov ecx, edi
call fcn.140083bac
lea rcx, [rsp + 0x38]
call fcn.1400725e0
lea rcx, [rsp + 0x50]
call fcn.1401c20b8
lea rcx, [rsp + 0x58]
call fcn.1400725c0
mov eax, edi
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.14006f500
mov rbx, qword [rsp + 0x208]
add rsp, 0x1c0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret