Function at 0x47a084
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xf
push 0
push 0
dec ecx
jne 0x47a08c
push ecx
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x47a46a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebx + 0x24]
call fcn.00404068
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
setg al
mov byte [ebx + 0x2c], al
test al, al
je 0x47a442
mov eax, esi
call fcn.00402738
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x47a43b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x1c]
push eax
push esi
push 0
mov eax, dword [ebx + 0x24]
call fcn.00404068
push eax
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x47a478
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x47a158
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
call fcn.004077f4
movzx eax, ax
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0
lea edx, [ebp - 0x2c]
xor ecx, ecx
mov eax, 0x47a49c
call fcn.00409ad0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x24]
movzx eax, word [eax]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0
lea edx, [ebp - 0x2c]
xor ecx, ecx
mov eax, 0x47a49c
call fcn.00409ad0
push 0x47a4ac
push dword [ebp - 4]
push dword [ebp - 8]
push 0x47a4c4
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.00403f64
mov eax, dword [ebx + 0x28]
mov edx, dword [eax]
call dword [edx + 0x40]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
mov ecx, 0x47a4d0
mov edx, dword [ebp - 0xc]
call fcn.00403ef0
mov eax, dword [ebp - 0x30]
call fcn.00404068
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x47a1c1
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 0x18]
call fcn.00403ddc
mov edx, dword [ebp - 0x34]
mov eax, dword [ebx + 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x34]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x38]
mov ecx, 0x47a4e4
mov edx, dword [ebp - 0xc]
call fcn.00403ef0
mov eax, dword [ebp - 0x38]
call fcn.00404068
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x47a205
lea eax, [ebp - 0x3c]
mov edx, dword [ebp - 0x18]
call fcn.00403ddc
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebx + 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x34]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x40]
mov ecx, 0x47a4fc
mov edx, dword [ebp - 0xc]
call fcn.00403ef0
mov eax, dword [ebp - 0x40]
call fcn.00404068
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x47a249
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 0x18]
call fcn.00403ddc
mov edx, dword [ebp - 0x44]
mov eax, dword [ebx + 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x34]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
mov ecx, 0x47a510
mov edx, dword [ebp - 0xc]
call fcn.00403ef0
mov eax, dword [ebp - 0x48]
call fcn.00404068
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x47a28d
lea eax, [ebp - 0x4c]
mov edx, dword [ebp - 0x18]
call fcn.00403ddc
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebx + 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x34]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x50]
mov ecx, 0x47a528
mov edx, dword [ebp - 0xc]
call fcn.00403ef0
mov eax, dword [ebp - 0x50]
call fcn.00404068
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x47a2d1
lea eax, [ebp - 0x54]
mov edx, dword [ebp - 0x18]
call fcn.00403ddc
mov edx, dword [ebp - 0x54]
mov eax, dword [ebx + 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x34]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x58]
mov ecx, 0x47a540
mov edx, dword [ebp - 0xc]
call fcn.00403ef0
mov eax, dword [ebp - 0x58]
call fcn.00404068
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x47a315
lea eax, [ebp - 0x5c]
mov edx, dword [ebp - 0x18]
call fcn.00403ddc
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebx + 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x34]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x60]
mov ecx, 0x47a558
mov edx, dword [ebp - 0xc]
call fcn.00403ef0
mov eax, dword [ebp - 0x60]
call fcn.00404068
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x47a359
lea eax, [ebp - 0x64]
mov edx, dword [ebp - 0x18]
call fcn.00403ddc
mov edx, dword [ebp - 0x64]
mov eax, dword [ebx + 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x34]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x68]
mov ecx, 0x47a574
mov edx, dword [ebp - 0xc]
call fcn.00403ef0
mov eax, dword [ebp - 0x68]
call fcn.00404068
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x47a39d
lea eax, [ebp - 0x6c]
mov edx, dword [ebp - 0x18]
call fcn.00403ddc
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebx + 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x34]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x70]
mov ecx, 0x47a588
mov edx, dword [ebp - 0xc]
call fcn.00403ef0
mov eax, dword [ebp - 0x70]
call fcn.00404068
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x47a3e1
lea eax, [ebp - 0x74]
mov edx, dword [ebp - 0x18]
call fcn.00403ddc
mov edx, dword [ebp - 0x74]
mov eax, dword [ebx + 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x34]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x78]
mov ecx, 0x47a5a0
mov edx, dword [ebp - 0xc]
call fcn.00403ef0
mov eax, dword [ebp - 0x78]
call fcn.00404068
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x47a425
lea eax, [ebp - 0x7c]
mov edx, dword [ebp - 0x18]
call fcn.00403ddc
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebx + 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47a442
mov eax, dword [ebp - 0x1c]
call fcn.00402750
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47a471
lea eax, [ebp - 0x7c]
mov edx, 0x14
call fcn.00403c48
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00403c48
ret