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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x168]
sub rsp, 0x240
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rsi, rcx
lea r14, vtable.CSABByteString.0
mov qword [rcx + 8], r14
xor r15d, r15d
mov qword [rcx + 0x18], r15
mov qword [rcx + 0x20], r15
mov qword [rcx + 0x10], r15
lea ecx, [r15 + 1]
call fcn.140247068
mov rdi, rax
mov rdx, qword [rsi + 0x10]
test rdx, rdx
je 0x1401e747c
mov r8, qword [rsi + 0x20]
inc r8
mov rcx, rax
call fcn.1402496a0
lea edx, [r15 + 1]
mov rcx, qword [rsi + 0x10]
call fcn.140247060
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], 1
xor r8d, r8d
xor edx, edx
lea rcx, [rsi + 8]
call fcn.14000af20
nop
mov qword [rsi + 0x28], r14
mov qword [rsi + 0x38], r15
mov qword [rsi + 0x40], r15
mov qword [rsi + 0x30], r15
mov ecx, 1
call fcn.140247068
mov r14, rax
mov rdx, qword [rsi + 0x30]
test rdx, rdx
je 0x1401e74da
mov r8, qword [rsi + 0x40]
inc r8
mov rcx, rax
call fcn.1402496a0
mov edx, 1
mov rcx, qword [rsi + 0x30]
call fcn.140247060
mov qword [rsi + 0x30], r14
mov qword [rsi + 0x38], 1
xor r8d, r8d
xor edx, edx
lea rcx, [rsi + 0x28]
call fcn.14000af20
nop
mov dword [rsi], r15d
xor edx, edx
mov r8d, 0x98
lea rcx, [rbp - 0x7c]
call fcn.140249b10
mov dword [rbp - 0x80], 0x9c
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x1401e760e
cmp qword [rsi + 0x18], 8
jae 0x1401e7568
lea ecx, [rax + 8]
call fcn.140247068
mov r14, rax
mov rdx, qword [rsi + 0x10]
test rdx, rdx
je 0x1401e755a
mov r8, qword [rsi + 0x20]
inc r8
mov rcx, rax
call fcn.1402496a0
mov edx, 1
mov rcx, qword [rsi + 0x10]
call fcn.140247060
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], 8
jmp 0x1401e756c
mov r14, qword [rsi + 0x10]
mov byte [r14], 0
mov r9d, 7
lea r8, str.Unknown
mov rdx, qword [rsi + 0x18]
mov rcx, qword [rsi + 0x10]
call fcn.140250550
mov qword [rsi + 0x20], 7
cmp qword [rsi + 0x38], 0x12
jae 0x1401e75da
mov ecx, send
call fcn.140247068
mov rbx, rax
mov rdx, qword [rsi + 0x30]
test rdx, rdx
je 0x1401e75cc
mov r8, qword [rsi + 0x40]
inc r8
mov rcx, rax
call fcn.1402496a0
mov edx, 1
mov rcx, qword [rsi + 0x30]
call fcn.140247060
mov qword [rsi + 0x30], rbx
mov qword [rsi + 0x38], SafeArrayUnaccessData
jmp 0x1401e75de
mov rbx, qword [rsi + 0x30]
mov byte [rbx], 0
mov r9d, reloc.COMCTL32.dll_InitCommonControls
lea r8, str.Unknown_GVI_Error
mov rdx, qword [rsi + 0x38]
mov rcx, qword [rsi + 0x30]
call fcn.140250550
mov qword [rsi + 0x40], reloc.COMCTL32.dll_InitCommonControls
mov dword [rsi], 1
jmp 0x1401e80a4
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.RtlGetVersion
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1401e76e6
mov dword [rbp + 0x20], 0x11c
lea rcx, [rbp + 0x20]
call rax
mov eax, dword [rbp + 0x30]
mov dword [rbp - 0x70], eax
mov eax, dword [rbp + 0x2c]
mov dword [rbp - 0x74], eax
mov eax, dword [rbp + 0x24]
mov dword [rbp - 0x7c], eax
mov eax, dword [rbp + 0x28]
mov dword [rbp - 0x78], eax
movzx eax, byte [rbp + 0x13a]
mov byte [rbp + 0x1a], al
movzx eax, byte [rbp + 0x13b]
mov byte [rbp + 0x1b], al
movzx eax, word [rbp + 0x134]
mov word [rbp + 0x14], ax
movzx eax, word [rbp + 0x136]
mov word [rbp + 0x16], ax
movzx eax, word [rbp + 0x138]
mov word [rbp + 0x18], ax
lea rcx, [rbp + 0x34]
mov rax, 0xffffffffffffffff
nop dword [rax]
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x1401e76a0
lea r9d, [rax + 1]
lea rcx, [rbp + 0x178]
mov qword [rsp + 0x38], rcx
lea rcx, [0x1402860c8]
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], 0x80
lea rcx, [rbp - 0x6c]
mov qword [rsp + 0x20], rcx
lea r8, [rbp + 0x34]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xor eax, eax
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
mov qword [rsp + 0x68], rax
lea rcx, [0x14028b028]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.GetNativeSystemInfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rsp + 0x40]
test rax, rax
je 0x1401e7731
call rax
jmp 0x1401e7737
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rbp - 0x7c]
cmp eax, 0xa
je 0x1401e7eb3
cmp eax, 6
jne 0x1401e7b3a
mov eax, dword [rbp - 0x78]
cmp eax, 3
ja 0x1401e7eb3
jne 0x1401e7850
cmp qword [rsi + 0x18], 7
jae 0x1401e77a6
mov ecx, 7
call fcn.140247068
mov r14, rax
mov rdx, qword [rsi + 0x10]
test rdx, rdx
je 0x1401e7798
mov r8, qword [rsi + 0x20]
inc r8
mov rcx, rax
call fcn.1402496a0
mov edx, 1
mov rcx, qword [rsi + 0x10]
call fcn.140247060
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], 7
jmp 0x1401e77aa
mov r14, qword [rsi + 0x10]
mov byte [r14], 0
mov r9d, 6
lea r8, str.WIN8_1
mov rdx, qword [rsi + 0x18]
mov rcx, qword [rsi + 0x10]
call fcn.140250550
mov qword [rsi + 0x20], 6
cmp qword [rsi + 0x38], 7
jae 0x1401e7819
mov ecx, 7
call fcn.140247068
mov r14, rax
lea rbx, [rsi + 0x30]
mov rdx, qword [rbx]
test rdx, rdx
je 0x1401e780c
mov r8, qword [rsi + 0x40]
inc r8
mov rcx, rax
call fcn.1402496a0
mov edx, 1
mov rcx, qword [rbx]
call fcn.140247060
mov qword [rbx], r14
mov qword [rsi + 0x38], 7
jmp 0x1401e7820
lea rbx, [rsi + 0x30]
mov r14, qword [rbx]
mov byte [r14], 0
mov r9d, 6
lea r8, str.WIN8_1
mov rdx, qword [rsi + 0x38]
mov rcx, qword [rbx]
call fcn.140250550
mov qword [rsi + 0x40], 6
mov dword [rsi], 0x100
jmp 0x1401e7fa0
cmp eax, 2
jne 0x1401e7949
cmp qword [rsi + 0x18], 5
jae 0x1401e789f
lea ecx, [rax + 3]
call fcn.140247068
mov r14, rax
mov rdx, qword [rsi + 0x10]
test rdx, rdx
je 0x1401e7891
mov r8, qword [rsi + 0x20]
inc r8
mov rcx, rax
call fcn.1402496a0
mov edx, 1
mov rcx, qword [rsi + 0x10]
call fcn.140247060
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], 5
jmp 0x1401e78a3
mov r14, qword [rsi + 0x10]
mov byte [r14], 0
mov r9d, 4
lea r8, str.WIN8
mov rdx, qword [rsi + 0x18]
mov rcx, qword [rsi + 0x10]
call fcn.140250550
mov qword [rsi + 0x20], 4
cmp qword [rsi + 0x38], 5
jae 0x1401e7912
mov ecx, 5
call fcn.140247068
mov r14, rax
lea rbx, [rsi + 0x30]
mov rdx, qword [rbx]
test rdx, rdx
je 0x1401e7905
mov r8, qword [rsi + 0x40]
inc r8
mov rcx, rax
call fcn.1402496a0
mov edx, 1
mov rcx, qword [rbx]
call fcn.140247060
mov qword [rbx], r14
mov qword [rsi + 0x38], 5
jmp 0x1401e7919
lea rbx, [rsi + 0x30]
mov r14, qword [rbx]
mov byte [r14], 0
mov r9d, 4
lea r8, str.WIN8
mov rdx, qword [rsi + 0x38]
mov rcx, qword [rbx]
call fcn.140250550
mov qword [rsi + 0x40], 4
mov dword [rsi], 0x80
jmp 0x1401e7fa0
cmp eax, 1
jne 0x1401e7a42
cmp qword [rsi + 0x18], 5
jae 0x1401e7998
lea ecx, [rax + 4]
call fcn.140247068
mov r14, rax
mov rdx, qword [rsi + 0x10]
test rdx, rdx
je 0x1401e798a
mov r8, qword [rsi + 0x20]
inc r8
mov rcx, rax
call fcn.1402496a0
mov edx, 1
mov rcx, qword [rsi + 0x10]
call fcn.140247060
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], 5
jmp 0x1401e799c
mov r14, qword [rsi + 0x10]
mov byte [r14], 0
mov r9d, 4
lea r8, str.WIN7
mov rdx, qword [rsi + 0x18]
mov rcx, qword [rsi + 0x10]
call fcn.140250550
mov qword [rsi + 0x20], 4
cmp qword [rsi + 0x38], 5
jae 0x1401e7a0b
mov ecx, 5
call fcn.140247068
mov r14, rax
lea rbx, [rsi + 0x30]
mov rdx, qword [rbx]
test rdx, rdx
je 0x1401e79fe
mov r8, qword [rsi + 0x40]
inc r8
mov rcx, rax
call fcn.1402496a0
mov edx, 1
mov rcx, qword [rbx]
call fcn.140247060
mov qword [rbx], r14
mov qword [rsi + 0x38], 5
jmp 0x1401e7a12
lea rbx, [rsi + 0x30]
mov r14, qword [rbx]
mov byte [r14], 0
mov r9d, 4
lea r8, str.WIN7
mov rdx, qword [rsi + 0x38]
mov rcx, qword [rbx]
call fcn.140250550
mov qword [rsi + 0x40], 4
mov dword [rsi], 0x40
jmp 0x1401e7fa0
test eax, eax
jne 0x1401e7d32
cmp qword [rsi + 0x18], 6
jae 0x1401e7a90
lea ecx, [rax + 6]
call fcn.140247068
mov r14, rax
mov rdx, qword [rsi + 0x10]
test rdx, rdx
je 0x1401e7a82
mov r8, qword [rsi + 0x20]
inc r8
mov rcx, rax
call fcn.1402496a0
mov edx, 1
mov rcx, qword [rsi + 0x10]
call fcn.140247060
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], 6
jmp 0x1401e7a94
mov r14, qword [rsi + 0x10]
mov byte [r14], 0
mov r9d, 5
lea r8, str.VISTA
mov rdx, qword [rsi + 0x18]
mov rcx, qword [rsi + 0x10]
call fcn.140250550
mov qword [rsi + 0x20], 5
cmp qword [rsi + 0x38], 6
jae 0x1401e7b03
mov ecx, 6
call fcn.140247068
mov r14, rax
lea rbx, [rsi + 0x30]
mov rdx, qword [rbx]
test rdx, rdx
je 0x1401e7af6
mov r8, qword [rsi + 0x40]
inc r8
mov rcx, rax
call fcn.1402496a0
mov edx, 1
mov rcx, qword [rbx]
call fcn.140247060
mov qword [rbx], r14
mov qword [rsi + 0x38], 6
jmp 0x1401e7b0a
lea rbx, [rsi + 0x30]
mov r14, qword [rbx]
mov byte [r14], 0
mov r9d, 5
lea r8, str.VISTA
mov rdx, qword [rsi + 0x38]
mov rcx, qword [rbx]
call fcn.140250550
mov qword [rsi + 0x40], 5
mov dword [rsi], 0x20
jmp 0x1401e7fa0
cmp eax, 5
jne 0x1401e7d32
mov eax, dword [rbp - 0x78]
test eax, eax
je 0x1401e7c40
cmp qword [rsi + 0x18], 6
jae 0x1401e7b96
mov ecx, 6
call fcn.140247068
mov r14, rax
mov rdx, qword [rsi + 0x10]
test rdx, rdx
je 0x1401e7b88
mov r8, qword [rsi + 0x20]
inc r8
mov rcx, rax
call fcn.1402496a0
mov edx, 1
mov rcx, qword [rsi + 0x10]
call fcn.140247060
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], 6
jmp 0x1401e7b9a
mov r14, qword [rsi + 0x10]
mov byte [r14], 0
mov r9d, 5
lea r8, str.WINXP
mov rdx, qword [rsi + 0x18]
mov rcx, qword [rsi + 0x10]
call fcn.140250550
mov qword [rsi + 0x20], 5
cmp qword [rsi + 0x38], 6
jae 0x1401e7c09
mov ecx, 6
call fcn.140247068
mov r14, rax
lea rbx, [rsi + 0x30]
mov rdx, qword [rbx]
test rdx, rdx
je 0x1401e7bfc
mov r8, qword [rsi + 0x40]
inc r8
mov rcx, rax
call fcn.1402496a0
mov edx, 1
mov rcx, qword [rbx]
call fcn.140247060
mov qword [rbx], r14
mov qword [rsi + 0x38], 6
jmp 0x1401e7c10
lea rbx, [rsi + 0x30]
mov r14, qword [rbx]
mov byte [r14], 0
mov r9d, 5
lea r8, str.WINXP
mov rdx, qword [rsi + 0x38]
mov rcx, qword [rbx]
call fcn.140250550
mov qword [rsi + 0x40], 5
mov dword [rsi], reloc.OLEAUT32.dll_SafeArrayGetDim
jmp 0x1401e7fa0
cmp qword [rsi + 0x18], 6
jae 0x1401e7c88
mov ecx, 6
call fcn.140247068
mov r14, rax
mov rdx, qword [rsi + 0x10]
test rdx, rdx
je 0x1401e7c7a
mov r8, qword [rsi + 0x20]
inc r8
mov rcx, rax
call fcn.1402496a0
mov edx, 1
mov rcx, qword [rsi + 0x10]
call fcn.140247060
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], 6
jmp 0x1401e7c8c
mov r14, qword [rsi + 0x10]
mov byte [r14], 0
mov r9d, 5
lea r8, str.WIN2K
mov rdx, qword [rsi + 0x18]
mov rcx, qword [rsi + 0x10]
call fcn.140250550
mov qword [rsi + 0x20], 5
cmp qword [rsi + 0x38], 6
jae 0x1401e7cfb
mov ecx, 6
call fcn.140247068
mov r14, rax
lea rbx, [rsi + 0x30]
mov rdx, qword [rbx]
test rdx, rdx
je 0x1401e7cee
mov r8, qword [rsi + 0x40]
inc r8
mov rcx, rax
call fcn.1402496a0
mov edx, 1
mov rcx, qword [rbx]
call fcn.140247060
mov qword [rbx], r14
mov qword [rsi + 0x38], 6
jmp 0x1401e7d02
lea rbx, [rsi + 0x30]
mov r14, qword [rbx]
mov byte [r14], 0
mov r9d, 5
lea r8, str.WIN2K
mov rdx, qword [rsi + 0x38]
mov rcx, qword [rbx]
call fcn.140250550
mov qword [rsi + 0x40], 5
mov dword [rsi], 8
jmp 0x1401e7fa0
cmp qword [rsi + 0x18], 8
jae 0x1401e7d7a
mov ecx, 8
call fcn.140247068
mov r14, rax
mov rdx, qword [rsi + 0x10]
test rdx, rdx
je 0x1401e7d6c
mov r8, qword [rsi + 0x20]
inc r8
mov rcx, rax
call fcn.1402496a0
mov edx, 1
mov rcx, qword [rsi + 0x10]
call fcn.140247060
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], 8
jmp 0x1401e7d7e
mov r14, qword [rsi + 0x10]
mov byte [r14], 0
mov r9d, 7
lea r8, str.Unknown
mov rdx, qword [rsi + 0x18]
mov rcx, qword [rsi + 0x10]
call fcn.140250550
mov qword [rsi + 0x20], 7
cmp qword [rsi + 0x38], 9
jae 0x1401e7ded
mov ecx, 9
call fcn.140247068
mov r14, rax
lea rbx, [rsi + 0x30]
mov rdx, qword [rbx]
test rdx, rdx
je 0x1401e7de0
mov r8, qword [rsi + 0x40]
inc r8
mov rcx, rax
call fcn.1402496a0
mov edx, 1
mov rcx, qword [rbx]
call fcn.140247060
mov qword [rbx], r14
mov qword [rsi + 0x38], 9
jmp 0x1401e7df4
lea rbx, [rsi + 0x30]
mov r14, qword [rbx]
mov byte [r14], 0
mov r9d, 8
lea r8, str.Unknown_
mov rdx, qword [rsi + 0x38]
mov rcx, qword [rbx]
call fcn.140250550
mov qword [rsi + 0x40], 8
mov edx, dword [rbp - 0x7c]
lea rcx, [rsi + 0x28]
call fcn.1401e8ae0
mov rax, qword [rsi + 0x40]
lea r15, [rax + 2]
cmp r15, qword [rsi + 0x38]
jbe 0x1401e7e6f
mov rcx, r15
call fcn.140247068
mov r14, rax
mov rdx, qword [rbx]
test rdx, rdx
je 0x1401e7e62
mov r8, qword [rsi + 0x40]
inc r8
mov rcx, rax
call fcn.1402496a0
mov edx, 1
mov rcx, qword [rbx]
call fcn.140247060
mov qword [rbx], r14
mov qword [rsi + 0x38], r15
mov rax, qword [rsi + 0x40]
jmp 0x1401e7e73
mov r14, qword [rsi + 0x30]
mov byte [r14 + rax], 0
mov rcx, qword [rsi + 0x40]
mov rdx, qword [rsi + 0x38]
sub rdx, rcx
add rcx, qword [rbx]
mov r9d, 1
lea r8, [0x14028b4b8]
call fcn.140250550
inc qword [rsi + 0x40]
mov edx, dword [rbp - 0x78]
lea rcx, [rsi + 0x28]
call fcn.1401e8ae0
mov dword [rsi], 1
jmp 0x1401e7fa0
cmp qword [rsi + 0x18], 6
jae 0x1401e7efb
mov ecx, 6
call fcn.140247068
mov r14, rax
mov rdx, qword [rsi + 0x10]
test rdx, rdx
je 0x1401e7eed
mov r8, qword [rsi + 0x20]
inc r8
mov rcx, rax
call fcn.1402496a0
mov edx, 1
mov rcx, qword [rsi + 0x10]
call fcn.140247060
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], 6
jmp 0x1401e7eff
mov r14, qword [rsi + 0x10]
mov byte [r14], 0
mov r9d, 5
lea r8, str.WIN10
mov rdx, qword [rsi + 0x18]
mov rcx, qword [rsi + 0x10]
call fcn.140250550
mov qword [rsi + 0x20], 5
cmp qword [rsi + 0x38], 6
jae 0x1401e7f6d
mov ecx, 6
call fcn.140247068
mov rbx, rax
mov rdx, qword [rsi + 0x30]
test rdx, rdx
je 0x1401e7f5f
mov r8, qword [rsi + 0x40]
inc r8
mov rcx, rax
call fcn.1402496a0
mov edx, 1
mov rcx, qword [rsi + 0x30]
call fcn.140247060
mov qword [rsi + 0x30], rbx
mov qword [rsi + 0x38], 6
jmp 0x1401e7f71
mov rbx, qword [rsi + 0x30]
mov byte [rbx], 0
mov r9d, 5
lea r8, str.WIN10
mov rdx, qword [rsi + 0x38]
mov rcx, qword [rsi + 0x30]
call fcn.140250550
mov qword [rsi + 0x40], 5
mov dword [rsi], 0x200
lea rbx, [rsi + 0x30]
mov rax, qword [rsp + 0x40]
cmp ax, 9
jne 0x1401e801b
or dword [rsi], 4
mov rax, qword [rsi + 0x40]
lea r14, [rax + 3]
cmp r14, qword [rsi + 0x38]
jbe 0x1401e7ffb
mov rcx, r14
call fcn.140247068
mov rbx, rax
mov rdx, qword [rsi + 0x30]
test rdx, rdx
je 0x1401e7fed
mov r8, qword [rsi + 0x40]
inc r8
mov rcx, rax
call fcn.1402496a0
mov edx, 1
mov rcx, qword [rsi + 0x30]
call fcn.140247060
mov qword [rsi + 0x30], rbx
mov qword [rsi + 0x38], r14
mov rax, qword [rsi + 0x40]
jmp 0x1401e7fff
mov rbx, qword [rsi + 0x30]
mov byte [rbx + rax], 0
mov rcx, qword [rsi + 0x40]
mov rdx, qword [rsi + 0x38]
sub rdx, rcx
add rcx, qword [rsi + 0x30]
lea r8, [0x1402c4e00]
jmp 0x1401e8094
test ax, ax
jne 0x1401e80a4
or dword [rsi], 2
test byte [rsi], 8
jne 0x1401e80a4
mov rax, qword [rsi + 0x40]
lea r15, [rax + 3]
cmp r15, qword [rsi + 0x38]
jbe 0x1401e8076
mov rcx, r15
call fcn.140247068
mov r14, rax
mov rdx, qword [rbx]
test rdx, rdx
je 0x1401e8069
mov r8, qword [rsi + 0x40]
inc r8
mov rcx, rax
call fcn.1402496a0
mov edx, 1
mov rcx, qword [rbx]
call fcn.140247060
mov qword [rbx], r14
mov qword [rsi + 0x38], r15
mov rax, qword [rsi + 0x40]
jmp 0x1401e807a
mov r14, qword [rsi + 0x30]
mov byte [r14 + rax], 0
mov rcx, qword [rsi + 0x40]
mov rdx, qword [rsi + 0x38]
sub rdx, rcx
add rcx, qword [rbx]
lea r8, [0x1402cd5ac]
mov r9d, 2
call fcn.140250550
add qword [rsi + 0x40], 2
mov rax, rsi
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret