Function at 0x140008fa0
Capabilities:
Check os version
Get system information on windows
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1d8
movaps xmmword [rsp + 0x1c0], xmm6
mov rax, qword [0x140042028]
xor rax, rsp
mov qword [rsp + 0x1b8], rax
mov eax, dword [0x140043a88]
mov ecx, dword [0x1400421a8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140009025
mov rax, qword [0x140043a80]
mov esi, dword [rax]
mov rcx, qword [rsp + 0x1b8]
xor rcx, rsp
call fcn.14001c330
mov eax, esi
movaps xmm6, xmmword [rsp + 0x1c0]
add rsp, 0x1d8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x140043a88]
call fcn.14001b088
cmp dword [0x140043a88], 0xffffffff
jne 0x140008fee
lea rsi, [rsp + 0x44]
xor ebx, ebx
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x3c]
mov dword [rdi], 0
mov ecx, dword [rsi + 4]
mov edx, dword [rsi + 8]
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetProductInfo]
mov ecx, 0x98
call sub.mozglue.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
mov rsi, rax
mov r14, rax
mov r15d, dword [rdi]
mov eax, dword [0x140043ac0]
mov ecx, dword [0x1400421a8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jle 0x14000911c
lea rcx, [0x140043ac0]
call fcn.14001b088
cmp dword [0x140043ac0], 0xffffffff
jne 0x14000911c
xorps xmm0, xmm0
lea rdi, [rsp + 0x160]
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movaps xmm0, xmmword [rdi]
movaps xmm1, xmmword [rdi + 0x10]
movaps xmm2, xmmword [rdi + 0x20]
movups xmmword [0x140043ab0], xmm2
movups xmmword [0x140043aa0], xmm1
movups xmmword [0x140043a90], xmm0
lea rcx, [0x140043ac0]
call fcn.14001b028
mov dword [r14], ebx
mov qword [r14 + 0x20], rbx
mov qword [r14 + 0x30], rbx
mov r12d, 0xf
mov qword [r14 + 0x38], r12
mov byte [r14 + 0x20], bl
mov qword [r14 + 0x40], rbx
mov qword [r14 + 0x50], rbx
mov qword [r14 + 0x58], r12
mov byte [r14 + 0x40], bl
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdi, [rsp + 0x160]
mov dword [rdi], ebx
mov rcx, rax
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
xor ecx, ecx
cmp dword [rdi], ebx
setne cl
test eax, eax
mov eax, 2
cmovne eax, ecx
mov dword [r14 + 0x70], eax
mov qword [r14 + 0x78], rbx
mov qword [r14 + 0x88], rbx
mov qword [r14 + 0x90], r12
mov byte [r14 + 0x78], bl
mov r13d, dword [rsp + 0x44]
mov dword [r14 + 4], r13d
mov eax, dword [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov dword [r14 + 8], eax
mov ebp, dword [rsp + 0x4c]
mov dword [r14 + 0xc], ebp
mov qword [rdi], rbx
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], 7
mov word [rdi], 0
lea rdi, [rsp + 0x198]
lea rbx, [rsp + 0x160]
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.14000a5a0
mov r12, qword [rdi]
movups xmm6, xmmword [rdi + 8]
mov rdi, qword [rdi + 0x18]
mov rax, qword [rbx + 0x18]
cmp rax, 8
jae 0x140009320
mov dword [r14 + 0x10], 0
mov qword [r14 + 0x20], r12
movups xmmword [r14 + 0x28], xmm6
mov qword [r14 + 0x38], rdi
cmp r13d, 0xa
jne 0x140009365
mov eax, 0xf
cmp ebp, 0x4a60
jle 0x140009392
add rsi, 0x40
mov dword [r14], eax
lea rdx, [rsp + 0x54]
movzx eax, word [rdx + 0x100]
mov dword [r14 + 0x18], eax
movzx eax, word [rdx + 0x102]
mov dword [r14 + 0x1c], eax
cmp word [rdx], 0
jne 0x14000940b
xor r8d, r8d
lea rdi, [rsp + 0x160]
mov rcx, rdi
call fcn.14000a5a0
mov ecx, dword [0x140043ab0]
mov edx, dword [0x140043ab8]
mov eax, dword [rsp + 0x44]
movups xmm0, xmmword [rdi]
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov dword [r14 + 0x60], ecx
mov qword [r14 + 0x68], rdx
cmp eax, 0xa
jne 0x140009422
cmp r15d, 0x30
ja 0x1400092ce
mov eax, r15d
mov ecx, 0x206f780
bt rcx, rax
jb 0x140009460
mov ecx, 0x8010050
bt rcx, rax
jb 0x14000946d
movabs rcx, 0x1000000000002
bt rcx, rax
jb 0x1400094d0
add r15d, 0xffffffba
cmp r15d, 0x3c
ja 0x140009300
movabs rax, 0x1980000000004005
bt rax, r15
jb 0x14000946d
movabs rax, 0x18000000000000
bt rax, r15
jb 0x14000947a
mov dword [r14 + 0x14], 0
mov qword [0x140043a80], r14
lea rcx, [0x140043a88]
call fcn.14001b028
jmp 0x140008fee
mov rcx, qword [rsp + 0x160]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x14000935b
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x1400094dd
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, r8
call sub.mozglue.dll_void___cdecl_operator_delete_void____ptr64__unsigned_long_long_unsigned___int64__
jmp 0x1400091f5
mov eax, 0x10
cmp r13d, 6
jg 0x140009225
jne 0x140009495
mov rax, qword [rsp + 0x30]
lea ecx, [rax + 3]
cmp eax, 3
mov eax, 6
cmovb eax, ecx
jmp 0x140009225
mov eax, 0xe
cmp ebp, 0x47b9
jg 0x140009225
mov eax, 0xd
cmp ebp, 0x4562
jg 0x140009225
mov eax, 0xc
cmp ebp, 0x42ed
jg 0x140009225
mov eax, 0xb
cmp ebp, 0x3faa
jg 0x140009225
mov eax, 0xa
cmp ebp, 0x3ad6
jg 0x140009225
mov eax, 9
cmp ebp, 0x3838
jg 0x140009225
xor eax, eax
cmp ebp, 0x295a
setge al
add eax, 7
jmp 0x140009225
xor eax, eax
lea r8, [rax + 1]
cmp word [rsp + rax*2 + 0x56], 0
mov rax, r8
je 0x140009254
jmp 0x14000940d
cmp eax, 5
jne 0x140009487
mov eax, dword [rsp + 0x48]
cmp eax, 1
je 0x1400094c2
cmp eax, 2
jne 0x140009300
cmp byte [rsp + 0x15a], 1
jne 0x140009451
cmp word [0x140043a90], 9
je 0x1400094d0
cmp word [rsp + 0x158], 0
js 0x140009300
mov dword [r14 + 0x14], 2
jmp 0x140009308
mov dword [r14 + 0x14], 3
jmp 0x140009308
mov dword [r14 + 0x14], 4
jmp 0x140009308
cmp eax, 6
je 0x140009293
jmp 0x140009300
xor eax, eax
cmp dword [rsp + 0x30], 0
je 0x140009225
cmp r13d, 5
jne 0x140009225
xor ecx, ecx
cmp dword [rsp + 0x30], 1
sete cl
mov eax, 2
sub eax, ecx
jmp 0x140009225
test byte [rsp + 0x159], 2
jne 0x140009300
mov dword [r14 + 0x14], 1
jmp 0x140009308
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3