Function at 0x14001cc20
Capabilities:
Get hostname
Inspect section memory permissions
Resolve dns

Disassembly:
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0xb00]
sub rsp, 0xc00
mov rax, qword [0x1401ef010]
xor rax, rsp
mov qword [rbp + 0xaf0], rax
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x140
call fcn.140133cb0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.14001b090
lea rcx, [rbp + 0xe0]
test eax, eax
je 0x14001e1f9
lea rdx, [0x14019526c]
call fcn.14001e360
cmp dword [rbp - 0x2c], 5
lea r8, str.OS:
mov edx, 0x800
lea rcx, [rbp + 0xe0]
jne 0x14001cca5
call fcn.140139fd0
jmp 0x14001ccaa
call fcn.14013a030
mov ecx, dword [rbp - 0x2c]
sub ecx, 1
je 0x14001d95f
sub ecx, 1
je 0x14001d956
sub ecx, 1
je 0x14001d7da
sub ecx, 1
je 0x14001cd21
cmp ecx, 1
je 0x14001cceb
lea rdx, str.Unknown_OS
lea rcx, [rbp + 0x70]
call fcn.14001e3c0
lea r8, [rbp + 0x70]
jmp 0x14001d966
mov eax, dword [rbp - 0x38]
cmp eax, 7
jb 0x14001ccff
lea r8, str.Windows_Embedded_Compact
jmp 0x14001d966
cmp eax, 4
jne 0x14001cd15
cmp dword [rbp - 0x34], 0
lea r8, str.Windows_CE_.NET
ja 0x14001d966
lea r8, str.Windows_CE
jmp 0x14001d966
mov eax, dword [rbp - 0x38]
cmp eax, 4
ja 0x14001ce20
lea r8, str.Windows_NT
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
mov ecx, dword [rbp - 0x2c]
mov edx, dword [rbp + 0x6c]
mov eax, dword [rbp - 0x38]
cmp ecx, 4
jne 0x14001d977
cmp eax, ecx
ja 0x14001cd69
cmp edx, 1
jne 0x14001cd69
lea r8, str.__Workstation_
jmp 0x14001cdc3
cmp ecx, 4
jne 0x14001d977
cmp eax, ecx
ja 0x14001cd84
cmp edx, 2
jne 0x14001cd84
lea r8, str.__Server_
jmp 0x14001cdc3
cmp ecx, 4
jne 0x14001d977
cmp eax, ecx
ja 0x14001cda4
cmp edx, 3
jne 0x14001cda4
test byte [rbp + 0x60], cl
je 0x14001cda4
lea r8, str.__Primary_Domain_Controller_
jmp 0x14001cdc3
cmp ecx, 4
jne 0x14001d977
cmp eax, ecx
ja 0x14001cdda
cmp edx, 3
jne 0x14001cdda
test byte [rbp + 0x60], 8
je 0x14001cdda
lea r8, str.__Backup_Domain_Controller_
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
mov eax, dword [rbp - 0x38]
mov ecx, dword [rbp - 0x2c]
cmp ecx, 4
jne 0x14001d977
cmp eax, ecx
ja 0x14001cdf9
test byte [rbp + 0x60], 0x20
je 0x14001cdf9
lea r8, str.___Datacenter_
jmp 0x14001d966
cmp ecx, 4
jne 0x14001d977
cmp eax, ecx
ja 0x14001d977
test byte [rbp + 0x60], 2
je 0x14001d977
lea r8, str.___Enterprise_
jmp 0x14001d966
mov ecx, dword [rbp - 0x34]
cmp eax, 5
jne 0x14001d0c8
test ecx, ecx
jne 0x14001cee5
test byte [rbp + 0x64], 0x80
je 0x14001ce43
lea r8, str.Windows_2000__Professional_
jmp 0x14001ce69
mov eax, dword [rbp + 0x6c]
cmp eax, 2
jne 0x14001ce54
lea r8, str.Windows_2000_Server
jmp 0x14001ce69
cmp eax, 3
lea r8, str.Windows_2000__Domain_Controller_
lea rcx, str.Windows_2000
cmovne r8, rcx
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
mov edx, dword [rbp - 0x2c]
mov r8d, dword [rbp + 0x60]
mov ecx, dword [rbp - 0x34]
mov eax, dword [rbp - 0x38]
cmp edx, 4
jne 0x14001d977
cmp eax, 5
jne 0x14001ceab
test ecx, ecx
jne 0x14001ceab
test r8b, 0x20
je 0x14001ceab
lea r8, str.___Datacenter_
jmp 0x14001d966
cmp edx, 4
jne 0x14001d977
cmp eax, 5
jne 0x14001d977
test ecx, ecx
jne 0x14001d977
cmp dword [rbp + 0x6c], 2
jne 0x14001d977
test r8b, 2
je 0x14001d977
lea r8, str.___Advanced_Server_
jmp 0x14001d966
cmp eax, 5
jne 0x14001d0c8
test ecx, ecx
je 0x14001d0c8
mov eax, dword [rbp + 0x60]
bt eax, 0x10
jae 0x14001cf08
lea r8, str.Windows_XP__Starter_Edition_
jmp 0x14001cf7c
test al, 0x40
je 0x14001cf15
lea r8, str.Windows_XP__Personal_
jmp 0x14001cf7c
test byte [rbp + 0x64], 0x80
je 0x14001cf24
lea r8, str.Windows_XP__Professional_
jmp 0x14001cf7c
mov ecx, dword [rbp + 0x6c]
cmp ecx, 2
jne 0x14001cf3b
bt eax, 0x11
jb 0x14001cf3b
lea r8, str.Windows_Server_2003
jmp 0x14001cf7c
cmp ecx, 3
jne 0x14001cf4f
bt eax, 0x11
jb 0x14001cf4f
lea r8, str.Windows_Server_2003__Domain_Controller_
jmp 0x14001cf7c
cmp ecx, 2
jne 0x14001cf63
bt eax, 0x11
jae 0x14001cf63
lea r8, str.Windows_Server_2003_R2
jmp 0x14001cf7c
cmp ecx, 3
jne 0x14001cf75
lea r8, str.Windows_Server_2003_R2__Domain_Controller_
bt eax, 0x11
jb 0x14001cf7c
lea r8, str.Windows_XP
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
mov r8d, dword [rbp - 0x2c]
mov eax, dword [rbp + 0x60]
mov edx, dword [rbp - 0x34]
mov ecx, dword [rbp - 0x38]
cmp r8d, 4
jne 0x14001cfd8
cmp ecx, 5
jne 0x14001cfb3
test edx, edx
je 0x14001cfb3
test al, 0x20
je 0x14001cfb3
bt eax, 0x11
jae 0x14001cfcc
cmp r8d, 4
jne 0x14001cfd8
cmp ecx, 5
jne 0x14001cfd8
test edx, edx
je 0x14001cfd8
test al, 0x20
je 0x14001cfd8
bt eax, 0x11
jae 0x14001cfd8
lea r8, str.___Datacenter_Edition_
jmp 0x14001d966
mov r9d, dword [rbp + 0x6c]
cmp r8d, 4
jne 0x14001d06a
cmp ecx, 5
jne 0x14001d000
test edx, edx
je 0x14001d000
cmp r9d, 2
jne 0x14001d000
bt eax, 0x11
jb 0x14001d000
test r9b, al
jne 0x14001d020
cmp r8d, 4
jne 0x14001d06a
cmp ecx, 5
jne 0x14001d02c
test edx, edx
je 0x14001d02c
cmp r9d, 2
jne 0x14001d02c
bt eax, 0x11
jb 0x14001d02c
test r9b, al
je 0x14001d02c
lea r8, str.___Enterprise_Edition_
jmp 0x14001d966
cmp r8d, 4
jne 0x14001d06a
cmp ecx, 5
jne 0x14001d045
test edx, edx
je 0x14001d045
test al, al
jns 0x14001d045
bt eax, 0x11
jae 0x14001d05e
cmp r8d, 4
jne 0x14001d06a
cmp ecx, 5
jne 0x14001d06a
test edx, edx
je 0x14001d06a
test al, al
jns 0x14001d06a
bt eax, 0x11
jae 0x14001d06a
lea r8, str.___Web_Edition_
jmp 0x14001d966
mov r9d, dword [rbp + 0x64]
cmp r8d, 4
jne 0x14001d977
cmp ecx, 5
jne 0x14001d08d
test edx, edx
je 0x14001d08d
test r9b, 0x20
je 0x14001d08d
bt eax, 0x11
jae 0x14001d0bc
cmp r8d, 4
jne 0x14001d977
cmp ecx, 5
jne 0x14001d977
test edx, edx
je 0x14001d977
test r9b, 0x20
je 0x14001d977
bt eax, 0x11
jae 0x14001d977
lea r8, str.___Standard_Edition_
jmp 0x14001d966
cmp eax, 6
jne 0x14001d614
test ecx, ecx
jne 0x14001d219
mov eax, dword [rbp + 0x60]
bt eax, 0x10
jae 0x14001d0eb
lea r8, str.Windows_Vista__Starter_Edition_
jmp 0x14001d15a
bt eax, 0x18
jae 0x14001d0fa
lea r8, str.Windows_Vista__Home_Basic_
jmp 0x14001d15a
bt eax, 0x19
jae 0x14001d109
lea r8, str.Windows_Vista__Home_Premium_
jmp 0x14001d15a
bt eax, 0x1b
jae 0x14001d118
lea r8, str.Windows_Vista__Business_
jmp 0x14001d15a
test al, 2
je 0x14001d125
lea r8, str.Windows_Vista__Enterprise_
jmp 0x14001d15a
bt eax, 0x16
jae 0x14001d134
lea r8, str.Windows_Vista__Ultimate_
jmp 0x14001d15a
mov eax, dword [rbp + 0x6c]
cmp eax, 2
jne 0x14001d145
lea r8, str.Windows_Server_2008
jmp 0x14001d15a
cmp eax, 3
lea r8, str.Windows_Server_2008__Domain_Controller_
lea rcx, str.Windows_Vista
cmovne r8, rcx
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
mov edx, dword [rbp - 0x2c]
mov r8d, dword [rbp + 0x60]
mov ecx, dword [rbp - 0x34]
mov eax, dword [rbp - 0x38]
cmp edx, 4
jne 0x14001d977
cmp eax, 6
jne 0x14001d19c
test ecx, ecx
jne 0x14001d19c
test r8b, 0x20
je 0x14001d19c
lea r8, str.___Datacenter_Edition_
jmp 0x14001d966
cmp edx, 4
jne 0x14001d977
cmp eax, 6
jne 0x14001d1c6
test ecx, ecx
jne 0x14001d1c6
cmp dword [rbp + 0x6c], 2
jne 0x14001d1c6
test r8b, 2
je 0x14001d1c6
lea r8, str.___Enterprise_Edition_
jmp 0x14001d966
cmp edx, 4
jne 0x14001d977
cmp eax, 6
jne 0x14001d1e9
test ecx, ecx
jne 0x14001d1e9
test r8b, r8b
jns 0x14001d1e9
lea r8, str.___Web_Edition_
jmp 0x14001d966
cmp edx, 4
jne 0x14001d977
cmp eax, 6
jne 0x14001d977
test ecx, ecx
jne 0x14001d977
test byte [rbp + 0x64], 0x20
je 0x14001d977
lea r8, str.___Standard_Edition_
jmp 0x14001d966
cmp eax, 6
jne 0x14001d614
cmp ecx, 1
jne 0x14001d368
mov ecx, dword [rbp + 0x64]
bt ecx, 0x11
jae 0x14001d23d
lea r8, str.Windows_7_Thin_PC
jmp 0x14001d2bc
mov eax, dword [rbp + 0x60]
bt eax, 0x10
jae 0x14001d24f
lea r8, str.Windows_7__Starter_Edition_
jmp 0x14001d2bc
bt eax, 0x18
jae 0x14001d25e
lea r8, str.Windows_7__Home_Basic_
jmp 0x14001d2bc
bt eax, 0x19
jae 0x14001d26d
lea r8, str.Windows_7__Home_Premium_
jmp 0x14001d2bc
test cl, cl
jns 0x14001d27a
lea r8, str.Windows_7__Professional_
jmp 0x14001d2bc
test al, 2
je 0x14001d287
lea r8, str.Windows_7__Enterprise_
jmp 0x14001d2bc
bt eax, 0x16
jae 0x14001d296
lea r8, str.Windows_7__Ultimate_
jmp 0x14001d2bc
mov eax, dword [rbp + 0x6c]
cmp eax, 2
jne 0x14001d2a7
lea r8, str.Windows_Server_2008_R2
jmp 0x14001d2bc
cmp eax, 3
lea r8, str.Windows_Server_2008_R2__Domain_Controller_
lea rcx, str.Windows_7
cmovne r8, rcx
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
mov edx, dword [rbp - 0x2c]
mov r8d, dword [rbp + 0x60]
mov ecx, dword [rbp - 0x34]
mov eax, dword [rbp - 0x38]
cmp edx, 4
jne 0x14001d977
cmp eax, 6
jne 0x14001d2ff
cmp ecx, 1
jne 0x14001d2ff
test r8b, 0x20
je 0x14001d2ff
lea r8, str.___Datacenter_Edition_
jmp 0x14001d966
cmp edx, 4
jne 0x14001d977
cmp eax, 6
jne 0x14001d32a
cmp ecx, 1
jne 0x14001d32a
cmp dword [rbp + 0x6c], 2
jne 0x14001d32a
test r8b, 2
je 0x14001d32a
lea r8, str.___Enterprise_Edition_
jmp 0x14001d966
cmp edx, 4
jne 0x14001d977
cmp eax, 6
jne 0x14001d34e
cmp ecx, 1
jne 0x14001d34e
test r8b, r8b
jns 0x14001d34e
lea r8, str.___Web_Edition_
jmp 0x14001d966
cmp edx, 4
jne 0x14001d977
cmp eax, 6
jne 0x14001d977
cmp ecx, 1
jmp 0x14001d1fd
cmp eax, 6
jne 0x14001d614
cmp ecx, 2
jne 0x14001d49d
mov edx, dword [rbp + 0x64]
bt edx, 0x11
jae 0x14001d38c
lea r8, str.Windows_8_Thin_PC
jmp 0x14001d3f3
mov eax, dword [rbp + 0x6c]
cmp eax, 1
jne 0x14001d3a3
cmp dword [rbp - 0x28], 9
jne 0x14001d3a3
lea r8, str.Windows_8_RT
jmp 0x14001d3f3
mov ecx, dword [rbp + 0x60]
bt ecx, 0x10
jae 0x14001d3b5
lea r8, str.Windows_8__Starter_Edition_
jmp 0x14001d3f3
test dl, dl
jns 0x14001d3c2
lea r8, str.Windows_8__Pro_
jmp 0x14001d3f3
test cl, 2
je 0x14001d3d0
lea r8, str.Windows_8__Enterprise_
jmp 0x14001d3f3
cmp eax, 2
jne 0x14001d3de
lea r8, str.Windows_Server_2012
jmp 0x14001d3f3
cmp eax, 3
lea r8, str.Windows_Server_2012__Domain_Controller_
lea rcx, str.Windows_8
cmovne r8, rcx
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
mov edx, dword [rbp - 0x2c]
mov r8d, dword [rbp + 0x60]
mov ecx, dword [rbp - 0x34]
mov eax, dword [rbp - 0x38]
cmp edx, 4
jne 0x14001d977
cmp eax, 6
jne 0x14001d436
cmp ecx, 2
jne 0x14001d436
test r8b, 0x20
je 0x14001d436
lea r8, str.___Datacenter_Edition_
jmp 0x14001d966
cmp edx, 4
jne 0x14001d977
cmp eax, 6
jne 0x14001d45f
cmp ecx, 2
jne 0x14001d45f
cmp dword [rbp + 0x6c], ecx
jne 0x14001d45f
test cl, r8b
je 0x14001d45f
lea r8, str.___Enterprise_Edition_
jmp 0x14001d966
cmp edx, 4
jne 0x14001d977
cmp eax, 6
jne 0x14001d483
cmp ecx, 2
jne 0x14001d483
test r8b, r8b
jns 0x14001d483
lea r8, str.___Web_Edition_
jmp 0x14001d966
cmp edx, 4
jne 0x14001d977
cmp eax, 6
jne 0x14001d977
cmp ecx, 2
jmp 0x14001d1fd
cmp eax, 6
jne 0x14001d614
cmp ecx, 3
jne 0x14001d611
mov ecx, dword [rbp + 0x64]
bt ecx, 0x11
jae 0x14001d4c1
lea r8, str.Windows_8.1_Thin_PC
jmp 0x14001d513
mov eax, dword [rbp + 0x60]
bt eax, 0x10
jae 0x14001d4d3
lea r8, str.Windows_8.1__Starter_Edition_
jmp 0x14001d513
test cl, cl
jns 0x14001d4e0
lea r8, str.Windows_8.1__Pro_
jmp 0x14001d513
test al, 2
je 0x14001d4ed
lea r8, str.Windows_8.1__Enterprise_
jmp 0x14001d513
mov eax, dword [rbp + 0x6c]
cmp eax, 2
jne 0x14001d4fe
lea r8, str.Windows_Server_2012_R2
jmp 0x14001d513
cmp eax, 3
lea r8, str.Windows_Server_2012_R2__Domain_Controller_
lea rcx, str.Windows_8.1
cmovne r8, rcx
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
mov eax, dword [rbp + 0x64]
bt eax, 0x17
jae 0x14001d548
lea r8, str.___with_Bing___CoreConnected_
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
mov eax, dword [rbp + 0x64]
bt eax, 0x16
jae 0x14001d569
lea r8, str.___Update_
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
mov eax, dword [rbp + 0x64]
mov r8d, dword [rbp - 0x2c]
mov r9d, dword [rbp + 0x60]
mov edx, dword [rbp - 0x34]
mov ecx, dword [rbp - 0x38]
cmp r8d, 4
jne 0x14001d977
cmp ecx, 6
jne 0x14001d59d
cmp edx, 3
jne 0x14001d59d
test r9b, 0x20
je 0x14001d59d
lea r8, str.___Datacenter_Edition_
jmp 0x14001d966
cmp r8d, 4
jne 0x14001d977
cmp ecx, 6
jne 0x14001d5c9
cmp edx, 3
jne 0x14001d5c9
cmp dword [rbp + 0x6c], 2
jne 0x14001d5c9
test r9b, 2
je 0x14001d5c9
lea r8, str.___Enterprise_Edition_
jmp 0x14001d966
cmp r8d, 4
jne 0x14001d977
cmp ecx, 6
jne 0x14001d5ee
cmp edx, 3
jne 0x14001d5ee
test r9b, r9b
jns 0x14001d5ee
lea r8, str.___Web_Edition_
jmp 0x14001d966
cmp r8d, 4
jne 0x14001d977
cmp ecx, 6
jne 0x14001d977
cmp edx, 3
jne 0x14001d977
test al, 0x20
jmp 0x14001d207
cmp eax, 6
ja 0x14001d625
jne 0x14001d977
cmp ecx, 4
jb 0x14001d977
mov edx, dword [rbp + 0x64]
bt edx, 0x11
jae 0x14001d63a
lea r8, str.Windows_10_Thin_PC
jmp 0x14001d6f9
mov r8d, dword [rbp + 0x6c]
cmp eax, 6
jne 0x14001d660
cmp ecx, 2
jne 0x14001d660
cmp r8d, 1
jne 0x14001d660
cmp dword [rbp - 0x28], 9
jne 0x14001d660
lea r8, str.Windows_10_RT
jmp 0x14001d6f9
mov r9d, dword [rbp + 0x60]
bt r9d, 0x10
jae 0x14001d677
lea r8, str.Windows_10__Starter_Edition_
jmp 0x14001d6f9
bt edx, 0x1a
jae 0x14001d686
lea r8, str.Windows_10__Home_
jmp 0x14001d6f9
test dl, dl
jns 0x14001d693
lea r8, str.Windows_10__Pro_
jmp 0x14001d6f9
test r9b, 2
je 0x14001d6a2
lea r8, str.Windows_10__Enterprise_
jmp 0x14001d6f9
test edx, edx
jns 0x14001d6af
lea r8, str.Windows_10_Nano_Server
jmp 0x14001d6f9
test byte [rbp + 0x68], 2
je 0x14001d6be
lea r8, str.Windows_10_ARM64_Server
jmp 0x14001d6f9
cmp eax, 6
ja 0x14001d6ca
jne 0x14001d6dc
cmp ecx, 4
jb 0x14001d6d9
cmp r8d, 2
jne 0x14001d6d9
lea r8, str.Windows_Server_2016
jmp 0x14001d6f9
cmp eax, 6
ja 0x14001d6e5
jne 0x14001d6f2
cmp ecx, 4
jb 0x14001d6f2
cmp r8d, 3
lea r8, str.Windows_Server_2016__Domain_Controller_
je 0x14001d6f9
lea r8, str.Windows_10
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
mov r9d, dword [rbp + 0x64]
bt r9d, 0x17
jae 0x14001d731
lea r8, str.___with_Bing___CoreConnected_
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
mov r9d, dword [rbp + 0x64]
mov ecx, dword [rbp - 0x2c]
mov r8d, dword [rbp + 0x60]
mov edx, dword [rbp - 0x34]
mov eax, dword [rbp - 0x38]
cmp ecx, 4
jne 0x14001d977
cmp eax, 6
ja 0x14001d752
jne 0x14001d764
cmp edx, ecx
jb 0x14001d764
test r8b, 0x20
je 0x14001d764
lea r8, str.___Datacenter_Edition_
jmp 0x14001d966
cmp ecx, 4
jne 0x14001d977
cmp eax, 6
ja 0x14001d778
jne 0x14001d790
cmp edx, ecx
jb 0x14001d790
cmp dword [rbp + 0x6c], 2
jne 0x14001d790
test r8b, 2
je 0x14001d790
lea r8, str.___Enterprise_Edition_
jmp 0x14001d966
cmp ecx, 4
jne 0x14001d977
cmp eax, 6
ja 0x14001d7a4
jne 0x14001d7b5
cmp edx, ecx
jb 0x14001d7b5
test r8b, r8b
jns 0x14001d7b5
lea r8, str.___Web_Edition_
jmp 0x14001d966
cmp ecx, 4
jne 0x14001d977
cmp eax, 6
ja 0x14001d7d1
jne 0x14001d977
cmp edx, ecx
jb 0x14001d977
test r9b, 0x20
jmp 0x14001d207
mov ecx, dword [rbp - 0x38]
mov r8d, dword [rbp - 0x30]
mov edx, dword [rbp - 0x34]
cmp ecx, 4
jne 0x14001d940
test edx, edx
jne 0x14001d813
cmp r8d, 0x3b6
jne 0x14001d813
lea rdx, str.Windows_95
lea rcx, [rbp + 0x70]
call fcn.14001e3c0
lea r8, [rbp + 0x70]
jmp 0x14001d966
cmp ecx, 4
jne 0x14001d940
lea eax, [r8 - 0x3b7]
cmp eax, 0x81
ja 0x14001d843
lea rdx, str.Windows_95_SP1
lea rcx, [rbp + 0x70]
call fcn.14001e3c0
lea r8, [rbp + 0x70]
jmp 0x14001d966
cmp ecx, 4
jne 0x14001d940
cmp edx, 0xa
jae 0x14001d878
lea eax, [r8 - 0x439]
cmp eax, 0x84
ja 0x14001d878
lea rdx, str.Windows_95_B__aka_OSR2_
lea rcx, [rbp + 0x70]
call fcn.14001e3c0
lea r8, [rbp + 0x70]
jmp 0x14001d966
cmp ecx, 4
jne 0x14001d940
cmp edx, 0xa
jae 0x14001d8a8
cmp r8d, 0x4be
jb 0x14001d8a8
lea rdx, str.Windows_95_C__aka_OSR2.5_
lea rcx, [rbp + 0x70]
call fcn.14001e3c0
lea r8, [rbp + 0x70]
jmp 0x14001d966
cmp ecx, 4
jne 0x14001d940
cmp edx, 0xa
jne 0x14001d8d8
cmp r8d, 0x7ce
jne 0x14001d8d8
lea rdx, str.Windows_98
lea rcx, [rbp + 0x70]
call fcn.14001e3c0
lea r8, [rbp + 0x70]
jmp 0x14001d966
cmp ecx, 4
jne 0x14001d940
cmp edx, 0xa
jne 0x14001d906
lea eax, [r8 - 0x7cf]
cmp eax, 0xb7
ja 0x14001d906
lea rdx, str.Windows_98_SP1
lea rcx, [rbp + 0x70]
call fcn.14001e3c0
lea r8, [rbp + 0x70]
jmp 0x14001d966
cmp ecx, 4
jne 0x14001d940
cmp edx, 0xa
jne 0x14001d92f
cmp r8d, 0x887
jb 0x14001d92f
lea rdx, str.Windows_98_Second_Edition
lea rcx, [rbp + 0x70]
call fcn.14001e3c0
lea r8, [rbp + 0x70]
jmp 0x14001d966
cmp ecx, 4
jne 0x14001d940
cmp edx, 0x5a
lea rdx, str.Windows_Millenium_Edition
je 0x14001d947
lea rdx, str.Windows___
lea rcx, [rbp + 0x70]
call fcn.14001e3c0
lea r8, [rbp + 0x70]
jmp 0x14001d966
lea r8, str.Windows
jmp 0x14001d966
lea r8, [0x1401c38d8]
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
movsxd rax, dword [rbp - 0x28]
cmp eax, 0xa
ja case.0x14001d991.0
lea rdx, [0x140000000]
mov ecx, dword [rdx + rax*4 + 0x1e330]
add rcx, rdx
jmp rcx
lea r8, str.___x86_32_Processor_
jmp 0x14001d9f4
lea r8, str.___MIPS_Processor_
jmp 0x14001d9f4
lea r8, str.___Alpha_Processor_
jmp 0x14001d9f4
lea r8, str.___PPC_Processor_
jmp 0x14001d9f4
lea r8, str.___IA64_Itanium_2__Processor_
jmp 0x14001d9f4
lea r8, str.___x86_64_Processor_
jmp 0x14001d9f4
lea r8, str.___Alpha64_Processor_
jmp 0x14001d9f4
lea r8, str.___MSIL_Processor_
jmp 0x14001d9f4
lea r8, str.___ARM_Processor_
jmp 0x14001d9f4
lea r8, str.___SHX_Processor_
jmp 0x14001d9f4
lea r8, str.___Unknown_Processor_
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
mov r8d, dword [rbp - 0x38]
lea rdx, str._v_d.
lea rcx, [rbp + 0x70]
call fcn.14001e3c0
lea r8, [rbp + 0x70]
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
mov r8d, dword [rbp - 0x34]
mov eax, 0xcccccccd
mul r8d
shr edx, 3
lea ecx, [rdx + rdx*4]
add ecx, ecx
cmp r8d, ecx
lea rcx, [rbp + 0x70]
je 0x14001da5a
cmp r8d, 9
jbe 0x14001da5d
lea rdx, str._02d
jmp 0x14001da64
mov r8d, edx
lea rdx, str._01d
call fcn.14001e3c0
lea r8, [rbp + 0x70]
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
mov r8d, dword [rbp - 0x30]
test r8d, r8d
je 0x14001daac
lea rdx, str._Build:_d
lea rcx, [rbp + 0x70]
call fcn.14001e3c0
lea r8, [rbp + 0x70]
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
lea r8, [0x1401c4284]
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
movzx eax, word [rbp + 0x5c]
test ax, ax
je 0x14001dba3
movzx ecx, word [rbp + 0x5e]
test cx, cx
je 0x14001db79
mov r8d, dword [rbp - 0x2c]
mov r10d, dword [rbp + 0x60]
mov r9d, dword [rbp - 0x34]
mov edx, dword [rbp - 0x38]
cmp r8d, 4
jne 0x14001db61
cmp edx, r8d
ja 0x14001db14
cmp eax, 6
jne 0x14001db1a
cmp ecx, 1
jne 0x14001db1a
lea rdx, str.Service_Pack:_6a
lea rcx, [rbp + 0x70]
call fcn.14001e3c0
jmp 0x14001db8c
cmp r8d, 4
jne 0x14001db61
cmp edx, 5
jne 0x14001db2a
test r9d, r9d
je 0x14001db2a
test r10b, 0x40
jne 0x14001db46
cmp r8d, 4
jne 0x14001db61
cmp edx, 5
jne 0x14001db61
test r9d, r9d
je 0x14001db61
cmp dword [rbp + 0x6c], 1
jne 0x14001db61
test r10b, 0x40
jne 0x14001db61
cmp eax, 1
jne 0x14001db61
cmp ecx, eax
jne 0x14001db61
lea rdx, str.Service_Pack:_1a
lea rcx, [rbp + 0x70]
call fcn.14001e3c0
jmp 0x14001db8c
mov r9d, ecx
lea rdx, str.Service_Pack:_d._d
lea rcx, [rbp + 0x70]
mov r8d, eax
call fcn.14001e3c0
jmp 0x14001db8c
mov r8d, eax
lea rdx, str.Service_Pack:_d
lea rcx, [rbp + 0x70]
call fcn.14001e3c0
lea r8, [rbp + 0x70]
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
jmp 0x14001dbbf
movzx eax, word [rbp + 0x5e]
test ax, ax
je 0x14001dbbf
mov r8d, eax
lea rdx, str.Service_Pack:0._d
lea rcx, [rbp + 0x70]
call fcn.14001e3c0
mov ecx, dword [rbp + 0x60]
mov eax, ecx
shr eax, 0x13
and eax, 1
je 0x14001dbda
test cl, 2
je 0x14001dbda
lea r8, str.___Storage_Server_Enterprise_
jmp 0x14001dc28
test byte [rbp + 0x64], 8
je 0x14001dbe9
lea r8, str.___Storage_Server_Express_
jmp 0x14001dc28
test eax, eax
je 0x14001dbfc
test byte [rbp + 0x64], 0x20
je 0x14001dbfc
lea r8, str.___Storage_Server_Standard_
jmp 0x14001dc28
test byte [rbp + 0x64], 0x10
je 0x14001dc0b
lea r8, str.___Storage_Server_Workgroup_
jmp 0x14001dc28
test dword [rbp + 0x64], 0x1000
je 0x14001dc1d
lea r8, str.___Storage_Server_Essentials_
jmp 0x14001dc28
test eax, eax
je 0x14001dc39
lea r8, str.___Storage_Server_
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
test dword [rbp + 0x64], 0x800
je 0x14001dc4b
lea r8, str.___Home_Server_Premium_Edition_
jmp 0x14001dc5b
test dword [rbp + 0x60], 0x10000000
je 0x14001dc6c
lea r8, str.___Home_Server_Edition_
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
test byte [rbp + 0x60], 0x10
je 0x14001dc8a
lea r8, str.___Terminal_Services_
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
test dword [rbp + 0x60], 0x100
je 0x14001dcab
lea r8, str.___Embedded_
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
test dword [rbp + 0x60], 0x200
je 0x14001dccc
lea r8, str.___Terminal_Services_in_Remote_Admin_Mode_
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
lea r8, str.___64_Bit_Edition_
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
test dword [rbp + 0x60], 0x4000
je 0x14001dd05
lea r8, str.___Media_Center_Edition_
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
test dword [rbp + 0x60], 0x8000
je 0x14001dd26
lea r8, str.___Tablet_PC_Edition_
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
test dword [rbp + 0x60], 0x40000
je 0x14001dd47
lea r8, str.___Compute_Cluster_Edition_
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
test dword [rbp + 0x64], 0x100
je 0x14001dd68
lea r8, str.___Foundation_Edition_
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
test dword [rbp + 0x64], 0x10000
je 0x14001dd7a
lea r8, str.___MultiPoint_Premium_Edition_
jmp 0x14001dd8a
test dword [rbp + 0x64], 0x200
je 0x14001dd9b
lea r8, str.___MultiPoint_Edition_
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
test dword [rbp + 0x60], 0x100000
je 0x14001ddbc
lea r8, str.___Security_Appliance_
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
test dword [rbp + 0x60], 0x200000
je 0x14001dddd
lea r8, str.___BackOffice_
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
test dword [rbp + 0x60], 0x800000
je 0x14001ddfe
lea r8, str.___N_Edition_
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
test byte [rbp + 0x64], 0x40
je 0x14001de1c
lea r8, str.___E_Edition_
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
test dword [rbp + 0x60], 0x4000000
je 0x14001de3d
lea r8, str.___Hyper_V_Tools_
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
test dword [rbp + 0x64], 0x400
je 0x14001de5e
lea r8, str.___Hyper_V_Server_
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
test dword [rbp + 0x60], 0x20000000
je 0x14001de7f
lea r8, str.___Server_Core_
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
test dword [rbp + 0x60], 0x400
je 0x14001dea0
lea r8, str.___Uniprocessor_Free_
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
test dword [rbp + 0x60], 0x800
je 0x14001dec1
lea r8, str.___Uniprocessor_Checked_
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
test dword [rbp + 0x60], 0x1000
je 0x14001dee2
lea r8, str.___Multiprocessor_Free_
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
test dword [rbp + 0x60], 0x2000
je 0x14001df03
lea r8, str.___Multiprocessor_Checked_
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
test dword [rbp + 0x60], 0x40000000
je 0x14001df24
lea r8, str.___Windows_Essential_Business_Server_Manangement_Server_
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
test dword [rbp + 0x60], 0x80000000
je 0x14001df45
lea r8, str.___Windows_Essential_Business_Server_Messaging_Server_
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
test byte [rbp + 0x64], 1
je 0x14001df63
lea r8, str.___Windows_Essential_Business_Server_Security_Server_
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
test byte [rbp + 0x64], 2
je 0x14001df81
lea r8, str.___Cluster_Server_
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
test byte [rbp + 0x60], 1
je 0x14001df9f
lea r8, str.___Small_Business_Server_
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
test byte [rbp + 0x64], 4
je 0x14001dfbd
lea r8, str.___Small_Business_Server_Premium_
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
test dword [rbp + 0x64], 0x2000
je 0x14001dfde
lea r8, str.___Prerelease_
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
test dword [rbp + 0x64], 0x4000
je 0x14001dfff
lea r8, str.___Evaluation_
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
test dword [rbp + 0x64], 0x40000
je 0x14001e020
lea r8, str.___Automotive_
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
test dword [rbp + 0x64], 0x80000
je 0x14001e041
lea r8, str.___China_
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
test dword [rbp + 0x64], 0x100000
je 0x14001e062
lea r8, str.___Single_Language_
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
test dword [rbp + 0x64], 0x200000
je 0x14001e083
lea r8, str.___Win32s_
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
test dword [rbp + 0x64], 0x1000000
je 0x14001e0a4
lea r8, str.___Education_
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
test dword [rbp + 0x64], 0x2000000
je 0x14001e0c5
lea r8, str.___Industry_
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
test dword [rbp + 0x64], 0x8000000
je 0x14001e0e6
lea r8, str.___Student_
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
test dword [rbp + 0x64], 0x10000000
je 0x14001e107
lea r8, str.___Mobile_
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
test dword [rbp + 0x64], 0x20000000
je 0x14001e128
lea r8, str.___IoT_Core_
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
test byte [rbp + 0x68], 0x20
je 0x14001e146
lea r8, str.___Cloud_Host_Infrastructure_Server_
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
test dword [rbp + 0x64], 0x40000000
je 0x14001e167
lea r8, str.___S_Edition_
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
test byte [rbp + 0x68], 1
je 0x14001e185
lea r8, str.___Cloud_Storage_Server_
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
test byte [rbp + 0x68], 4
je 0x14001e1a3
lea r8, str.___PPI_Pro_
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
test byte [rbp + 0x68], 8
je 0x14001e1c1
lea r8, str.___Connected_Car_
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
test byte [rbp + 0x68], 0x10
je 0x14001e1df
lea r8, str.___Handheld_
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
lea r8, [0x1401c4284]
mov edx, 0x800
lea rcx, [rbp + 0xe0]
call fcn.14013a030
jmp 0x14001e205
lea rdx, str.Failed_in_call_to_GetOSVersion_n
call fcn.14001e360
lea r8, [0x14019526c]
mov dword [rsp + 0x24], 0x101
mov edx, 0x400
mov rcx, rdi
call fcn.140139fd0
xor edx, edx
lea rcx, [rbp + 0x8e0]
mov r8d, 0x101
call fcn.140133cb0
lea rdx, [rsp + 0x24]
lea rcx, [rbp + 0x8e0]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x14001e273
lea r8, str._nComputerName_:
mov edx, 0x400
mov rcx, rdi
call fcn.14013a030
lea r8, [rbp + 0x8e0]
mov edx, 0x400
mov rcx, rdi
call fcn.14013a030
mov edx, 0xff
lea rcx, [rbp + 0x9f0]
call qword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x14001e2e6
lea rcx, [rbp + 0x9f0]
call qword [sym.imp.WS2_32.dll_gethostbyname]
test rax, rax
je 0x14001e2e6
mov rax, qword [rax + 0x18]
mov qword [rsp + 0xc18], rbx
mov rcx, qword [rax]
mov ecx, dword [rcx]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov rbx, rax
test rax, rax
je 0x14001e2de
lea r8, str._nIP_:
mov edx, 0x400
mov rcx, rdi
call fcn.14013a030
mov r8, rbx
mov edx, 0x400
mov rcx, rdi
call fcn.14013a030
mov rbx, qword [rsp + 0xc18]
lea r8, [0x1401c4284]
mov edx, 0x400
mov rcx, rdi
call fcn.14013a030
lea r8, [rbp + 0xe0]
mov edx, 0x400
mov rcx, rdi
call fcn.14013a030
xor eax, eax
mov rcx, qword [rbp + 0xaf0]
xor rcx, rsp
call fcn.1401312c0
mov rdi, qword [rsp + 0xc20]
add rsp, 0xc00
pop rbp
ret