Function at 0x41d19c
Capabilities:
Get file version info

Disassembly:
sub esp, 0x74
push ebx
push ebp
mov ebp, dword [esp + 0x80]
push esi
mov esi, ecx
push edi
test ebp, ebp
mov dword [esp + 0x18], esi
jne 0x41d1b4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x74
ret 8
mov ebx, dword [esp + 0x8c]
mov ecx, 0x7a
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
push ebp
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
mov dword [esp + 0x14], eax
jne 0x41d1f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 8], eax
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x74
ret 8
push eax
call fcn.004eae0a
mov esi, eax
add esp, 4
test esi, esi
jne 0x41d21a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov dword [ecx + 8], eax
xor eax, eax
pop ebx
add esp, 0x74
ret 8
mov ecx, dword [esp + 0x14]
xor eax, eax
mov edx, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push esi
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x18]
push eax
push 0
push ebp
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x41d264
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x18]
push esi
mov dword [ecx + 8], eax
call fcn.004eae33
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret 8
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
push edx
push eax
push 0x5430f4
push esi
mov dword [esp + 0x20], 0
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x41d29a
push esi
call fcn.004eae33
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret 8
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 8]
mov dword [ebx], ecx
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
push ecx
push str.VarFileInfoTranslation
push esi
mov dword [ebx + 4], edx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x41d2d7
push esi
call fcn.004eae33
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret 8
mov eax, dword [esp + 0x10]
mov ecx, 0x18
lea edi, [esp + 0x21]
mov bp, word [eax]
mov dx, word [eax + 2]
xor eax, eax
mov byte [esp + 0x20], 0
rep stosd dword es:[edi], eax
mov ebx, edx
and ebp, 0xffff
and ebx, 0xffff
lea edx, [esp + 0x20]
stosw word es:[edi], ax
push ebx
push ebp
push str.StringFileInfo_04X_04XFileDescription
push edx
stosb byte es:[edi], al
call fcn.00435fc3
add esp, 0x10
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x20]
push eax
push ecx
push edx
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x41d34c
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 0x10]
push 0x4f
add ecx, 8
push eax
push ecx
call fcn.004359e0
add esp, 0xc
push ebx
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x24]
push ebp
lea edx, [esp + 0x28]
push str.StringFileInfo_04X_04XCompanyName
push edx
rep stosd dword es:[edi], eax
call fcn.00435fc3
add esp, 0x10
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x20]
push eax
push ecx
push edx
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x41d3a3
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 0x10]
push 0x4f
add ecx, 0x148
push eax
push ecx
call fcn.004359e0
add esp, 0xc
push ebx
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x24]
push ebp
lea edx, [esp + 0x28]
push str.StringFileInfo_04X_04XInternalName
push edx
rep stosd dword es:[edi], eax
call fcn.00435fc3
add esp, 0x10
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x20]
push eax
push ecx
push edx
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x41d3fa
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 0x10]
push 0x4f
add ecx, 0xa8
push eax
push ecx
call fcn.004359e0
add esp, 0xc
push ebx
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x24]
push ebp
lea edx, [esp + 0x28]
push str.StringFileInfo_04X_04XOriginalFilename
push edx
rep stosd dword es:[edi], eax
call fcn.00435fc3
add esp, 0x10
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x20]
push eax
push ecx
push edx
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x41d44e
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 0x10]
push 0x4f
add ecx, 0x58
push eax
push ecx
call fcn.004359e0
add esp, 0xc
push ebx
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x24]
push ebp
lea edx, [esp + 0x28]
push str.StringFileInfo_04X_04XProductName
push edx
rep stosd dword es:[edi], eax
call fcn.00435fc3
add esp, 0x10
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x20]
push eax
push ecx
push edx
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x41d4a5
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 0x10]
push 0x4f
add ecx, 0xf8
push eax
push ecx
call fcn.004359e0
add esp, 0xc
push ebx
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x24]
push ebp
lea edx, [esp + 0x28]
push str.StringFileInfo_04X_04XLegalCopyright
push edx
rep stosd dword es:[edi], eax
call fcn.00435fc3
add esp, 0x10
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x20]
push eax
push ecx
push edx
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x41d4fc
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 0x10]
push 0x4f
add ecx, 0x198
push eax
push ecx
call fcn.004359e0
add esp, 0xc
push esi
call fcn.004eae33
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret 8