Function at 0x419a00
Capabilities:
Check os version
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b076b
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x4e42e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], eax
mov word [ebp - 0x14], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 1
push eax
push 0x4bc4fc
push 2
call sub.VERSION.dll_GetFileVersionInfoSizeExW
test eax, eax
jne 0x419a86
xor edi, edi
jmp 0x419afb
lea ecx, [ebp - 0x65]
mov byte [ebp - 0x65], 0
push ecx
push eax
lea ecx, [ebp - 0x84]
call fcn.00418e10
mov eax, dword [ebp - 0x80]
mov edi, dword [ebp - 0x84]
sub eax, edi
je 0x419d3d
push edi
push eax
push 0
push 0x4bc4fc
push 2
call sub.VERSION.dll_GetFileVersionInfoExW
test eax, eax
je 0x419afb
lea eax, [ebp - 0x74]
mov dword [ebp - 0x70], 0
push eax
lea eax, [ebp - 0x70]
mov dword [ebp - 0x74], 0
push eax
push 0x4bb6f4
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x419af1
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x419af1
cmp dword [ebp - 0x74], 0x34
jae 0x419af3
xor eax, eax
test eax, eax
jne 0x419bc3
push 0x7530
mov ecx, 0x4e976c
call fcn.00424910
test al, al
je 0x419b93
call fcn.00425480
mov esi, eax
push str.Failed_to_get_OS_version
push esi
call fcn.0040b300
add esp, 8
lea eax, [ebp - 0x4c]
lea ecx, [esi + 4]
push eax
call fcn.00412740
push str.struct_System::OsVersion___thiscall_System::InfoImpl::getOsVersion_void_
push 0xde
push str......._src_systeminfo_impl.cpp
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 2
push eax
push 0x7530
push 0x4e976c
call fcn.004254b0
mov edx, dword [ebp - 0x38]
add esp, 0x18
cmp edx, 0x10
jb 0x419b90
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x419b86
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419d42
push edx
push ecx
call fcn.0047242a
add esp, 8
mov esi, dword [ebp - 0x6c]
movups xmm0, xmmword [ebp - 0x34]
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x24]
movq qword [esi + 0x10], xmm0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], eax
jmp 0x419ced
movzx edx, word [eax + 0xa]
movzx ecx, word [eax + 8]
mov ax, word [eax + 0xe]
mov word [ebp - 0x66], ax
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x88]
push eax
push 0
push 0
movzx eax, cx
push eax
movzx eax, dx
push eax
mov dword [ebp - 0x78], edx
mov word [ebp - 0x18], dx
mov dword [ebp - 0x6c], ecx
mov word [ebp - 0x16], cx
call dword [sym.imp.KERNEL32.dll_GetProductInfo]
test eax, eax
je 0x419c6d
push dword [ebp - 0x88]
lea eax, [ebp - 0x64]
push eax
call fcn.00419d50
lea ecx, [ebp - 0x34]
add esp, 8
cmp ecx, eax
je 0x419c42
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x90], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
jmp 0x419c57
movq xmm0, qword [ebp - 0x24]
movq qword [ebp - 0x90], xmm0
movups xmm0, xmmword [ebp - 0x34]
movups xmmword [ebp - 0x44], xmm0
lea ecx, [ebp - 0x64]
call fcn.00404260
movups xmm0, xmmword [ebp - 0x44]
movq xmm1, qword [ebp - 0x90]
jmp 0x419c76
movq xmm1, qword [ebp - 0x24]
movups xmm0, xmmword [ebp - 0x34]
mov ecx, dword [ebp - 0x78]
movzx eax, cx
cmp eax, 0xa
jne 0x419c88
mov eax, 1
jmp 0x419cc5
cmp eax, 6
jne 0x419cc3
mov eax, dword [ebp - 0x6c]
test ax, ax
jne 0x419c9c
mov eax, 5
jmp 0x419cc5
cmp ax, 1
jne 0x419ca9
mov eax, 4
jmp 0x419cc5
cmp ax, 2
jne 0x419cb6
mov eax, 2
jmp 0x419cc5
cmp ax, 3
jne 0x419cc3
mov eax, 3
jmp 0x419cc5
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq qword [esi + 0x10], xmm1
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x6c]
mov word [esi + 0x1e], ax
mov ax, word [ebp - 0x66]
mov word [esi + 0x1c], cx
mov word [esi + 0x20], ax
test edi, edi
je 0x419d1e
mov ecx, dword [ebp - 0x7c]
sub ecx, edi
cmp ecx, 0x1000
jb 0x419d14
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x419d42
mov edi, edx
push ecx
push edi
call fcn.0047242a
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00472897
mov esp, ebp
pop ebp
ret 4
call fcn.00419530
call fcn.0048d2da
int3