Function at 0x140005290
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x168
mov rax, qword [0x14007d2f0]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov r8d, 0x11c
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.14003a7a0
mov dword [rsp + 0x30], 0x11c
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x140005313
mov dword [rsp + 0x30], 0x114
mov r8d, 0x114
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.14003a7a0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x140005313
xor eax, eax
jmp 0x140005589
cmp dword [rsp + 0x40], 2
jb 0x14000552f
cmp dword [rsp + 0x34], 5
jbe 0x14000533e
lea rdx, str.WNT:_WFuture
mov rcx, qword [rsp + 0x170]
call fcn.140008610
jmp 0x14000540f
cmp dword [rsp + 0x34], 5
jne 0x1400053f4
cmp dword [rsp + 0x38], 2
jbe 0x140005369
lea rdx, str.WNT:_WFuture
mov rcx, qword [rsp + 0x170]
call fcn.140008610
jmp 0x1400053f2
cmp dword [rsp + 0x38], 2
jne 0x140005386
lea rdx, str.WNT:_WSer2003
mov rcx, qword [rsp + 0x170]
call fcn.140008610
jmp 0x1400053f2
cmp dword [rsp + 0x38], 1
jne 0x1400053de
lea rdx, str.WNT:_WXP
mov rcx, qword [rsp + 0x170]
call fcn.140008610
movzx eax, word [rsp + 0x148]
and eax, 0x200
test eax, eax
je 0x1400053c8
lea rdx, [0x14005e6e0]
mov rcx, qword [rsp + 0x178]
call fcn.140008610
jmp 0x1400053dc
lea rdx, [0x14005e6d8]
mov rcx, qword [rsp + 0x178]
call fcn.140008610
jmp 0x1400053f2
lea rdx, str.WNT:_W2K
mov rcx, qword [rsp + 0x170]
call fcn.140008610
jmp 0x14000540f
cmp dword [rsp + 0x34], 4
jne 0x14000540f
lea rdx, str.WNT:_WNT4
mov rcx, qword [rsp + 0x170]
call fcn.140008610
movzx eax, byte [rsp + 0x14a]
cmp eax, 3
jne 0x14000552d
cmp dword [rsp + 0x34], 5
jb 0x1400054e7
movzx eax, word [rsp + 0x148]
and eax, 0x80
test eax, eax
je 0x140005455
lea rdx, [0x14005e6a0]
mov rcx, qword [rsp + 0x178]
call fcn.140008610
jmp 0x1400054e5
movzx eax, word [rsp + 0x148]
and eax, 2
test eax, eax
je 0x1400054ac
xor r8d, r8d
lea rdx, [0x14005e698]
mov rcx, qword [rsp + 0x170]
call fcn.140007490
cmp eax, 0xffffffff
jle 0x140005496
lea rdx, [0x14005e690]
mov rcx, qword [rsp + 0x178]
call fcn.140008610
jmp 0x1400054aa
lea rdx, [0x14005e688]
mov rcx, qword [rsp + 0x178]
call fcn.140008610
jmp 0x1400054e5
movzx eax, word [rsp + 0x148]
cmp eax, 0x400
jne 0x1400054d1
lea rdx, [0x14005e680]
mov rcx, qword [rsp + 0x178]
call fcn.140008610
jmp 0x1400054e5
lea rdx, [0x14005e678]
mov rcx, qword [rsp + 0x178]
call fcn.140008610
jmp 0x14000552d
xor r8d, r8d
lea rdx, str.WNT4
mov rcx, qword [rsp + 0x170]
call fcn.140007490
cmp eax, 0xffffffff
jle 0x140005519
lea rdx, str.NT4SRV
mov rcx, qword [rsp + 0x178]
call fcn.140008610
jmp 0x14000552d
lea rdx, [0x14005e678]
mov rcx, qword [rsp + 0x178]
call fcn.140008610
jmp 0x140005584
cmp dword [rsp + 0x40], 1
jne 0x140005584
cmp dword [rsp + 0x38], 0xa
jae 0x140005553
lea rdx, str.W9X:_W95
mov rcx, qword [rsp + 0x170]
call fcn.140008610
jmp 0x140005584
cmp dword [rsp + 0x38], 0x5a
jae 0x140005570
lea rdx, str.W9X:_W98
mov rcx, qword [rsp + 0x170]
call fcn.140008610
jmp 0x140005584
lea rdx, str.W9X:_WME
mov rcx, qword [rsp + 0x170]
call fcn.140008610
mov eax, 1
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14003a760
add rsp, 0x168
ret