Function at 0x494aa0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63cb21
mov eax, dword fs:[0]
push eax
sub esp, 0x4b8
mov eax, dword [0x6ae654]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x4b4], ebx
mov eax, dword [0x6c18b8]
test eax, eax
jne 0x494dee
push 0x24
call fcn.005a4b81
add esp, 4
mov dword [ebp - 0x4b4], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x494b08
mov ecx, eax
call fcn.00522a20
jmp 0x494b0a
xor eax, eax
mov dword [0x6c18b8], eax
lea eax, [ebp - 0x21c]
push 0x105
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.00460730
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x4c4]
push eax
lea eax, [ebp - 0x21c]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
lea ecx, [ebp - 0x280]
mov esi, eax
call fcn.00524180
push esi
lea ecx, [ebp - 0x280]
mov dword [ebp - 4], 1
call fcn.00524c30
mov edi, eax
lea eax, [ebp - 0x21c]
push edi
push esi
push 0
push eax
mov dword [ebp - 0x4c0], edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x494da6
lea eax, [ebp - 0x4b8]
push eax
lea eax, [ebp - 0x4bc]
push eax
push str.VarFileInfoTranslation
push edi
call sub.VERSION.dll_VerQueryValueW
mov eax, dword [ebp - 0x4bc]
lea ecx, [ebp - 0x264]
movzx edi, word [eax]
movzx esi, word [eax + 2]
call fcn.00522a20
push 0
push 0
lea ecx, [ebp - 0x4b0]
mov byte [ebp - 4], 2
call fcn.00527220
push 0
push 0
lea ecx, [ebp - 0x478]
mov byte [ebp - 4], 3
call fcn.00527220
push 0
push 0
lea ecx, [ebp - 0x440]
mov byte [ebp - 4], 4
call fcn.00527220
push 0
push 0
lea ecx, [ebp - 0x408]
mov byte [ebp - 4], 5
call fcn.00527220
push 0
push 0
lea ecx, [ebp - 0x3d0]
mov byte [ebp - 4], 6
call fcn.00527220
push 0
push 0
lea ecx, [ebp - 0x398]
mov byte [ebp - 4], 7
call fcn.00527220
push 0
push 0
lea ecx, [ebp - 0x360]
mov byte [ebp - 4], 8
call fcn.00527220
push 0
push 0
lea ecx, [ebp - 0x328]
mov byte [ebp - 4], 9
call fcn.00527220
push esi
lea ecx, [ebp - 0x2f0]
mov byte [ebp - 4], 0xa
call fcn.00526ff0
push edi
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 0xb
call fcn.00526ff0
push str.StringFileInfo_04x_04xProductName
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 0xc
call fcn.00522860
lea eax, [ebp - 0x4b0]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x478]
push eax
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x408]
push eax
lea eax, [ebp - 0x3d0]
push eax
lea eax, [ebp - 0x398]
push eax
lea eax, [ebp - 0x360]
push eax
lea eax, [ebp - 0x328]
push eax
lea eax, [ebp - 0x2f0]
push eax
lea eax, [ebp - 0x2b8]
push eax
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.00528ba0
add esp, 0x30
lea ecx, [ebp - 0x240]
call fcn.00522a50
lea ecx, [ebp - 0x2b8]
call fcn.005272e0
lea ecx, [ebp - 0x2f0]
call fcn.005272e0
lea ecx, [ebp - 0x328]
call fcn.005272e0
lea ecx, [ebp - 0x360]
call fcn.005272e0
lea ecx, [ebp - 0x398]
call fcn.005272e0
lea ecx, [ebp - 0x3d0]
call fcn.005272e0
lea ecx, [ebp - 0x408]
call fcn.005272e0
lea ecx, [ebp - 0x440]
call fcn.005272e0
lea ecx, [ebp - 0x478]
call fcn.005272e0
lea ecx, [ebp - 0x4b0]
mov byte [ebp - 4], 2
call fcn.005272e0
lea eax, [ebp - 0x4b8]
push eax
lea eax, [ebp - 0x4b4]
push eax
lea ecx, [ebp - 0x264]
call fcn.00522e30
push eax
push dword [ebp - 0x4c0]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x494d9b
push dword [ebp - 0x4b8]
mov ecx, dword [0x6c18b8]
push dword [ebp - 0x4b4]
call fcn.00523ab0
lea ecx, [ebp - 0x264]
call fcn.00522a50
lea ecx, [ebp - 0x280]
mov dword [ebp - 4], 0xffffffff
call fcn.005241b0
mov eax, dword [0x6c18b8]
test eax, eax
jne 0x494dee
lea ecx, [ebp - 0x240]
call fcn.00522a20
lea eax, [ebp - 0x240]
mov dword [ebp - 4], 0xe
push eax
mov ecx, ebx
call fcn.005226b0
lea ecx, [ebp - 0x240]
call fcn.00522a50
jmp 0x494df6
push eax
mov ecx, ebx
call fcn.005226b0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005a4e1e
mov esp, ebp
pop ebp
ret