Function at 0x140037900
Capabilities:
Check os version

Disassembly:
mov rax, rsp
push rbp
push rdi
push r13
lea rbp, [rax - 0x1d8]
sub rsp, 0x2c0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1405b7098]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rsi, rcx
xor edi, edi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], rdi
lea r13d, [rdi + 7]
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], rdi
mov word [rsp + 0x28], di
lea r8d, [rdi + 0xa]
lea rdx, str.Unknown_OS
lea rcx, [rsp + 0x28]
call fcn.14000fde0
nop
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x58], rdi
mov word [rsp + 0x48], di
xor r8d, r8d
lea rdx, [0x1402208bc]
lea rcx, [rsp + 0x48]
call fcn.14000fde0
nop
mov ebx, 0x11c
mov r8d, ebx
xor edx, edx
lea rcx, [rbp + 0x90]
call fcn.1400fecb0
mov dword [rbp + 0x90], ebx
mov byte [rbp + 0x1aa], 1
mov r8b, 1
lea ebx, [r13 + 0x79]
mov edx, ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov rcx, qword [str._bp__]
mov r10, qword [rcx]
mov r9, rax
mov r8d, ebx
lea rdx, [rbp + 0x90]
call qword [r10 + 0x358]
mov ebx, eax
call fcn.140026474
test eax, eax
je 0x140037a42
lea rcx, [rsp + 0x68]
call fcn.140026588
mov rbx, rax
lea rax, [rsp + 0x28]
cmp rax, rbx
je 0x140037a2e
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x28]
call fcn.14000f964
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.1400111b0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x68]
call fcn.14000f964
jmp 0x140037c1e
call fcn.140026428
test eax, eax
je 0x140037a78
lea rcx, [rsp + 0x28]
test ebx, ebx
je 0x140037a66
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetLBound
lea rdx, str.Microsoft_Windows_8
jmp 0x140037c19
mov r8d, 0x1d
lea rdx, str.Microsoft_Windows_Server_2012
jmp 0x140037c19
call fcn.1400263dc
test eax, eax
je 0x140037aae
lea rcx, [rsp + 0x28]
test ebx, ebx
je 0x140037a9c
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetLBound
lea rdx, str.Microsoft_Windows_7
jmp 0x140037c19
mov r8d, 0x20
lea rdx, str.Microsoft_Windows_Server_2008_R2
jmp 0x140037c19
call fcn.1400264f0
test eax, eax
je 0x140037ae4
lea rcx, [rsp + 0x28]
test ebx, ebx
je 0x140037ad2
mov r8d, reloc.OLEAUT32.dll_SafeArrayUnaccessData
lea rdx, str.Microsoft_Windows_Vista
jmp 0x140037c19
mov r8d, 0x1d
lea rdx, str.Microsoft_Windows_Server_2008
jmp 0x140037c19
call fcn.14002653c
test eax, eax
je 0x140037af9
lea rdx, str.Microsoft_Windows_XP
jmp 0x140037c0e
mov rcx, qword [str._bp__]
mov rax, qword [rcx]
lea rdx, [rbp + 0x90]
call qword [rax + 0x30]
cmp dword [rbp + 0x94], 5
jne 0x140037bfe
cmp dword [rbp + 0x98], 2
jne 0x140037be7
mov rcx, qword [0x1405b7be0]
mov rax, qword [rcx]
mov edx, 0x59
call qword [rax + 0x70]
test eax, eax
je 0x140037b54
mov r8d, 0x21
lea rdx, str.Microsoft_Windows_Server_2003_R2
lea rcx, [rsp + 0x28]
call fcn.14000fde0
cmp dword [rbp + 0x98], 2
jne 0x140037be7
mov eax, 0x8000
cmp word [rbp + 0x1a8], ax
jne 0x140037b8f
mov r8d, 0x1e
lea rdx, str.Microsoft_Windows_Home_Server
lea rcx, [rsp + 0x28]
call fcn.14000fde0
cmp dword [rbp + 0x98], 2
jne 0x140037be7
mov rcx, qword [0x1405b7be0]
mov rax, qword [rcx]
mov edx, 0x59
call qword [rax + 0x70]
test eax, eax
jne 0x140037bba
lea r8d, [rax + 0x1e]
lea rdx, str.Microsoft_Windows_Server_2003
lea rcx, [rsp + 0x28]
call fcn.14000fde0
cmp dword [rbp + 0x98], 2
jne 0x140037be7
test ebx, ebx
je 0x140037c1e
call fcn.140026340
test eax, eax
je 0x140037be7
mov r8d, 0x2e
lea rdx, str.Microsoft_Windows_XP_Professional_x64_Edition
lea rcx, [rsp + 0x28]
call fcn.14000fde0
cmp dword [rbp + 0x98], edi
jne 0x140037c1e
mov r8d, reloc.OLEAUT32.dll_SafeArrayUnaccessData
lea rdx, str.Microsoft_Windows_2000
jmp 0x140037c14
cmp dword [rbp + 0x94], 4
ja 0x140037c1e
lea rdx, str.Microsoft_Windows_NT
mov r8d, reloc.OLEAUT32.dll_SafeArrayUnlock
lea rcx, [rsp + 0x28]
call fcn.14000fde0
call fcn.140026474
test eax, eax
jne 0x140037e16
mov qword [rsp + 0x78], rdi
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x80], r13
mov qword [rsp + 0x78], rdi
mov word [rsp + 0x68], di
mov qword [rbp - 0x48], rdi
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x40], r13
mov qword [rbp - 0x48], rdi
mov word [rbp - 0x58], di
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x68], rdi
mov word [rbp - 0x78], di
mov rcx, qword [str._bp__]
mov rax, qword [rcx]
lea rdx, [rbp + 0x90]
call qword [rax + 0x30]
lea rdx, [rsp + 0x68]
mov ecx, dword [rbp + 0x94]
call fcn.140014528
test eax, eax
jns 0x140037ca6
xor r8d, r8d
lea rdx, [0x1402208bc]
lea rcx, [rsp + 0x68]
call fcn.14000fde0
lea rdx, [rbp - 0x58]
mov ecx, dword [rbp + 0x98]
call fcn.140014528
test eax, eax
jns 0x140037ccc
xor r8d, r8d
lea rdx, [0x1402208bc]
lea rcx, [rbp - 0x58]
call fcn.14000fde0
lea rdx, [rbp - 0x78]
mov ecx, dword [rbp + 0x9c]
call fcn.140014528
test eax, eax
jns 0x140037cf2
xor r8d, r8d
lea rdx, [0x1402208bc]
lea rcx, [rbp - 0x78]
call fcn.14000fde0
lea r8, [rsp + 0x68]
lea rdx, str._version
lea rcx, [rbp - 0x38]
call fcn.140010318
nop
lea r8, [0x140495e60]
mov rdx, rax
lea rcx, [rbp + 0x68]
call fcn.140010408
nop
lea r8, [rbp - 0x58]
mov rdx, rax
lea rcx, [rbp + 0x48]
call fcn.14003a3c8
nop
lea r8, [0x140495e60]
mov rdx, rax
lea rcx, [rbp + 0x28]
call fcn.140010408
nop
lea r8, [rbp - 0x78]
mov rdx, rax
lea rcx, [rbp + 8]
call fcn.14003a3c8
nop
lea r8, [0x14049f210]
mov rdx, rax
lea rcx, [rbp - 0x18]
call fcn.140010408
mov rbx, rax
lea rax, [rsp + 0x48]
cmp rax, rbx
je 0x140037d8f
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x48]
call fcn.14000f964
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.1400111b0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x18]
call fcn.14000f964
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 8]
call fcn.14000f964
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x28]
call fcn.14000f964
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x48]
call fcn.14000f964
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x68]
call fcn.14000f964
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x38]
call fcn.14000f964
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x78]
call fcn.14000f964
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x58]
call fcn.14000f964
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x68]
call fcn.14000f964
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x38]
call fcn.14003a434
mov rdi, rax
lea rbx, [rsi + 0xe8]
cmp rbx, rax
je 0x140037e51
xor r8d, r8d
mov dl, 1
mov rcx, rbx
call fcn.14000f964
mov rdx, rdi
mov rcx, rbx
call fcn.1400111b0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x38]
call fcn.14000f964
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x48]
call fcn.14000f964
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x28]
call fcn.14000f964
xor eax, eax
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.1400fcfd0
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop rdi
pop rbp
ret