Function at 0x14001bf10
Capabilities:
Check os version
Get system information on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1d8
mov rax, qword [0x14005e018]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
mov eax, dword [0x140060668]
mov ecx, dword [0x14005e488]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14001bf84
lea rsi, [0x140060660]
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.14002c730
mov rax, rsi
add rsp, 0x1d8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x140060668]
call fcn.14002b51c
cmp dword [0x140060668], 0xffffffff
jne 0x14001bf56
lea rsi, [rsp + 0x54]
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 + 0x50]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x4c]
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 qword [rsp + 0x40], rax
mov rsi, rax
mov eax, dword [rdi]
mov qword [rsp + 0x38], rax
mov eax, dword [0x1400606a0]
mov ecx, dword [0x14005e488]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jle 0x14001c081
lea rcx, [0x1400606a0]
call fcn.14002b51c
cmp dword [0x1400606a0], 0xffffffff
jne 0x14001c081
xorps xmm0, xmm0
lea rdi, [rsp + 0x170]
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 [0x140060690], xmm2
movups xmmword [0x140060680], xmm1
movups xmmword [0x140060670], xmm0
lea rcx, [0x1400606a0]
call fcn.14002b4bc
mov dword [rsi], ebx
mov qword [rsi + 0x30], rbx
mov ebp, 0xf
mov qword [rsi + 0x38], rbp
mov byte [rsi + 0x20], bl
mov qword [rsi + 0x50], rbx
mov qword [rsi + 0x58], rbp
mov byte [rsi + 0x40], bl
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdi, [rsp + 0x170]
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 [rsi + 0x70], eax
mov qword [rsi + 0x88], rbx
mov qword [rsi + 0x90], rbp
mov byte [rsi + 0x78], bl
mov r14d, dword [rsp + 0x54]
mov dword [rsi + 4], r14d
mov r13d, dword [rsp + 0x58]
mov dword [rsi + 8], r13d
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x34], eax
mov dword [rsi + 0xc], eax
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], 7
mov word [rdi], 0
lea rdi, [rsp + 0x1b0]
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], rbp
mov byte [rdi], bl
lea rbx, [rsp + 0x170]
mov rcx, rbx
xor edx, edx
mov r8, rdi
call fcn.14001dc00
mov r15b, byte [rdi]
mov rax, qword [rdi + 1]
mov qword [rsp + 0x1a0], rax
mov rax, qword [rdi + 8]
mov qword [rsp + 0x1a7], rax
mov r12, qword [rdi + 0x10]
mov rdi, qword [rdi + 0x18]
mov rax, qword [rbx + 0x18]
cmp rax, 8
jae 0x14001c26b
mov dword [rsi + 0x10], 0
mov byte [rsi + 0x20], r15b
mov rax, qword [rsp + 0x1a0]
mov rcx, qword [rsp + 0x1a7]
mov qword [rsi + 0x21], rax
mov qword [rsi + 0x28], rcx
mov qword [rsi + 0x30], r12
mov qword [rsi + 0x38], rdi
cmp r14d, 0xa
je 0x14001c2b2
cmp r14d, 6
jg 0x14001c34c
jne 0x14001c356
lea ecx, [r13 + 3]
cmp r13d, 3
mov eax, 6
cmovb eax, ecx
mov rbx, qword [rsp + 0x40]
add rbx, 0x40
mov dword [rsi], eax
lea rcx, [rsp + 0x64]
movzx eax, word [rcx + 0x100]
mov dword [rsi + 0x18], eax
movzx eax, word [rcx + 0x102]
mov dword [rsi + 0x1c], eax
cmp word [rcx], 0
jne 0x14001c380
xor edx, edx
lea rdi, [rsp + 0x170]
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov r8, rdi
call fcn.14001dc00
mov eax, dword [rsp + 0x54]
mov ecx, dword [0x140060698]
mov edx, dword [0x140060690]
movups xmm0, xmmword [rdi]
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm1
mov dword [rsi + 0x60], edx
mov qword [rsi + 0x68], rcx
cmp eax, 6
jne 0x14001c397
mov rcx, qword [rsp + 0x38]
lea eax, [rcx - 7]
cmp eax, 4
jae 0x14001c3d7
mov dword [rsi + 0x14], 2
mov qword [0x140060660], rsi
lea rcx, [0x140060668]
call fcn.14002b4bc
jmp 0x14001bf56
mov rcx, qword [rsp + 0x170]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jae 0x14001c28e
call sub.mozglue.dll_void___cdecl_operator_delete_void____ptr64__unsigned_long_long_unsigned___int64__
jmp 0x14001c165
mov rbp, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbp
cmp rcx, 0x20
jae 0x14001c485
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, rbp
jmp 0x14001c284
mov eax, 0xf
cmp dword [rsp + 0x34], 0x4a60
jg 0x14001c1ba
mov eax, 0xe
cmp dword [rsp + 0x34], 0x47b9
jg 0x14001c1ba
mov eax, 0xd
cmp dword [rsp + 0x34], 0x4562
jg 0x14001c1ba
mov eax, 0xc
cmp dword [rsp + 0x34], 0x42ed
jg 0x14001c1ba
mov eax, 0xb
cmp dword [rsp + 0x34], 0x3faa
jg 0x14001c1ba
mov eax, 0xa
cmp dword [rsp + 0x34], 0x3ad6
jg 0x14001c1ba
mov eax, 9
cmp dword [rsp + 0x34], 0x3838
jg 0x14001c1ba
xor eax, eax
cmp dword [rsp + 0x34], 0x295a
setge al
add eax, 7
jmp 0x14001c1ba
mov eax, 0x10
jmp 0x14001c1ba
xor eax, eax
test r13d, r13d
je 0x14001c1ba
cmp r14d, 5
jne 0x14001c1ba
xor ecx, ecx
cmp r13d, 1
sete cl
mov eax, 2
sub eax, ecx
jmp 0x14001c1ba
xor eax, eax
lea rdx, [rax + 1]
cmp word [rsp + rax*2 + 0x66], 0
mov rax, rdx
je 0x14001c1ea
jmp 0x14001c382
cmp eax, 5
jne 0x14001c3f5
mov eax, dword [rsp + 0x58]
cmp eax, 1
je 0x14001c44f
cmp eax, 2
jne 0x14001c3e9
cmp byte [rsp + 0x16a], 1
jne 0x14001c3c6
cmp word [0x140060670], 9
je 0x14001c459
cmp word [rsp + 0x168], 0
jns 0x14001c24c
jmp 0x14001c3e9
cmp ecx, 0x30
jbe 0x14001c400
mov rax, qword [rsp + 0x38]
add eax, 0xffffffba
cmp eax, 0x3c
jbe 0x14001c430
mov dword [rsi + 0x14], 0
jmp 0x14001c253
cmp eax, 0xa
je 0x14001c23b
jmp 0x14001c3e9
mov eax, dword [rsp + 0x38]
mov ecx, 0x206f000
bt rcx, rax
jb 0x14001c24c
mov ecx, 0x8010050
bt rcx, rax
jb 0x14001c443
movabs rcx, 0x1000000000002
bt rcx, rax
jae 0x14001c3dc
jmp 0x14001c459
mov rcx, rax
movabs rax, 0x1980000000004005
bt rax, rcx
jae 0x14001c465
mov dword [rsi + 0x14], 3
jmp 0x14001c253
test byte [rsp + 0x169], 2
jne 0x14001c3e9
mov dword [rsi + 0x14], 1
jmp 0x14001c253
movabs rax, 0x18000000000000
bt rax, rcx
jae 0x14001c3e9
mov dword [rsi + 0x14], 4
jmp 0x14001c253
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3