Function at 0x1400093e0
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, 0x1c8
movaps xmmword [rsp + 0x1b0], xmm6
mov rax, qword [0x140042028]
xor rax, rsp
mov qword [rsp + 0x1a8], 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 0x140009465
mov rax, qword [0x140043a80]
mov esi, dword [rax]
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.14001bf90
mov eax, esi
movaps xmm6, xmmword [rsp + 0x1b0]
add rsp, 0x1c8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x140043a88]
call fcn.14001ace8
cmp dword [0x140043a88], 0xffffffff
jne 0x14000942e
lea rsi, [rsp + 0x38]
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 + 0x34]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x30]
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 0x14000955c
lea rcx, [0x140043ac0]
call fcn.14001ace8
cmp dword [0x140043ac0], 0xffffffff
jne 0x14000955c
xorps xmm0, xmm0
lea rdi, [rsp + 0x150]
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.14001ac88
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 + 0x150]
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 + 0x38]
mov dword [r14 + 4], r13d
mov eax, dword [rsp + 0x3c]
mov qword [rsp + 0x28], rax
mov dword [r14 + 8], eax
mov ebp, dword [rsp + 0x40]
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 + 0x188]
lea rbx, [rsp + 0x150]
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.14000a9e0
mov r12, qword [rdi]
movups xmm6, xmmword [rdi + 8]
mov rdi, qword [rdi + 0x18]
mov rax, qword [rbx + 0x18]
cmp rax, 8
jae 0x140009760
mov dword [r14 + 0x10], 0
mov qword [r14 + 0x20], r12
movups xmmword [r14 + 0x28], xmm6
mov qword [r14 + 0x38], rdi
cmp r13d, 0xa
jne 0x1400097a5
mov eax, 0xf
cmp ebp, 0x4a60
jle 0x1400097d2
add rsi, 0x40
mov dword [r14], eax
lea rdx, [rsp + 0x48]
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 0x14000984b
xor r8d, r8d
lea rdi, [rsp + 0x150]
mov rcx, rdi
call fcn.14000a9e0
mov ecx, dword [0x140043ab0]
mov edx, dword [0x140043ab8]
mov eax, dword [rsp + 0x38]
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 0x140009862
cmp r15d, 0x30
ja 0x14000970e
mov eax, r15d
mov ecx, 0x206f780
bt rcx, rax
jb 0x1400098a0
mov ecx, 0x8010050
bt rcx, rax
jb 0x1400098ad
movabs rcx, 0x1000000000002
bt rcx, rax
jb 0x14000990b
add r15d, 0xffffffba
cmp r15d, 0x3c
ja 0x140009740
movabs rax, 0x1980000000004005
bt rax, r15
jb 0x1400098ad
movabs rax, 0x18000000000000
bt rax, r15
jb 0x1400098ba
mov dword [r14 + 0x14], 0
mov qword [0x140043a80], r14
lea rcx, [0x140043a88]
call fcn.14001ac88
jmp 0x14000942e
mov rcx, qword [rsp + 0x150]
lea rdx, [rax*2 + 2]
cmp rdx, 0x1000
jb 0x14000979b
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x140009918
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 0x140009635
mov eax, 0x10
cmp r13d, 6
jg 0x140009665
jne 0x1400098d5
mov rax, qword [rsp + 0x28]
lea ecx, [rax + 3]
cmp eax, 3
mov eax, 6
cmovb eax, ecx
jmp 0x140009665
mov eax, 0xe
cmp ebp, 0x47b9
jg 0x140009665
mov eax, 0xd
cmp ebp, 0x4562
jg 0x140009665
mov eax, 0xc
cmp ebp, 0x42ed
jg 0x140009665
mov eax, 0xb
cmp ebp, 0x3faa
jg 0x140009665
mov eax, 0xa
cmp ebp, 0x3ad6
jg 0x140009665
mov eax, 9
cmp ebp, 0x3838
jg 0x140009665
xor eax, eax
cmp ebp, 0x295a
setge al
add eax, 7
jmp 0x140009665
xor eax, eax
lea r8, [rax + 1]
cmp word [rsp + rax*2 + 0x4a], 0
mov rax, r8
je 0x140009694
jmp 0x14000984d
cmp eax, 5
jne 0x1400098c7
mov eax, dword [rsp + 0x3c]
cmp eax, 1
je 0x1400098fd
cmp eax, 2
jne 0x140009740
cmp byte [rsp + 0x14e], 1
jne 0x140009891
cmp word [0x140043a90], 9
je 0x14000990b
cmp word [rsp + 0x14c], 0
js 0x140009740
mov dword [r14 + 0x14], 2
jmp 0x140009748
mov dword [r14 + 0x14], 3
jmp 0x140009748
mov dword [r14 + 0x14], 4
jmp 0x140009748
cmp eax, 6
je 0x1400096d3
jmp 0x140009740
xor eax, eax
cmp dword [rsp + 0x28], 0
je 0x140009665
cmp r13d, 5
jne 0x140009665
xor eax, eax
cmp dword [rsp + 0x28], 1
setne al
inc eax
jmp 0x140009665
test byte [rsp + 0x14d], 2
jne 0x140009740
mov dword [r14 + 0x14], 1
jmp 0x140009748
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3