Function at 0x53e0b8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 9
push 0
push 0
dec ecx
jne 0x53e0c1
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.004050b8
xor eax, eax
push ebp
push 0x53e426
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x1c], eax
xor ebx, ebx
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
call fcn.004050c8
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jbe 0x53e3fb
mov eax, dword [ebp - 0xc]
call fcn.00402844
mov edi, eax
push edi
mov eax, dword [ebp - 0xc]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.004050c8
push eax
call sub.version.dll_GetFileVersionInfoA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x53e3f4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x53e438
push edi
call sub.version.dll_VerQueryValueA
push 0x53e45c
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 0x14]
movzx eax, word [eax]
mov edx, 4
call fcn.00409d7c
push dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0040838c
movzx eax, ax
lea ecx, [ebp - 0x24]
mov edx, 4
call fcn.00409d7c
push dword [ebp - 0x24]
push 0x53e478
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.00404f88
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x28]
mov ecx, 0x53e484
mov edx, dword [ebp - 0x18]
call fcn.00404f14
mov eax, dword [ebp - 0x28]
call fcn.004050c8
push eax
push edi
call sub.version.dll_VerQueryValueA
mov eax, esi
mov edx, dword [ebp - 0x10]
call fcn.00404e00
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x2c]
mov ecx, 0x53e498
mov edx, dword [ebp - 0x18]
call fcn.00404f14
mov eax, dword [ebp - 0x2c]
call fcn.004050c8
push eax
push edi
call sub.version.dll_VerQueryValueA
lea eax, [esi + 4]
mov edx, dword [ebp - 0x10]
call fcn.00404e00
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x30]
mov ecx, 0x53e4b0
mov edx, dword [ebp - 0x18]
call fcn.00404f14
mov eax, dword [ebp - 0x30]
call fcn.004050c8
push eax
push edi
call sub.version.dll_VerQueryValueA
lea eax, [esi + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404e00
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x34]
mov ecx, 0x53e4c4
mov edx, dword [ebp - 0x18]
call fcn.00404f14
mov eax, dword [ebp - 0x34]
call fcn.004050c8
push eax
push edi
call sub.version.dll_VerQueryValueA
lea eax, [esi + 0xc]
mov edx, dword [ebp - 0x10]
call fcn.00404e00
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x38]
mov ecx, 0x53e4dc
mov edx, dword [ebp - 0x18]
call fcn.00404f14
mov eax, dword [ebp - 0x38]
call fcn.004050c8
push eax
push edi
call sub.version.dll_VerQueryValueA
lea eax, [esi + 0x10]
mov edx, dword [ebp - 0x10]
call fcn.00404e00
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x3c]
mov ecx, 0x53e4f4
mov edx, dword [ebp - 0x18]
call fcn.00404f14
mov eax, dword [ebp - 0x3c]
call fcn.004050c8
push eax
push edi
call sub.version.dll_VerQueryValueA
lea eax, [esi + 0x14]
mov edx, dword [ebp - 0x10]
call fcn.00404e00
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x40]
mov ecx, 0x53e50c
mov edx, dword [ebp - 0x18]
call fcn.00404f14
mov eax, dword [ebp - 0x40]
call fcn.004050c8
push eax
push edi
call sub.version.dll_VerQueryValueA
lea eax, [esi + 0x18]
mov edx, dword [ebp - 0x10]
call fcn.00404e00
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x44]
mov ecx, 0x53e528
mov edx, dword [ebp - 0x18]
call fcn.00404f14
mov eax, dword [ebp - 0x44]
call fcn.004050c8
push eax
push edi
call sub.version.dll_VerQueryValueA
lea eax, [esi + 0x1c]
mov edx, dword [ebp - 0x10]
call fcn.00404e00
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x48]
mov ecx, 0x53e53c
mov edx, dword [ebp - 0x18]
call fcn.00404f14
mov eax, dword [ebp - 0x48]
call fcn.004050c8
push eax
push edi
call sub.version.dll_VerQueryValueA
lea eax, [esi + 0x20]
mov edx, dword [ebp - 0x10]
call fcn.00404e00
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x4c]
mov ecx, 0x53e554
mov edx, dword [ebp - 0x18]
call fcn.00404f14
mov eax, dword [ebp - 0x4c]
call fcn.004050c8
push eax
push edi
call sub.version.dll_VerQueryValueA
lea eax, [esi + 0x24]
mov edx, dword [ebp - 0x10]
call fcn.00404e00
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x53e560
push edi
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x53e3ba
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 0x53e3f4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x50]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
call fcn.00404f14
mov eax, dword [ebp - 0x50]
call fcn.004050c8
push eax
push edi
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x53e3f4
lea eax, [esi + 0x5c]
mov edx, dword [ebp - 0x10]
call fcn.00404e00
mov eax, edi
call fcn.00402864
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53e42d
lea eax, [ebp - 0x50]
mov edx, 0xd
call fcn.00404c2c
lea eax, [ebp - 0x18]
call fcn.00404c08
lea eax, [ebp - 8]
call fcn.00404c08
ret