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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x483004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push 0
push 0x4719ec
call fcn.00403220
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x11c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x433e52
cmp dword [ebp - 0x110], 2
jne 0x433e52
cmp dword [ebp - 0x11c], 5
jb 0x433e52
xorps xmm0, xmm0
mov dword [ebp - 0x128], 0
push str.GetNativeSystemInfo
push str.kernel32.dll
movups xmmword [ebp - 0x148], xmm0
movups xmmword [ebp - 0x138], xmm0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43393f
lea ecx, [ebp - 0x148]
push ecx
call eax
jmp 0x43394c
lea eax, [ebp - 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push str.Microsoft
mov ecx, esi
call fcn.00431fa0
mov eax, dword [ebp - 0x11c]
cmp eax, 6
jne 0x433bde
mov eax, dword [ebp - 0x118]
test eax, eax
jne 0x433987
cmp byte [ebp - 6], 1
mov ecx, esi
jne 0x433980
push str.Windows_Vista
jmp 0x4339ad
push str.Windows_Server_2008
jmp 0x4339ad
cmp eax, 1
jne 0x4339a1
mov ecx, esi
cmp byte [ebp - 6], al
jne 0x43399a
push str.Windows_7
jmp 0x4339ad
push str.Windows_Server_2008_R2
jmp 0x4339ad
cmp eax, 2
jne 0x4339b2
push str.Windows_8
mov ecx, esi
call fcn.0040e620
push str.GetProductInfo
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je case.0x433a07.5
lea ecx, [ebp - 0x124]
push ecx
movzx ecx, word [ebp - 0xa]
push ecx
movzx ecx, word [ebp - 0xc]
push ecx
push dword [ebp - 0x118]
push dword [ebp - 0x11c]
call eax
mov eax, dword [ebp - 0x124]
dec eax
cmp eax, 0x2f
ja case.0x433a07.5
movzx eax, byte [eax + 0x433eac]
jmp dword [eax*4 + 0x433e64]
push str.Ultimate_Edition
mov ecx, esi
call fcn.0040e620
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004369c2
mov esp, ebp
pop ebp
ret
push str.Professional
mov ecx, esi
call fcn.0040e620
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004369c2
mov esp, ebp
pop ebp
ret
push str.Home_Premium_Edition
mov ecx, esi
call fcn.0040e620
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004369c2
mov esp, ebp
pop ebp
ret
push str.Home_Basic_Edition
mov ecx, esi
call fcn.0040e620
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004369c2
mov esp, ebp
pop ebp
ret
push str.Enterprise_Edition
mov ecx, esi
call fcn.0040e620
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004369c2
mov esp, ebp
pop ebp
ret
push str.Business_Edition
mov ecx, esi
call fcn.0040e620
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004369c2
mov esp, ebp
pop ebp
ret
push str.Starter_Edition
mov ecx, esi
call fcn.0040e620
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004369c2
mov esp, ebp
pop ebp
ret
push str.Cluster_Server_Edition
mov ecx, esi
call fcn.0040e620
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004369c2
mov esp, ebp
pop ebp
ret
push str.Datacenter_Edition
mov ecx, esi
call fcn.0040e620
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004369c2
mov esp, ebp
pop ebp
ret
push str.Datacenter_Edition__core_installation_
mov ecx, esi
call fcn.0040e620
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004369c2
mov esp, ebp
pop ebp
ret
push str.Enterprise_Edition__core_installation_
mov ecx, esi
call fcn.0040e620
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004369c2
mov esp, ebp
pop ebp
ret
push str.Small_Business_Server
mov ecx, esi
call fcn.0040e620
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004369c2
mov esp, ebp
pop ebp
ret
push str.Small_Business_Server_Premium_Edition
mov ecx, esi
call fcn.0040e620
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004369c2
mov esp, ebp
pop ebp
ret
push str.Standard_Edition
mov ecx, esi
call fcn.0040e620
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004369c2
mov esp, ebp
pop ebp
ret
push str.Standard_Edition__core_installation_
mov ecx, esi
call fcn.0040e620
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004369c2
mov esp, ebp
pop ebp
ret
push str.Web_Server_Edition
mov ecx, esi
call fcn.0040e620
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004369c2
mov esp, ebp
pop ebp
ret
cmp eax, 5
jne case.0x433a07.5
mov eax, dword [ebp - 0x118]
cmp eax, 2
jne 0x433d84
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x433c09
push str.Windows_Server_2003_R2
jmp 0x433c44
mov eax, dword [ebp - 8]
test eax, 0x2000
je 0x433c1a
push str.Windows_Storage_Server_2003
jmp 0x433c44
test eax, 0x8000
je 0x433c28
push str.Windows_Home_Server
jmp 0x433c44
cmp byte [ebp - 6], 1
jne 0x433c3f
cmp word [ebp - 0x148], 9
jne 0x433c3f
push str.Windows_XP_Professional_x64_Edition
jmp 0x433c44
push str.Windows_Server_2003
mov ecx, esi
call fcn.0040e620
cmp byte [ebp - 6], 1
je case.0x433a07.5
mov ax, word [ebp - 0x148]
cmp ax, 6
jne 0x433cab
mov eax, dword [ebp - 8]
test al, al
jns 0x433c86
push str.Datacenter_Edition_for_Itanium_based_Systems
mov ecx, esi
call fcn.0040e620
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004369c2
mov esp, ebp
pop ebp
ret
test al, 2
je case.0x433a07.5
push str.Enterprise_Edition_for_Itanium_based_Systems
mov ecx, esi
call fcn.0040e620
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004369c2
mov esp, ebp
pop ebp
ret
cmp ax, 9
mov eax, dword [ebp - 8]
jne 0x433d11
test al, al
jns 0x433cd5
push str.Datacenter_x64_Edition
mov ecx, esi
call fcn.0040e620
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004369c2
mov esp, ebp
pop ebp
ret
mov ecx, esi
test al, 2
je 0x433cf6
push str.Enterprise_x64_Edition
call fcn.0040e620
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004369c2
mov esp, ebp
pop ebp
ret
push str.Standard_x64_Edition
call fcn.0040e620
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004369c2
mov esp, ebp
pop ebp
ret
test eax, 0x4000
je 0x433d35
push str.Compute_Cluster_Edition
mov ecx, esi
call fcn.0040e620
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004369c2
mov esp, ebp
pop ebp
ret
test al, al
js case.0x433a07.8
test al, 2
jne case.0x433a07.4
mov ecx, esi
test eax, 0x400
je 0x433d69
push str.Web_Edition
call fcn.0040e620
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004369c2
mov esp, ebp
pop ebp
ret
push str.Standard_Edition
call fcn.0040e620
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004369c2
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x433dd6
push str.Windows_XP
mov ecx, esi
call fcn.0040e620
test dword [ebp - 8], 0x200
mov ecx, esi
je 0x433dbb
push str.Home_Edition
call fcn.0040e620
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004369c2
mov esp, ebp
pop ebp
ret
push str.Professional
call fcn.0040e620
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004369c2
mov esp, ebp
pop ebp
ret
test eax, eax
jne case.0x433a07.5
push str.Windows_2000
mov ecx, esi
call fcn.0040e620
cmp byte [ebp - 6], 1
je case.0x433a07.48
mov eax, dword [ebp - 8]
test al, al
jns 0x433e14
push str.Datacenter_Server
mov ecx, esi
call fcn.0040e620
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004369c2
mov esp, ebp
pop ebp
ret
test al, 2
je 0x433e35
push str.Advanced_Server
mov ecx, esi
call fcn.0040e620
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004369c2
mov esp, ebp
pop ebp
ret
push str.Server
mov ecx, esi
call fcn.0040e620
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004369c2
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.004369c2
mov esp, ebp
pop ebp
ret