Function at 0x4f5d34
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc0
mov eax, dword [0x5a05c4]
mov edi, dword [ebp + 8]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, edi
cmp byte [edi + 0xb], 0
jns 0x4f5d57
mov eax, dword [edi]
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x4f5dd2
mov esi, eax
push eax
call fcn.00527303
add esp, 4
cmp byte [edi + 0xb], 0
mov ebx, eax
mov eax, edi
jns 0x4f5d7a
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 0x4f5e8e
lea eax, [ebp - 0xc8]
lea ecx, [ebp - 0xc4]
push eax
push ecx
push 0x555d86
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4f5f2f
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 0x4f5f78
push 1
call fcn.0043e5e0
add esp, 4
test al, al
je 0x4f5e87
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x715
je 0x4f5e87
call fcn.0043ef80
lea ecx, [ebp - 0xb8]
push eax
push 1
push 0x1f
push str..._.._third_party_crashpad_crashpad_util_win_module_version.cc
call fcn.0043f140
lea eax, [ebp - 0xb0]
push 0x18
push str.GetFileVersionInfoSize:
push eax
call fcn.004058b5
add esp, 0xc
mov esi, eax
movzx eax, byte [edi + 0xb]
test al, al
jns 0x4f5e34
mov eax, dword [edi + 4]
mov edi, dword [edi]
lea ebx, [ebp - 0xc4]
push eax
push edi
push ebx
call fcn.00449130
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x4f5e59
mov eax, dword [ebp - 0xc0]
mov ebx, dword [ebp - 0xc4]
push eax
push ebx
push esi
call fcn.004058b5
add esp, 0xc
xor eax, eax
cmp byte [ebp - 0xb9], al
jns 0x4f5e7c
push dword [ebp - 0xc4]
call fcn.005272d6
add esp, 4
lea ecx, [ebp - 0xb8]
call fcn.0043f200
xor ebx, ebx
jmp 0x4f5f86
push 1
call fcn.0043e5e0
add esp, 4
test al, al
je 0x4f5f76
call fcn.0043ef80
lea ecx, [ebp - 0xb8]
push eax
push 1
push 0x26
push str..._.._third_party_crashpad_crashpad_util_win_module_version.cc
call fcn.0043f140
lea eax, [ebp - 0xb0]
push 0x14
push str.GetFileVersionInfo:
push eax
call fcn.004058b5
add esp, 0xc
mov esi, eax
movzx eax, byte [edi + 0xb]
test al, al
jns 0x4f5edf
mov eax, dword [edi + 4]
mov edi, dword [edi]
lea ebx, [ebp - 0xc4]
push eax
push edi
push ebx
call fcn.00449130
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x4f5f04
mov eax, dword [ebp - 0xc0]
mov ebx, dword [ebp - 0xc4]
push eax
push ebx
push esi
call fcn.004058b5
add esp, 0xc
xor eax, eax
cmp byte [ebp - 0xb9], al
jns 0x4f5f27
push dword [ebp - 0xc4]
call fcn.005272d6
add esp, 4
lea ecx, [ebp - 0xb8]
jmp 0x4f5f71
push 1
call fcn.0043e5e0
add esp, 4
test al, al
je 0x4f5f76
call fcn.0043ef80
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.0043f140
lea eax, [ebp - 0xb0]
push 0xd
push str.VerQueryValue
push eax
call fcn.004058b5
add esp, 0xc
mov ecx, esi
call fcn.0043f200
xor ebx, ebx
push dword [ebp - 0xcc]
call fcn.0052730c
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00527311
mov eax, ebx
add esp, 0xc0
pop esi
pop edi
pop ebx
pop ebp
ret