Function at 0x42c130
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x481e99
mov eax, dword fs:[0]
push eax
sub esp, 0x190
mov eax, dword [0x4a7018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x30], eax
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x34], eax
mov eax, esi
jb 0x42c173
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x42c277
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x715
je 0x42c249
sub esp, 8
mov eax, esi
cmp dword [esi + 0x14], 8
mov ecx, esp
jb 0x42c1a7
mov eax, dword [esi]
mov dword [ecx], eax
mov eax, dword [esi + 0x10]
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x28]
call fcn.00419fa0
add esp, 8
mov edi, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
lea ecx, [ebp - 0xec]
mov esi, eax
call fcn.004064e0
mov dword [ebp - 4], 1
push ecx
lea ecx, [ebp - 0xec]
mov dword [ebp - 0x54], str..._.._util_win_module_version.cc
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0x1f
mov dword [ebp - 0x48], 1
call fcn.0041b720
mov dword [ebp - 0x44], esi
mov eax, 3
mov dword [ebp - 4], 2
mov edx, str.GetFileVersionInfoSize:
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0xec]
mov dword [ebp - 0x30], eax
call fcn.00405b50
cmp dword [edi + 0x14], 0x10
mov edx, edi
jb 0x42c23c
mov edx, dword [edi]
push dword [edi + 0x10]
mov ecx, eax
call fcn.004082b0
add esp, 4
mov eax, dword [ebp - 0x34]
test al, 2
je 0x42c264
and eax, 0xfffffffd
lea ecx, [ebp - 0xec]
mov dword [ebp - 0x34], eax
call fcn.0041bc20
mov eax, dword [ebp - 0x34]
test al, 1
je 0x42c270
lea ecx, [ebp - 0x28]
call fcn.004015f0
xor al, al
jmp 0x42c406
push eax
call fcn.00457f17
add esp, 4
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 3
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x42c294
mov ecx, dword [esi]
push eax
push dword [ebp - 0x30]
push 0
push ecx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x42c372
sub esp, 8
mov eax, esi
cmp dword [esi + 0x14], 8
mov ecx, esp
jb 0x42c2b8
mov eax, dword [esi]
mov dword [ecx], eax
mov eax, dword [esi + 0x10]
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x28]
call fcn.00419fa0
add esp, 8
mov edi, eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x30], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
lea ecx, [ebp - 0xec]
mov esi, eax
call fcn.004064e0
mov dword [ebp - 4], 5
push ecx
lea ecx, [ebp - 0xec]
mov dword [ebp - 0x54], str..._.._util_win_module_version.cc
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0x26
mov dword [ebp - 0x48], 1
call fcn.0041b720
mov dword [ebp - 0x44], esi
mov dword [ebp - 4], 6
lea ecx, [ebp - 0xec]
mov edx, str.GetFileVersionInfo:
mov dword [ebp - 0x30], 0xc
call fcn.00405b50
cmp dword [edi + 0x14], 0x10
mov edx, edi
jb 0x42c346
mov edx, dword [edi]
push dword [edi + 0x10]
mov ecx, eax
call fcn.004082b0
add esp, 4
lea ecx, [ebp - 0xec]
call fcn.0041bc20
lea ecx, [ebp - 0x28]
call fcn.004015f0
mov esi, dword [ebp - 0x34]
mov byte [ebp - 0x29], 0
jmp 0x42c3fa
mov esi, dword [ebp - 0x34]
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x38]
push eax
push 0x497d64
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x42c3d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 1
push 0x30
push str..._.._util_win_module_version.cc
push ecx
lea ecx, [ebp - 0x19c]
call fcn.0041bb90
mov byte [ebp - 4], 7
mov edx, str.VerQueryValue
mov ecx, eax
mov dword [ebp - 0x30], 0x10
call fcn.00405b50
lea ecx, [ebp - 0x19c]
call fcn.0041bc20
mov byte [ebp - 0x29], 0
jmp 0x42c3fa
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
push esi
call fcn.00457ed4
mov al, byte [ebp - 0x29]
add esp, 4
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.00457ec6
mov esp, ebp
pop ebp
ret