Function at 0x471360
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f4cce
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x538074]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x180], esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x170], ebx
call fcn.00471d10
push ebx
call fcn.0047bcb0
add esp, 4
test al, al
je 0x471cd6
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
push eax
mov ecx, ebx
call fcn.00402f50
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
mov dword [ebp - 0x1ac], edi
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x471cd6
push 0x539b90
push edi
call fcn.004bed63
add esp, 8
mov ebx, eax
test ebx, ebx
je 0x471cd6
push ebx
push edi
push dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x170]
call fcn.00402f50
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x471430
push ebx
call fcn.004bec57
add esp, 4
jmp 0x471cd6
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x168]
push eax
push 0x50d0e4
push ebx
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueW]
call edi
test eax, eax
je 0x47147a
mov eax, dword [ebp - 0x168]
test eax, eax
je 0x47147a
cmp dword [ebp - 0x1c], 0x34
jne 0x47147a
push 0x34
push eax
push esi
call fcn.004c04a0
add esp, 0xc
xorps xmm0, xmm0
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], 0
xor eax, eax
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x28], eax
xor esi, esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 2
mov dword [ebp - 0x16c], esi
mov dword [ebp - 0x1c], esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x16c]
push eax
push str.VarFileInfoTranslation
push ebx
call edi
test eax, eax
je 0x471cc6
cmp dword [ebp - 0x16c], esi
je 0x471cc6
xor edi, edi
test dword [ebp - 0x1c], 0xfffffffc
jbe 0x4715be
nop dword [eax + eax]
mov eax, dword [ebp - 0x16c]
lea eax, [eax + edi*4]
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x178], esi
je 0x47152a
push esi
push 4
call fcn.00402080
add esp, 8
mov ecx, dword [ebp - 0x170]
mov ecx, dword [ecx]
mov dword [eax], ecx
add esi, 4
mov dword [ebp - 0x24], esi
mov ecx, dword [ebp - 0x178]
jmp 0x471549
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00471da0
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x178], ecx
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x16c]
cmp word [eax + edi*4], 0
jne 0x4715af
mov eax, dword [eax + edi*4]
mov dword [ebp - 0x174], eax
mov eax, 0x409
mov word [ebp - 0x174], ax
cmp ecx, esi
je 0x47158a
push esi
push 4
call fcn.00402080
add esp, 8
mov ecx, dword [ebp - 0x174]
mov dword [eax], ecx
add esi, 4
mov dword [ebp - 0x24], esi
jmp 0x4715af
lea eax, [ebp - 0x174]
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00471da0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x178], eax
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x17c], eax
inc edi
mov eax, dword [ebp - 0x1c]
shr eax, 2
cmp edi, eax
jb 0x4714f0
mov edi, dword [ebp - 0x17c]
mov dword [ebp - 0x170], edi
cmp edi, esi
je 0x471c64
mov eax, dword [ebp - 0x180]
lea ecx, [eax + 0x34]
mov dword [ebp - 0x174], ecx
lea ecx, [eax + 0x4c]
mov dword [ebp - 0x1a8], ecx
lea ecx, [eax + 0x64]
mov dword [ebp - 0x1a4], ecx
lea ecx, [eax + 0x7c]
mov dword [ebp - 0x1a0], ecx
lea ecx, [eax + 0x94]
mov dword [ebp - 0x19c], ecx
lea ecx, [eax + 0xac]
mov dword [ebp - 0x198], ecx
lea ecx, [eax + 0xc4]
mov dword [ebp - 0x194], ecx
lea ecx, [eax + 0xdc]
mov dword [ebp - 0x190], ecx
lea ecx, [eax + 0xf4]
mov dword [ebp - 0x18c], ecx
lea ecx, [eax + 0x10c]
mov dword [ebp - 0x188], ecx
lea ecx, [eax + 0x124]
mov dword [ebp - 0x184], ecx
add eax, 0x13c
mov dword [ebp - 0x180], eax
nop dword [eax + eax]
lea ecx, [ebp - 0x44]
call fcn.00403060
mov byte [ebp - 4], 3
movzx eax, word [edi + 2]
push eax
movzx eax, word [edi]
push eax
push str.StringFileInfo_04x_04x_
lea eax, [ebp - 0x44]
push eax
call fcn.00475220
push 0x5164d4
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x5c]
call fcn.00404720
add esp, 0x14
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x174]
call fcn.00402f40
test al, al
je 0x4716ea
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00402f50
push eax
push ebx
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueW]
call edi
test eax, eax
je 0x4716f0
mov edi, dword [ebp - 0x168]
test edi, edi
je 0x4716ea
push edi
call fcn.00403540
add esp, 4
push eax
push edi
mov ecx, dword [ebp - 0x174]
call fcn.00403270
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueW]
push 0x5164ec
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x74]
call fcn.00404720
add esp, 4
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x1a8]
call fcn.00402f40
test al, al
je 0x471751
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x74]
call fcn.00402f50
push eax
push ebx
call edi
test eax, eax
je 0x471751
mov edi, dword [ebp - 0x168]
test edi, edi
je 0x471751
push edi
call fcn.00403540
add esp, 4
push eax
push edi
mov ecx, dword [ebp - 0x1a8]
call fcn.00403270
push 0x516568
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x8c]
call fcn.00404720
add esp, 4
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1a4]
call fcn.00402f40
test al, al
je 0x4717be
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x8c]
call fcn.00402f50
push eax
push ebx
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueW]
call edi
test eax, eax
je 0x4717c4
mov edi, dword [ebp - 0x168]
test edi, edi
je 0x4717be
push edi
call fcn.00403540
add esp, 4
push eax
push edi
mov ecx, dword [ebp - 0x1a4]
call fcn.00403270
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueW]
push 0x516498
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0xa4]
call fcn.00404720
add esp, 4
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x1a0]
call fcn.00402f40
test al, al
je 0x47182b
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0xa4]
call fcn.00402f50
push eax
push ebx
call edi
test eax, eax
je 0x47182b
mov edi, dword [ebp - 0x168]
test edi, edi
je 0x47182b
push edi
call fcn.00403540
add esp, 4
push eax
push edi
mov ecx, dword [ebp - 0x1a0]
call fcn.00403270
push 0x5164b4
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0xbc]
call fcn.00404720
add esp, 4
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x19c]
call fcn.00402f40
test al, al
je 0x471898
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0xbc]
call fcn.00402f50
push eax
push ebx
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueW]
call edi
test eax, eax
je 0x47189e
mov edi, dword [ebp - 0x168]
test edi, edi
je 0x471898
push edi
call fcn.00403540
add esp, 4
push eax
push edi
mov ecx, dword [ebp - 0x19c]
call fcn.00403270
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueW]
push str.OriginalFileName
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0xd4]
call fcn.00404720
add esp, 4
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x198]
call fcn.00402f40
test al, al
je 0x471905
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0xd4]
call fcn.00402f50
push eax
push ebx
call edi
test eax, eax
je 0x471905
mov edi, dword [ebp - 0x168]
test edi, edi
je 0x471905
push edi
call fcn.00403540
add esp, 4
push eax
push edi
mov ecx, dword [ebp - 0x198]
call fcn.00403270
push 0x516480
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0xec]
call fcn.00404720
add esp, 4
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x194]
call fcn.00402f40
test al, al
je 0x471972
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0xec]
call fcn.00402f50
push eax
push ebx
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueW]
call edi
test eax, eax
je 0x471978
mov edi, dword [ebp - 0x168]
test edi, edi
je 0x471972
push edi
call fcn.00403540
add esp, 4
push eax
push edi
mov ecx, dword [ebp - 0x194]
call fcn.00403270
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueW]
push 0x51650c
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x104]
call fcn.00404720
add esp, 4
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x190]
call fcn.00402f40
test al, al
je 0x4719df
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x104]
call fcn.00402f50
push eax
push ebx
call edi
test eax, eax
je 0x4719df
mov edi, dword [ebp - 0x168]
test edi, edi
je 0x4719df
push edi
call fcn.00403540
add esp, 4
push eax
push edi
mov ecx, dword [ebp - 0x190]
call fcn.00403270
push 0x51646c
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x11c]
call fcn.00404720
add esp, 4
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x18c]
call fcn.00402f40
test al, al
je 0x471a4c
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x11c]
call fcn.00402f50
push eax
push ebx
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueW]
call edi
test eax, eax
je 0x471a52
mov edi, dword [ebp - 0x168]
test edi, edi
je 0x471a4c
push edi
call fcn.00403540
add esp, 4
push eax
push edi
mov ecx, dword [ebp - 0x18c]
call fcn.00403270
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueW]
push str.LegalTrademarks
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x134]
call fcn.00404720
add esp, 4
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x188]
call fcn.00402f40
test al, al
je 0x471ab9
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x134]
call fcn.00402f50
push eax
push ebx
call edi
test eax, eax
je 0x471ab9
mov edi, dword [ebp - 0x168]
test edi, edi
je 0x471ab9
push edi
call fcn.00403540
add esp, 4
push eax
push edi
mov ecx, dword [ebp - 0x188]
call fcn.00403270
push str.PrivateBuild
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x14c]
call fcn.00404720
add esp, 4
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x184]
call fcn.00402f40
test al, al
je 0x471b26
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x14c]
call fcn.00402f50
push eax
push ebx
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueW]
call edi
test eax, eax
je 0x471b2c
mov edi, dword [ebp - 0x168]
test edi, edi
je 0x471b26
push edi
call fcn.00403540
add esp, 4
push eax
push edi
mov ecx, dword [ebp - 0x184]
call fcn.00403270
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueW]
push str.SpecialBuild
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x164]
call fcn.00404720
add esp, 4
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x180]
call fcn.00402f40
test al, al
je 0x471b93
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x164]
call fcn.00402f50
push eax
push ebx
call edi
test eax, eax
je 0x471b93
mov edi, dword [ebp - 0x168]
test edi, edi
je 0x471b93
push edi
call fcn.00403540
add esp, 4
push eax
push edi
mov ecx, dword [ebp - 0x180]
call fcn.00403270
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x164]
call fcn.00402fc0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x14c]
call fcn.00402fc0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x134]
call fcn.00402fc0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x11c]
call fcn.00402fc0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x104]
call fcn.00402fc0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xec]
call fcn.00402fc0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xd4]
call fcn.00402fc0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xbc]
call fcn.00402fc0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xa4]
call fcn.00402fc0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x8c]
call fcn.00402fc0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x74]
call fcn.00402fc0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x5c]
call fcn.00402fc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.00402fc0
mov edi, dword [ebp - 0x170]
add edi, 4
mov dword [ebp - 0x170], edi
cmp edi, esi
jne 0x471660
push ebx
call fcn.004bec57
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x17c]
test edx, edx
je 0x471cc2
mov ecx, dword [ebp - 0x178]
sub ecx, edx
and ecx, 0xfffffffc
mov eax, edx
cmp ecx, 0x1000
jb 0x471ca3
add ecx, 0x23
mov edx, dword [edx - 4]
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x471d06
push ecx
push edx
call fcn.004be541
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov al, 1
jmp 0x471cd8
push ebx
call fcn.004bec57
add esp, 4
mov dword [ebp - 4], 0xffffffff
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004be500
mov esp, ebp
pop ebp
ret 4
call fcn.004c40d9
int3