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

Disassembly:
push rbp
push rbx
push rsi
lea rbp, [rsp - 0xad0]
sub rsp, 0xbd0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0xac0], rax
mov rsi, rdx
xor r8d, r8d
lea rdx, [0x140085648]
mov rbx, rcx
call fcn.140003b30
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x70], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x14003acda
cmp dword [rbp - 0x80], 2
jne 0x14003acda
cmp dword [rsp + 0x74], 5
jb 0x14003acda
xor eax, eax
mov qword [rsp + 0xc00], rdi
lea rcx, str.kernel32.dll
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.GetNativeSystemInfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rsp + 0x38]
test rax, rax
je 0x14003aa7c
call rax
jmp 0x14003aa82
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.GetProductInfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r8d, 4
lea rdx, str.base
mov rcx, rsi
mov rdi, rax
call fcn.140003b30
test rdi, rdi
je 0x14003ab4a
movzx r9d, word [rbp + 0x86]
lea rax, [rsp + 0x30]
movzx r8d, word [rbp + 0x84]
mov edx, dword [rsp + 0x78]
mov ecx, dword [rsp + 0x74]
mov qword [rsp + 0x20], rax
call rdi
movzx eax, word [rbp + 0x84]
test ax, ax
je 0x14003ab4a
movzx r9d, ax
lea r8, str.sp_d
mov edx, 0x514
lea rcx, [rbp + 0x90]
call fcn.1400022b0
cmp word [rbp + 0x90], 0
jne 0x14003ab1b
xor r8d, r8d
jmp 0x14003ab3b
lea rax, [rbp + 0x90]
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14003ab30
lea rdx, [rbp + 0x90]
mov rcx, rsi
call fcn.140003b30
mov eax, dword [rsp + 0x74]
mov rdi, qword [rsp + 0xc00]
cmp eax, 6
jne 0x14003abf9
mov eax, dword [rsp + 0x78]
test eax, eax
jne 0x14003ab96
cmp byte [rbp + 0x8a], 1
mov rcx, rbx
jne 0x14003ab8a
lea r8d, [rax + 5]
lea rdx, str.vista
call fcn.140003b30
mov al, 1
jmp 0x14003acdc
lea rdx, str.win2008
jmp 0x14003accb
cmp eax, 1
jne 0x14003abd6
mov rcx, rbx
cmp byte [rbp + 0x8a], al
jne 0x14003abbd
lea r8d, [rax + 3]
lea rdx, str.win7
call fcn.140003b30
mov al, 1
jmp 0x14003acdc
mov r8d, 9
lea rdx, str.win2008r2
call fcn.140003b30
mov al, 1
jmp 0x14003acdc
cmp eax, 2
jne 0x14003acd6
lea r8d, [rax + 2]
mov rcx, rbx
lea rdx, str.win8
call fcn.140003b30
mov al, 1
jmp 0x14003acdc
cmp eax, 5
jne 0x14003acd6
mov eax, dword [rsp + 0x78]
cmp eax, 2
jne 0x14003acb8
lea ecx, [rax + 0x57]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x14003ac38
mov r8d, 0xd
lea rdx, str.windows2003r2
mov rcx, rbx
call fcn.140003b30
mov al, 1
jmp 0x14003acdc
movzx eax, word [rbp + 0x88]
mov ecx, 0x2000
test cx, ax
je 0x14003ac62
mov r8d, 0x12
lea rdx, str.windows2003storage
mov rcx, rbx
call fcn.140003b30
mov al, 1
jmp 0x14003acdc
mov ecx, 0x8000
test cx, ax
je 0x14003ac85
mov r8d, 0x11
lea rdx, str.windowshomeserver
mov rcx, rbx
call fcn.140003b30
mov al, 1
jmp 0x14003acdc
cmp byte [rbp + 0x8a], 1
jne 0x14003acaf
cmp word [rsp + 0x38], 9
jne 0x14003acaf
mov r8d, 2
lea rdx, [0x140074fdc]
mov rcx, rbx
call fcn.140003b30
mov al, 1
jmp 0x14003acdc
lea rdx, str.win2003
jmp 0x14003acc8
cmp eax, 1
je 0x14003ac96
test eax, eax
jne 0x14003acd6
lea rdx, str.win2000
mov rcx, rbx
mov r8d, 7
call fcn.140003b30
mov al, 1
jmp 0x14003acdc
xor al, al
mov rcx, qword [rbp + 0xac0]
xor rcx, rsp
call fcn.14003d350
add rsp, 0xbd0
pop rsi
pop rbx
pop rbp
ret