Function at 0x562890
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c9193
mov eax, dword fs:[0]
push eax
sub esp, 0x190
mov eax, dword [0x78efc4]
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 0x5628d5
mov eax, dword [esi]
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x5629af
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x715
je 0x562981
sub esp, 8
mov eax, esi
cmp dword [esi + 0x14], 8
mov ecx, esp
jb 0x562908
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.0054eb50
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.00540930
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.004b47f0
mov ecx, dword [esi + 0x10]
add esp, 8
cmp dword [esi + 0x14], 0x10
jb 0x562976
mov esi, dword [esi]
push ecx
push esi
push eax
call fcn.004e4f80
add esp, 0xc
mov eax, dword [ebp - 0x34]
test al, 2
je 0x56299c
and eax, 0xfffffffd
lea ecx, [ebp - 0xec]
mov dword [ebp - 0x34], eax
call fcn.00540b80
mov eax, dword [ebp - 0x34]
test al, 1
je 0x5629a8
lea ecx, [ebp - 0x28]
call fcn.0044a090
xor al, al
jmp 0x562b1c
push eax
call fcn.00677c3e
add esp, 4
mov dword [ebp - 0x34], eax
cmp dword [esi + 0x14], 8
mov ecx, esi
mov dword [ebp - 4], 2
jb 0x5629cc
mov ecx, dword [esi]
push eax
push dword [ebp - 0x30]
push 0
push ecx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x562a80
sub esp, 8
mov eax, esi
cmp dword [esi + 0x14], 8
mov ecx, esp
jb 0x5629ef
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.0054eb50
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.00540930
push str.GetFileVersionInfo:
push eax
mov dword [ebp - 4], 4
mov dword [ebp - 0x30], 0xc
call fcn.004b47f0
mov ecx, dword [esi + 0x10]
add esp, 8
cmp dword [esi + 0x14], 0x10
jb 0x562a56
mov esi, dword [esi]
push ecx
push esi
push eax
call fcn.004e4f80
add esp, 0xc
lea ecx, [ebp - 0xec]
call fcn.00540b80
lea ecx, [ebp - 0x28]
call fcn.0044a090
mov esi, dword [ebp - 0x34]
mov byte [ebp - 0x29], 0
jmp 0x562b0c
mov esi, dword [ebp - 0x34]
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x38]
push eax
push 0x743380
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x562ae3
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.00540930
push str.VerQueryValue
push eax
mov byte [ebp - 4], 5
mov dword [ebp - 0x30], 0x10
call fcn.004b47f0
add esp, 8
lea ecx, [ebp - 0x19c]
call fcn.00540b80
mov byte [ebp - 0x29], 0
jmp 0x562b0c
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 0x562b19
push esi
call fcn.00677c39
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.006773ff
mov esp, ebp
pop ebp
ret