Function at 0x2481b90
Capabilities:
Check os version

Disassembly:
sub esp, 0x130
mov eax, dword [0x2492060]
xor eax, esp
mov dword [esp + 0x12c], eax
mov eax, dword [0x2493ccc]
push ebp
xor ebp, ebp
push esi
mov esi, 0x20
cmp eax, ebp
jne 0x2481e60
push ebx
push edi
push str.IsWow64Process
push str.kernel32
mov dword [0x2493ccc], ebp
mov dword [esp + 0x20], ebp
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov edi, eax
cmp edi, ebp
je 0x2481bf3
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
cmp dword [esp + 0x18], ebp
je 0x2481bfe
mov esi, pe_nt_image_headers32
push str.ntdll.dll
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x20], ebp
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
cmp edi, ebp
je 0x2481e59
push str.RtlGetNtVersionNumbers
push edi
call ebx
cmp eax, ebp
je 0x2481e52
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x1c]
push ecx
call eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 0x14]
cmp eax, 4
jne 0x2481c75
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x2481c66
cmp eax, 0xa
je 0x2481c66
cmp eax, 0x5a
jne 0x2481e59
mov dword [0x2493ccc], 1
jmp 0x2481e59
cmp eax, 5
jne 0x2481cff
mov eax, dword [esp + 0x10]
cmp eax, ebp
jne 0x2481c95
mov dword [0x2493ccc], 2
jmp 0x2481e59
cmp eax, 1
jne 0x2481cc8
cmp si, 0x20
jne 0x2481caf
mov dword [0x2493ccc], 4
jmp 0x2481e59
cmp si, 0x40
jne 0x2481e59
mov dword [0x2493ccc], 8
jmp 0x2481e59
cmp eax, 2
jne 0x2481e59
cmp si, 0x20
jne 0x2481ce6
mov dword [0x2493ccc], 0x10
jmp 0x2481e59
cmp si, 0x40
jne 0x2481e59
mov dword [0x2493ccc], 0x20
jmp 0x2481e59
cmp eax, 6
jne 0x2481e2c
mov eax, dword [esp + 0x10]
cmp eax, ebp
jne 0x2481da0
push 0x11c
lea edx, [esp + 0x24]
push ebp
push edx
call fcn.02485770
add esp, 0xc
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x24], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp byte [esp + 0x13a], 3
jne 0x2481d72
cmp si, 0x20
jne 0x2481d59
mov dword [0x2493ccc], 0x100
jmp 0x2481e59
cmp si, 0x40
jne 0x2481e59
mov dword [0x2493ccc], 0x200
jmp 0x2481e59
cmp si, 0x20
jne 0x2481d87
mov dword [0x2493ccc], 0x40
jmp 0x2481e59
cmp si, 0x40
jne 0x2481e59
mov dword [0x2493ccc], 0x80
jmp 0x2481e59
cmp eax, 1
jne 0x2481dd3
cmp si, 0x20
jne 0x2481dba
mov dword [0x2493ccc], 0x400
jmp 0x2481e59
cmp si, 0x40
jne 0x2481e59
mov dword [0x2493ccc], 0x800
jmp 0x2481e59
cmp eax, 2
jne 0x2481dfc
cmp si, 0x20
jne 0x2481dea
mov dword [0x2493ccc], 0x1000
jmp 0x2481e59
cmp si, 0x40
jne 0x2481e59
mov dword [0x2493ccc], 0x2000
jmp 0x2481e59
cmp eax, 3
jne 0x2481e25
cmp si, 0x20
jne 0x2481e13
mov dword [0x2493ccc], 0x4000
jmp 0x2481e59
cmp si, 0x40
jne 0x2481e59
mov dword [0x2493ccc], 0x8000
jmp 0x2481e59
cmp eax, 4
jb 0x2481e59
jmp 0x2481e2e
jbe 0x2481e59
cmp si, 0x20
jne 0x2481e40
mov dword [0x2493ccc], 0x10000
jmp 0x2481e59
cmp si, 0x40
jne 0x2481e59
mov dword [0x2493ccc], 0x20000
jmp 0x2481e59
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x2493ccc]
pop edi
pop ebx
mov ecx, dword [esp + 0x134]
pop esi
pop ebp
xor ecx, esp
call fcn.02484512
add esp, 0x130
ret