Function at 0x4360c0
Capabilities:
Check os version
Get system information on windows
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56e0c1
mov eax, dword fs:[0]
push eax
sub esp, 0x1a4
mov eax, dword [0x5e2500]
xor eax, ebp
mov dword [ebp - 0x54], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1b0], ecx
lea ecx, [ebp - 0x28]
call fcn.00401fd0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00401fd0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00401fd0
mov byte [ebp - 4], 2
push 0x58aa44
lea ecx, [ebp - 0x50]
call fcn.00404670
mov byte [ebp - 4], 3
mov dword [ebp - 0x174], 0
push 0x118
push 0
lea eax, [ebp - 0x170]
push eax
call fcn.0054cf20
add esp, 0xc
push 0x58aa58
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x14
call fcn.00403fc0
push 0x58aa78
mov ecx, dword [ebp - 0x1b0]
add ecx, 8
call fcn.00403fc0
push 0x24
push 0
lea ecx, [ebp - 0x4c]
push ecx
call fcn.0054cf20
add esp, 0xc
push 0x11c
push 0
lea edx, [ebp - 0x174]
push edx
call fcn.0054cf20
add esp, 0xc
mov dword [ebp - 0x178], 0xffffffff
mov dword [ebp - 0x174], 0x11c
lea eax, [ebp - 0x174]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x436224
push str.GetVersionEx___failed
lea ecx, [ebp - 0x50]
call fcn.004018f0
push eax
push 0
push 0x5e3e78
call fcn.0042b490
add esp, 0x10
mov dword [ebp - 0x194], 0x12c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
call fcn.00402000
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00402000
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00402000
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00402000
mov eax, dword [ebp - 0x194]
jmp 0x437a64
mov ecx, dword [ebp - 0x1b0]
call fcn.00436040
push 0x58aac4
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x14
call fcn.00403fc0
push str.GetNativeSystemInfo
mov ecx, dword [0x5dd67c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x43626d
lea edx, [ebp - 0x4c]
push edx
call dword [ebp - 0x1c]
jmp 0x436277
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x1b0]
mov edx, dword [ebp - 0x170]
mov dword [ecx + 0x24], edx
mov eax, dword [ebp - 0x1b0]
mov ecx, dword [ebp - 0x16c]
mov dword [eax + 0x28], ecx
cmp dword [ebp - 0x164], 2
jne 0x437364
cmp dword [ebp - 0x170], 4
jbe 0x437364
cmp dword [ebp - 0x170], 0xa
jne 0x43651d
cmp dword [ebp - 0x16c], 0
jne 0x43651d
push 0x58aae4
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x5c
call fcn.00403fc0
movzx edx, byte [ebp - 0x5a]
cmp edx, 1
jne 0x436397
push 0x58aafc
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x58
call fcn.00403fc0
push str.Windows10
mov ecx, dword [ebp - 0x1b0]
add ecx, 0xc
call fcn.00403fc0
push 0x58ab24
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x10
call fcn.00403fc0
push 0x58ab3c
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x14
call fcn.00403fc0
mov eax, dword [ebp - 0x1b0]
add eax, 0x14
push eax
mov ecx, dword [ebp - 0x1b0]
add ecx, 8
call fcn.00403d00
movzx ecx, word [ebp - 0x4c]
cmp ecx, 9
je 0x43635f
movzx edx, word [ebp - 0x4c]
cmp edx, 6
jne 0x436392
push 0x58ab50
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x10
call fcn.00403fc0
push str.Windows1064
mov ecx, dword [ebp - 0x1b0]
add ecx, 0xc
call fcn.00403fc0
mov eax, dword [ebp - 0x1b0]
mov dword [eax + 0x2c], 1
jmp 0x43644a
push 0x58ab84
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x58
call fcn.00403fc0
movzx ecx, word [ebp - 0x4c]
cmp ecx, 9
je 0x4363bc
movzx edx, word [ebp - 0x4c]
cmp edx, 6
jne 0x4363f1
push str.Windows10064
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x10
call fcn.00403fc0
push 0x58abb8
mov ecx, dword [ebp - 0x1b0]
add ecx, 0xc
call fcn.00403fc0
mov eax, dword [ebp - 0x1b0]
mov dword [eax + 0x2c], 1
jmp 0x43641f
movzx ecx, word [ebp - 0x4c]
test ecx, ecx
jne 0x43641f
push str.Windows100
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x10
call fcn.00403fc0
push str.Windows2016
mov ecx, dword [ebp - 0x1b0]
add ecx, 0xc
call fcn.00403fc0
push 0x58ac00
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x14
call fcn.00403fc0
mov edx, dword [ebp - 0x1b0]
add edx, 0x14
push edx
mov ecx, dword [ebp - 0x1b0]
add ecx, 8
call fcn.00403d00
push 0x58ac14
mov eax, dword [0x5dd67c]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x1c], 0
je 0x4364ab
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x16c]
push edx
mov eax, dword [ebp - 0x170]
push eax
call dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1b0]
add ecx, 8
push ecx
mov edx, dword [ebp - 0x1b0]
add edx, 0x14
push edx
push 5
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x1b0]
call fcn.00439e40
jmp 0x43651d
push 0x58ac24
lea ecx, [ebp - 0x50]
call fcn.00403fc0
push 0x58ac58
lea ecx, [ebp - 0x50]
call fcn.004018f0
push eax
push 0
push 0x5e3e78
call fcn.0042b490
add esp, 0x10
mov dword [ebp - 0x198], 0x12c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
call fcn.00402000
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00402000
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00402000
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00402000
mov eax, dword [ebp - 0x198]
jmp 0x437a64
cmp dword [ebp - 0x170], 6
jne 0x43678c
cmp dword [ebp - 0x16c], 3
jne 0x43678c
push 0x58ac44
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x5c
call fcn.00403fc0
movzx ecx, byte [ebp - 0x5a]
cmp ecx, 1
jne 0x436605
push 0x58ac9c
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x58
call fcn.00403fc0
push str.Windows8.1
mov ecx, dword [ebp - 0x1b0]
add ecx, 0xc
call fcn.00403fc0
push 0x58accc
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x10
call fcn.00403fc0
push 0x58ace0
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x14
call fcn.00403fc0
mov edx, dword [ebp - 0x1b0]
add edx, 0x14
push edx
mov ecx, dword [ebp - 0x1b0]
add ecx, 8
call fcn.00403d00
movzx eax, word [ebp - 0x4c]
cmp eax, 9
je 0x4365cd
movzx ecx, word [ebp - 0x4c]
cmp ecx, 6
jne 0x436600
push 0x58acf4
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x10
call fcn.00403fc0
push str.Windows8.164
mov ecx, dword [ebp - 0x1b0]
add ecx, 0xc
call fcn.00403fc0
mov edx, dword [ebp - 0x1b0]
mov dword [edx + 0x2c], 1
jmp 0x4366b8
push 0x58ad28
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x58
call fcn.00403fc0
movzx eax, word [ebp - 0x4c]
cmp eax, 9
je 0x43662a
movzx ecx, word [ebp - 0x4c]
cmp ecx, 6
jne 0x43665f
push str.Windows6364
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x10
call fcn.00403fc0
push str.Windows2012R264
mov ecx, dword [ebp - 0x1b0]
add ecx, 0xc
call fcn.00403fc0
mov edx, dword [ebp - 0x1b0]
mov dword [edx + 0x2c], 1
jmp 0x43668d
movzx eax, word [ebp - 0x4c]
test eax, eax
jne 0x43668d
push str.Windows63
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x10
call fcn.00403fc0
push str.Windows2012R2
mov ecx, dword [ebp - 0x1b0]
add ecx, 0xc
call fcn.00403fc0
push 0x58adac
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x14
call fcn.00403fc0
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x14
push ecx
mov ecx, dword [ebp - 0x1b0]
add ecx, 8
call fcn.00403d00
push 0x58adc0
mov edx, dword [0x5dd67c]
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x1c], 0
je 0x43671a
lea eax, [ebp - 0x10]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x16c]
push ecx
mov edx, dword [ebp - 0x170]
push edx
call dword [ebp - 0x18]
mov eax, dword [ebp - 0x1b0]
add eax, 8
push eax
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x14
push ecx
push 4
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x1b0]
call fcn.00439e40
jmp 0x43678c
push 0x58add0
lea ecx, [ebp - 0x50]
call fcn.00403fc0
push 0x58adf0
lea ecx, [ebp - 0x50]
call fcn.004018f0
push eax
push 0
push 0x5e3e78
call fcn.0042b490
add esp, 0x10
mov dword [ebp - 0x19c], 0x12c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
call fcn.00402000
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00402000
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00402000
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00402000
mov eax, dword [ebp - 0x19c]
jmp 0x437a64
cmp dword [ebp - 0x170], 6
jne 0x4369fb
cmp dword [ebp - 0x16c], 2
jne 0x4369fb
push 0x58ae34
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x5c
call fcn.00403fc0
movzx eax, byte [ebp - 0x5a]
cmp eax, 1
jne 0x436874
push 0x58ae48
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x58
call fcn.00403fc0
push str.Windows8
mov ecx, dword [ebp - 0x1b0]
add ecx, 0xc
call fcn.00403fc0
push 0x58ae70
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x10
call fcn.00403fc0
push 0x58ae84
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x14
call fcn.00403fc0
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x14
push ecx
mov ecx, dword [ebp - 0x1b0]
add ecx, 8
call fcn.00403d00
movzx edx, word [ebp - 0x4c]
cmp edx, 9
je 0x43683c
movzx eax, word [ebp - 0x4c]
cmp eax, 6
jne 0x43686f
push 0x58ae88
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x10
call fcn.00403fc0
push str.Windows864
mov ecx, dword [ebp - 0x1b0]
add ecx, 0xc
call fcn.00403fc0
mov ecx, dword [ebp - 0x1b0]
mov dword [ecx + 0x2c], 1
jmp 0x436927
push 0x58aeb8
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x58
call fcn.00403fc0
movzx edx, word [ebp - 0x4c]
cmp edx, 9
je 0x436899
movzx eax, word [ebp - 0x4c]
cmp eax, 6
jne 0x4368ce
push str.Windows6264
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x10
call fcn.00403fc0
push str.Windows201264
mov ecx, dword [ebp - 0x1b0]
add ecx, 0xc
call fcn.00403fc0
mov ecx, dword [ebp - 0x1b0]
mov dword [ecx + 0x2c], 1
jmp 0x4368fc
movzx edx, word [ebp - 0x4c]
test edx, edx
jne 0x4368fc
push str.Windows62
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x10
call fcn.00403fc0
push str.Windows2012
mov ecx, dword [ebp - 0x1b0]
add ecx, 0xc
call fcn.00403fc0
push 0x58af30
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x14
call fcn.00403fc0
mov eax, dword [ebp - 0x1b0]
add eax, 0x14
push eax
mov ecx, dword [ebp - 0x1b0]
add ecx, 8
call fcn.00403d00
push 0x58af44
mov ecx, dword [0x5dd67c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x1c], 0
je 0x436989
lea edx, [ebp - 0x10]
push edx
push 0
push 0
mov eax, dword [ebp - 0x16c]
push eax
mov ecx, dword [ebp - 0x170]
push ecx
call dword [ebp - 0x18]
mov edx, dword [ebp - 0x1b0]
add edx, 8
push edx
mov eax, dword [ebp - 0x1b0]
add eax, 0x14
push eax
push 3
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x1b0]
call fcn.00439e40
jmp 0x4369fb
push 0x58af54
lea ecx, [ebp - 0x50]
call fcn.00403fc0
push 0x58af88
lea ecx, [ebp - 0x50]
call fcn.004018f0
push eax
push 0
push 0x5e3e78
call fcn.0042b490
add esp, 0x10
mov dword [ebp - 0x1a0], 0x12c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
call fcn.00402000
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00402000
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00402000
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00402000
mov eax, dword [ebp - 0x1a0]
jmp 0x437a64
cmp dword [ebp - 0x170], 6
jne 0x436c69
cmp dword [ebp - 0x16c], 1
jne 0x436c69
push 0x58af74
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x5c
call fcn.00403fc0
movzx edx, byte [ebp - 0x5a]
cmp edx, 1
jne 0x436ae3
push 0x58afcc
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x58
call fcn.00403fc0
push str.Windows7
mov ecx, dword [ebp - 0x1b0]
add ecx, 0xc
call fcn.00403fc0
push 0x58aff4
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x10
call fcn.00403fc0
push 0x58b008
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x14
call fcn.00403fc0
mov eax, dword [ebp - 0x1b0]
add eax, 0x14
push eax
mov ecx, dword [ebp - 0x1b0]
add ecx, 8
call fcn.00403d00
movzx ecx, word [ebp - 0x4c]
cmp ecx, 9
je 0x436aab
movzx edx, word [ebp - 0x4c]
cmp edx, 6
jne 0x436ade
push 0x58b01c
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x10
call fcn.00403fc0
push str.Windows764
mov ecx, dword [ebp - 0x1b0]
add ecx, 0xc
call fcn.00403fc0
mov eax, dword [ebp - 0x1b0]
mov dword [eax + 0x2c], 1
jmp 0x436b96
push 0x58b04c
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x58
call fcn.00403fc0
movzx ecx, word [ebp - 0x4c]
cmp ecx, 9
je 0x436b08
movzx edx, word [ebp - 0x4c]
cmp edx, 6
jne 0x436b3d
push str.Windows6164
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x10
call fcn.00403fc0
push str.Windows2008R264
mov ecx, dword [ebp - 0x1b0]
add ecx, 0xc
call fcn.00403fc0
mov eax, dword [ebp - 0x1b0]
mov dword [eax + 0x2c], 1
jmp 0x436b6b
movzx ecx, word [ebp - 0x4c]
test ecx, ecx
jne 0x436b6b
push str.Windows61
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x10
call fcn.00403fc0
push str.Windows2008R2
mov ecx, dword [ebp - 0x1b0]
add ecx, 0xc
call fcn.00403fc0
push 0x58b0d0
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x14
call fcn.00403fc0
mov edx, dword [ebp - 0x1b0]
add edx, 0x14
push edx
mov ecx, dword [ebp - 0x1b0]
add ecx, 8
call fcn.00403d00
push 0x58b0e4
mov eax, dword [0x5dd67c]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x1c], 0
je 0x436bf7
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x16c]
push edx
mov eax, dword [ebp - 0x170]
push eax
call dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1b0]
add ecx, 8
push ecx
mov edx, dword [ebp - 0x1b0]
add edx, 0x14
push edx
push 2
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x1b0]
call fcn.00439e40
jmp 0x436c69
push 0x58b0f4
lea ecx, [ebp - 0x50]
call fcn.00403fc0
push 0x58b128
lea ecx, [ebp - 0x50]
call fcn.004018f0
push eax
push 0
push 0x5e3e78
call fcn.0042b490
add esp, 0x10
mov dword [ebp - 0x1a4], 0x12c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
call fcn.00402000
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00402000
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00402000
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00402000
mov eax, dword [ebp - 0x1a4]
jmp 0x437a64
cmp dword [ebp - 0x170], 6
jne 0x436eb7
cmp dword [ebp - 0x16c], 0
jne 0x436eb7
push 0x58b114
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x5c
call fcn.00403fc0
movzx ecx, byte [ebp - 0x5a]
cmp ecx, 1
jne 0x436d30
push 0x58b16c
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x58
call fcn.00403fc0
movzx edx, word [ebp - 0x4c]
cmp edx, 9
je 0x436cc8
movzx eax, word [ebp - 0x4c]
cmp eax, 6
jne 0x436cfd
push str.WindowsVista64
mov ecx, dword [ebp - 0x1b0]
add ecx, 0xc
call fcn.00403fc0
push 0x58b1a8
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x10
call fcn.00403fc0
mov ecx, dword [ebp - 0x1b0]
mov dword [ecx + 0x2c], 1
jmp 0x436d2b
movzx edx, word [ebp - 0x4c]
test edx, edx
jne 0x436d2b
push 0x58b1c0
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x10
call fcn.00403fc0
push str.WindowsVista
mov ecx, dword [ebp - 0x1b0]
add ecx, 0xc
call fcn.00403fc0
jmp 0x436de3
push 0x58b1f0
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x58
call fcn.00403fc0
movzx eax, word [ebp - 0x4c]
cmp eax, 9
je 0x436d55
movzx ecx, word [ebp - 0x4c]
cmp ecx, 6
jne 0x436d8a
push str.Windows6064
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x10
call fcn.00403fc0
push str.Windows200864
mov ecx, dword [ebp - 0x1b0]
add ecx, 0xc
call fcn.00403fc0
mov edx, dword [ebp - 0x1b0]
mov dword [edx + 0x2c], 1
jmp 0x436db8
movzx eax, word [ebp - 0x4c]
test eax, eax
jne 0x436db8
push str.Windows60
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x10
call fcn.00403fc0
push str.Windows2008
mov ecx, dword [ebp - 0x1b0]
add ecx, 0xc
call fcn.00403fc0
push 0x58b268
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x14
call fcn.00403fc0
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x14
push ecx
mov ecx, dword [ebp - 0x1b0]
add ecx, 8
call fcn.00403d00
push str.GetProductInfo
mov edx, dword [0x5dd67c]
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x1c], 0
je 0x436e45
lea eax, [ebp - 0x10]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x16c]
push ecx
mov edx, dword [ebp - 0x170]
push edx
call dword [ebp - 0x18]
mov eax, dword [ebp - 0x1b0]
add eax, 8
push eax
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x14
push ecx
push 1
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x1b0]
call fcn.00439e40
jmp 0x436eb7
push 0x58b28c
lea ecx, [ebp - 0x50]
call fcn.00403fc0
push str.Failed_to_get_the_OS_information
lea ecx, [ebp - 0x50]
call fcn.004018f0
push eax
push 0
push 0x5e3e78
call fcn.0042b490
add esp, 0x10
mov dword [ebp - 0x1a8], 0x12c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
call fcn.00402000
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00402000
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00402000
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00402000
mov eax, dword [ebp - 0x1a8]
jmp 0x437a64
cmp dword [ebp - 0x170], 5
jne 0x43717a
cmp dword [ebp - 0x16c], 2
jne 0x43717a
push 0x58b2ac
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x5c
call fcn.00403fc0
push 0x58b304
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x58
call fcn.00403fc0
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x436f7d
movzx eax, word [ebp - 0x4c]
cmp eax, 9
je 0x436f15
movzx ecx, word [ebp - 0x4c]
cmp ecx, 6
jne 0x436f4a
push 0x58b320
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x10
call fcn.00403fc0
push str.Windows2003R264
mov ecx, dword [ebp - 0x1b0]
add ecx, 0xc
call fcn.00403fc0
mov edx, dword [ebp - 0x1b0]
mov dword [edx + 0x2c], 1
jmp 0x436f78
movzx eax, word [ebp - 0x4c]
test eax, eax
jne 0x436f78
push 0x58b358
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x10
call fcn.00403fc0
push str.Windows2003R2
mov ecx, dword [ebp - 0x1b0]
add ecx, 0xc
call fcn.00403fc0
jmp 0x4370e7
movzx ecx, word [ebp - 0x5c]
cmp ecx, 0x2000
jne 0x436fa1
push str.StorageServer
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x14
call fcn.00403fc0
jmp 0x4370e7
movzx edx, word [ebp - 0x5c]
cmp edx, 0x8000
jne 0x436fc5
push 0x58b3a4
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x14
call fcn.00403fc0
jmp 0x4370e7
movzx eax, byte [ebp - 0x5a]
cmp eax, 1
jne 0x43705f
push 0x58b3b0
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x58
call fcn.00403fc0
movzx ecx, word [ebp - 0x4c]
cmp ecx, 9
je 0x436ff7
movzx edx, word [ebp - 0x4c]
cmp edx, 6
jne 0x43702c
push 0x58b3c4
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x10
call fcn.00403fc0
push 0x58b3dc
mov ecx, dword [ebp - 0x1b0]
add ecx, 0xc
call fcn.00403fc0
mov eax, dword [ebp - 0x1b0]
mov dword [eax + 0x2c], 1
jmp 0x43705a
movzx ecx, word [ebp - 0x4c]
test ecx, ecx
jne 0x43705a
push 0x58b3f4
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x10
call fcn.00403fc0
push 0x58b408
mov ecx, dword [ebp - 0x1b0]
add ecx, 0xc
call fcn.00403fc0
jmp 0x4370e7
push 0x58b41c
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x58
call fcn.00403fc0
movzx edx, word [ebp - 0x4c]
cmp edx, 9
je 0x437084
movzx eax, word [ebp - 0x4c]
cmp eax, 6
jne 0x4370b9
push str.Windows5264
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x10
call fcn.00403fc0
push str.Windows200364
mov ecx, dword [ebp - 0x1b0]
add ecx, 0xc
call fcn.00403fc0
mov ecx, dword [ebp - 0x1b0]
mov dword [ecx + 0x2c], 1
jmp 0x4370e7
movzx edx, word [ebp - 0x4c]
test edx, edx
jne 0x4370e7
push str.Windows52
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x10
call fcn.00403fc0
push str.Windows2003
mov ecx, dword [ebp - 0x1b0]
add ecx, 0xc
call fcn.00403fc0
movzx eax, byte [ebp - 0x5a]
cmp eax, 1
je 0x437162
movzx ecx, word [ebp - 0x5c]
and ecx, 0x80
je 0x437111
push str.Datacenter
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x14
call fcn.00403fc0
jmp 0x437162
movzx edx, word [ebp - 0x5c]
and edx, 2
je 0x43712f
push 0x58b4ac
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x14
call fcn.00403fc0
jmp 0x437162
movzx eax, word [ebp - 0x5c]
and eax, 0x400
je 0x43714f
push str.WebEdition
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x14
call fcn.00403fc0
jmp 0x437162
push str.Standard
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x14
call fcn.00403fc0
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x14
push ecx
mov ecx, dword [ebp - 0x1b0]
add ecx, 8
call fcn.00403d00
cmp dword [ebp - 0x170], 5
jne 0x437271
cmp dword [ebp - 0x16c], 1
jne 0x437271
push 0x58b4f0
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x5c
call fcn.00403fc0
push 0x58b504
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x58
call fcn.00403fc0
push str.Windows51
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x10
call fcn.00403fc0
push str.WindowsXP
mov ecx, dword [ebp - 0x1b0]
add ecx, 0xc
call fcn.00403fc0
movzx edx, word [ebp - 0x4c]
cmp edx, 9
je 0x4371f2
movzx eax, word [ebp - 0x4c]
cmp eax, 6
jne 0x437225
push str.Windows5164
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x10
call fcn.00403fc0
push str.WindowsXP64
mov ecx, dword [ebp - 0x1b0]
add ecx, 0xc
call fcn.00403fc0
mov ecx, dword [ebp - 0x1b0]
mov dword [ecx + 0x2c], 1
movzx edx, word [ebp - 0x5c]
and edx, 0x200
je 0x437246
push str.Home
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x14
call fcn.00403fc0
jmp 0x437259
push 0x58b57c
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x14
call fcn.00403fc0
mov eax, dword [ebp - 0x1b0]
add eax, 0x14
push eax
mov ecx, dword [ebp - 0x1b0]
add ecx, 8
call fcn.00403d00
cmp dword [ebp - 0x170], 5
jne 0x43735f
cmp dword [ebp - 0x16c], 0
jne 0x43735f
push 0x58b598
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x5c
call fcn.00403fc0
push 0x58b5ac
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x58
call fcn.00403fc0
push str.Windows2000
mov ecx, dword [ebp - 0x1b0]
add ecx, 0xc
call fcn.00403fc0
push str.Windows50
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x10
call fcn.00403fc0
movzx ecx, byte [ebp - 0x5a]
cmp ecx, 1
jne 0x4372f5
push 0x58b5f0
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x14
call fcn.00403fc0
jmp 0x437347
movzx edx, word [ebp - 0x5c]
and edx, 0x80
je 0x437316
push str.DataCenter
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x14
call fcn.00403fc0
jmp 0x437347
movzx eax, word [ebp - 0x5c]
and eax, 2
je 0x437334
push 0x58b624
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x14
call fcn.00403fc0
jmp 0x437347
push str.Server
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x14
call fcn.00403fc0
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x14
push ecx
mov ecx, dword [ebp - 0x1b0]
add ecx, 8
call fcn.00403d00
jmp 0x437515
cmp dword [ebp - 0x170], 4
jne 0x4373f6
cmp dword [ebp - 0x16c], 0
jne 0x4373f6
push 0x58b64c
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x5c
call fcn.00403fc0
push 0x58b660
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x58
call fcn.00403fc0
push str.Windows40
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x10
call fcn.00403fc0
push str.WindowsNT
mov ecx, dword [ebp - 0x1b0]
add ecx, 0xc
call fcn.00403fc0
push 0x58b69c
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x14
call fcn.00403fc0
mov edx, dword [ebp - 0x1b0]
add edx, 0x14
push edx
mov ecx, dword [ebp - 0x1b0]
add ecx, 8
call fcn.00403d00
jmp 0x437515
cmp dword [ebp - 0x170], 4
jne 0x437488
cmp dword [ebp - 0x16c], 0xa
jne 0x437488
push 0x58b6a8
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x5c
call fcn.00403fc0
push 0x58b6c0
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x58
call fcn.00403fc0
push str.Windows410
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x10
call fcn.00403fc0
push str.Windows95
mov ecx, dword [ebp - 0x1b0]
add ecx, 0xc
call fcn.00403fc0
push 0x58b700
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x14
call fcn.00403fc0
mov eax, dword [ebp - 0x1b0]
add eax, 0x14
push eax
mov ecx, dword [ebp - 0x1b0]
add ecx, 8
call fcn.00403d00
jmp 0x437515
cmp dword [ebp - 0x170], 4
jne 0x437515
cmp dword [ebp - 0x16c], 0x5a
jne 0x437515
push 0x58b70c
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x5c
call fcn.00403fc0
push 0x58b724
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x58
call fcn.00403fc0
push str.Windows490
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x10
call fcn.00403fc0
push str.Windows98
mov ecx, dword [ebp - 0x1b0]
add ecx, 0xc
call fcn.00403fc0
push str.Basic
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x14
call fcn.00403fc0
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x14
push ecx
mov ecx, dword [ebp - 0x1b0]
add ecx, 8
call fcn.00403d00
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x10
call fcn.00401f20
movzx edx, al
test edx, edx
je 0x43763a
push 0x58b770
lea ecx, [ebp - 0x17c]
call fcn.00404670
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x170]
push eax
lea ecx, [ebp - 0x17c]
push ecx
mov ecx, 0x5e3e60
call fcn.0042e250
push 0x58b774
lea ecx, [ebp - 0x180]
call fcn.00404670
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x16c]
push edx
lea eax, [ebp - 0x180]
push eax
mov ecx, 0x5e3e60
call fcn.0042e250
push 0x58b778
lea ecx, [ebp - 0x184]
call fcn.00404670
mov byte [ebp - 4], 6
movzx ecx, word [ebp - 0x4c]
cmp ecx, 9
je 0x4375ac
movzx edx, word [ebp - 0x4c]
cmp edx, 6
jne 0x4375bc
push 0x58b77c
lea ecx, [ebp - 0x184]
call fcn.00403fc0
mov eax, dword [ebp - 0x184]
push eax
mov ecx, dword [ebp - 0x180]
push ecx
mov edx, dword [ebp - 0x17c]
push edx
push str.Windows_s_s_s
mov eax, dword [ebp - 0x1b0]
add eax, 0x10
push eax
call fcn.00403430
add esp, 0x14
mov ecx, dword [ebp - 0x180]
push ecx
mov edx, dword [ebp - 0x17c]
push edx
push str.Windows_s_s
mov eax, dword [ebp - 0x1b0]
add eax, 0x5c
push eax
call fcn.00403430
add esp, 0x10
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x184]
call fcn.00402000
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x180]
call fcn.00402000
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x17c]
call fcn.00402000
cmp dword [ebp + 8], 0
je 0x437725
lea ecx, [ebp - 0x188]
call fcn.00401fd0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x164]
push ecx
mov edx, dword [ebp - 0x168]
push edx
mov eax, dword [ebp - 0x16c]
push eax
mov ecx, dword [ebp - 0x170]
push ecx
push str._u._u._u._u
lea edx, [ebp - 0x188]
push edx
call fcn.00403430
add esp, 0x18
mov eax, dword [ebp - 0x188]
push eax
push str.OS_Version_:__s
lea ecx, [ebp - 0x50]
call fcn.004018f0
push eax
push 8
push 0x5e3e78
call fcn.0042b490
add esp, 0x14
mov ecx, dword [ebp - 0x170]
push ecx
push str.Major_Version_:__u
lea ecx, [ebp - 0x50]
call fcn.004018f0
push eax
push 8
push 0x5e3e78
call fcn.0042b490
add esp, 0x14
mov edx, dword [ebp - 0x16c]
push edx
push str.Minor_Version_:__u
lea ecx, [ebp - 0x50]
call fcn.004018f0
push eax
push 8
push 0x5e3e78
call fcn.0042b490
add esp, 0x14
movzx eax, byte [ebp - 0x5a]
push eax
push str.Product_Type_:__u
lea ecx, [ebp - 0x50]
call fcn.004018f0
push eax
push 8
push 0x5e3e78
call fcn.0042b490
add esp, 0x14
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x188]
call fcn.00402000
jmp 0x437a1f
lea ecx, [ebp - 0x160]
push ecx
call fcn.0054f4b0
add esp, 4
test eax, eax
jbe 0x437778
lea edx, [ebp - 0x160]
push edx
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x1c
call fcn.00403fc0
mov eax, dword [ebp - 0x1b0]
add eax, 0x1c
push eax
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x50
call fcn.00403d00
push str.Service_Pack
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x1c
call fcn.00403030
movzx ecx, word [ebp - 0x60]
test ecx, ecx
je 0x43779c
movzx edx, word [ebp - 0x60]
push edx
push 0x58b880
mov eax, dword [ebp - 0x1b0]
add eax, 0x1c
push eax
call fcn.00403430
add esp, 0xc
mov ecx, dword [ebp - 0x1b0]
add ecx, 0xc
push ecx
mov ecx, dword [ebp - 0x1b0]
add ecx, 4
call fcn.00403d00
mov edx, dword [ebp - 0x1b0]
mov eax, dword [edx + 4]
push eax
push str.Operating_System_:__s
push 0x58b8b4
push 8
push 0x5e3e78
call fcn.0042b490
add esp, 0x14
mov ecx, dword [ebp - 0x1b0]
mov edx, dword [ecx + 8]
push edx
push str.Operating_System_Edition_:__s
push 0x58b904
push 8
push 0x5e3e78
call fcn.0042b490
add esp, 0x14
mov eax, dword [ebp - 0x1b0]
mov ecx, dword [eax + 0x50]
push ecx
push str.Operating_System_ServicePack_:__s
push str.OSVersion
push 8
push 0x5e3e78
call fcn.0042b490
add esp, 0x14
mov ecx, dword [ebp - 0x1b0]
add ecx, 0xc
call fcn.00402d90
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x10
call fcn.00402d90
movzx edx, byte [ebp - 0x5a]
cmp edx, 1
jne 0x437857
push str.prod1
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x20
call fcn.00403fc0
jmp 0x437891
movzx eax, byte [ebp - 0x5a]
cmp eax, 2
jne 0x437875
push str.prod2
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x20
call fcn.00403fc0
jmp 0x437891
movzx ecx, byte [ebp - 0x5a]
cmp ecx, 3
jne 0x437891
push str.prod3
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x20
call fcn.00403fc0
push 0x58b994
lea ecx, [ebp - 0x18c]
call fcn.00404670
mov byte [ebp - 4], 8
lea edx, [ebp - 0x18c]
push edx
push 0x58b998
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x34
call fcn.0044f38f
test eax, eax
je 0x4379d6
lea ecx, [ebp - 0x18c]
call fcn.00401f20
movzx eax, al
test eax, eax
jne 0x4379d6
push 0x58b9ac
lea ecx, [ebp - 0x190]
call fcn.00404670
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x18c]
push ecx
push str.Supported_OSes_:__s
lea edx, [ebp - 0x190]
push edx
call fcn.00403430
add esp, 0xc
lea ecx, [ebp - 0x190]
call fcn.004018f0
push eax
lea ecx, [ebp - 0x50]
call fcn.004018f0
push eax
push 8
push 0x5e3e78
call fcn.0042b490
add esp, 0x10
mov ecx, dword [ebp - 0x1b0]
call fcn.00437d20
mov dword [ebp - 0x178], eax
cmp dword [ebp - 0x178], 0x12c
jne 0x437989
mov ecx, dword [ebp - 0x1b0]
call fcn.00438200
mov dword [ebp - 0x178], eax
cmp dword [ebp - 0x178], 0x12d
jne 0x437987
push str.Show_Warning_for_OS
lea ecx, [ebp - 0x50]
call fcn.004018f0
push eax
push 8
push 0x5e3e78
call fcn.0042b490
add esp, 0x10
jmp 0x4379c5
cmp dword [ebp - 0x178], 0x12e
je 0x43799e
cmp dword [ebp - 0x178], 0xffffffff
jne 0x4379c5
mov dword [ebp - 0x178], 0x12e
push str.Show_Error_for_OS
lea ecx, [ebp - 0x50]
call fcn.004018f0
push eax
push 8
push 0x5e3e78
call fcn.0042b490
add esp, 0x10
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x190]
call fcn.00402000
jmp 0x4379fd
push str.No_OSes_are_supported
lea ecx, [ebp - 0x50]
call fcn.004018f0
push eax
push 8
push 0x5e3e78
call fcn.0042b490
add esp, 0x10
mov dword [ebp - 0x178], 0x12e
cmp dword [ebp - 0x178], 0xffffffff
jne 0x437a10
mov dword [ebp - 0x178], 0x12c
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18c]
call fcn.00402000
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x1ac], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
call fcn.00402000
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00402000
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00402000
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00402000
mov eax, dword [ebp - 0x1ac]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x54]
xor ecx, ebp
call fcn.0054dc83
mov esp, ebp
pop ebp
ret 4