Function at 0x3271b90
Capabilities:
Check os version

Disassembly:
sub esp, 0x130
mov eax, dword [0x3282060]
xor eax, esp
mov dword [esp + 0x12c], eax
mov eax, dword [0x3283ccc]
push ebp
xor ebp, ebp
push esi
mov esi, 0x20
cmp eax, ebp
jne 0x3271e60
push ebx
push edi
push str.IsWow64Process
push str.kernel32
mov dword [0x3283ccc], 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 0x3271bf3
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
cmp dword [esp + 0x18], ebp
je 0x3271bfe
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 0x3271e59
push str.RtlGetNtVersionNumbers
push edi
call ebx
cmp eax, ebp
je 0x3271e52
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 0x3271c75
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x3271c66
cmp eax, 0xa
je 0x3271c66
cmp eax, 0x5a
jne 0x3271e59
mov dword [0x3283ccc], 1
jmp 0x3271e59
cmp eax, 5
jne 0x3271cff
mov eax, dword [esp + 0x10]
cmp eax, ebp
jne 0x3271c95
mov dword [0x3283ccc], 2
jmp 0x3271e59
cmp eax, 1
jne 0x3271cc8
cmp si, 0x20
jne 0x3271caf
mov dword [0x3283ccc], 4
jmp 0x3271e59
cmp si, 0x40
jne 0x3271e59
mov dword [0x3283ccc], 8
jmp 0x3271e59
cmp eax, 2
jne 0x3271e59
cmp si, 0x20
jne 0x3271ce6
mov dword [0x3283ccc], 0x10
jmp 0x3271e59
cmp si, 0x40
jne 0x3271e59
mov dword [0x3283ccc], 0x20
jmp 0x3271e59
cmp eax, 6
jne 0x3271e2c
mov eax, dword [esp + 0x10]
cmp eax, ebp
jne 0x3271da0
push 0x11c
lea edx, [esp + 0x24]
push ebp
push edx
call fcn.03275770
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 0x3271d72
cmp si, 0x20
jne 0x3271d59
mov dword [0x3283ccc], 0x100
jmp 0x3271e59
cmp si, 0x40
jne 0x3271e59
mov dword [0x3283ccc], 0x200
jmp 0x3271e59
cmp si, 0x20
jne 0x3271d87
mov dword [0x3283ccc], 0x40
jmp 0x3271e59
cmp si, 0x40
jne 0x3271e59
mov dword [0x3283ccc], 0x80
jmp 0x3271e59
cmp eax, 1
jne 0x3271dd3
cmp si, 0x20
jne 0x3271dba
mov dword [0x3283ccc], 0x400
jmp 0x3271e59
cmp si, 0x40
jne 0x3271e59
mov dword [0x3283ccc], 0x800
jmp 0x3271e59
cmp eax, 2
jne 0x3271dfc
cmp si, 0x20
jne 0x3271dea
mov dword [0x3283ccc], 0x1000
jmp 0x3271e59
cmp si, 0x40
jne 0x3271e59
mov dword [0x3283ccc], 0x2000
jmp 0x3271e59
cmp eax, 3
jne 0x3271e25
cmp si, 0x20
jne 0x3271e13
mov dword [0x3283ccc], 0x4000
jmp 0x3271e59
cmp si, 0x40
jne 0x3271e59
mov dword [0x3283ccc], 0x8000
jmp 0x3271e59
cmp eax, 4
jb 0x3271e59
jmp 0x3271e2e
jbe 0x3271e59
cmp si, 0x20
jne 0x3271e40
mov dword [0x3283ccc], 0x10000
jmp 0x3271e59
cmp si, 0x40
jne 0x3271e59
mov dword [0x3283ccc], 0x20000
jmp 0x3271e59
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x3283ccc]
pop edi
pop ebx
mov ecx, dword [esp + 0x134]
pop esi
pop ebp
xor ecx, esp
call fcn.03274512
add esp, 0x130
ret