Function at 0x4171a0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x545e4b
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x5ec938]
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 eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
xor edi, edi
push edi
push eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0xb0], edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, edi
je 0x417419
lea edx, [esi + 1]
push edx
mov dword [ebp - 0xac], edi
mov dword [ebp - 0xa8], edi
call fcn.0042c8a4
mov edi, eax
add esp, 4
mov dword [ebp - 0xb4], edi
test edi, edi
je 0x417419
mov eax, dword [ebp - 0x9c]
push edi
push esi
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoW
xor esi, esi
test eax, eax
je 0x41740c
push 0x4e
lea edx, [ebp - 0x5e]
xor ecx, ecx
push esi
push edx
mov word [ebp - 0x60], cx
call fcn.0052c850
add esp, 0xc
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0xb0]
push ecx
push str.VarFileInfoTranslation
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x41740c
mov eax, dword [ebp - 0xb0]
mov edx, dword [ebp - 0xa0]
movzx ecx, word [eax + 2]
push edx
movzx edx, word [eax]
push ecx
push edx
push str.StringFileInfo_04x_04x_s
lea eax, [ebp - 0x60]
push 0x28
push eax
call fcn.0052d99b
add esp, 0x18
lea ecx, [ebp - 0xa8]
push ecx
lea edx, [ebp - 0xac]
push edx
lea eax, [ebp - 0x60]
push eax
push edi
call sub.VERSION.dll_VerQueryValueW
cmp eax, esi
je 0x41740c
mov ecx, dword [ebp - 0xac]
push ecx
lea ecx, [ebp - 0x98]
call fcn.0040d640
xor edi, edi
xor eax, eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
lea edx, [ebx + 4]
mov dword [ebx + 0xc], eax
mov dword [ebp - 4], esi
mov dword [ebp - 0xa4], esi
mov dword [ebx + 0x10], eax
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0xa0], edx
lea esp, [esp]
push 0xa
push edi
push str.0123456789
lea ecx, [ebp - 0x98]
call fcn.00409660
mov esi, eax
cmp esi, 0xffffffff
je 0x4173e1
push 3
push esi
push 0x558788
lea ecx, [ebp - 0x98]
call fcn.00409660
mov edi, eax
cmp edi, 0xffffffff
je 0x41739c
sub eax, esi
push eax
push esi
lea ecx, [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x98]
call fcn.0040d690
cmp dword [ebp - 0x6c], 0
je 0x417374
cmp dword [ebp - 0x68], 8
mov eax, dword [ebp - 0x7c]
jae 0x41735d
lea eax, [ebp - 0x7c]
push eax
call fcn.0052d9f0
mov edx, dword [ebp - 0xa0]
add esp, 4
inc dword [ebp - 0xa4]
mov dword [edx], eax
lea ecx, [ebp - 0x7c]
inc edi
call fcn.0040a040
mov eax, dword [ebp - 0x9c]
add dword [ebp - 0xa0], 4
inc eax
mov dword [ebp - 0x9c], eax
cmp eax, 4
jl 0x417300
jmp 0x4173e1
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x98]
call fcn.0040d690
cmp dword [ebp - 0x6c], 0
je 0x4173d9
cmp dword [ebp - 0x68], 8
mov eax, dword [ebp - 0x7c]
jae 0x4173c0
lea eax, [ebp - 0x7c]
push eax
call fcn.0052d9f0
mov ecx, dword [ebp - 0x9c]
add esp, 4
inc dword [ebp - 0xa4]
mov dword [ebx + ecx*4 + 4], eax
lea ecx, [ebp - 0x7c]
call fcn.0040a040
cmp dword [ebp - 0x84], 8
mov edx, dword [ebp - 0xa4]
mov dword [ebx], edx
mov esi, 1
jb 0x417406
mov eax, dword [ebp - 0x98]
push eax
call fcn.0042c8af
add esp, 4
mov edi, dword [ebp - 0xb4]
push edi
call fcn.0042c8af
add esp, 4
mov eax, esi
jmp 0x41741b
xor eax, eax
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.0052c2ec
mov esp, ebp
pop ebp
ret 0xc