Function at 0x6425d0
Capabilities:
Check os version
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x906648]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x130]
push edi
xor edi, edi
mov dword [ebp - 0x13c], ebx
push 0x118
push edi
push eax
mov dword [ebp - 0x144], edi
mov dword [ebp - 0x140], edi
mov dword [ebp - 0x138], edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x134], 0x11c
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x642645
pop edi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0063c972
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x144]
push eax
call fcn.0056d950
add esp, 0xc
test eax, eax
jne 0x64268c
mov eax, dword [ebp - 0x138]
cmp eax, 0x55f0
jb 0x64267c
mov ecx, 0xb
xor eax, eax
jmp 0x642698
cmp eax, 0x2710
jbe 0x64268c
mov ecx, 0xa
xor eax, eax
jmp 0x642698
mov eax, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x130]
cmp dword [ebp - 0x124], 2
push esi
jne 0x642879
cmp ecx, 0xb
jne 0x6426b5
mov esi, str.WIN11
jmp 0x642771
cmp ecx, 0xa
jne 0x6426cc
test eax, eax
jne 0x642879
mov esi, str.WIN10
jmp 0x642771
cmp ecx, 6
jne 0x642737
cmp eax, 3
jne 0x6426ec
cmp byte [ebp - 0x1a], 1
mov esi, str.WIN8.1
mov eax, str.WIN2K12R2
cmovne esi, eax
jmp 0x642771
cmp eax, 2
jne 0x642704
cmp byte [ebp - 0x1a], 1
mov esi, str.WIN8
mov eax, str.WIN2K12
cmovne esi, eax
jmp 0x642771
cmp eax, 1
jne 0x64271c
cmp byte [ebp - 0x1a], 1
mov esi, str.WIN7
mov eax, str.WIN2K8R2
cmovne esi, eax
jmp 0x642771
test eax, eax
jne 0x642879
cmp byte [ebp - 0x1a], 1
mov esi, str.WINVISTA
mov eax, str.WIN2K8
cmovne esi, eax
jmp 0x642771
cmp ecx, 5
jne 0x642763
cmp eax, 2
jne 0x642748
mov esi, str.WIN2K3
jmp 0x642771
cmp eax, 1
jne 0x642754
mov esi, str.WINXP
jmp 0x642771
test eax, eax
jne 0x642879
mov esi, str.WIN2K
jmp 0x642771
cmp ecx, 4
ja 0x642879
mov esi, str.WINNT
push esi
call fcn.004f36e0
push 0x52416d51
lea ebx, [eax + 8]
push ebx
call fcn.004f3590
mov ecx, dword [ebp - 0x13c]
add esp, 0xc
mov dword [ecx], eax
test eax, eax
jne 0x6427ac
mov edi, 0xc
pop esi
mov eax, edi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0063c972
mov esp, ebp
pop ebp
ret
push 0xa
lea eax, [ebp - 0x18]
mov dword [ebp - 8], edi
push eax
xorps xmm0, xmm0
push str.PROCESSOR_ARCHITECTURE
movups xmmword [ebp - 0x18], xmm0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x642803
test byte [0x9538a8], 1
je 0x6427ff
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Couldnt_find_ENV_variable_for_processor_architecture._err__0x_x
push 0x126
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_mapl_mapl_utils.cpp
push str.mapl_is_64BIT_OS
push dword [0x909f9c]
push 1
call fcn.004f21c0
add esp, 0x1c
xor ecx, ecx
jmp 0x64283f
lea eax, [ebp - 0x18]
push 0x704d88
push eax
call fcn.004f37c0
add esp, 8
test eax, eax
jne 0x64283a
push 0xa
lea eax, [ebp - 0x18]
push eax
push str.PROCESSOR_ARCHITEW6432
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x64283a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xcb
je 0x6427ff
mov ecx, 1
test ecx, ecx
mov edx, 0x6cae50
mov eax, 0x7821f8
cmove eax, edx
push eax
mov eax, dword [ebp - 0x13c]
push esi
push 0x6eaef8
push ebx
push dword [eax]
call fcn.004f3b60
add esp, 0x14
mov eax, edi
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0063c972
mov esp, ebp
pop ebp
ret
push 0x53416d51
push 0x6d6990
or edi, 0xffffffff
call fcn.004f3d00
add esp, 8
mov dword [ebx], eax
test eax, eax
mov ecx, 0xc
cmove edi, ecx
mov ecx, dword [ebp - 4]
pop esi
mov eax, edi
xor ecx, ebp
pop edi
pop ebx
call fcn.0063c972
mov esp, ebp
pop ebp
ret