Function at 0x406de0
Capabilities:
Get file version info

Disassembly:
mov eax, 0x1470
call fcn.0040ad70
mov eax, dword [0x41a190]
xor eax, esp
mov dword [esp + 0x146c], eax
mov eax, dword [esp + 0x1474]
push ebx
mov ebx, ecx
lea ecx, [esp + 0x470]
push ecx
push 0x1000
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x4071a4
lea edx, [esp + 8]
push edx
lea eax, [esp + 8]
push eax
push 0x4227d4
call fcn.00401580
add esp, 4
push eax
lea ecx, [esp + 0x47c]
push ecx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4071a4
push esi
push edi
mov edi, dword [esp + 0xc]
movzx edx, word [edi + 2]
movzx eax, word [edi]
lea esi, [edi + 2]
push edx
push eax
push 0x4227a8
call fcn.00401580
add esp, 4
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.004060b0
add esp, 0x10
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x484]
push edx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x406ecf
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push ecx
lea edx, [esp + 0x80]
push edx
call fcn.004022a0
add esp, 0xc
lea eax, [esp + 0x78]
push eax
push 0x422790
call fcn.00401580
add esp, 4
push eax
push ebx
call fcn.004065a0
add esp, 0xc
movzx ecx, word [esi]
movzx edx, word [edi]
push ecx
push edx
push 0x422760
call fcn.00401580
add esp, 4
push eax
lea eax, [esp + 0x20]
push eax
call fcn.004060b0
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x484]
push ecx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x406f48
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push edx
push eax
lea ecx, [esp + 0x80]
push ecx
call fcn.004022a0
add esp, 0xc
lea edx, [esp + 0x78]
push edx
push 0x422744
call fcn.00401580
add esp, 4
push eax
push ebx
call fcn.004065a0
add esp, 0xc
movzx eax, word [esi]
movzx ecx, word [edi]
push eax
push ecx
push 0x422718
call fcn.00401580
add esp, 4
push eax
lea edx, [esp + 0x20]
push edx
call fcn.004060b0
add esp, 0x10
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x484]
push eax
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x406fc1
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push ecx
push edx
lea eax, [esp + 0x80]
push eax
call fcn.004022a0
add esp, 0xc
lea ecx, [esp + 0x78]
push ecx
push 0x422700
call fcn.00401580
add esp, 4
push eax
push ebx
call fcn.004065a0
add esp, 0xc
movzx edx, word [esi]
movzx eax, word [edi]
push edx
push eax
push 0x4226d4
call fcn.00401580
add esp, 4
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.004060b0
add esp, 0x10
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x484]
push edx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x40703a
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push ecx
lea edx, [esp + 0x80]
push edx
call fcn.004022a0
add esp, 0xc
lea eax, [esp + 0x78]
push eax
push 0x4226b8
call fcn.00401580
add esp, 4
push eax
push ebx
call fcn.004065a0
add esp, 0xc
movzx ecx, word [esi]
movzx edx, word [edi]
push ecx
push edx
push 0x422688
call fcn.00401580
add esp, 4
push eax
lea eax, [esp + 0x20]
push eax
call fcn.004060b0
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x484]
push ecx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4070b3
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push edx
push eax
lea ecx, [esp + 0x80]
push ecx
call fcn.004022a0
add esp, 0xc
lea edx, [esp + 0x78]
push edx
push 0x422668
call fcn.00401580
add esp, 4
push eax
push ebx
call fcn.004065a0
add esp, 0xc
movzx eax, word [esi]
movzx ecx, word [edi]
push eax
push ecx
push 0x42263c
call fcn.00401580
add esp, 4
push eax
lea edx, [esp + 0x20]
push edx
call fcn.004060b0
add esp, 0x10
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x484]
push eax
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x40712c
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push ecx
push edx
lea eax, [esp + 0x80]
push eax
call fcn.004022a0
add esp, 0xc
lea ecx, [esp + 0x78]
push ecx
push 0x422624
call fcn.00401580
add esp, 4
push eax
push ebx
call fcn.004065a0
add esp, 0xc
movzx edx, word [esi]
movzx eax, word [edi]
push edx
push eax
push 0x4225f4
call fcn.00401580
add esp, 4
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.004060b0
add esp, 0x10
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x484]
push edx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
pop edi
pop esi
je 0x4071a4
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push eax
push ecx
lea edx, [esp + 0x78]
push edx
call fcn.004022a0
add esp, 0xc
lea eax, [esp + 0x70]
push eax
push 0x4225d8
call fcn.00401580
add esp, 4
push eax
push ebx
call fcn.004065a0
add esp, 0xc
mov ecx, dword [esp + 0x1470]
pop ebx
xor ecx, esp
call fcn.0040acd2
add esp, 0x1470
ret 4