Function at 0x216e1c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x216e25
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00104f6c
mov eax, dword [ebp - 8]
call fcn.00104f6c
lea esi, [ebp - 0x20]
xor eax, eax
push ebp
push 0x2171ba
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00104f7c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x10], eax
mov eax, edi
xor ecx, ecx
mov edx, 0x60
call fcn.001033ac
cmp dword [ebp - 0x10], 0
jbe 0x217187
mov eax, dword [ebp - 0x10]
call fcn.001027b4
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x21717e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00104f7c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
jne 0x216ecb
call fcn.001044e4
jmp 0x217187
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x2171cc
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
movzx eax, word [eax]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
call fcn.00107cc8
movzx eax, ax
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0
lea edx, [ebp - 0x30]
mov ecx, 1
mov eax, 0x2171f0
call fcn.0010a8a8
lea eax, [ebp - 0x10]
push eax
push esi
lea eax, [ebp - 0x34]
mov ecx, 0x217214
mov edx, dword [ebp - 0x1c]
call fcn.00104dc8
mov eax, dword [ebp - 0x34]
call fcn.00104f7c
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
mov eax, edi
mov edx, dword [esi]
call fcn.00104c98
lea eax, [ebp - 0x10]
push eax
push esi
lea eax, [ebp - 0x38]
mov ecx, 0x217228
mov edx, dword [ebp - 0x1c]
call fcn.00104dc8
mov eax, dword [ebp - 0x38]
call fcn.00104f7c
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
lea eax, [edi + 4]
mov edx, dword [esi]
call fcn.00104c98
lea eax, [ebp - 0x10]
push eax
push esi
lea eax, [ebp - 0x3c]
mov ecx, 0x217240
mov edx, dword [ebp - 0x1c]
call fcn.00104dc8
mov eax, dword [ebp - 0x3c]
call fcn.00104f7c
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
lea eax, [edi + 8]
mov edx, dword [esi]
call fcn.00104c98
lea eax, [ebp - 0x10]
push eax
push esi
lea eax, [ebp - 0x40]
mov ecx, 0x217254
mov edx, dword [ebp - 0x1c]
call fcn.00104dc8
mov eax, dword [ebp - 0x40]
call fcn.00104f7c
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
lea eax, [edi + 0xc]
mov edx, dword [esi]
call fcn.00104c98
lea eax, [ebp - 0x10]
push eax
push esi
lea eax, [ebp - 0x44]
mov ecx, 0x21726c
mov edx, dword [ebp - 0x1c]
call fcn.00104dc8
mov eax, dword [ebp - 0x44]
call fcn.00104f7c
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
lea eax, [edi + 0x10]
mov edx, dword [esi]
call fcn.00104c98
lea eax, [ebp - 0x10]
push eax
push esi
lea eax, [ebp - 0x48]
mov ecx, 0x217284
mov edx, dword [ebp - 0x1c]
call fcn.00104dc8
mov eax, dword [ebp - 0x48]
call fcn.00104f7c
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
lea eax, [edi + 0x14]
mov edx, dword [esi]
call fcn.00104c98
lea eax, [ebp - 0x10]
push eax
push esi
lea eax, [ebp - 0x4c]
mov ecx, 0x21729c
mov edx, dword [ebp - 0x1c]
call fcn.00104dc8
mov eax, dword [ebp - 0x4c]
call fcn.00104f7c
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
lea eax, [edi + 0x18]
mov edx, dword [esi]
call fcn.00104c98
lea eax, [ebp - 0x10]
push eax
push esi
lea eax, [ebp - 0x50]
mov ecx, 0x2172b8
mov edx, dword [ebp - 0x1c]
call fcn.00104dc8
mov eax, dword [ebp - 0x50]
call fcn.00104f7c
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
lea eax, [edi + 0x1c]
mov edx, dword [esi]
call fcn.00104c98
lea eax, [ebp - 0x10]
push eax
push esi
lea eax, [ebp - 0x54]
mov ecx, 0x2172cc
mov edx, dword [ebp - 0x1c]
call fcn.00104dc8
mov eax, dword [ebp - 0x54]
call fcn.00104f7c
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
lea eax, [edi + 0x20]
mov edx, dword [esi]
call fcn.00104c98
lea eax, [ebp - 0x10]
push eax
push esi
lea eax, [ebp - 0x58]
mov ecx, 0x2172e4
mov edx, dword [ebp - 0x1c]
call fcn.00104dc8
mov eax, dword [ebp - 0x58]
call fcn.00104f7c
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
lea eax, [edi + 0x24]
mov edx, dword [esi]
call fcn.00104c98
lea eax, [ebp - 0x10]
push eax
push esi
push 0x2172f0
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
mov eax, dword [esi]
push esi
push edi
mov esi, eax
add edi, 0x28
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
cmp dword [ebp - 8], 0
je 0x21715d
lea eax, [ebp - 0x10]
push eax
push esi
lea eax, [ebp - 0x5c]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
call fcn.00104dc8
mov eax, dword [ebp - 0x5c]
call fcn.00104f7c
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
lea eax, [edi + 0x5c]
mov edx, dword [esi]
call fcn.00104c98
jmp 0x217165
lea eax, [edi + 0x5c]
call fcn.00104aa0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x217185
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
call fcn.001027d4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x2171c1
lea eax, [ebp - 0x5c]
mov edx, 0xb
call fcn.00104ac4
lea eax, [ebp - 0x1c]
call fcn.00104aa0
lea eax, [ebp - 8]
call fcn.00104aa0
lea eax, [ebp - 4]
call fcn.00104aa0
ret