Function at 0x10004d50
Capabilities:
Check os version
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10035c3b
mov eax, dword fs:[0]
push eax
sub esp, 0x1c4
mov eax, dword [0x10051070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1cc], 0
push 0x9c
push 0
lea eax, [ebp - 0x1c8]
push eax
call fcn.10023d20
add esp, 0xc
mov dword [ebp - 0x1c8], 0x9c
lea ecx, [ebp - 0x1c8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov dword [ebp - 0x1d0], eax
cmp dword [ebp - 0x1d0], 0
jne 0x10004dfb
mov dword [ebp - 0x1c8], 0x94
lea edx, [ebp - 0x1c8]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x10004dfb
mov ecx, dword [ebp + 8]
call fcn.10001d00
mov eax, dword [ebp - 0x1cc]
or eax, 1
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp + 8]
jmp 0x10005012
lea ecx, [ebp - 0x12c]
call fcn.10001d00
mov dword [ebp - 4], 0
call fcn.10005030
movzx ecx, al
test ecx, ecx
je 0x10004e2e
push str.Windows_10
lea ecx, [ebp - 0x12c]
call fcn.10001ab0
jmp 0x10004fbd
cmp dword [ebp - 0x1c4], 5
jne 0x10004e55
cmp dword [ebp - 0x1c0], 2
jne 0x10004e55
push str.Windows_Server_2003_family_
lea ecx, [ebp - 0x12c]
call fcn.10001ab0
jmp 0x10004fbd
cmp dword [ebp - 0x1c4], 5
jne 0x10004e7c
cmp dword [ebp - 0x1c0], 1
jne 0x10004e7c
push str.Windows_XP
lea ecx, [ebp - 0x12c]
call fcn.10001ab0
jmp 0x10004fbd
cmp dword [ebp - 0x1c4], 5
jne 0x10004ea3
cmp dword [ebp - 0x1c0], 0
jne 0x10004ea3
push str.Windows_2000
lea ecx, [ebp - 0x12c]
call fcn.10001ab0
jmp 0x10004fbd
cmp dword [ebp - 0x1c4], 4
ja 0x10004ec1
push str.Windows_NT
lea ecx, [ebp - 0x12c]
call fcn.10001ab0
jmp 0x10004fbd
cmp dword [ebp - 0x1c4], 6
jne 0x10004ee8
cmp dword [ebp - 0x1c0], 0
jne 0x10004ee8
push str.Vista
lea ecx, [ebp - 0x12c]
call fcn.10001ab0
jmp 0x10004fbd
cmp dword [ebp - 0x1c4], 6
jne 0x10004f0f
cmp dword [ebp - 0x1c0], 1
jne 0x10004f0f
push str.Windows_7
lea ecx, [ebp - 0x12c]
call fcn.10001ab0
jmp 0x10004fbd
cmp dword [ebp - 0x1c4], 6
jne 0x10004f36
cmp dword [ebp - 0x1c0], 2
jne 0x10004f36
push str.Windows_8
lea ecx, [ebp - 0x12c]
call fcn.10001ab0
jmp 0x10004fbd
cmp dword [ebp - 0x1c4], 6
jne 0x10004f5a
cmp dword [ebp - 0x1c0], 3
jne 0x10004f5a
push str.Windows_8.1
lea ecx, [ebp - 0x12c]
call fcn.10001ab0
jmp 0x10004fbd
mov byte [ebp - 0x114], 0
push 0x103
push 0
lea edx, [ebp - 0x113]
push edx
call fcn.10023d20
add esp, 0xc
mov eax, dword [ebp - 0x1c0]
push eax
mov ecx, dword [ebp - 0x1c4]
push ecx
push str.Major__d_Minor__d
push 0x104
lea edx, [ebp - 0x114]
push edx
call fcn.10004880
add esp, 0x14
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x12c]
call fcn.10001ab0
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x10049330
lea ecx, [ebp - 0x12c]
call fcn.10001ab0
lea edx, [ebp - 0x1b4]
push edx
lea ecx, [ebp - 0x12c]
call fcn.10001ab0
lea eax, [ebp - 0x12c]
push eax
mov ecx, dword [ebp + 8]
call fcn.10001c10
mov ecx, dword [ebp - 0x1cc]
or ecx, 1
mov dword [ebp - 0x1cc], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x12c]
call fcn.10001ad0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000afc9
mov esp, ebp
pop ebp
ret