Function at 0x14001e8e0
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0xd8]
sub rsp, 0x1c0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1402d68f8]
xor rax, rsp
mov qword [rbp + 0xb8], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x48], rdx
xor edx, edx
mov r8d, 0x118
lea rcx, [rsp + 0x54]
call fcn.1401e7f40
mov dword [rsp + 0x50], 0x11c
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1402e8f08], eax
jle 0x14001e99d
lea rcx, [0x1402e8f08]
call fcn.1401e32c8
cmp dword [0x1402e8f08], 0xffffffff
jne 0x14001e99d
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.RtlGetVersion
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402e8ed0], rax
lea rcx, [0x1402e8f08]
call fcn.1401e3268
mov rax, qword [0x1402e8ed0]
test rax, rax
je 0x14001ed4b
lea rcx, [rsp + 0x50]
call rax
test eax, eax
jne 0x14001ed4b
call fcn.14002b390
xor r14d, r14d
or rbx, 0xffffffffffffffff
test al, al
je 0x14001eb61
mov qword [rsp + 0x38], 7
mov qword [rsp + 0x30], r14
mov word [rsp + 0x20], r14w
mov r9, rbx
xor r8d, r8d
mov rdx, rsi
lea rcx, [rsp + 0x20]
call fcn.140003830
lea rcx, [rsp + 0x20]
call fcn.14001e280
test al, al
je 0x14001eb61
cmp qword [rdi + 0x10], r14
jne 0x14001ed0d
call fcn.14002b940
test al, al
je 0x14001ea2f
lea r8d, [r14 + 7]
lea rdx, str.WNT_RS5
mov rcx, rdi
call fcn.140002540
cmp qword [rdi + 0x10], r14
jne 0x14001ed0d
call fcn.14002b8c0
test al, al
je 0x14001ea57
mov r8d, 7
lea rdx, str.WNT_RS4
mov rcx, rdi
call fcn.140002540
cmp qword [rdi + 0x10], r14
jne 0x14001ed0d
call fcn.14002b840
test al, al
je 0x14001ea7f
mov r8d, 7
lea rdx, str.WNT_RS3
mov rcx, rdi
call fcn.140002540
cmp qword [rdi + 0x10], r14
jne 0x14001ed0d
call fcn.14002b7c0
test al, al
je 0x14001eaa7
mov r8d, 7
lea rdx, str.WNT_RS2
mov rcx, rdi
call fcn.140002540
cmp qword [rdi + 0x10], r14
jne 0x14001ed0d
call fcn.14002b740
test al, al
je 0x14001eacf
mov r8d, 7
lea rdx, str.WNT_RS1
mov rcx, rdi
call fcn.140002540
cmp qword [rdi + 0x10], r14
jne 0x14001ed0d
call fcn.14002b6c0
test al, al
je 0x14001eaf7
mov r8d, 7
lea rdx, str.WNT_TH2
mov rcx, rdi
call fcn.140002540
cmp qword [rdi + 0x10], r14
jne 0x14001ed0d
call fcn.14002b640
test al, al
je 0x14001eb1f
mov r8d, 7
lea rdx, str.WNT_TH1
mov rcx, rdi
call fcn.140002540
cmp qword [rdi + 0x10], r14
jne 0x14001ed0d
mov rdx, rsi
lea rcx, [rsp + 0x20]
call fcn.14000ada0
mov rdx, rax
lea rcx, [rbp + 0x80]
call fcn.14001e380
mov rdx, rax
mov rcx, rdi
call fcn.140007040
lea rcx, [rbp + 0x80]
call fcn.1400023f0
jmp 0x14001ed0d
mov eax, dword [rsp + 0x60]
cmp eax, 2
jne 0x14001ecba
mov r9d, dword [rsp + 0x58]
mov r8d, dword [rsp + 0x54]
lea rdx, str.WNT__d._d
lea rcx, [rbp + 0x70]
call fcn.1400213f0
cmp byte [rbp + 0x70], r14b
jne 0x14001eb93
mov rbx, r14
jmp 0x14001eba0
lea rax, [rbp + 0x70]
inc rbx
cmp byte [rax + rbx], r14b
jne 0x14001eb97
mov r8, rbx
lea rdx, [rbp + 0x70]
mov rcx, rdi
call fcn.140002540
movzx eax, byte [rbp + 0x6a]
sub al, 2
cmp al, 1
jbe 0x14001ebe2
mov eax, 0x200
mov r8d, 1
mov rcx, rdi
test word [rbp + 0x68], ax
je 0x14001ebd9
lea rdx, [0x14028d3b8]
jmp 0x14001ec5b
lea rdx, [0x14028d3c8]
jmp 0x14001ec5b
lea rcx, [rbp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [rbp + 0x80]
cmp ax, 6
je 0x14001ec08
test ax, ax
lea rdx, [0x14028d3b4]
jne 0x14001ec0f
lea rdx, [0x14028d398]
mov r8d, 1
mov rcx, rdi
call fcn.1400027a0
cmp dword [rsp + 0x54], 0xa
jne 0x14001ec60
call fcn.14002b940
test al, al
je 0x14001ec42
mov r8d, 5
lea rdx, str._2019
mov rcx, rdi
call fcn.1400027a0
call fcn.14002b740
test al, al
je 0x14001ec60
mov r8d, 5
lea rdx, str._2016
mov rcx, rdi
call fcn.1400027a0
cmp dword [rsp + 0x54], 6
jb 0x14001ec94
lea r8, [0x14028d3c4]
mov rdx, rdi
lea rcx, [rbp + 0x80]
call fcn.140008450
mov rdx, rax
mov rcx, rdi
call fcn.140007040
lea rcx, [rbp + 0x80]
call fcn.1400023f0
mov ecx, 0x57
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x14001ed0d
mov r8d, 4
lea rdx, str._MCE
mov rcx, rdi
call fcn.1400027a0
jmp 0x14001ed0d
cmp eax, 1
jne 0x14001ed27
mov r9d, dword [rsp + 0x58]
mov r8d, dword [rsp + 0x54]
lea rdx, str.WIN__d._d
lea rcx, [rbp + 0x80]
call fcn.140021450
cmp byte [rbp + 0x80], r14b
jne 0x14001ecea
mov rbx, r14
jmp 0x14001ecfa
lea rax, [rbp + 0x80]
inc rbx
cmp byte [rax + rbx], r14b
jne 0x14001ecf1
mov r8, rbx
lea rdx, [rbp + 0x80]
mov rcx, rdi
call fcn.140002540
nop
mov r8, qword [rsi + 0x18]
cmp r8, 8
jb 0x14001ed66
inc r8
mov rdx, qword [rsi]
mov rcx, rsi
call fcn.1400037a0
jmp 0x14001ed66
xor r9d, r9d
lea r8, str.GetOSVersion_fail
lea rdx, str.Unknown_system_platform...
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
nop
mov rcx, rsi
call fcn.140003580
jmp 0x14001ed80
mov r8, qword [rsi + 0x18]
cmp r8, 8
jb 0x14001ed63
inc r8
mov rdx, qword [rsi]
mov rcx, rsi
call fcn.1400037a0
xor r14d, r14d
mov qword [rsi + 0x18], 7
cmp qword [rsi + 0x18], 8
mov qword [rsi + 0x10], r14
jb 0x14001ed7c
mov rsi, qword [rsi]
mov word [rsi], r14w
mov rcx, qword [rbp + 0xb8]
xor rcx, rsp
call fcn.1401e30a0
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret