Function at 0x4261a0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push ebx
push esi
push edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
cmp dword [ebp + 8], 0
je 0x4261ec
push 0
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x88], eax
jmp 0x4261f6
mov dword [ebp - 0x88], 0
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], 0
je 0x426228
mov eax, dword [ebp - 0x20]
add eax, 1
push eax
call fcn.0042edaf
add esp, 4
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x88], ecx
jmp 0x426232
mov dword [ebp - 0x88], 0
mov edx, dword [ebp - 0x88]
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0
je 0x42626c
mov eax, dword [ebp - 0x20]
add eax, 1
push eax
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.004308d0
add esp, 0xc
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call sub.VERSION.dll_GetFileVersionInfoW
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4263dd
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x28]
push ecx
push 0x49746c
mov edx, dword [ebp - 0x1c]
push edx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4262ab
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x4263dd
mov eax, dword [ebp - 0x24]
cmp dword [eax + 8], 0
je 0x4263dd
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 8]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 8]
and ecx, 0xffff
movzx edx, cx
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0xc]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0xc]
and ecx, 0xffff
movzx edx, cx
mov dword [ebp - 8], edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00431751
add esp, 4
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], 0
cmp dword [ebp - 0x30], 0
je 0x426349
lea eax, [ebp - 0x34]
push eax
push 0x497470
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00431663
add esp, 0xc
mov dword [ebp - 0x88], eax
jmp 0x426353
mov dword [ebp - 0x88], 0
mov edx, dword [ebp - 0x88]
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], 0
cmp dword [ebp - 0x38], 0
je 0x4263cb
cmp dword [ebp - 4], 0
je 0x4263cb
mov eax, dword [ebp - 0x38]
push eax
call fcn.00431658
add esp, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp + eax*4 - 0x14]
cmp ecx, dword [ebp - 0x18]
jle 0x426395
mov dword [ebp - 4], 1
jmp 0x4263cb
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp + eax*4 - 0x14]
cmp ecx, dword [ebp - 0x18]
jge 0x4263aa
mov dword [ebp - 4], 0
jmp 0x4263cb
mov eax, dword [ebp - 0x3c]
add eax, 1
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x34]
push eax
push 0x497470
push 0
call fcn.00431663
add esp, 0xc
mov dword [ebp - 0x38], eax
jmp 0x426363
cmp dword [ebp - 0x30], 0
je 0x4263dd
mov eax, dword [ebp - 0x30]
push eax
call fcn.00430e51
add esp, 4
cmp dword [ebp - 0x1c], 0
je 0x4263f5
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.0043069a
add esp, 4
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret