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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x218
mov eax, dword [0x498068]
xor eax, esp
mov dword [esp + 0x214], eax
push esi
mov esi, ecx
mov dword [esp + 8], 0
push edi
mov dword [esi], 0
mov dword [esi + 0x18], 3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push str.IsWow64Process
push str.kernel32.dll
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4251da
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
push edi
call eax
test eax, eax
jne 0x4251d1
mov eax, 2
jmp 0x4251da
xor eax, eax
cmp dword [esp + 8], eax
setne al
push 0x118
mov dword [esi + 0x24], eax
lea eax, [esp + 0x100]
push 0
push eax
mov dword [esp + 0x104], 0x11c
call fcn.00452a30
add esp, 0xc
lea eax, [esp + 0xf8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov edx, dword [esp + 0xfc]
mov ecx, dword [esp + 0x100]
mov eax, dword [esp + 0x104]
mov dword [esi + 4], edx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
cmp edx, 5
jne 0x425248
test ecx, ecx
jle 0x4252de
xor eax, eax
cmp ecx, 1
setne al
inc eax
mov dword [esi], eax
jmp 0x4252de
cmp edx, 6
jne 0x42527d
cmp byte [esp + 0x212], 1
jne 0x425275
sub ecx, 0
je 0x42526d
sub ecx, 1
je 0x425265
mov dword [esi], edx
jmp 0x4252de
mov dword [esi], 5
jmp 0x4252de
mov dword [esi], 3
jmp 0x4252de
mov dword [esi], 4
jmp 0x4252de
cmp edx, 0xa
jne 0x42528a
mov dword [esi], 7
jmp 0x4252de
cmp edx, 6
jle 0x4252de
cmp dword [0x49ad14], 1
jne 0x4252c7
cmp dword [0x49ad28], 3
jg 0x4252c7
push 3
push 0x3e
push str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3_basewinwindows_version.cc
lea ecx, [esp + 0x54]
call fcn.00425970
mov edx, str.Check_failed:_false.
lea ecx, [eax + 8]
call fcn.00407b40
mov eax, 1
jmp 0x4252cb
mov eax, dword [esp + 0xc]
test al, 1
je 0x4252d8
lea ecx, [esp + 0x48]
call fcn.00425b00
mov dword [esi], 8
cmp dword [esi], 0
movzx eax, word [esp + 0x20c]
mov dword [esi + 0x10], eax
movzx eax, word [esp + 0x20e]
mov dword [esi + 0x14], eax
je 0x4253b1
xorps xmm0, xmm0
mov dword [esp + 0x30], 0
lea eax, [esp + 0x10]
movaps xmmword [esp + 0x10], xmm0
push eax
movaps xmmword [esp + 0x24], xmm0
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx eax, word [esp + 0x10]
test eax, eax
je 0x425386
cmp eax, 6
je 0x42535b
cmp eax, 9
jne 0x42538d
mov ecx, dword [esp + 0x24]
mov eax, esi
mov dword [esi + 0x1c], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x18], 1
mov dword [esi + 0x20], ecx
pop edi
pop esi
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.00450164
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x24]
mov eax, esi
mov dword [esi + 0x1c], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x18], 2
mov dword [esi + 0x20], ecx
pop edi
pop esi
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.00450164
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x18], 0
mov ecx, dword [esp + 0x24]
mov eax, esi
mov dword [esi + 0x1c], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x20], ecx
pop edi
pop esi
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.00450164
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x21c]
mov eax, esi
pop edi
mov dword [esi + 0x18], 3
pop esi
xor ecx, esp
call fcn.00450164
mov esp, ebp
pop ebp
ret