Function at 0x5925c8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 9
push 0
push 0
dec ecx
jne 0x5925d1
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov eax, dword [ebp + 8]
call fcn.00405bb0
xor eax, eax
push ebp
push 0x592930
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x18], eax
xor ebx, ebx
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 8]
call fcn.00405bc0
push eax
call sub.version.dll_GetFileVersionInfoSizeA_1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jbe 0x592905
mov eax, dword [ebp - 0xc]
call fcn.00402ffc
mov edi, eax
push edi
mov eax, dword [ebp - 0xc]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00405bc0
push eax
call sub.version.dll_GetFileVersionInfoA_1
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x5928fe
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x592944
push edi
call sub.version.dll_VerQueryValueA_1
push 0x592968
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
movzx eax, word [eax]
mov edx, 4
call fcn.0040aed8
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
shr eax, 0x10
movzx eax, ax
mov edx, 4
call fcn.0040aed8
push dword [ebp - 0x20]
push 0x592984
lea eax, [ebp - 4]
mov edx, 4
call fcn.00405ac4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x24]
mov ecx, 0x592990
mov edx, dword [ebp - 4]
call fcn.00405a48
mov eax, dword [ebp - 0x24]
call fcn.00405bc0
push eax
push edi
call sub.version.dll_VerQueryValueA_1
mov eax, esi
mov edx, dword [ebp - 0x10]
call fcn.0040590c
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x28]
mov ecx, 0x5929a4
mov edx, dword [ebp - 4]
call fcn.00405a48
mov eax, dword [ebp - 0x28]
call fcn.00405bc0
push eax
push edi
call sub.version.dll_VerQueryValueA_1
lea eax, [esi + 4]
mov edx, dword [ebp - 0x10]
call fcn.0040590c
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x2c]
mov ecx, 0x5929bc
mov edx, dword [ebp - 4]
call fcn.00405a48
mov eax, dword [ebp - 0x2c]
call fcn.00405bc0
push eax
push edi
call sub.version.dll_VerQueryValueA_1
lea eax, [esi + 8]
mov edx, dword [ebp - 0x10]
call fcn.0040590c
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x30]
mov ecx, 0x5929d0
mov edx, dword [ebp - 4]
call fcn.00405a48
mov eax, dword [ebp - 0x30]
call fcn.00405bc0
push eax
push edi
call sub.version.dll_VerQueryValueA_1
lea eax, [esi + 0xc]
mov edx, dword [ebp - 0x10]
call fcn.0040590c
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x34]
mov ecx, 0x5929e8
mov edx, dword [ebp - 4]
call fcn.00405a48
mov eax, dword [ebp - 0x34]
call fcn.00405bc0
push eax
push edi
call sub.version.dll_VerQueryValueA_1
lea eax, [esi + 0x10]
mov edx, dword [ebp - 0x10]
call fcn.0040590c
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x38]
mov ecx, 0x592a00
mov edx, dword [ebp - 4]
call fcn.00405a48
mov eax, dword [ebp - 0x38]
call fcn.00405bc0
push eax
push edi
call sub.version.dll_VerQueryValueA_1
lea eax, [esi + 0x14]
mov edx, dword [ebp - 0x10]
call fcn.0040590c
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x3c]
mov ecx, 0x592a18
mov edx, dword [ebp - 4]
call fcn.00405a48
mov eax, dword [ebp - 0x3c]
call fcn.00405bc0
push eax
push edi
call sub.version.dll_VerQueryValueA_1
lea eax, [esi + 0x18]
mov edx, dword [ebp - 0x10]
call fcn.0040590c
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x40]
mov ecx, 0x592a34
mov edx, dword [ebp - 4]
call fcn.00405a48
mov eax, dword [ebp - 0x40]
call fcn.00405bc0
push eax
push edi
call sub.version.dll_VerQueryValueA_1
lea eax, [esi + 0x1c]
mov edx, dword [ebp - 0x10]
call fcn.0040590c
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x44]
mov ecx, 0x592a48
mov edx, dword [ebp - 4]
call fcn.00405a48
mov eax, dword [ebp - 0x44]
call fcn.00405bc0
push eax
push edi
call sub.version.dll_VerQueryValueA_1
lea eax, [esi + 0x20]
mov edx, dword [ebp - 0x10]
call fcn.0040590c
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x48]
mov ecx, 0x592a60
mov edx, dword [ebp - 4]
call fcn.00405a48
mov eax, dword [ebp - 0x48]
call fcn.00405bc0
push eax
push edi
call sub.version.dll_VerQueryValueA_1
lea eax, [esi + 0x24]
mov edx, dword [ebp - 0x10]
call fcn.0040590c
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x592a6c
push edi
call sub.version.dll_VerQueryValueA_1
test eax, eax
je 0x5928c4
mov eax, dword [ebp - 0x10]
push esi
push edi
lea edi, [esi + 0x28]
mov esi, eax
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
cmp dword [ebp + 8], 0
je 0x5928fe
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x4c]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
call fcn.00405a48
mov eax, dword [ebp - 0x4c]
call fcn.00405bc0
push eax
push edi
call sub.version.dll_VerQueryValueA_1
test eax, eax
je 0x5928fe
lea eax, [esi + 0x5c]
mov edx, dword [ebp - 0x10]
call fcn.0040590c
mov eax, edi
call fcn.00403018
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x592937
lea eax, [ebp - 0x4c]
mov edx, 0xd
call fcn.00405728
lea eax, [ebp - 4]
call fcn.00405704
lea eax, [ebp + 8]
call fcn.00405704
ret