Function at 0x528c78
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x1d
push 0
push 0
dec ecx
jne 0x528c80
push ebx
push esi
push edi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404e48
lea eax, [ebp - 0xa8]
mov edx, dword [0x528c00]
call fcn.00405588
lea edi, [ebp - 0x14]
xor eax, eax
push ebp
push 0x529177
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, 0x529190
call fcn.00404a30
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00404e58
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x528ce8
xor ebx, ebx
jmp 0x529138
mov eax, dword [ebp - 0xc]
call fcn.00402948
mov ebx, eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00404e58
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
jne 0x528d1b
mov eax, ebx
call fcn.00402968
xor ebx, ebx
jmp 0x529138
lea eax, [ebp - 0xc]
push eax
push edi
mov eax, dword [ebp - 0x10]
call fcn.00404e58
push eax
push ebx
call sub.version.dll_VerQueryValueA
test eax, eax
jne 0x528d41
mov eax, ebx
call fcn.00402968
xor ebx, ebx
jmp 0x529138
mov eax, dword [edi]
push esi
push edi
mov esi, eax
lea edi, [ebp - 0x48]
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x10]
mov edx, 0x52919c
call fcn.00404a30
lea eax, [ebp - 0xc]
push eax
push edi
lea eax, [ebp - 0xac]
mov ecx, 0x5291c0
mov edx, dword [ebp - 0x10]
call fcn.00404ca4
mov eax, dword [ebp - 0xac]
call fcn.00404e58
push eax
push ebx
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x528e06
lea eax, [ebp - 0x74]
mov edx, dword [edi]
call fcn.00404b90
jmp 0x528e4b
lea eax, [ebp - 0x10]
mov edx, 0x5291d4
call fcn.00404a30
lea eax, [ebp - 0xc]
push eax
push edi
lea eax, [ebp - 0xb0]
mov ecx, 0x5291c0
mov edx, dword [ebp - 0x10]
call fcn.00404ca4
mov eax, dword [ebp - 0xb0]
call fcn.00404e58
push eax
push ebx
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x528e4b
lea eax, [ebp - 0x74]
mov edx, dword [edi]
call fcn.00404b90
lea eax, [ebp - 0xc]
push eax
push edi
lea eax, [ebp - 0xb4]
mov ecx, 0x5291f8
mov edx, dword [ebp - 0x10]
call fcn.00404ca4
mov eax, dword [ebp - 0xb4]
call fcn.00404e58
push eax
push ebx
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x528e83
lea eax, [ebp - 0x70]
mov edx, dword [edi]
call fcn.00404b90
lea eax, [ebp - 0xc]
push eax
push edi
lea eax, [ebp - 0xb8]
mov ecx, 0x529210
mov edx, dword [ebp - 0x10]
call fcn.00404ca4
mov eax, dword [ebp - 0xb8]
call fcn.00404e58
push eax
push ebx
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x528ebb
lea eax, [ebp - 0x6c]
mov edx, dword [edi]
call fcn.00404b90
lea eax, [ebp - 0xc]
push eax
push edi
lea eax, [ebp - 0xbc]
mov ecx, 0x529224
mov edx, dword [ebp - 0x10]
call fcn.00404ca4
mov eax, dword [ebp - 0xbc]
call fcn.00404e58
push eax
push ebx
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x528ef3
lea eax, [ebp - 0x68]
mov edx, dword [edi]
call fcn.00404b90
lea eax, [ebp - 0xc]
push eax
push edi
lea eax, [ebp - 0xc0]
mov ecx, 0x52923c
mov edx, dword [ebp - 0x10]
call fcn.00404ca4
mov eax, dword [ebp - 0xc0]
call fcn.00404e58
push eax
push ebx
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x528f2b
lea eax, [ebp - 0x64]
mov edx, dword [edi]
call fcn.00404b90
lea eax, [ebp - 0xc]
push eax
push edi
lea eax, [ebp - 0xc4]
mov ecx, 0x529254
mov edx, dword [ebp - 0x10]
call fcn.00404ca4
mov eax, dword [ebp - 0xc4]
call fcn.00404e58
push eax
push ebx
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x528f63
lea eax, [ebp - 0x60]
mov edx, dword [edi]
call fcn.00404b90
lea eax, [ebp - 0xc]
push eax
push edi
lea eax, [ebp - 0xc8]
mov ecx, 0x52926c
mov edx, dword [ebp - 0x10]
call fcn.00404ca4
mov eax, dword [ebp - 0xc8]
call fcn.00404e58
push eax
push ebx
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x528f9b
lea eax, [ebp - 0x5c]
mov edx, dword [edi]
call fcn.00404b90
lea eax, [ebp - 0xc]
push eax
push edi
lea eax, [ebp - 0xcc]
mov ecx, 0x529288
mov edx, dword [ebp - 0x10]
call fcn.00404ca4
mov eax, dword [ebp - 0xcc]
call fcn.00404e58
push eax
push ebx
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x528fd3
lea eax, [ebp - 0x58]
mov edx, dword [edi]
call fcn.00404b90
lea eax, [ebp - 0xc]
push eax
push edi
lea eax, [ebp - 0xd0]
mov ecx, 0x52929c
mov edx, dword [ebp - 0x10]
call fcn.00404ca4
mov eax, dword [ebp - 0xd0]
call fcn.00404e58
push eax
push ebx
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x52900b
lea eax, [ebp - 0x54]
mov edx, dword [edi]
call fcn.00404b90
lea eax, [ebp - 0xc]
push eax
push edi
lea eax, [ebp - 0xd4]
mov ecx, 0x5292b4
mov edx, dword [ebp - 0x10]
call fcn.00404ca4
mov eax, dword [ebp - 0xd4]
call fcn.00404e58
push eax
push ebx
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x529043
lea eax, [ebp - 0x50]
mov edx, dword [edi]
call fcn.00404b90
lea eax, [ebp - 0xc]
push eax
push edi
lea eax, [ebp - 0xd8]
mov ecx, 0x5292c8
mov edx, dword [ebp - 0x10]
call fcn.00404ca4
mov eax, dword [ebp - 0xd8]
call fcn.00404e58
push eax
push ebx
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x52907d
lea eax, [ebp - 0x4c]
mov edx, dword [edi]
call fcn.00404b90
jmp 0x52908a
lea eax, [ebp - 0x4c]
mov edx, 0x5292dc
call fcn.00404a30
mov eax, esi
mov edx, dword [ebp - 0x6c]
call fcn.004049ec
cmp dword [esi], 0
jne 0x529126
mov eax, dword [ebp - 0xa0]
call fcn.00407f6c
movzx eax, ax
lea edx, [ebp - 0xdc]
call fcn.00409950
push dword [ebp - 0xdc]
push 0x5292ec
lea edx, [ebp - 0xe0]
movzx eax, word [ebp - 0xa0]
call fcn.00409950
push dword [ebp - 0xe0]
push 0x5292ec
mov eax, dword [ebp - 0x9c]
call fcn.00407f6c
movzx eax, ax
lea edx, [ebp - 0xe4]
call fcn.00409950
push dword [ebp - 0xe4]
push 0x5292ec
lea edx, [ebp - 0xe8]
movzx eax, word [ebp - 0x9c]
call fcn.00409950
push dword [ebp - 0xe8]
mov eax, esi
mov edx, 7
call fcn.00404d18
mov eax, ebx
call fcn.00402968
cmp dword [esi], 0
jne 0x529136
xor ebx, ebx
jmp 0x529138
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52917e
lea eax, [ebp - 0xe8]
mov edx, 0x10
call fcn.004049bc
lea eax, [ebp - 0xa8]
mov edx, dword [0x528c00]
call fcn.00405658
lea eax, [ebp - 0x10]
call fcn.00404998
lea eax, [ebp - 4]
call fcn.00404998
ret