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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f0c48
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x65bf90]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0xf0]
xor ebx, ebx
push eax
mov dword [ebp - 0xcc], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea ecx, [ebp - 0xc8]
push ecx
mov dword [ebp - 0xc8], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x47bacc
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0xc4]
add eax, 0xfffffffc
cmp eax, 6
ja case.0x47b903.7
jmp dword [eax*4 + 0x47bb04]
mov eax, dword [ebp - 0xc0]
cmp eax, ebx
je 0x47b93a
cmp eax, 0xa
je 0x47b92e
cmp eax, 0x5a
jne 0x47ba4c
push 0x14
push str.Microsoft_Windows_Me
jmp 0x47ba44
push 0x14
push str.Microsoft_Windows_98
jmp 0x47ba44
mov eax, dword [ebp - 0xb8]
cmp eax, 2
jne 0x47b951
push 0x18
push str.Microsoft_Windows_NT_4.0
jmp 0x47ba44
cmp eax, 1
jne 0x47ba4c
push 0x14
push str.Microsoft_Windows_95
jmp 0x47ba44
mov eax, dword [ebp - 0xc0]
sub eax, ebx
je 0x47b9ce
dec eax
je 0x47b9c5
dec eax
jne 0x47ba4c
cmp byte [ebp - 0x2e], 1
jne 0x47b996
cmp word [ebp - 0xf0], 9
jne 0x47b996
push 0x2d
push str.Microsoft_Windows_XP_Professional_x64_Edition
jmp 0x47ba44
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x59
call edi
test eax, eax
jne 0x47b9b0
push 0x1d
push str.Microsoft_Windows_Server_2003
jmp 0x47ba44
push 0x59
call edi
test eax, eax
je 0x47ba4c
push 0x20
push str.Microsoft_Windows_Server_2003_R2
jmp 0x47ba44
push 0x14
push str.Microsoft_Windows_XP
jmp 0x47ba44
push 0x16
push str.Microsoft_Windows_2000
jmp 0x47ba44
mov eax, dword [ebp - 0xc0]
sub eax, ebx
je 0x47ba0b
dec eax
je 0x47b9f0
dec eax
jne 0x47ba4c
push 0x13
push str.Microsoft_Windows_8
jmp 0x47ba44
cmp byte [ebp - 0x2e], 1
lea ecx, [ebp - 0x2c]
jne 0x47ba02
push 0x13
push str.Microsoft_Windows_7
jmp 0x47ba47
push 0x20
push str.Microsoft_Windows_Server_2008_R2
jmp 0x47ba47
cmp byte [ebp - 0x2e], 1
lea ecx, [ebp - 0x2c]
jne 0x47ba1d
push 0x17
push str.Microsoft_Windows_Vista
jmp 0x47ba47
push 0x1d
push str.Microsoft_Windows_Server_2008
jmp 0x47ba47
cmp dword [ebp - 0xc0], ebx
jne case.0x47b903.7
push 0x14
push str.Microsoft_Windows_10
lea ecx, [ebp - 0x2c]
call fcn.004022cd
push 0xa
push str.Unknown_OS
lea ecx, [ebp - 0x2c]
call fcn.004022cd
lea edx, [ebp - 0x2c]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
cmp esi, edx
je 0x47bab8
mov edi, 0x10
cmp dword [esi + 0x14], edi
jb 0x47ba74
mov eax, dword [esi]
push eax
call fcn.004ba2af
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
cmp dword [ebp - 0x18], edi
jae 0x47baa5
mov ecx, dword [ebp - 0x1c]
inc ecx
push ecx
lea edx, [ebp - 0x2c]
push edx
push esi
call fcn.005bdd60
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
add esp, 0xc
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edx
jmp 0x47bae5
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov dword [esi], eax
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edx
jmp 0x47bae5
cmp dword [ebp - 0x18], 0x10
jb 0x47bae5
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004ba2af
add esp, 4
jmp 0x47bae5
push ebx
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push 0x627ca0
mov ecx, esi
mov byte [esi], bl
call fcn.004022cd
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005bdb17
mov esp, ebp
pop ebp
ret