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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
mov eax, dword [0x7286bc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x154]
push esi
push edi
xor edi, edi
push 0x24
push edi
push eax
mov dword [ebp - 0x124], edi
call fcn.0060b7a0
mov esi, 0x11c
lea eax, [ebp - 0x120]
push esi
push edi
push eax
call fcn.0060b7a0
add esp, 0x18
mov dword [ebp - 0x120], esi
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x483fcc
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.GetNativeSystemInfo
push str.kernel32.dll
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x48369d
lea ecx, [ebp - 0x154]
push ecx
call eax
jmp 0x4836aa
lea eax, [ebp - 0x154]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 2
pop esi
cmp dword [ebp - 0x110], esi
jne 0x483ceb
mov eax, dword [ebp - 0x11c]
push 4
pop esi
cmp eax, esi
jbe 0x483c96
push 0x6809b0
mov ecx, ebx
call fcn.004195af
push 6
pop eax
mov esi, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
cmp dword [ebp - 0x11c], eax
jne case.0x4838d0.5
mov eax, dword [ebp - 0x118]
cmp eax, 2
jne 0x48382a
push ecx
mov ecx, esp
push str.CurrentVersion
call fcn.004177e7
push ecx
mov ecx, esp
push esi
call fcn.004177e7
push ecx
mov ecx, esp
push str.HKEY_LOCAL_MACHINE
call fcn.004177e7
lea eax, [ebp - 0x128]
push eax
call fcn.004e6d33
add esp, 0x10
lea ecx, [ebp - 0x128]
push 0x68a83c
call fcn.004229b4
test eax, eax
jne 0x483750
mov dword [ebp - 0x124], 0x1b
push str.Windows_8
jmp 0x4837a9
push 0x68a7e4
lea ecx, [ebp - 0x128]
call fcn.004229b4
test eax, eax
jne 0x483775
mov dword [ebp - 0x124], 0x1e
push str.Windows_8.1
jmp 0x4837a9
push 0x68a7ec
lea ecx, [ebp - 0x128]
call fcn.004229b4
test eax, eax
jne 0x48379a
mov dword [ebp - 0x124], 0x1f
push str.Windows_10
jmp 0x4837a9
mov dword [ebp - 0x124], 0x20
push str.Windows
mov ecx, ebx
call fcn.004228d4
push ecx
mov ecx, esp
push str.CurrentMajorVersionNumber
call fcn.004177e7
push ecx
mov ecx, esp
push esi
call fcn.004177e7
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004e6e6c
add esp, 8
mov esi, eax
mov ecx, esp
push str.CurrentMinorVersionNumber
call fcn.004177e7
push ecx
mov ecx, esp
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
call fcn.004177e7
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004e6e6c
add esp, 0xc
cmp esi, 0xa
jne 0x48381a
test eax, eax
jne 0x48381a
push str.Windows_10
mov ecx, ebx
mov dword [ebp - 0x124], 0x1f
call fcn.004195af
mov ecx, dword [ebp - 0x128]
lea ecx, [ecx - 0x10]
call fcn.00419521
jmp 0x483889
cmp eax, 1
jne 0x483858
mov ecx, ebx
cmp byte [ebp - 6], al
jne 0x483847
mov dword [ebp - 0x124], 0x17
push str.Windows_7
jmp 0x483884
mov dword [ebp - 0x124], 0x19
push str.Windows_Server_2008_R2
jmp 0x483884
test eax, eax
jne 0x483889
cmp byte [ebp - 6], 1
mov ecx, ebx
jne 0x483875
mov dword [ebp - 0x124], 0x13
push str.Windows_Vista
jmp 0x483884
mov dword [ebp - 0x124], 0x15
push str.Windows_Server_2008
call fcn.004228d4
push str.GetProductInfo
push str.kernel32.dll
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0x130]
push ecx
push 0
push 0
push dword [ebp - 0x118]
push dword [ebp - 0x11c]
call eax
mov eax, dword [ebp - 0x130]
cmp eax, 0x19
ja 0x483947
je 0x483940
dec eax
cmp eax, 0x11
ja case.0x4838d0.5
jmp dword [eax*4 + 0x483fe0]
push 0x68a984
jmp 0x483951
push str.Home_Premium_Edition
jmp 0x483951
push str.Home_Basic_Edition
jmp 0x483951
push str.Enterprise_Edition
jmp 0x483951
push str.Business_Edition
jmp 0x483951
push str.Starter_Edition
jmp 0x483951
push str.HPC_Server_Edition
jmp 0x483951
push str.Datacenter_Edition
jmp 0x483951
push str.Datacenter_Edition__core_installation_
jmp 0x483951
push str.Enterprise_Edition__core_installation_
jmp 0x483951
push str.Enterprise_Edition_for_Itanium_based_Systems
jmp 0x483951
push str.Small_Business_Server
jmp 0x483951
push str.Standard_Edition
jmp 0x483951
push str.Standard_Edition__core_installation_
jmp 0x483951
push str.Web_Server_Edition
jmp 0x483951
push str.Small_Business_Server_Premium_Edition
jmp 0x483951
cmp eax, 0x30
jne case.0x4838d0.5
push 0x68a98c
mov ecx, ebx
call fcn.004228d4
cmp dword [ebp - 0x11c], 5
push 9
pop edi
jne 0x483b7c
mov eax, dword [ebp - 0x118]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
cmp eax, 2
jne 0x483ab0
push 0x59
call esi
test eax, eax
je 0x483996
mov dword [ebp - 0x124], 0x11
push str.Windows_Server_2003_R2_
jmp 0x4839e5
test dword [ebp - 8], 0x2000
je 0x4839a6
push str.Windows_Storage_Server_2003
jmp 0x4839db
test dword [ebp - 8], 0x8000
je 0x4839b6
push str.Windows_Home_Server_2003
jmp 0x4839db
cmp byte [ebp - 6], 1
jne 0x4839d6
cmp word [ebp - 0x154], di
jne 0x4839d6
mov dword [ebp - 0x124], 0xe
push str.Windows_XP_Professional_x64_Edition
jmp 0x4839e5
push str.Windows_Server_2003_
mov dword [ebp - 0x124], 0xf
mov ecx, ebx
call fcn.004228d4
cmp byte [ebp - 6], 1
je 0x483a9d
push 6
pop eax
cmp word [ebp - 0x154], ax
jne 0x483a26
test byte [ebp - 8], 0x80
mov dword [ebp - 0x124], 0x10
je 0x483a19
push str.Datacenter_Edition_for_Itanium_based_Systems
jmp 0x483a96
test byte [ebp - 8], 2
je 0x483a9d
push str.Enterprise_Edition_for_Itanium_based_Systems
jmp 0x483a96
cmp word [ebp - 0x154], di
jne 0x483a5c
test byte [ebp - 8], 0x80
mov dword [ebp - 0x124], 0x10
je 0x483a46
push str.Datacenter_x64_Edition
jmp 0x483a96
test byte [ebp - 8], 2
mov ecx, ebx
je 0x483a55
push str.Enterprise_x64_Edition
jmp 0x483a98
push str.Standard_x64_Edition
jmp 0x483a98
mov eax, dword [ebp - 8]
test eax, 0x4000
je 0x483a6d
push str.Compute_Cluster_Edition
jmp 0x483a96
test al, al
jns 0x483a78
push str.Datacenter_Edition
jmp 0x483a96
test al, 2
je 0x483a83
push str.Enterprise_Edition
jmp 0x483a96
test eax, 0x400
je 0x483a91
push str.Web_Edition
jmp 0x483a96
push str.Standard_Edition
mov ecx, ebx
call fcn.004228d4
cmp dword [ebp - 0x11c], 5
jne 0x483b7c
mov eax, dword [ebp - 0x118]
mov edi, str.Professional
cmp eax, 1
jne 0x483b29
push str.Windows_XP
mov ecx, ebx
mov dword [ebp - 0x124], 0xd
call fcn.004228d4
test dword [ebp - 8], 0x200
mov ecx, ebx
je 0x483ae2
push str.Home_Edition
jmp 0x483ae3
push edi
call fcn.004228d4
push 0x57
call esi
test eax, eax
je 0x483af7
push str.Media_Center_Edition
jmp 0x483b13
push 0x58
call esi
test eax, eax
je 0x483b06
push str.Starter_Edition
jmp 0x483b13
push 0x56
call esi
test eax, eax
je 0x483b1a
push str.Tablet_PC_Edition
mov ecx, ebx
call fcn.004228d4
cmp dword [ebp - 0x11c], 5
jne 0x483b7c
mov eax, dword [ebp - 0x118]
test eax, eax
jne 0x483b7c
push str.Windows_2000
mov ecx, ebx
call fcn.004228d4
cmp byte [ebp - 6], 1
jne 0x483b4c
mov dword [ebp - 0x124], 0xb
push edi
jmp 0x483b75
test byte [ebp - 8], 0x80
mov dword [ebp - 0x124], 0xc
je 0x483b63
push str.Datacenter_Server
jmp 0x483b75
test byte [ebp - 8], 2
je 0x483b70
push str.Advanced_Server
jmp 0x483b75
push str.Server
mov ecx, ebx
call fcn.004228d4
lea eax, [ebp - 0x10c]
push eax
call fcn.006180f6
pop ecx
test eax, eax
je 0x483ba7
push 0x68b010
mov ecx, ebx
call fcn.004228d4
lea eax, [ebp - 0x10c]
mov ecx, ebx
push eax
call fcn.004228d4
call fcn.00418f81
push eax
lea ecx, [ebp - 0x128]
call fcn.0041775d
push ecx
mov ecx, esp
push 0x68b014
call fcn.004177e7
push ecx
mov ecx, esp
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
call fcn.004177e7
push ecx
mov ecx, esp
push str.HKEY_LOCAL_MACHINE
call fcn.004177e7
lea eax, [ebp - 0x12c]
push eax
call fcn.004e6d33
mov edi, dword [ebp - 0x12c]
lea eax, [ebp - 0x128]
add esp, 0x10
cmp dword [edi - 0xc], 0
jne 0x483c0d
push dword [ebp - 0x114]
push str.__Build__d_
jmp 0x483c13
push edi
push str.__Build__s_
push eax
call fcn.0041a1e9
add esp, 0xc
lea ecx, [ebp - 0x12c]
push str.9431
call fcn.004229b4
test eax, eax
jne 0x483c3c
push str._Preview
mov ecx, ebx
call fcn.004228d4
mov esi, dword [ebp - 0x128]
mov ecx, ebx
push dword [esi - 0xc]
push esi
call fcn.00419f48
push 6
pop eax
cmp dword [ebp - 0x11c], eax
jb 0x483c81
push 9
pop eax
cmp word [ebp - 0x154], ax
jne 0x483c6b
push str.__64_bit
jmp 0x483c7a
cmp word [ebp - 0x154], 0
jne 0x483c81
push str.__32_bit
mov ecx, ebx
call fcn.004228d4
lea ecx, [edi - 0x10]
call fcn.00419521
lea ecx, [esi - 0x10]
call fcn.00419521
jmp 0x483fc6
jne 0x483cc1
cmp dword [ebp - 0x118], 0
jne 0x483fc6
push str.Windows_NT4
mov ecx, ebx
mov dword [ebp - 0x124], 6
call fcn.004228d4
mov eax, dword [ebp - 0x11c]
cmp eax, 3
jne 0x483fc6
cmp dword [ebp - 0x118], 0x33
jne 0x483fc6
mov dword [ebp - 0x124], 5
push str.Windows_NT_3.51
jmp 0x483fbf
cmp dword [ebp - 0x110], 1
jne 0x483dc9
push 4
pop esi
cmp dword [ebp - 0x11c], esi
jne 0x483fc6
mov eax, dword [ebp - 0x118]
push 0xa
pop edi
cmp eax, 0x5a
jne 0x483d2d
push str.Windows_Millennium_Edition
mov ecx, ebx
mov dword [ebp - 0x124], edi
call fcn.004228d4
mov eax, dword [ebp - 0x118]
cmp eax, edi
jne 0x483d7b
cmp dword [ebp - 0x114], 0x887
jb 0x483d5d
push str.Windows_98_Second_Edition
mov ecx, ebx
mov dword [ebp - 0x124], 9
call fcn.004228d4
mov eax, dword [ebp - 0x118]
cmp eax, edi
jne 0x483d7b
push str.Windows_98
mov ecx, ebx
mov dword [ebp - 0x124], 8
call fcn.004228d4
mov eax, dword [ebp - 0x118]
cmp eax, edi
jae 0x483da1
cmp dword [ebp - 0x114], 0x438
jbe 0x483da1
push str.Windows_95_OEM_Service_Release_2
mov ecx, ebx
mov dword [ebp - 0x124], esi
call fcn.004228d4
mov eax, dword [ebp - 0x118]
cmp dword [ebp - 0x11c], esi
jne 0x483fc6
test eax, eax
jne 0x483fc6
mov dword [ebp - 0x124], 3
push str.Windows_95
jmp 0x483fbf
cmp dword [ebp - 0x110], 3
jne 0x483fc6
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x124], 7
cmp eax, 1
jne 0x483e0a
cmp dword [ebp - 0x118], 0
jne 0x483fc6
push str.Windows_CE_1.0
mov ecx, ebx
call fcn.004228d4
mov eax, dword [ebp - 0x11c]
cmp eax, esi
jne 0x483e95
mov eax, dword [ebp - 0x118]
test eax, eax
jne 0x483e38
push str.Windows_CE_2.0
mov ecx, ebx
call fcn.004228d4
mov eax, dword [ebp - 0x11c]
cmp eax, esi
jne 0x483e95
mov eax, dword [ebp - 0x118]
cmp eax, 1
jne 0x483e59
push str.Windows_CE_2.1
mov ecx, ebx
call fcn.004228d4
mov eax, dword [ebp - 0x11c]
cmp eax, esi
jne 0x483e95
mov eax, dword [ebp - 0x118]
cmp eax, 0xb
jne 0x483e7a
push str.Windows_CE_2.11
mov ecx, ebx
call fcn.004228d4
mov eax, dword [ebp - 0x11c]
cmp eax, esi
jne 0x483e95
mov eax, dword [ebp - 0x118]
cmp eax, 0xc
jne 0x483fc6
push str.Windows_CE_2.12
mov ecx, ebx
call fcn.004228d4
mov eax, dword [ebp - 0x11c]
cmp eax, 3
jne 0x483eb9
cmp dword [ebp - 0x118], 0
jne 0x483fc6
push str.Windows_CE_3.0
mov ecx, ebx
call fcn.004228d4
mov eax, dword [ebp - 0x11c]
push 4
pop esi
cmp eax, esi
jne 0x483f47
mov eax, dword [ebp - 0x118]
test eax, eax
jne 0x483eea
push str.Windows_CE_4.0
mov ecx, ebx
call fcn.004228d4
mov eax, dword [ebp - 0x11c]
cmp eax, esi
jne 0x483f47
mov eax, dword [ebp - 0x118]
cmp eax, 1
jne 0x483f0b
push str.Windows_CE_4.1
mov ecx, ebx
call fcn.004228d4
mov eax, dword [ebp - 0x11c]
cmp eax, esi
jne 0x483f47
mov eax, dword [ebp - 0x118]
cmp eax, 2
jne 0x483f2c
push str.Windows_CE_4.2
mov ecx, ebx
call fcn.004228d4
mov eax, dword [ebp - 0x11c]
cmp eax, esi
jne 0x483f47
mov eax, dword [ebp - 0x118]
cmp eax, 0x15
jne 0x483fc6
push str.Windows_CE_4.21
mov ecx, ebx
call fcn.004228d4
mov eax, dword [ebp - 0x11c]
cmp eax, 5
jne 0x483fac
mov eax, dword [ebp - 0x118]
test eax, eax
jne 0x483f73
push str.Windows_CE_5.0
mov ecx, ebx
call fcn.004228d4
mov eax, dword [ebp - 0x11c]
cmp eax, 5
jne 0x483fac
mov eax, dword [ebp - 0x118]
cmp eax, 1
jne 0x483f95
push str.Windows_CE_5.1
mov ecx, ebx
call fcn.004228d4
mov eax, dword [ebp - 0x11c]
cmp eax, 5
jne 0x483fac
mov eax, dword [ebp - 0x118]
cmp eax, 2
jne 0x483fc6
push str.Windows_CE_5.2
mov ecx, ebx
call fcn.004228d4
mov eax, dword [ebp - 0x11c]
cmp eax, 6
jne 0x483fc6
cmp dword [ebp - 0x118], 0
jne 0x483fc6
push str.Windows_CE_6.0
mov ecx, ebx
call fcn.004228d4
mov eax, dword [ebp - 0x124]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00609802
mov esp, ebp
pop ebp
ret