Function at 0x14000d850
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 [0x140062030]
xor rax, rsp
mov qword [rsp + 0x1b8], rax
mov eax, dword [0x140064648]
mov ecx, dword [0x1400624b8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000d8d5
mov rax, qword [0x140064640]
mov esi, dword [rax]
mov rcx, qword [rsp + 0x1b8]
xor rcx, rsp
call fcn.14002fbe0
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, [0x140064648]
call fcn.14002eaa8
cmp dword [0x140064648], 0xffffffff
jne 0x14000d89e
lea rsi, [rsp + 0x44]
xor ebx, ebx
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call sub.ntdll.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 [0x140064680]
mov ecx, dword [0x1400624b8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jle 0x14000d9cc
lea rcx, [0x140064680]
call fcn.14002eaa8
cmp dword [0x140064680], 0xffffffff
jne 0x14000d9cc
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 [0x140064670], xmm2
movups xmmword [0x140064660], xmm1
movups xmmword [0x140064650], xmm0
lea rcx, [0x140064680]
call fcn.14002ea48
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.14000ee50
mov r12, qword [rdi]
movups xmm6, xmmword [rdi + 8]
mov rdi, qword [rdi + 0x18]
mov rax, qword [rbx + 0x18]
cmp rax, 8
jae 0x14000dbd0
mov dword [r14 + 0x10], 0
mov qword [r14 + 0x20], r12
movups xmmword [r14 + 0x28], xmm6
mov qword [r14 + 0x38], rdi
cmp r13d, 0xa
jne 0x14000dc15
mov eax, 0xf
cmp ebp, 0x4a60
jle 0x14000dc42
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 0x14000dcbb
xor r8d, r8d
lea rdi, [rsp + 0x160]
mov rcx, rdi
call fcn.14000ee50
mov ecx, dword [0x140064670]
mov edx, dword [0x140064678]
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 0x14000dcd2
cmp r15d, 0x30
ja 0x14000db7e
mov eax, r15d
mov ecx, 0x206f780
bt rcx, rax
jb 0x14000dd10
mov ecx, 0x8010050
bt rcx, rax
jb 0x14000dd1d
movabs rcx, 0x1000000000002
bt rcx, rax
jb 0x14000dd80
add r15d, 0xffffffba
cmp r15d, 0x3c
ja 0x14000dbb0
movabs rax, 0x1980000000004005
bt rax, r15
jb 0x14000dd1d
movabs rax, 0x18000000000000
bt rax, r15
jb 0x14000dd2a
mov dword [r14 + 0x14], 0
mov qword [0x140064640], r14
lea rcx, [0x140064648]
call fcn.14002ea48
jmp 0x14000d89e
mov rcx, qword [rsp + 0x160]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x14000dc0b
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x14000dd8d
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 0x14000daa5
mov eax, 0x10
cmp r13d, 6
jg 0x14000dad5
jne 0x14000dd45
mov rax, qword [rsp + 0x30]
lea ecx, [rax + 3]
cmp eax, 3
mov eax, 6
cmovb eax, ecx
jmp 0x14000dad5
mov eax, 0xe
cmp ebp, 0x47b9
jg 0x14000dad5
mov eax, 0xd
cmp ebp, 0x4562
jg 0x14000dad5
mov eax, 0xc
cmp ebp, 0x42ed
jg 0x14000dad5
mov eax, 0xb
cmp ebp, 0x3faa
jg 0x14000dad5
mov eax, 0xa
cmp ebp, 0x3ad6
jg 0x14000dad5
mov eax, 9
cmp ebp, 0x3838
jg 0x14000dad5
xor eax, eax
cmp ebp, 0x295a
setge al
add eax, 7
jmp 0x14000dad5
xor eax, eax
lea r8, [rax + 1]
cmp word [rsp + rax*2 + 0x56], 0
mov rax, r8
je 0x14000db04
jmp 0x14000dcbd
cmp eax, 5
jne 0x14000dd37
mov eax, dword [rsp + 0x48]
cmp eax, 1
je 0x14000dd72
cmp eax, 2
jne 0x14000dbb0
cmp byte [rsp + 0x15a], 1
jne 0x14000dd01
cmp word [0x140064650], 9
je 0x14000dd80
cmp word [rsp + 0x158], 0
js 0x14000dbb0
mov dword [r14 + 0x14], 2
jmp 0x14000dbb8
mov dword [r14 + 0x14], 3
jmp 0x14000dbb8
mov dword [r14 + 0x14], 4
jmp 0x14000dbb8
cmp eax, 6
je 0x14000db43
jmp 0x14000dbb0
xor eax, eax
cmp dword [rsp + 0x30], 0
je 0x14000dad5
cmp r13d, 5
jne 0x14000dad5
xor ecx, ecx
cmp dword [rsp + 0x30], 1
sete cl
mov eax, 2
sub eax, ecx
jmp 0x14000dad5
test byte [rsp + 0x159], 2
jne 0x14000dbb0
mov dword [r14 + 0x14], 1
jmp 0x14000dbb8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3