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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb70
mov eax, dword [0x483004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x4719ec
call fcn.00403220
lea eax, [ebp - 0xb48]
mov dword [ebp - 0xb48], 0x11c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4344f7
cmp dword [ebp - 0xb38], 2
jne 0x4344f7
cmp dword [ebp - 0xb44], 5
jb 0x4344f7
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xorps xmm0, xmm0
push str.GetNativeSystemInfo
push str.kernel32.dll
movups xmmword [ebp - 0xb70], xmm0
mov dword [ebp - 0xb50], 0
movups xmmword [ebp - 0xb60], xmm0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x434296
lea ecx, [ebp - 0xb70]
push ecx
call eax
jmp 0x4342a3
lea eax, [ebp - 0xb70]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push str.GetProductInfo
push str.kernel32.dll
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.base
mov ecx, edi
mov ebx, eax
call fcn.00431fa0
test ebx, ebx
je 0x434324
movzx ecx, word [ebp - 0xa32]
lea eax, [ebp - 0xb4c]
push eax
movzx eax, word [ebp - 0xa34]
push ecx
push eax
push dword [ebp - 0xb40]
push dword [ebp - 0xb44]
call ebx
mov ax, word [ebp - 0xa34]
test ax, ax
je 0x434324
movzx eax, ax
push eax
push str.sp_d
lea eax, [ebp - 0xa2c]
push 0x514
push eax
call fcn.00404760
add esp, 0x10
lea eax, [ebp - 0xa2c]
mov ecx, edi
push eax
call fcn.00431fa0
mov eax, dword [ebp - 0xb44]
pop ebx
cmp eax, 6
jne 0x4343ef
mov eax, dword [ebp - 0xb40]
test eax, eax
jne 0x434381
cmp byte [ebp - 0xa2e], 1
mov ecx, esi
jne 0x434365
push str.vista
call fcn.00431fa0
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004369c2
mov esp, ebp
pop ebp
ret
push str.win2008
call fcn.00431fa0
pop edi
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 0x4343c8
mov ecx, esi
cmp byte [ebp - 0xa2e], al
jne 0x4343ac
push str.win7
call fcn.00431fa0
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004369c2
mov esp, ebp
pop ebp
ret
push str.win2008r2
call fcn.00431fa0
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004369c2
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x4344e5
push str.win8
mov ecx, esi
call fcn.00431fa0
pop edi
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 0x4344e5
mov eax, dword [ebp - 0xb40]
cmp eax, 2
jne 0x4344d0
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x434431
push str.windows2003r2
mov ecx, esi
call fcn.00431fa0
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004369c2
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xa30]
test eax, 0x2000
je 0x43445c
push str.windows2003storage
mov ecx, esi
call fcn.00431fa0
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004369c2
mov esp, ebp
pop ebp
ret
test eax, 0x8000
je 0x434481
push str.windowshomeserver
mov ecx, esi
call fcn.00431fa0
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004369c2
mov esp, ebp
pop ebp
ret
cmp byte [ebp - 0xa2e], 1
jne 0x4344b2
cmp word [ebp - 0xb70], 9
jne 0x4344b2
push 0x4697cc
mov ecx, esi
call fcn.00431fa0
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004369c2
mov esp, ebp
pop ebp
ret
push str.win2003
mov ecx, esi
call fcn.00431fa0
pop edi
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
je 0x434494
test eax, eax
jne 0x4344e5
push str.win2000
mov ecx, esi
call fcn.00431fa0
pop edi
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
pop edi
xor ecx, ebp
pop esi
call fcn.004369c2
mov esp, ebp
pop ebp
ret