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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fb075
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x537474]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 0x11c
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je case.0x43218f.3
lea ecx, [ebp - 0x16c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [ebp - 0x128]
mov dword [ebp - 0x134], edx
mov eax, dword [ebp - 0x134]
sub eax, 4
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 6
ja case.0x43218f.3
mov ecx, dword [ebp - 0x134]
jmp dword [ecx*4 + 0x432634]
mov edx, dword [ebp - 0x124]
mov dword [ebp - 0x138], edx
cmp dword [ebp - 0x138], 0
je 0x4321c6
cmp dword [ebp - 0x138], 0xa
je 0x432224
cmp dword [ebp - 0x138], 0x5a
je 0x43224a
jmp 0x43226e
cmp dword [ebp - 0x11c], 2
jne 0x4321f5
push str.Windows_NT_4.0
mov ecx, dword [ebp + 8]
call fcn.00405750
mov eax, dword [ebp - 0x130]
or eax, 1
mov dword [ebp - 0x130], eax
mov eax, dword [ebp + 8]
jmp 0x432619
cmp dword [ebp - 0x11c], 1
jne 0x432222
push str.Windows_95
mov ecx, dword [ebp + 8]
call fcn.00405750
mov ecx, dword [ebp - 0x130]
or ecx, 1
mov dword [ebp - 0x130], ecx
mov eax, dword [ebp + 8]
jmp 0x432619
jmp 0x43226e
push str.Windows_98
mov ecx, dword [ebp + 8]
call fcn.00405750
mov edx, dword [ebp - 0x130]
or edx, 1
mov dword [ebp - 0x130], edx
mov eax, dword [ebp + 8]
jmp 0x432619
push str.Windows_Me
mov ecx, dword [ebp + 8]
call fcn.00405750
mov eax, dword [ebp - 0x130]
or eax, 1
mov dword [ebp - 0x130], eax
mov eax, dword [ebp + 8]
jmp 0x432619
jmp case.0x43218f.3
mov ecx, dword [ebp - 0x124]
mov dword [ebp - 0x13c], ecx
cmp dword [ebp - 0x13c], 0
je 0x43229f
cmp dword [ebp - 0x13c], 1
je 0x4322c8
cmp dword [ebp - 0x13c], 2
je 0x4322ee
jmp 0x432356
push 0x502408
mov ecx, dword [ebp + 8]
call fcn.00405750
mov edx, dword [ebp - 0x130]
or edx, 1
mov dword [ebp - 0x130], edx
mov eax, dword [ebp + 8]
jmp 0x432619
push 0x502418
mov ecx, dword [ebp + 8]
call fcn.00405750
mov eax, dword [ebp - 0x130]
or eax, 1
mov dword [ebp - 0x130], eax
mov eax, dword [ebp + 8]
jmp 0x432619
movzx ecx, byte [ebp - 0x12]
cmp ecx, 1
jne 0x432329
movzx edx, word [ebp - 0x16c]
cmp edx, 9
jne 0x432329
push str.Windows_XP_Professional_x64_Edition
mov ecx, dword [ebp + 8]
call fcn.00405750
mov eax, dword [ebp - 0x130]
or eax, 1
mov dword [ebp - 0x130], eax
mov eax, dword [ebp + 8]
jmp 0x432619
movzx ecx, byte [ebp - 0x12]
cmp ecx, 3
jne 0x432356
push 0x502448
mov ecx, dword [ebp + 8]
call fcn.00405750
mov edx, dword [ebp - 0x130]
or edx, 1
mov dword [ebp - 0x130], edx
mov eax, dword [ebp + 8]
jmp 0x432619
jmp case.0x43218f.3
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x140], eax
cmp dword [ebp - 0x140], 3
ja case.default.0x43237a
mov ecx, dword [ebp - 0x140]
jmp dword [ecx*4 + 0x432650]
movzx edx, byte [ebp - 0x12]
cmp edx, 1
jne 0x4323b0
push 0x50245c
mov ecx, dword [ebp + 8]
call fcn.00405750
mov eax, dword [ebp - 0x130]
or eax, 1
mov dword [ebp - 0x130], eax
mov eax, dword [ebp + 8]
jmp 0x432619
push 0x50246c
mov ecx, dword [ebp + 8]
call fcn.00405750
mov ecx, dword [ebp - 0x130]
or ecx, 1
mov dword [ebp - 0x130], ecx
mov eax, dword [ebp + 8]
jmp 0x432619
movzx edx, byte [ebp - 0x12]
cmp edx, 1
jne 0x432408
push 0x502480
mov ecx, dword [ebp + 8]
call fcn.00405750
mov eax, dword [ebp - 0x130]
or eax, 1
mov dword [ebp - 0x130], eax
mov eax, dword [ebp + 8]
jmp 0x432619
push 0x50248c
mov ecx, dword [ebp + 8]
call fcn.00405750
mov ecx, dword [ebp - 0x130]
or ecx, 1
mov dword [ebp - 0x130], ecx
mov eax, dword [ebp + 8]
jmp 0x432619
movzx edx, byte [ebp - 0x12]
cmp edx, 1
jne 0x432460
push 0x5024a4
mov ecx, dword [ebp + 8]
call fcn.00405750
mov eax, dword [ebp - 0x130]
or eax, 1
mov dword [ebp - 0x130], eax
mov eax, dword [ebp + 8]
jmp 0x432619
push 0x5024b0
mov ecx, dword [ebp + 8]
call fcn.00405750
mov ecx, dword [ebp - 0x130]
or ecx, 1
mov dword [ebp - 0x130], ecx
mov eax, dword [ebp + 8]
jmp 0x432619
movzx edx, byte [ebp - 0x12]
cmp edx, 1
jne 0x4324b5
push 0x5024c4
mov ecx, dword [ebp + 8]
call fcn.00405750
mov eax, dword [ebp - 0x130]
or eax, 1
mov dword [ebp - 0x130], eax
mov eax, dword [ebp + 8]
jmp 0x432619
push 0x5024d0
mov ecx, dword [ebp + 8]
call fcn.00405750
mov ecx, dword [ebp - 0x130]
or ecx, 1
mov dword [ebp - 0x130], ecx
mov eax, dword [ebp + 8]
jmp 0x432619
jmp case.0x43218f.3
mov edx, dword [ebp - 0x124]
mov dword [ebp - 0x148], edx
cmp dword [ebp - 0x148], 0
je 0x4324f2
jmp case.0x43218f.3
movzx eax, byte [ebp - 0x12]
cmp eax, 1
jne 0x432521
push 0x5024e8
mov ecx, dword [ebp + 8]
call fcn.00405750
mov ecx, dword [ebp - 0x130]
or ecx, 1
mov dword [ebp - 0x130], ecx
mov eax, dword [ebp + 8]
jmp 0x432619
push str.Windows_Server_2016_Techical_Preview
mov ecx, dword [ebp + 8]
call fcn.00405750
mov edx, dword [ebp - 0x130]
or edx, 1
mov dword [ebp - 0x130], edx
mov eax, dword [ebp + 8]
jmp 0x432619
push 1
push 3
lea ecx, [ebp - 0x21c]
call fcn.00433030
mov dword [ebp - 4], 0
lea eax, [ebp - 0x21c]
test eax, eax
je 0x432576
lea ecx, [ebp - 0x21c]
add ecx, 0x10
mov dword [ebp - 0x144], ecx
jmp 0x432580
mov dword [ebp - 0x144], 0
push str.Windows_NT
mov edx, dword [ebp - 0x144]
push edx
call fcn.0040bd10
add esp, 8
push 0x502528
mov eax, dword [ebp - 0x128]
push eax
lea ecx, [ebp - 0x20c]
call fcn.00433470
push eax
call fcn.0040bd10
add esp, 8
push 0x50252c
mov ecx, dword [ebp - 0x124]
push ecx
lea ecx, [ebp - 0x20c]
call fcn.00433470
push eax
call fcn.0040bd10
add esp, 8
mov edx, dword [ebp - 0x120]
push edx
lea ecx, [ebp - 0x20c]
call fcn.00433470
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00436740
mov ecx, dword [ebp - 0x130]
or ecx, 1
mov dword [ebp - 0x130], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.00433890
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.00497ebf
mov esp, ebp
pop ebp
ret