Function at 0x471ffc
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x32
push 0
push 0
dec ecx
jne 0x472004
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x472549
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x47205e
push 0x105
lea eax, [ebp - 0x159]
push eax
mov eax, dword [0x48b664]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea edx, [ebp - 0x160]
lea eax, [ebp - 0x159]
call fcn.00408fe4
mov edx, dword [ebp - 0x160]
mov eax, dword [ebp - 4]
add eax, 0x34
call fcn.004040ac
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.00404518
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
seta al
mov edx, dword [ebp - 4]
mov byte [edx + 0x3c], al
test al, al
je 0x4723e5
mov eax, dword [ebp - 0x18]
call fcn.00407fdc
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x4723de
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.00404518
push eax
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x472554
mov eax, dword [ebp - 0x24]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x472132
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00406d80
movzx eax, ax
mov dword [ebp - 0x168], eax
mov byte [ebp - 0x164], 0
lea edx, [ebp - 0x168]
xor ecx, ecx
mov eax, 0x472578
call fcn.004094d4
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
movzx eax, word [eax]
mov dword [ebp - 0x168], eax
mov byte [ebp - 0x164], 0
lea edx, [ebp - 0x168]
xor ecx, ecx
mov eax, 0x472578
call fcn.004094d4
push 0x472588
push dword [ebp - 8]
push dword [ebp - 0xc]
push 0x4725a0
lea eax, [ebp - 0x54]
mov edx, 4
call fcn.004043d8
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x16c]
mov ecx, 0x4725ac
mov edx, dword [ebp - 0x54]
call fcn.00404364
mov eax, dword [ebp - 0x16c]
call fcn.00404518
push eax
mov eax, dword [ebp - 0x24]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x47218e
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x50]
call fcn.00404250
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x170]
mov ecx, 0x4725c0
mov edx, dword [ebp - 0x54]
call fcn.00404364
mov eax, dword [ebp - 0x170]
call fcn.00404518
push eax
mov eax, dword [ebp - 0x24]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4721cd
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x50]
call fcn.00404250
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x174]
mov ecx, 0x4725d8
mov edx, dword [ebp - 0x54]
call fcn.00404364
mov eax, dword [ebp - 0x174]
call fcn.00404518
push eax
mov eax, dword [ebp - 0x24]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x47220c
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 0x50]
call fcn.00404250
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x178]
mov ecx, 0x4725ec
mov edx, dword [ebp - 0x54]
call fcn.00404364
mov eax, dword [ebp - 0x178]
call fcn.00404518
push eax
mov eax, dword [ebp - 0x24]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x47224b
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 0x50]
call fcn.00404250
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x17c]
mov ecx, 0x472604
mov edx, dword [ebp - 0x54]
call fcn.00404364
mov eax, dword [ebp - 0x17c]
call fcn.00404518
push eax
mov eax, dword [ebp - 0x24]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x47228a
lea eax, [ebp - 0x38]
mov edx, dword [ebp - 0x50]
call fcn.00404250
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x180]
mov ecx, 0x47261c
mov edx, dword [ebp - 0x54]
call fcn.00404364
mov eax, dword [ebp - 0x180]
call fcn.00404518
push eax
mov eax, dword [ebp - 0x24]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4722c9
lea eax, [ebp - 0x3c]
mov edx, dword [ebp - 0x50]
call fcn.00404250
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x184]
mov ecx, 0x472634
mov edx, dword [ebp - 0x54]
call fcn.00404364
mov eax, dword [ebp - 0x184]
call fcn.00404518
push eax
mov eax, dword [ebp - 0x24]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x472308
lea eax, [ebp - 0x40]
mov edx, dword [ebp - 0x50]
call fcn.00404250
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x188]
mov ecx, 0x472650
mov edx, dword [ebp - 0x54]
call fcn.00404364
mov eax, dword [ebp - 0x188]
call fcn.00404518
push eax
mov eax, dword [ebp - 0x24]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x472347
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 0x50]
call fcn.00404250
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x18c]
mov ecx, 0x472664
mov edx, dword [ebp - 0x54]
call fcn.00404364
mov eax, dword [ebp - 0x18c]
call fcn.00404518
push eax
mov eax, dword [ebp - 0x24]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x472386
lea eax, [ebp - 0x48]
mov edx, dword [ebp - 0x50]
call fcn.00404250
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x190]
mov ecx, 0x47267c
mov edx, dword [ebp - 0x54]
call fcn.00404364
mov eax, dword [ebp - 0x190]
call fcn.00404518
push eax
mov eax, dword [ebp - 0x24]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4723c5
lea eax, [ebp - 0x4c]
mov edx, dword [ebp - 0x50]
call fcn.00404250
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472467
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
call fcn.004026ec
ret
lea eax, [ebp - 0x28]
mov edx, 0x472690
call fcn.004040f0
mov edx, 0x472690
lea eax, [ebp - 0x2c]
call fcn.004040f0
mov edx, 0x472690
lea eax, [ebp - 0x30]
call fcn.004040f0
mov edx, 0x472690
lea eax, [ebp - 0x34]
call fcn.004040f0
mov edx, 0x472690
lea eax, [ebp - 0x38]
call fcn.004040f0
mov edx, 0x472690
lea eax, [ebp - 0x3c]
call fcn.004040f0
mov edx, 0x472690
lea eax, [ebp - 0x40]
call fcn.004040f0
mov edx, 0x472690
lea eax, [ebp - 0x44]
call fcn.004040f0
mov edx, 0x472690
lea eax, [ebp - 0x48]
call fcn.004040f0
mov edx, 0x472690
lea eax, [ebp - 0x4c]
call fcn.004040f0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x34]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x44]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x48]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x4c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472550
lea eax, [ebp - 0x190]
mov edx, 0xa
call fcn.0040407c
lea eax, [ebp - 0x160]
call fcn.00404058
lea eax, [ebp - 0x54]
call fcn.00404058
lea eax, [ebp - 0x4c]
mov edx, 0xa
call fcn.0040407c
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0040407c
ret