Function at 0x100738f5
Capabilities:
Check os version

Disassembly:
push 0x34c
mov eax, 0x101e1dc4
call fcn.1005d984
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x330]
xor ebx, ebx
mov dword [ebp - 0x358], esi
push 0x118
push ebx
mov dword [ebp - 0x350], ebx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x334], 0x11c
call fcn.10079740
add esp, 0xc
lea eax, [ebp - 0x334]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0x10270410
mov ecx, esi
call fcn.100025f0
mov eax, dword [ebp - 0x330]
mov dword [ebp - 0x34c], eax
movzx eax, byte [ebp - 0x21a]
mov dword [ebp - 0x354], eax
mov eax, dword [ebp - 0x328]
mov dword [ebp - 0x338], eax
mov eax, dword [ebp - 0x32c]
push str.ntdll.dll
mov dword [ebp - 4], ebx
mov dword [ebp - 0x350], 1
mov dword [ebp - 0x340], ebx
mov dword [ebp - 0x344], ebx
mov dword [ebp - 0x33c], ebx
mov dword [ebp - 0x348], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x100739ec
push str.RtlGetNtVersionNumbers
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100739e5
lea ecx, [ebp - 0x33c]
push ecx
lea ecx, [ebp - 0x344]
push ecx
lea ecx, [ebp - 0x340]
push ecx
call eax
movzx eax, word [ebp - 0x33c]
mov dword [ebp - 0x33c], eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x34c]
cmp eax, 5
jne 0x10073a1e
mov eax, dword [ebp - 0x348]
test eax, eax
je 0x10073aea
cmp eax, 1
jne 0x10073a14
mov edi, str.WindowsXP
jmp 0x10073ada
mov edi, str.WindowsServer2003
jmp 0x10073ada
cmp eax, 6
jne 0x10073aea
mov eax, dword [ebp - 0x348]
sub eax, ebx
je 0x10073ac7
sub eax, 1
je 0x10073ac0
mov edi, dword [ebp - 0x338]
sub eax, 1
jne 0x10073af0
cmp edi, 0x1ebb
jne 0x10073a5c
mov edi, str.Windows8
jmp 0x10073ada
lea eax, [edi - 0x1ee6]
cmp eax, 0x25
jbe 0x10073a55
cmp edi, 0x1f13
je 0x10073a55
cmp dword [ebp - 0x340], 0xa
jne 0x10073a94
cmp dword [ebp - 0x344], 0
jne 0x10073af0
push str.Windows10
call fcn.1008133f
pop ecx
push eax
push str.Windows10
jmp 0x10073ab7
cmp dword [ebp - 0x340], 6
jne 0x10073af0
cmp dword [ebp - 0x344], 3
jne 0x10073af0
push str.Windows8.1
call fcn.1008133f
pop ecx
push eax
push str.Windows8.1
mov ecx, esi
call fcn.10002750
jmp 0x10073af0
mov edi, str.Windows7
jmp 0x10073ada
cmp dword [ebp - 0x354], 1
mov edi, str.WindowsVista
je 0x10073ada
mov edi, str.WindowsServer2008
push edi
call fcn.1008133f
pop ecx
push eax
push edi
mov ecx, esi
call fcn.10002750
mov edi, dword [ebp - 0x338]
push 0x10270410
mov ecx, esi
call fcn.100218cf
test eax, eax
jne 0x10073b5e
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.10079740
mov eax, dword [ebp - 0x34c]
push edi
push dword [ebp - 0x348]
push eax
lea eax, [ebp - 0x218]
push str.Windows_d._d._d
push eax
call fcn.10006200
add esp, 0x20
cmp word [ebp - 0x218], 0
jne 0x10073b42
mov eax, ebx
jmp 0x10073b4f
lea eax, [ebp - 0x218]
push eax
call fcn.1008133f
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.10002750
cmp dword [ebp + 0xc], 0
je 0x10073b8c
cmp word [ebp - 0x320], 0
je 0x10073b7d
lea eax, [ebp - 0x320]
push eax
call fcn.1008133f
pop ecx
mov ebx, eax
push ebx
lea eax, [ebp - 0x320]
mov ecx, esi
push eax
call fcn.10004340
mov eax, esi
call fcn.1005d93f
ret