Function at 0x442130
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
mov eax, dword [0x45702c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x28], eax
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x44215e
mov eax, dword [edi]
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x44220f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x715
je 0x4421dc
sub esp, 8
mov eax, edi
cmp dword [edi + 0x14], 8
mov ecx, esp
jb 0x44218d
mov eax, dword [edi]
mov dword [ecx], eax
mov eax, dword [edi + 0x10]
mov dword [ecx + 4], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00409d90
add esp, 0xc
mov esi, eax
call sub.KERNEL32.dll_GetLastError
push eax
push 1
push 0x1f
push str..._src_util_win_module_version.cc
push str.bool___cdecl_crashpad::GetModuleVersionAndType_const_class_base::FilePath__struct_tagVS_FIXEDFILEINFO__
lea ecx, [ebp - 0xdc]
call fcn.00409060
push str.GetFileVersionInfoSize:
push eax
call fcn.004011c0
push esi
push eax
call fcn.00401060
add esp, 0x10
mov ebx, 3
test bl, 2
je 0x4421ef
lea ecx, [ebp - 0xdc]
and ebx, 0xfffffffd
call fcn.00409240
test bl, 1
je 0x4421fc
lea ecx, [ebp - 0x1c]
call fcn.00402050
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043c18a
mov esp, ebp
pop ebp
ret
push eax
call fcn.0043c1bb
add esp, 4
mov esi, eax
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x442224
mov eax, dword [edi]
push esi
push dword [ebp - 0x24]
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x4422a4
sub esp, 8
mov eax, edi
cmp dword [edi + 0x14], 8
mov ecx, esp
jb 0x442243
mov eax, dword [edi]
mov dword [ecx], eax
mov eax, dword [edi + 0x10]
mov dword [ecx + 4], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00409d90
add esp, 0xc
mov edi, eax
call sub.KERNEL32.dll_GetLastError
push eax
push 1
push 0x26
push str..._src_util_win_module_version.cc
push str.bool___cdecl_crashpad::GetModuleVersionAndType_const_class_base::FilePath__struct_tagVS_FIXEDFILEINFO__
lea ecx, [ebp - 0xdc]
call fcn.00409060
push str.GetFileVersionInfo:
push eax
call fcn.004011c0
push edi
push eax
call fcn.00401060
add esp, 0x10
lea ecx, [ebp - 0xdc]
call fcn.00409240
lea ecx, [ebp - 0x1c]
call fcn.00402050
xor bl, bl
jmp 0x442321
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x451e14
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x4422f7
call sub.KERNEL32.dll_GetLastError
push eax
push 1
push 0x30
push str..._src_util_win_module_version.cc
push str.bool___cdecl_crashpad::GetModuleVersionAndType_const_class_base::FilePath__struct_tagVS_FIXEDFILEINFO__
lea ecx, [ebp - 0xdc]
call fcn.00409060
push str.VerQueryValue
push eax
call fcn.004011c0
add esp, 8
lea ecx, [ebp - 0xdc]
call fcn.00409240
xor bl, bl
jmp 0x442321
mov eax, dword [ebp - 0x20]
mov bl, 1
mov ecx, dword [ebp - 0x28]
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [ecx + 0x20], xmm0
mov eax, dword [eax + 0x30]
mov dword [ecx + 0x30], eax
mov eax, dword [ecx + 0x18]
and dword [ecx + 0x1c], eax
test esi, esi
je 0x44232e
push esi
call fcn.0043c1c4
add esp, 4
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043c18a
mov esp, ebp
pop ebp
ret