Function at 0x52d9f4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x12
push 0
push 0
dec ecx
jne 0x52d9fd
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
call fcn.00406d68
xor eax, eax
push ebp
push 0x52dffd
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x52df0e
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0xd], 0
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 4]
call fcn.00406e0c
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jbe 0x52df04
mov eax, dword [ebp - 0x18]
call fcn.004030e4
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x52defd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00406e0c
push eax
call sub.version.dll_GetFileVersionInfoW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x52dee5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x52e014
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueW
push 0x52e054
lea ecx, [ebp - 0x34]
mov eax, dword [ebp - 0x20]
movzx eax, word [eax]
mov edx, 4
call fcn.00479e44
push dword [ebp - 0x34]
lea ecx, [ebp - 0x38]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
shr eax, 0x10
movzx eax, ax
mov edx, 4
call fcn.00479e44
push dword [ebp - 0x38]
push 0x52e084
lea eax, [ebp - 0x30]
mov edx, 4
call fcn.00407348
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x24]
call fcn.0040700c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x24]
call fcn.004068c4
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
jne 0x52db82
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x52e088
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x52db82
cmp dword [ebp - 0x1c], 0
je 0x52db82
mov edx, dword [ebp - 0x1c]
add edx, 8
lea eax, [ebp - 0x28]
mov ecx, 8
call fcn.00406ebc
push 0x52e054
push dword [ebp - 0x28]
push 0x52e084
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.00407348
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 0x24]
call fcn.0040700c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x40]
mov ecx, 0x52e0b0
mov edx, dword [ebp - 0x24]
call fcn.00406990
mov eax, dword [ebp - 0x40]
call fcn.004068c4
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x52dbc6
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 0x1c]
call fcn.00406f3c
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 8]
call fcn.0040700c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x48]
mov ecx, 0x52e0cc
mov edx, dword [ebp - 0x24]
call fcn.00406990
mov eax, dword [ebp - 0x48]
call fcn.004068c4
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x52dc0d
lea eax, [ebp - 0x4c]
mov edx, dword [ebp - 0x1c]
call fcn.00406f3c
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 8]
add eax, 4
call fcn.0040700c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x50]
mov ecx, 0x52e0f0
mov edx, dword [ebp - 0x24]
call fcn.00406990
mov eax, dword [ebp - 0x50]
call fcn.004068c4
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x52dc54
lea eax, [ebp - 0x54]
mov edx, dword [ebp - 0x1c]
call fcn.00406f3c
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 8]
add eax, 8
call fcn.0040700c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x58]
mov ecx, 0x52e10c
mov edx, dword [ebp - 0x24]
call fcn.00406990
mov eax, dword [ebp - 0x58]
call fcn.004068c4
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x52dc9b
lea eax, [ebp - 0x5c]
mov edx, dword [ebp - 0x1c]
call fcn.00406f3c
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 8]
add eax, 0xc
call fcn.0040700c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x60]
mov ecx, 0x52e12c
mov edx, dword [ebp - 0x24]
call fcn.00406990
mov eax, dword [ebp - 0x60]
call fcn.004068c4
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x52dce2
lea eax, [ebp - 0x64]
mov edx, dword [ebp - 0x1c]
call fcn.00406f3c
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 8]
add eax, 0x10
call fcn.0040700c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x68]
mov ecx, 0x52e150
mov edx, dword [ebp - 0x24]
call fcn.00406990
mov eax, dword [ebp - 0x68]
call fcn.004068c4
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x52dd29
lea eax, [ebp - 0x6c]
mov edx, dword [ebp - 0x1c]
call fcn.00406f3c
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 8]
add eax, 0x14
call fcn.0040700c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x70]
mov ecx, 0x52e174
mov edx, dword [ebp - 0x24]
call fcn.00406990
mov eax, dword [ebp - 0x70]
call fcn.004068c4
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x52dd70
lea eax, [ebp - 0x74]
mov edx, dword [ebp - 0x1c]
call fcn.00406f3c
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 8]
add eax, 0x18
call fcn.0040700c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x78]
mov ecx, 0x52e19c
mov edx, dword [ebp - 0x24]
call fcn.00406990
mov eax, dword [ebp - 0x78]
call fcn.004068c4
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x52ddb7
lea eax, [ebp - 0x7c]
mov edx, dword [ebp - 0x1c]
call fcn.00406f3c
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 8]
add eax, 0x1c
call fcn.0040700c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x80]
mov ecx, 0x52e1b8
mov edx, dword [ebp - 0x24]
call fcn.00406990
mov eax, dword [ebp - 0x80]
call fcn.004068c4
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x52de04
lea eax, [ebp - 0x84]
mov edx, dword [ebp - 0x1c]
call fcn.00406f3c
mov edx, dword [ebp - 0x84]
mov eax, dword [ebp - 8]
add eax, 0x20
call fcn.0040700c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x88]
mov ecx, 0x52e1dc
mov edx, dword [ebp - 0x24]
call fcn.00406990
mov eax, dword [ebp - 0x88]
call fcn.004068c4
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x52de57
lea eax, [ebp - 0x8c]
mov edx, dword [ebp - 0x1c]
call fcn.00406f3c
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 8]
add eax, 0x24
call fcn.0040700c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x52e1f0
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x52de83
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 8]
mov esi, eax
lea edi, [edx + 0x28]
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
cmp dword [ebp - 0xc], 0
je 0x52dee5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x90]
mov edx, dword [ebp - 0x24]
call fcn.00406ff8
lea eax, [ebp - 0x90]
mov edx, dword [ebp - 0xc]
call fcn.004071a4
mov eax, dword [ebp - 0x90]
call fcn.00406e0c
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x52dee5
lea eax, [ebp - 0x94]
mov edx, dword [ebp - 0x1c]
call fcn.00406f3c
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 8]
add eax, 0x5c
call fcn.0040700c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52df04
mov eax, dword [ebp - 0x14]
push eax
call fcn.004093d0
pop ecx
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x52df1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52e007
lea eax, [ebp - 0x94]
mov edx, 3
call fcn.00406d78
lea eax, [ebp - 0x88]
call fcn.004066c4
lea eax, [ebp - 0x84]
call fcn.00406d70
lea eax, [ebp - 0x80]
call fcn.004066c4
lea eax, [ebp - 0x7c]
call fcn.00406d70
lea eax, [ebp - 0x78]
call fcn.004066c4
lea eax, [ebp - 0x74]
call fcn.00406d70
lea eax, [ebp - 0x70]
call fcn.004066c4
lea eax, [ebp - 0x6c]
call fcn.00406d70
lea eax, [ebp - 0x68]
call fcn.004066c4
lea eax, [ebp - 0x64]
call fcn.00406d70
lea eax, [ebp - 0x60]
call fcn.004066c4
lea eax, [ebp - 0x5c]
call fcn.00406d70
lea eax, [ebp - 0x58]
call fcn.004066c4
lea eax, [ebp - 0x54]
call fcn.00406d70
lea eax, [ebp - 0x50]
call fcn.004066c4
lea eax, [ebp - 0x4c]
call fcn.00406d70
lea eax, [ebp - 0x48]
call fcn.004066c4
lea eax, [ebp - 0x44]
call fcn.00406d70
lea eax, [ebp - 0x40]
call fcn.004066c4
lea eax, [ebp - 0x3c]
mov edx, 4
call fcn.00406d78
lea eax, [ebp - 0x28]
call fcn.00406d70
lea eax, [ebp - 0x24]
call fcn.004066c4
lea eax, [ebp - 0xc]
call fcn.00406d70
ret