Function at 0x4b2b30
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
cmp dword [0x5a51dc], 0
jne 0x4b2e07
mov dword [0x5a5110], 0x94
mov esi, esp
push 0x5a5110
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp esi, esp
call fcn.0052354c
cmp dword [0x5a5120], 2
jne 0x4b2d4e
mov dword [ebp - 4], 0x5a5124
cmp dword [ebp - 4], 0
je 0x4b2bcd
mov eax, dword [ebp - 4]
movsx ecx, byte [eax]
test ecx, ecx
je 0x4b2bb2
mov edx, dword [ebp - 4]
movzx eax, byte [edx]
push eax
call fcn.005263cd
add esp, 4
test eax, eax
jne 0x4b2bb2
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
jmp 0x4b2b8a
mov edx, dword [ebp - 4]
movsx eax, byte [edx]
test eax, eax
je 0x4b2bcd
mov ecx, dword [ebp - 4]
push ecx
call fcn.0052595c
add esp, 4
mov dword [0x5a51e0], eax
cmp dword [0x5a5114], 3
jae 0x4b2be5
mov dword [0x5a51dc], 1
jmp 0x4b2d49
cmp dword [0x5a5114], 3
jne 0x4b2c27
cmp dword [0x5a5114], 0x32
jae 0x4b2c03
mov dword [0x5a51dc], 1
jmp 0x4b2c22
cmp dword [0x5a5114], 0x32
jne 0x4b2c18
mov dword [0x5a51dc], 0x23
jmp 0x4b2c22
mov dword [0x5a51dc], 0x24
jmp 0x4b2d49
cmp dword [0x5a5114], 4
jne 0x4b2ca8
cmp dword [0x5a51e0], 2
jae 0x4b2c45
mov dword [0x5a51dc], 0x28
jmp 0x4b2ca3
cmp dword [0x5a51e0], 2
ja 0x4b2c5a
mov dword [0x5a51dc], 0x2a
jmp 0x4b2ca3
cmp dword [0x5a51e0], 3
ja 0x4b2c6f
mov dword [0x5a51dc], 0x2b
jmp 0x4b2ca3
cmp dword [0x5a51e0], 4
ja 0x4b2c84
mov dword [0x5a51dc], 0x2c
jmp 0x4b2ca3
cmp dword [0x5a51e0], 5
ja 0x4b2c99
mov dword [0x5a51dc], 0x2d
jmp 0x4b2ca3
mov dword [0x5a51dc], 0x2e
jmp 0x4b2d49
cmp dword [0x5a5114], 5
jne 0x4b2d3f
cmp dword [0x5a5118], 0
jne 0x4b2cf4
cmp dword [0x5a51e0], 0
jne 0x4b2cd3
mov dword [0x5a51dc], 0x32
jmp 0x4b2cf2
cmp dword [0x5a51e0], 1
jne 0x4b2ce8
mov dword [0x5a51dc], 0x33
jmp 0x4b2cf2
mov dword [0x5a51dc], 0x34
jmp 0x4b2d3d
cmp dword [0x5a5118], 2
jne 0x4b2d09
mov dword [0x5a51dc], 0x46
jmp 0x4b2d3d
cmp dword [0x5a51e0], 1
jae 0x4b2d1e
mov dword [0x5a51dc], 0x3c
jmp 0x4b2d3d
cmp dword [0x5a51e0], 1
jne 0x4b2d33
mov dword [0x5a51dc], 0x3d
jmp 0x4b2d3d
mov dword [0x5a51dc], 0x3e
jmp 0x4b2d49
mov dword [0x5a51dc], 0x3c
jmp 0x4b2e07
cmp dword [0x5a5120], 1
jne 0x4b2dfd
mov dword [ebp - 8], 0x5a5124
cmp dword [ebp - 8], 0
je 0x4b2d92
mov edx, dword [ebp - 8]
movsx eax, byte [edx]
test eax, eax
je 0x4b2d90
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx]
push edx
call fcn.005262dd
add esp, 4
test eax, eax
jne 0x4b2d90
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
jmp 0x4b2d68
jmp 0x4b2d99
mov dword [ebp - 8], 0x5a51e4
cmp dword [0x5a5118], 0xa
jae 0x4b2dc5
mov ecx, dword [ebp - 8]
movsx edx, byte [ecx]
cmp edx, 0x43
jge 0x4b2db9
mov dword [0x5a51dc], 0xa
jmp 0x4b2dc3
mov dword [0x5a51dc], 0xc
jmp 0x4b2dfb
cmp dword [0x5a5118], 0x5a
jae 0x4b2df1
mov eax, dword [ebp - 8]
movsx ecx, byte [eax]
cmp ecx, 0x41
jge 0x4b2de5
mov dword [0x5a51dc], 0xe
jmp 0x4b2def
mov dword [0x5a51dc], 0x10
jmp 0x4b2dfb
mov dword [0x5a51dc], 0x12
jmp 0x4b2e07
mov dword [0x5a51dc], 1
mov edx, dword [ebp + 8]
mov eax, dword [0x5a51dc]
mov dword [edx], eax
cmp dword [0x5a51dc], 1
jge 0x4b2e21
mov eax, 0x4e2e
jmp 0x4b2e23
xor eax, eax
pop esi
add esp, 8
cmp ebp, esp
call fcn.0052354c
mov esp, ebp
pop ebp
ret