Function at 0x10150fa0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102b3173
mov eax, dword fs:[0]
push eax
sub esp, 0x190
mov eax, dword [0x10373f78]
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 ecx, ecx
mov edi, dword [ebp + 0xc]
mov eax, esi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], ecx
cmp dword [esi + 0x14], 8
jb 0x10150fe5
mov eax, dword [esi]
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x101510bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x715
je 0x10151091
sub esp, 8
mov eax, esi
cmp dword [esi + 0x14], 8
mov ecx, esp
jb 0x10151018
mov eax, dword [esi]
mov dword [ecx], eax
mov eax, dword [esi + 0x10]
mov dword [ecx + 4], eax
lea eax, [ebp - 0x28]
push eax
call fcn.1013d280
add esp, 0xc
mov esi, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 1
call sub.KERNEL32.dll_GetLastError
push eax
push 1
push 0x1f
push str.C:jenkinsworkspaceext_win_buildexternals_srccrashpadutilwinmodule_version.cc
push str.bool___cdecl_crashpad::GetModuleVersionAndType_const_class_base::FilePath__struct_tagVS_FIXEDFILEINFO__
lea ecx, [ebp - 0xec]
call fcn.1012f040
mov ecx, 3
mov dword [ebp - 4], 1
push str.GetFileVersionInfoSize:
push eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
call fcn.1005d660
mov ecx, dword [esi + 0x10]
add esp, 8
cmp dword [esi + 0x14], 0x10
jb 0x10151086
mov esi, dword [esi]
push ecx
push esi
push eax
call fcn.1009d6c0
add esp, 0xc
mov eax, dword [ebp - 0x34]
test al, 2
je 0x101510ac
and eax, 0xfffffffd
lea ecx, [ebp - 0xec]
mov dword [ebp - 0x34], eax
call fcn.1012f290
mov eax, dword [ebp - 0x34]
test al, 1
je 0x101510b8
lea ecx, [ebp - 0x28]
call fcn.1004db90
xor al, al
jmp 0x1015122c
push eax
call fcn.102653f8
add esp, 4
mov dword [ebp - 0x34], eax
cmp dword [esi + 0x14], 8
mov ecx, esi
mov dword [ebp - 4], 2
jb 0x101510dc
mov ecx, dword [esi]
push eax
push dword [ebp - 0x30]
push 0
push ecx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x10151190
sub esp, 8
mov eax, esi
cmp dword [esi + 0x14], 8
mov ecx, esp
jb 0x101510ff
mov eax, dword [esi]
mov dword [ecx], eax
mov eax, dword [esi + 0x10]
mov dword [ecx + 4], eax
lea eax, [ebp - 0x28]
push eax
call fcn.1013d280
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x30], 4
call sub.KERNEL32.dll_GetLastError
push eax
push 1
push 0x26
push str.C:jenkinsworkspaceext_win_buildexternals_srccrashpadutilwinmodule_version.cc
push str.bool___cdecl_crashpad::GetModuleVersionAndType_const_class_base::FilePath__struct_tagVS_FIXEDFILEINFO__
lea ecx, [ebp - 0xec]
call fcn.1012f040
push str.GetFileVersionInfo:
push eax
mov dword [ebp - 4], 4
mov dword [ebp - 0x30], 0xc
call fcn.1005d660
mov ecx, dword [esi + 0x10]
add esp, 8
cmp dword [esi + 0x14], 0x10
jb 0x10151166
mov esi, dword [esi]
push ecx
push esi
push eax
call fcn.1009d6c0
add esp, 0xc
lea ecx, [ebp - 0xec]
call fcn.1012f290
lea ecx, [ebp - 0x28]
call fcn.1004db90
mov esi, dword [ebp - 0x34]
mov byte [ebp - 0x29], 0
jmp 0x1015121c
mov esi, dword [ebp - 0x34]
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x38]
push eax
push 0x10334898
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x101511f3
call sub.KERNEL32.dll_GetLastError
push eax
push 1
push 0x30
push str.C:jenkinsworkspaceext_win_buildexternals_srccrashpadutilwinmodule_version.cc
push str.bool___cdecl_crashpad::GetModuleVersionAndType_const_class_base::FilePath__struct_tagVS_FIXEDFILEINFO__
lea ecx, [ebp - 0x19c]
call fcn.1012f040
push str.VerQueryValue
push eax
mov byte [ebp - 4], 5
mov dword [ebp - 0x30], 0x10
call fcn.1005d660
add esp, 8
lea ecx, [ebp - 0x19c]
call fcn.1012f290
mov byte [ebp - 0x29], 0
jmp 0x1015121c
mov eax, dword [ebp - 0x38]
mov byte [ebp - 0x29], 1
movups xmm0, xmmword [eax]
movups xmmword [edi], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [edi + 0x10], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [edi + 0x20], xmm0
mov eax, dword [eax + 0x30]
mov dword [edi + 0x30], eax
mov eax, dword [edi + 0x18]
and dword [edi + 0x1c], eax
test esi, esi
je 0x10151229
push esi
call fcn.102653f3
add esp, 4
mov al, byte [ebp - 0x29]
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.102649e4
mov esp, ebp
pop ebp
ret