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

Disassembly:
push ebp
lea ebp, [esp - 0x2e0]
sub esp, 0x360
mov eax, dword [0x10028500]
xor eax, ebp
mov dword [ebp + 0x2dc], eax
push esi
push edi
push 0x118
xor esi, esi
lea eax, [ebp - 0x54]
mov edi, ecx
push esi
push eax
mov dword [ebp - 0x5c], edi
call fcn.10016310
add esp, 0xc
push str.RtlGetVersion
push str.ntdll.dll
mov dword [ebp - 0x58], 0x11c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x10003aae
lea ecx, [ebp - 0x58]
push ecx
call eax
test eax, eax
je 0x10003ad3
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp eax, esi
jne 0x10003ad3
push str.Windows_Unkonwn
push 0x40
push edi
call fcn.1000c69f
add esp, 0xc
xor eax, eax
jmp 0x10003e58
push ebx
push 8
pop ecx
xor eax, eax
mov dword [ebp - 0x80], esi
lea edi, [ebp - 0x7c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov edi, 0x103
push edi
lea eax, [ebp + 0x1c9]
push esi
push eax
mov byte [ebp + 0x1c8], 0
call fcn.10016310
add esp, 0xc
push 2
pop ebx
cmp dword [ebp - 0x48], ebx
jne 0x10003e54
cmp dword [ebp - 0x54], 4
jbe 0x10003e54
cmp dword [ebp - 0x54], 5
jne 0x10003cc5
cmp dword [ebp - 0x50], 1
jne 0x10003bbb
push str.Windows_XP
lea esi, [edi + 1]
lea eax, [ebp + 0x1c8]
push esi
push eax
call fcn.1000c69f
add esp, 0xc
push 0x57
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x10003b5d
push str._Media_Center
jmp 0x10003b75
test dword [ebp + 0xc0], 0x200
je 0x10003b70
push str._Home_Edition
jmp 0x10003b75
push str._Professional
lea eax, [ebp + 0x1c8]
push esi
push eax
call fcn.1000c85a
xor eax, eax
mov byte [ebp + 0x2d4], 0
lea edi, [ebp + 0x2d5]
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
movzx eax, word [ebp + 0xbc]
add esp, 0xc
push eax
push str._SP_d_n
lea eax, [ebp + 0x2d4]
push 8
push eax
call fcn.10003f3b
add esp, 0x10
jmp 0x10003e2d
cmp dword [ebp - 0x50], ebx
jne 0x10003e14
cmp byte [ebp + 0xc2], 1
mov esi, 0x104
je 0x10003c7b
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
lea eax, [ebp + 0x1c8]
je 0x10003bef
push str.Windows_2003_R2
jmp 0x10003bf4
push str.Windows_2003
push esi
push eax
call fcn.1000c69f
add esp, 0xc
cmp word [ebp - 0x80], 9
jne 0x10003c31
test byte [ebp + 0xc0], 0x80
je 0x10003c15
push str._Datacenter_x64_Edition
jmp 0x10003c6b
lea eax, [ebp + 0x1c8]
test byte [ebp + 0xc0], bl
je 0x10003c2a
push str._Enterprise_x64_Edition
jmp 0x10003c71
push str._Standard_x64_Edition
jmp 0x10003c71
mov eax, dword [ebp + 0xc0]
test al, al
jns 0x10003c42
push str._Datacenter_Edition
jmp 0x10003c6b
test bl, al
je 0x10003c4d
push str._Enterprise_Edition
jmp 0x10003c6b
test eax, 0x400
je 0x10003c5b
push str._Web_Edition
jmp 0x10003c6b
test al, 1
je 0x10003c66
push str._Small_Business_Edition
jmp 0x10003c6b
push str._Standard_Edition
lea eax, [ebp + 0x1c8]
push esi
push eax
call fcn.1000c85a
add esp, 0xc
xor eax, eax
mov byte [ebp + 0x2cc], 0
lea edi, [ebp + 0x2cd]
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
movzx eax, word [ebp + 0xbc]
push eax
push str._SP_d_n
lea eax, [ebp + 0x2cc]
push 8
push eax
call fcn.10003f3b
lea eax, [ebp + 0x2cc]
push eax
lea eax, [ebp + 0x1c8]
push esi
push eax
call fcn.1000c85a
add esp, 0x1c
jmp 0x10003e2d
cmp dword [ebp - 0x54], 6
jne 0x10003e14
mov eax, dword [ebp - 0x50]
mov esi, 0x104
test eax, eax
jne 0x10003cf8
cmp byte [ebp + 0xc2], 1
lea eax, [ebp + 0x1c8]
je 0x10003cf1
push str.Windows_2008
jmp 0x10003d5b
push str.Windows_Vista
jmp 0x10003d5b
cmp eax, 1
jne 0x10003d1a
cmp byte [ebp + 0xc2], 1
lea eax, [ebp + 0x1c8]
je 0x10003d13
push str.Windows_2008_R2
jmp 0x10003d5b
push str.Windows_7
jmp 0x10003d5b
cmp eax, ebx
jne 0x10003d3b
cmp byte [ebp + 0xc2], 1
lea eax, [ebp + 0x1c8]
je 0x10003d34
push str.Windows_2012
jmp 0x10003d5b
push str.Windows_8
jmp 0x10003d5b
cmp eax, 3
jne 0x10003d65
cmp byte [ebp + 0xc2], 1
lea eax, [ebp + 0x1c8]
je 0x10003d56
push str.Windows_2012_R2
jmp 0x10003d5b
push str.Windows_8.1
push esi
push eax
call fcn.1000c69f
add esp, 0xc
and dword [ebp + 0x2d0], 0
push edi
lea eax, [ebp + 0xc5]
push 0
push eax
mov byte [ebp + 0xc4], 0
call fcn.10016310
lea ebx, [ebp + 0xc4]
lea eax, [ebp + 0x2d0]
lea ecx, [ebp - 0x58]
call fcn.10004a82
mov eax, ebx
push eax
lea eax, [ebp + 0x1c8]
push esi
push eax
call fcn.1000c85a
xor eax, eax
mov byte [ebp + 0x2d4], 0
lea edi, [ebp + 0x2d5]
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
movzx eax, word [ebp + 0xbc]
push eax
push str._SP_d_n
lea eax, [ebp + 0x2d4]
push 8
push eax
call fcn.10003f3b
lea eax, [ebp + 0x2d4]
push eax
lea eax, [ebp + 0x1c8]
push esi
push eax
call fcn.1000c85a
add esp, 0x34
cmp word [ebp - 0x80], 9
jne 0x10003e06
push str.__64_Bit_
lea eax, [ebp + 0x1c8]
push esi
push eax
call fcn.1000c85a
jmp 0x10003e2a
cmp word [ebp - 0x80], 0
jne 0x10003e2d
push str.__32_Bit_
jmp 0x10003df7
push str.Windows_Unknown
lea eax, [ebp + 0x1c8]
push 0x104
push eax
call fcn.1000c69f
add esp, 0xc
lea eax, [ebp + 0x1c8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10003e36
sub eax, edx
push eax
lea eax, [ebp + 0x1c8]
push eax
push 0x40
push dword [ebp - 0x5c]
call fcn.1000c707
add esp, 0x10
xor eax, eax
inc eax
pop ebx
mov ecx, dword [ebp + 0x2dc]
pop edi
xor ecx, ebp
pop esi
call fcn.1000b28c
add ebp, 0x2e0
leave
ret