Function at 0x4c1dc7
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xec
mov eax, dword [0x51a0a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x2c], edx
mov edi, ecx
mov ebx, eax
mov dword [ebp - 0x20], ebx
cmp dword [edi + 0x14], 8
jb 0x4c1df1
mov ecx, dword [edi]
push eax
push ecx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x4c1e9a
xor ecx, ecx
inc ecx
call fcn.0044bc30
test al, al
je 0x4c1e6f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x715
je 0x4c1e6f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 1
push 0x1f
push str..._.._third_party_crashpad_crashpad_util_win_module_version.cc
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0xe8], eax
call fcn.0044bca0
push ecx
push ecx
mov ecx, esp
push edi
call fcn.0041ad80
lea ecx, [ebp - 0x1c]
call fcn.00437c30
pop ecx
pop ecx
mov edx, str.GetFileVersionInfoSize:
lea ecx, [ebp - 0xd8]
mov esi, eax
call fcn.0041cec3
mov edx, esi
mov ecx, eax
call fcn.0041d02e
push 3
pop ebx
test bl, 2
je 0x4c1e82
lea ecx, [ebp - 0xe8]
and ebx, 0xfffffffd
call fcn.0044c710
test bl, 1
je 0x4c1e93
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.0041baed
xor al, al
jmp 0x4c1fdf
push eax
call fcn.004cbd7f
cmp dword [edi + 0x14], 8
mov esi, eax
pop ecx
mov dword [ebp - 0x20], esi
jb 0x4c1eb0
mov eax, dword [edi]
jmp 0x4c1eb2
mov eax, edi
push esi
push dword [ebp - 0x24]
push 0
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x4c1f4f
xor ecx, ecx
inc ecx
call fcn.0044bc30
test al, al
je 0x4c1f25
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 1
push 0x26
push str..._.._third_party_crashpad_crashpad_util_win_module_version.cc
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0xe8], eax
call fcn.0044bca0
push ecx
push ecx
mov ecx, esp
push edi
call fcn.0041ad80
lea ecx, [ebp - 0x1c]
call fcn.00437c30
pop ecx
pop ecx
mov edx, str.GetFileVersionInfo:
lea ecx, [ebp - 0xd8]
mov edi, eax
call fcn.0041cec3
mov edx, edi
mov ecx, eax
call fcn.0041d02e
push 0xc
pop ebx
test bl, 8
je 0x4c1f38
lea ecx, [ebp - 0xe8]
and ebx, 0xfffffff7
call fcn.0044c710
test bl, 4
je 0x4c1fb6
xor ebx, ebx
lea ecx, [ebp - 0x1c]
push ebx
push 1
call fcn.0041baed
jmp 0x4c1fd2
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x28]
push eax
push 0x4ff620
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x4c1fba
xor ecx, ecx
inc ecx
call fcn.0044bc30
test al, al
je 0x4c1fa6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 1
push 0x31
push str..._.._third_party_crashpad_crashpad_util_win_module_version.cc
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0xe8], eax
call fcn.0044bca0
mov edx, str.VerQueryValue
lea ecx, [ebp - 0xd8]
call fcn.0041cec3
push 0x10
pop ebx
test bl, 0x10
je 0x4c1fb6
lea ecx, [ebp - 0xe8]
call fcn.0044c710
xor ebx, ebx
jmp 0x4c1fd2
mov edx, dword [ebp - 0x2c]
mov bl, 1
mov esi, dword [ebp - 0x28]
mov edi, edx
push 0xd
pop ecx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [edx + 0x18]
and dword [edx + 0x1c], eax
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x4c1fdd
push esi
call fcn.004cb8b4
pop ecx
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004cb8a3
mov esp, ebp
pop ebp
ret