Function at 0x4aeaf4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc0
mov eax, dword [0x565fa8]
mov edi, dword [ebp + 8]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, edi
cmp byte [edi + 0xb], 0
jns 0x4aeb17
mov eax, dword [edi]
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x4aeb92
mov esi, eax
push eax
call fcn.004e6883
add esp, 4
cmp byte [edi + 0xb], 0
mov ebx, eax
mov eax, edi
jns 0x4aeb3a
mov eax, dword [edi]
push ebx
push esi
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
mov dword [ebp - 0xcc], ebx
je 0x4aec4e
lea eax, [ebp - 0xc8]
lea ecx, [ebp - 0xc4]
push eax
push ecx
push 0x515e74
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4aecef
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp - 0xc4]
mov ecx, 0xd
mov bl, 1
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0x18]
and dword [eax + 0x1c], ecx
jmp 0x4aed38
push 1
call fcn.004278b0
add esp, 4
test al, al
je 0x4aec47
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x715
je 0x4aec47
call fcn.00427e80
lea ecx, [ebp - 0xb8]
push eax
push 1
push 0x1f
push str..._.._third_party_crashpad_crashpad_util_win_module_version.cc
call fcn.00428040
lea eax, [ebp - 0xb0]
push 0x18
push str.GetFileVersionInfoSize:
push eax
call fcn.00401965
add esp, 0xc
mov esi, eax
movzx eax, byte [edi + 0xb]
test al, al
jns 0x4aebf4
mov eax, dword [edi + 4]
mov edi, dword [edi]
lea ebx, [ebp - 0xc4]
push eax
push edi
push ebx
call fcn.0042fbe0
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x4aec19
mov eax, dword [ebp - 0xc0]
mov ebx, dword [ebp - 0xc4]
push eax
push ebx
push esi
call fcn.00401965
add esp, 0xc
xor eax, eax
cmp byte [ebp - 0xb9], al
jns 0x4aec3c
push dword [ebp - 0xc4]
call fcn.004e6856
add esp, 4
lea ecx, [ebp - 0xb8]
call fcn.00428100
xor ebx, ebx
jmp 0x4aed46
push 1
call fcn.004278b0
add esp, 4
test al, al
je 0x4aed36
call fcn.00427e80
lea ecx, [ebp - 0xb8]
push eax
push 1
push 0x26
push str..._.._third_party_crashpad_crashpad_util_win_module_version.cc
call fcn.00428040
lea eax, [ebp - 0xb0]
push 0x14
push str.GetFileVersionInfo:
push eax
call fcn.00401965
add esp, 0xc
mov esi, eax
movzx eax, byte [edi + 0xb]
test al, al
jns 0x4aec9f
mov eax, dword [edi + 4]
mov edi, dword [edi]
lea ebx, [ebp - 0xc4]
push eax
push edi
push ebx
call fcn.0042fbe0
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x4aecc4
mov eax, dword [ebp - 0xc0]
mov ebx, dword [ebp - 0xc4]
push eax
push ebx
push esi
call fcn.00401965
add esp, 0xc
xor eax, eax
cmp byte [ebp - 0xb9], al
jns 0x4aece7
push dword [ebp - 0xc4]
call fcn.004e6856
add esp, 4
lea ecx, [ebp - 0xb8]
jmp 0x4aed31
push 1
call fcn.004278b0
add esp, 4
test al, al
je 0x4aed36
call fcn.00427e80
lea esi, [ebp - 0xb8]
mov ecx, esi
push eax
push 1
push 0x31
push str..._.._third_party_crashpad_crashpad_util_win_module_version.cc
call fcn.00428040
lea eax, [ebp - 0xb0]
push 0xd
push str.VerQueryValue
push eax
call fcn.00401965
add esp, 0xc
mov ecx, esi
call fcn.00428100
xor ebx, ebx
push dword [ebp - 0xcc]
call fcn.004e688c
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e6891
mov eax, ebx
add esp, 0xc0
pop esi
pop edi
pop ebx
pop ebp
ret