Function at 0x1001b570
Capabilities:
Get file version info

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b9175
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0x102100f8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x40]
push eax
push str.kernel32.dll
push 2
mov dword [ebp - 0x40], 0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeExW]
mov ecx, eax
xor esi, esi
xor edi, edi
mov dword [ebp - 0x3c], ecx
xor eax, eax
mov dword [ebp - 0x50], esi
xor edx, edx
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x34], eax
test ecx, ecx
je 0x1001b656
cmp ecx, 0x7fffffff
ja 0x1001b82d
cmp ecx, 0x1000
jb 0x1001b629
lea eax, [ecx + 0x23]
cmp eax, ecx
jbe 0x1001b832
push eax
call fcn.101559fd
add esp, 4
test eax, eax
je 0x1001b837
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x1001b634
push ecx
call fcn.101559fd
add esp, 4
mov esi, eax
mov eax, dword [ebp - 0x3c]
push eax
push 0
push esi
lea edi, [esi + eax]
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x48], edi
call fcn.101583f0
add esp, 0xc
mov dword [ebp - 0x4c], edi
mov edx, edi
mov dword [ebp - 0x34], esi
mov eax, esi
push esi
sub edx, eax
mov dword [ebp - 4], 0
push edx
push dword [ebp - 0x40]
push str.kernel32.dll
push 2
call dword [sym.imp.VERSION.dll_GetFileVersionInfoExW]
test eax, eax
jne 0x1001b6cf
mov eax, dword [ebp - 0x30]
mov ecx, eax
push 6
push str.failed
mov dword [eax], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
call fcn.100049f0
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x1001b80c
sub edi, eax
cmp edi, 0x1000
jb 0x1001b6c8
mov ecx, dword [eax - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b837
mov eax, ecx
push edi
push eax
jmp 0x1001b804
lea eax, [ebp - 0x44]
mov dword [ebp - 0x38], 0
push eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x44], 0
push eax
push 0x101ed5c8
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
cmp dword [ebp - 0x44], 0x34
jae 0x1001b70b
push 0x41
push 0x101ed5d0
push str.size___sizeof_VS_FIXEDFILEINFO_
call fcn.1017e55f
add esp, 0xc
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x1001b72f
push 0x42
push 0x101ed5d0
push str.lplpBuffer___nullptr
call fcn.1017e55f
mov eax, dword [ebp - 0x38]
add esp, 0xc
mov dword [ebp - 0x34], eax
push 7
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
push str.Windows
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.100049f0
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 1
movzx ecx, word [eax + 0xa]
cmp ecx, 0xa
jne 0x1001b76e
push 0x101ed6d8
jmp 0x1001b7a0
cmp ecx, 6
jne 0x1001b7a8
movzx eax, word [eax + 8]
cmp eax, 3
jne 0x1001b783
push 0x101ed6dc
jmp 0x1001b7a0
cmp eax, 2
jne 0x1001b78f
push 0x101ed6e0
jmp 0x1001b7a0
cmp eax, 1
jne 0x1001b79b
push 0x101ed6e4
jmp 0x1001b7a0
push str.Vista
lea ecx, [ebp - 0x2c]
call fcn.10003cc0
mov eax, dword [ebp - 0x30]
movups xmm0, xmmword [ebp - 0x2c]
mov byte [ebp - 0x2c], 0
mov dword [eax], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [eax + 0x10], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
test esi, esi
je 0x1001b80f
sub edi, esi
mov eax, esi
cmp edi, 0x1000
jb 0x1001b802
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b837
push edi
push esi
call fcn.10155db7
add esp, 8
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101559ea
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1000fdf0
call fcn.10001e90
call fcn.1017e89f
int3