Function at 0x41260e
Capabilities:
Get file version info

Disassembly:
push 0x114
mov eax, 0x49c5c0
call fcn.0045201c
mov dword [ebp - 0x54], edx
mov eax, ecx
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x48]
xor ebx, ebx
push ecx
push eax
mov dword [ebp - 0x48], ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test esi, esi
jne 0x412650
push str.updtDispDevEnumClass::GetBasicFileVersion_Failed
push 2
call fcn.00401235
pop ecx
pop ecx
xor al, al
jmp 0x412871
push ecx
push esi
lea ecx, [ebp - 0x64]
call fcn.0040a2ce
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x64]
call fcn.00401ffa
mov edi, eax
push dword [edi]
push esi
push ebx
push dword [ebp - 0x44]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x4126d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x120]
mov esi, eax
call fcn.00402a5a
mov edi, eax
mov byte [ebp - 4], 1
push str.GetBasicFileVersion::GetFileVersionInfo_FailedError_code_
push edi
call fcn.0040508d
pop ecx
pop ecx
push esi
mov ecx, edi
call fcn.00403c13
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.00402a43
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00402109
push eax
push 2
call fcn.00401235
pop ecx
pop ecx
mov byte [ebp - 4], 1
jmp 0x41284d
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0x4b6b54
push dword [edi]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x4127fa
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x120]
movzx esi, word [eax + 0xa]
movzx edi, word [eax + 8]
movzx ebx, word [eax + 0xe]
movzx eax, word [eax + 0xc]
mov dword [ebp - 0x50], eax
call fcn.00402a5a
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 3
push esi
mov esi, eax
mov ecx, esi
call fcn.0040b434
push 0x2e
push esi
call fcn.00405243
push 0
lea eax, [ebp - 0x78]
push 2
push eax
call fcn.00450dcf
add esp, 0x14
mov edx, eax
mov ecx, esi
call fcn.00407490
mov eax, dword [esi]
push 0x30
pop ecx
push edi
mov eax, dword [eax + 4]
mov word [eax + esi + 0x40], cx
mov ecx, esi
call fcn.0040b434
push 0x2e
push esi
call fcn.00405243
push 0
lea eax, [ebp - 0x88]
push 2
push eax
call fcn.00450dcf
add esp, 0x14
mov edx, eax
mov ecx, esi
call fcn.00407490
mov eax, dword [esi]
mov ecx, esi
push 0x30
pop edi
push ebx
mov eax, dword [eax + 4]
mov word [eax + esi + 0x40], di
call fcn.0040b434
push 0x2e
push esi
call fcn.00405243
xor ebx, ebx
lea eax, [ebp - 0x20]
push ebx
push 4
push eax
call fcn.00450dcf
add esp, 0x14
mov edx, eax
mov ecx, esi
call fcn.00407490
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x50]
mov eax, dword [eax + 4]
mov word [eax + esi + 0x40], di
call fcn.0040b434
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.00402a43
mov byte [ebp - 4], 4
push eax
mov ecx, dword [ebp - 0x54]
call fcn.0040165f
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.004020b0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x120]
call fcn.00402479
mov bl, 1
jmp 0x412863
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x120]
mov esi, eax
call fcn.00402a5a
mov edi, eax
mov byte [ebp - 4], 5
push str.GetBasicFileVersion::VerQueryValue_FailedError_code_
push edi
call fcn.0040508d
pop ecx
pop ecx
push esi
mov ecx, edi
call fcn.00403c13
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.00402a43
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
call fcn.00402109
push eax
push 2
call fcn.00401235
pop ecx
pop ecx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.004020b0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x120]
call fcn.00402479
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.004076a2
mov al, bl
call fcn.00451fc5
ret