Function at 0x1400f7490
Capabilities:
Get system information on windows
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x140422d38]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov r15, qword [rbp + 0x100]
lea rcx, [rbp - 0x60]
mov r14, r9
mov rsi, r8
mov rbx, rdx
call fcn.1400edbec
and qword [rsp + 0x50], 0
lea r9, [rsp + 0x34]
and qword [rsp + 0x38], 0
lea rdx, [rbp - 0x60]
and dword [rsp + 0x30], 0
mov edi, 0xfc
and qword [rsp + 0x20], 0
mov r8d, edi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400f7525
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140075438
mov ebx, eax
mov ecx, eax
call fcn.140075fa0
jmp 0x1400f76f0
cmp dword [rsp + 0x34], edi
je 0x1400f7534
mov ecx, 0x8007000d
mov ebx, ecx
jmp 0x1400f751b
mov eax, dword [rbp + 0x98]
test eax, eax
je 0x1400f752b
mov ecx, eax
call fcn.140073e30
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400731fc
mov rdi, qword [rsp + 0x50]
test rdi, rdi
jne 0x1400f7565
mov ebx, 0x8007000e
mov ecx, ebx
jmp 0x1400f751b
mov r8d, dword [rbp + 0x98]
lea r9, [rsp + 0x34]
and qword [rsp + 0x20], 0
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400f750a
mov eax, dword [rsp + 0x34]
cmp dword [rbp + 0x98], eax
jne 0x1400f752b
mov r8d, 0x3c
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x60]
call fcn.1400703b4
mov ebx, eax
test eax, eax
js 0x1400f7519
lea rdx, str.spp:migblob_aesencryptor_tokenact
lea rcx, [rbp - 0x60]
call sub.msvcrt.dll_wcscmp
xor r9d, r9d
test eax, eax
je 0x1400f75e8
and qword [rsp + 0x20], r9
lea ecx, [r9 + 1]
xor r8d, r8d
mov edx, 0xc00004a5
call fcn.1400837f8
mov ebx, 0x80049e59
jmp 0x1400f7561
lea rax, [0x140026fc0]
mov qword [rsp + 0x58], 3
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x58]
lea rax, [rsp + 0x44]
mov dword [rsp + 0x78], 0x60
mov qword [rsp + 0x68], rax
mov r8d, 0x48
lea rax, [rbp + 0x18]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x38]
mov qword [rbp - 0x80], rax
lea rax, [rsp + 0x30]
lea ecx, [r8 + 0x71]
mov qword [rbp - 0x78], rax
call sub.ntdll.dll_NtQuerySystemInformation
mov ebx, dword [rsp + 0x44]
test ebx, ebx
js 0x1400f7561
mov rdx, qword [rsp + 0x38]
lea rax, [0x140030540]
mov qword [rsp + 0x60], rax
xor r9d, r9d
lea rax, [rsp + 0x48]
mov qword [rbp - 0x70], rdx
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x58]
mov eax, dword [rbp + 0x98]
mov dword [rsp + 0x70], eax
lea r8d, [r9 + 0x48]
mov eax, dword [rsp + 0x30]
lea ecx, [r8 + 0x71]
mov dword [rbp - 0x78], eax
lea rax, [rbp + 0x78]
mov qword [rbp - 0x68], rax
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x58], 3
mov dword [rbp - 0x80], 0x20
call sub.ntdll.dll_NtQuerySystemInformation
mov ebx, dword [rsp + 0x48]
test ebx, ebx
js 0x1400f7561
mov edx, dword [rbp + 0x98]
lea r8, [rsp + 0x40]
mov rcx, rdi
call fcn.1400ef294
mov ebx, eax
test eax, eax
js 0x1400f7519
mov rax, qword [rsp + 0x38]
and qword [rsp + 0x38], 0
mov qword [r14], rax
mov eax, dword [rsp + 0x30]
mov dword [rsi], eax
mov eax, dword [rsp + 0x40]
mov dword [r15], eax
mov rdi, qword [rsp + 0x38]
test rdi, rdi
je 0x1400f7702
mov ecx, dword [rsp + 0x30]
xor eax, eax
rep stosb byte [rdi], al
mov ecx, ebx
call fcn.140083bac
lea rcx, [rsp + 0x38]
call fcn.1400725c0
lea rcx, [rsp + 0x50]
call fcn.1401d43ac
mov eax, ebx
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.14006f500
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x1b0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret