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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x5fc150]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
push 0x11c
push eax
mov dword [ebp - 0x144], eax
mov esi, ecx
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], eax
lea eax, [ebp - 0x120]
push eax
call fcn.00544020
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x4b4cda
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x4b4cda
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052c233
mov esp, ebp
pop ebp
ret
push str.GetNativeSystemInfo
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4b4d00
lea ecx, [ebp - 0x144]
push ecx
call eax
jmp 0x4b4d0d
lea eax, [ebp - 0x144]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [ebp - 0x144]
movzx ecx, dx
test ecx, ecx
je 0x4b4d3f
cmp ecx, 6
je 0x4b4d33
xor eax, eax
cmp ecx, 9
setne al
dec eax
and eax, 2
mov dword [esi + 0x234d4], eax
jmp 0x4b4d49
mov dword [esi + 0x234d4], 3
jmp 0x4b4d49
mov dword [esi + 0x234d4], 1
mov eax, dword [ebp - 0x110]
sub eax, 0
je 0x4b4eff
sub eax, 1
je 0x4b4e9e
sub eax, 1
jne 0x4b4cc9
mov eax, dword [ebp - 0x11c]
cmp eax, 0xa
jne 0x4b4d96
cmp dword [ebp - 0x118], 0
jne 0x4b4cc9
mov eax, 0xe
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052c233
mov esp, ebp
pop ebp
ret
cmp eax, 6
jne 0x4b4e08
mov eax, dword [ebp - 0x118]
cmp eax, 3
jne 0x4b4dba
mov eax, 0xd
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052c233
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x4b4dd3
mov eax, 0xc
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052c233
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x4b4dec
mov eax, 0xb
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052c233
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x4b4cc9
mov eax, 0xa
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052c233
mov esp, ebp
pop ebp
ret
cmp eax, 5
jne 0x4b4e81
mov eax, dword [ebp - 0x118]
cmp eax, 2
jne 0x4b4e4c
cmp byte [ebp - 6], 1
jne 0x4b4e38
cmp dx, 9
jne 0x4b4e38
mov eax, 9
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052c233
mov esp, ebp
pop ebp
ret
mov eax, 8
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052c233
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x4b4e65
mov eax, 7
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052c233
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x4b4cc9
mov eax, 6
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052c233
mov esp, ebp
pop ebp
ret
cmp eax, 4
ja 0x4b4cc9
mov eax, 5
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052c233
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x11c], 4
jne 0x4b4cc9
mov eax, dword [ebp - 0x118]
test eax, eax
jne 0x4b4ec9
mov eax, 2
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052c233
mov esp, ebp
pop ebp
ret
cmp eax, 0xa
jne 0x4b4ee2
mov eax, 3
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052c233
mov esp, ebp
pop ebp
ret
cmp eax, 0x5a
jne 0x4b4cc9
mov eax, 4
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052c233
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.0052c233
mov esp, ebp
pop ebp
ret