Function at 0x2601b90
Capabilities:
Check os version

Disassembly:
sub esp, 0x130
mov eax, dword [str.FgGR]
xor eax, esp
mov dword [esp + 0x12c], eax
mov eax, dword [0x2613ccc]
push ebp
xor ebp, ebp
push esi
mov esi, 0x20
cmp eax, ebp
jne 0x2601e60
push ebx
push edi
push str.IsWow64Process
push str.kernel32
mov dword [0x2613ccc], 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 0x2601bf3
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
cmp dword [esp + 0x18], ebp
je 0x2601bfe
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 0x2601e59
push str.RtlGetNtVersionNumbers
push edi
call ebx
cmp eax, ebp
je 0x2601e52
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 0x2601c75
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x2601c66
cmp eax, 0xa
je 0x2601c66
cmp eax, 0x5a
jne 0x2601e59
mov dword [0x2613ccc], 1
jmp 0x2601e59
cmp eax, 5
jne 0x2601cff
mov eax, dword [esp + 0x10]
cmp eax, ebp
jne 0x2601c95
mov dword [0x2613ccc], 2
jmp 0x2601e59
cmp eax, 1
jne 0x2601cc8
cmp si, 0x20
jne 0x2601caf
mov dword [0x2613ccc], 4
jmp 0x2601e59
cmp si, 0x40
jne 0x2601e59
mov dword [0x2613ccc], 8
jmp 0x2601e59
cmp eax, 2
jne 0x2601e59
cmp si, 0x20
jne 0x2601ce6
mov dword [0x2613ccc], 0x10
jmp 0x2601e59
cmp si, 0x40
jne 0x2601e59
mov dword [0x2613ccc], 0x20
jmp 0x2601e59
cmp eax, 6
jne 0x2601e2c
mov eax, dword [esp + 0x10]
cmp eax, ebp
jne 0x2601da0
push 0x11c
lea edx, [esp + 0x24]
push ebp
push edx
call fcn.02605770
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 0x2601d72
cmp si, 0x20
jne 0x2601d59
mov dword [0x2613ccc], 0x100
jmp 0x2601e59
cmp si, 0x40
jne 0x2601e59
mov dword [0x2613ccc], 0x200
jmp 0x2601e59
cmp si, 0x20
jne 0x2601d87
mov dword [0x2613ccc], 0x40
jmp 0x2601e59
cmp si, 0x40
jne 0x2601e59
mov dword [0x2613ccc], 0x80
jmp 0x2601e59
cmp eax, 1
jne 0x2601dd3
cmp si, 0x20
jne 0x2601dba
mov dword [0x2613ccc], 0x400
jmp 0x2601e59
cmp si, 0x40
jne 0x2601e59
mov dword [0x2613ccc], 0x800
jmp 0x2601e59
cmp eax, 2
jne 0x2601dfc
cmp si, 0x20
jne 0x2601dea
mov dword [0x2613ccc], 0x1000
jmp 0x2601e59
cmp si, 0x40
jne 0x2601e59
mov dword [0x2613ccc], 0x2000
jmp 0x2601e59
cmp eax, 3
jne 0x2601e25
cmp si, 0x20
jne 0x2601e13
mov dword [0x2613ccc], 0x4000
jmp 0x2601e59
cmp si, 0x40
jne 0x2601e59
mov dword [0x2613ccc], 0x8000
jmp 0x2601e59
cmp eax, 4
jb 0x2601e59
jmp 0x2601e2e
jbe 0x2601e59
cmp si, 0x20
jne 0x2601e40
mov dword [0x2613ccc], 0x10000
jmp 0x2601e59
cmp si, 0x40
jne 0x2601e59
mov dword [0x2613ccc], 0x20000
jmp 0x2601e59
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x2613ccc]
pop edi
pop ebx
mov ecx, dword [esp + 0x134]
pop esi
pop ebp
xor ecx, esp
call fcn.02604512
add esp, 0x130
ret