Function at 0x100434fb
Capabilities:
Check os version

Disassembly:
push 0x350
mov eax, 0x1017d69a
call fcn.10077939
mov eax, dword [ebp + 8]
xor ecx, ecx
push 0x118
mov dword [ebp - 0x338], eax
mov dword [ebp - 0x35c], eax
lea eax, [ebp - 0x330]
push ecx
mov dword [ebp - 0x354], ecx
push eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x334], 0x11c
call fcn.10056120
add esp, 0xc
lea eax, [ebp - 0x334]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
call fcn.1003c97f
test al, al
je 0x10043578
push eax
push ebx
pop esp
push edx
push edx
pop eax
push ecx
pop ebp
push esp
pop ebx
pop esi
push ebp
pop eax
pop ecx
push edx
push ebp
pop eax
pop eax
push ebx
push esp
push ecx
pop ecx
push esi
pop edx
push ecx
push edi
pop eax
push ebx
push ebp
pop edi
push esp
call fcn.1003c688
test al, al
je 0x10043597
pop esi
push ecx
pop ebp
push ebp
pop eax
pop esi
push ebx
push ebx
push ebx
pop eax
pop ebx
push edi
pop eax
push edi
pop esp
pop edx
push ebp
push eax
push eax
pop edi
push edi
push edx
call fcn.1003c79c
test al, al
je 0x100435bc
pop ebx
pop ebp
pop edx
push edx
push ebp
pop ebx
pop ebx
pop edx
push ebx
push edi
push ebx
pop edx
pop edi
push edx
push ebp
push esp
push ecx
pop eax
push ebx
pop eax
push ecx
pop eax
pop edx
pop edi
push edi
push ecx
push edi
pop ebp
mov ecx, dword [ebp - 0x338]
push 0x101d73f8
call fcn.1001fcb0
xor eax, eax
mov dword [ebp - 0x354], 1
mov dword [ebp - 4], eax
mov dword [ebp - 0x340], eax
mov dword [ebp - 0x344], eax
mov dword [ebp - 0x33c], eax
mov eax, dword [ebp - 0x330]
mov dword [ebp - 0x350], eax
movzx eax, byte [ebp - 0x21a]
mov dword [ebp - 0x358], eax
mov eax, dword [ebp - 0x328]
mov dword [ebp - 0x34c], eax
mov eax, dword [ebp - 0x32c]
mov dword [ebp - 0x348], eax
call fcn.1003c7e1
test al, al
je 0x10043647
push eax
pop esp
pop ecx
push ebx
pop eax
pop ecx
push ecx
pop ebx
pop edx
push edi
push ebx
pop esp
push ebx
push ebx
push edi
pop esp
push edx
pop edi
pop ecx
pop ebx
push ebp
pop edx
pop edi
push edi
push edx
pop esp
push esi
push ebp
push esi
push edi
push ebx
push ebp
call fcn.1003cad8
test al, al
je 0x10043669
push esp
push edx
push edi
push edx
pop eax
pop ecx
push esp
push edx
pop ecx
pop edx
pop ecx
push esp
pop eax
push esp
pop edx
push esi
pop esp
push ebx
push edx
push esp
pop esi
push esp
push esi
push edi
pop edi
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x100436b5
push str.RtlGetNtVersionNumbers
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100436ae
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 esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.1003c757
test al, al
je 0x100436d8
push ebx
pop edx
push ebp
push ecx
push esp
push esp
pop esi
pop ebx
pop edx
pop edx
pop ebx
push esi
push eax
push esp
push esp
pop eax
pop ebx
pop eax
pop esi
pop eax
pop ebp
pop edi
push ebx
push edi
pop ebx
pop edx
call fcn.1003c8f5
test al, al
je 0x100436fd
push esi
pop esp
push eax
push esi
push ebx
push esi
pop esp
push edi
pop ebp
push edi
push edx
pop edi
pop esp
push ecx
push ecx
pop eax
push ecx
pop ebp
push ebp
push ebx
pop esi
pop edi
pop ebx
push eax
pop ebp
push esp
push esi
push ebx
mov eax, dword [ebp - 0x350]
cmp eax, 5
jne 0x1004372f
mov eax, dword [ebp - 0x348]
test eax, eax
je 0x100437d9
cmp eax, 1
jne 0x10043725
mov esi, str.WindowsXP
jmp 0x100437c5
mov esi, str.WindowsServer2003
jmp 0x100437c5
cmp eax, 6
jne 0x100437d9
mov eax, dword [ebp - 0x348]
sub eax, 0
je 0x100437b2
sub eax, 1
je 0x100437ab
sub eax, 1
jne 0x100437d9
mov ecx, dword [ebp - 0x34c]
cmp ecx, 0x1ebb
jne 0x10043766
mov esi, str.Windows8
jmp 0x100437c5
lea eax, [ecx - 0x1ee6]
cmp eax, 0x25
jbe 0x1004375f
cmp ecx, 0x1f13
je 0x1004375f
cmp dword [ebp - 0x340], 0xa
jne 0x10043792
cmp dword [ebp - 0x344], 0
jne 0x100437d9
mov esi, str.Windows10
jmp 0x100437c5
cmp dword [ebp - 0x340], 6
jne 0x100437d9
cmp dword [ebp - 0x344], 3
jne 0x100437d9
mov esi, str.Windows8.1
jmp 0x100437c5
mov esi, str.Windows7
jmp 0x100437c5
cmp dword [ebp - 0x358], 1
mov esi, str.WindowsVista
je 0x100437c5
mov esi, str.WindowsServer2008
push esi
call fcn.100649fb
pop ecx
mov ecx, dword [ebp - 0x338]
push eax
push esi
call fcn.1001fe10
call fcn.1003c757
test al, al
je 0x100437fc
push ebx
pop edx
push ebp
push ecx
push esp
push esp
pop esi
pop ebx
pop edx
pop edx
pop ebx
push esi
push eax
push esp
push esp
pop eax
pop ebx
pop eax
pop esi
pop eax
pop ebp
pop edi
push ebx
push edi
pop ebx
pop edx
call fcn.1003c8f5
test al, al
je 0x10043821
push esi
pop esp
push eax
push esi
push ebx
push esi
pop esp
push edi
pop ebp
push edi
push edx
pop edi
pop esp
push ecx
push ecx
pop eax
push ecx
pop ebp
push ebp
push ebx
pop esi
pop edi
pop ebx
push eax
pop ebp
push esp
push esi
push ebx
mov ebx, dword [ebp - 0x338]
mov ecx, ebx
push 0x101d73f8
call fcn.10043aec
test eax, eax
jne 0x1004389b
push 0x208
xor esi, esi
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.10056120
push dword [ebp - 0x34c]
mov eax, dword [ebp - 0x350]
push dword [ebp - 0x348]
push eax
lea eax, [ebp - 0x218]
push str.Windows_d._d._d
push eax
call fcn.10029df0
add esp, 0x20
cmp word [ebp - 0x218], si
jne 0x1004387f
mov eax, esi
jmp 0x1004388c
lea eax, [ebp - 0x218]
push eax
call fcn.100649fb
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, ebx
push eax
call fcn.1001fe10
call fcn.1003c7e1
test al, al
je 0x100438b9
pop edx
pop ebp
pop eax
push ecx
pop edx
push edx
pop edi
push eax
pop ebx
push esp
pop esi
push ebp
pop eax
pop ebx
pop edi
pop eax
push ebx
push edx
push ebx
push edi
pop eax
call fcn.1003c574
test al, al
je 0x100438d2
pop ecx
push ebp
pop ebp
push eax
pop ebp
pop ecx
push ebp
pop ecx
push edx
pop edi
pop edx
push eax
pop edx
pop edx
pop ecx
pop eax
call fcn.1003cb1d
test al, al
je 0x100438ef
pop esi
push ecx
pop edx
pop edx
push ebx
pop ebx
pop ecx
push edx
pop esi
pop ebp
push esi
push esi
pop esi
push ebp
push edi
pop ebx
push ebx
pop edi
pop ebp
pop esi
cmp dword [ebp + 0xc], 0
je 0x10043923
cmp word [ebp - 0x320], 0
jne 0x10043903
xor eax, eax
jmp 0x10043910
lea eax, [ebp - 0x320]
push eax
call fcn.100649fb
pop ecx
mov ecx, dword [ebp - 0x338]
push eax
lea eax, [ebp - 0x320]
push eax
call fcn.10021a60
mov eax, dword [ebp - 0x338]
call fcn.100778f4
ret