Function at 0x52ff492
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x54183c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, ecx
push 0x34
xor edi, edi
lea eax, [esi + 4]
push edi
push eax
mov dword [ebp - 0xa8], esi
call fcn.05351b20
add esp, 0xc
add esi, 0x40
mov eax, dword [edi + 0x53f21a0]
mov ecx, esi
mov dword [esi - 4], eax
call fcn.052fe2b7
add edi, 4
add esi, 0xc
cmp edi, 0x30
jb 0x52ff4c7
lea ecx, [ebp - 0x11c]
call fcn.05304c2c
push ebx
lea ecx, [ebp - 0x11c]
call fcn.05305988
test al, al
jne 0x52ff548
mov eax, dword [0x5419944]
cmp eax, 0x5419944
je 0x52ff52a
test byte [eax + 0x1c], 1
je 0x52ff52a
cmp byte [eax + 0x19], 2
jb 0x52ff52a
push 0x53f2190
push 0xa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.052e5970
add esp, 0x10
lea ecx, [ebp - 0x11c]
call fcn.05304b2d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0534fc81
leave
ret 8
lea eax, [ebp - 0xb0]
xor edi, edi
push eax
lea ecx, [ebp - 0x11c]
mov dword [ebp - 0xb0], edi
call fcn.05304b01
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, edi
jne 0x52ff58f
mov eax, dword [0x5419944]
cmp eax, 0x5419944
je 0x52ff52a
test byte [eax + 0x1c], 1
je 0x52ff52a
cmp byte [eax + 0x19], 2
jb 0x52ff52a
push 0x53f2190
push 0xb
jmp 0x52ff51c
lea ecx, [ebp - 0x9c]
call fcn.05303c42
push esi
lea ecx, [ebp - 0x9c]
call fcn.05303e79
mov ebx, eax
mov dword [ebp - 0xb8], ebx
cmp ebx, edi
jne 0x52ff5fe
mov eax, dword [0x5419944]
cmp eax, 0x5419944
je 0x52ff5df
test byte [eax + 0x1c], 1
je 0x52ff5df
cmp byte [eax + 0x19], 2
jb 0x52ff5df
push 0x53f2190
push 0xc
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.052e5970
add esp, 0x10
xor esi, esi
lea ecx, [ebp - 0x9c]
call fcn.05303e6e
lea ecx, [ebp - 0x11c]
call fcn.05304b2d
mov eax, esi
jmp 0x52ff537
push ebx
push esi
push dword [ebp - 0xb0]
lea ecx, [ebp - 0x11c]
mov dword [ebp - 0xa4], edi
call fcn.05304b01
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x52ff651
mov eax, dword [0x5419944]
cmp eax, 0x5419944
je 0x52ff890
test byte [eax + 0x1c], 1
je 0x52ff890
cmp byte [eax + 0x19], 2
jb 0x52ff890
push 0x53f2190
push 0xd
jmp 0x52ff882
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xb4]
push eax
push 0x5402540
push ebx
mov dword [ebp - 0xa0], edi
mov dword [ebp - 0xb4], edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x52ff863
cmp dword [ebp - 0xa0], 0x34
jne 0x52ff863
mov edi, dword [ebp - 0xa8]
mov esi, dword [ebp - 0xb4]
push 0xd
pop ecx
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xac]
push eax
push str.VarFileInfoTranslation
add edi, 4
rep movsd dword es:[edi], dword [esi]
and dword [ebp - 0xa0], 0
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x52ff6f3
mov eax, dword [0x5419944]
cmp eax, 0x5419944
je 0x52ff890
test byte [eax + 0x1c], 1
je 0x52ff890
cmp byte [eax + 0x19], 2
jb 0x52ff890
push 0x53f2190
push 0xf
jmp 0x52ff882
mov esi, dword [ebp - 0xa0]
shr esi, 2
mov eax, dword [0x5419944]
mov ebx, 0x53f2190
cmp eax, 0x5419944
je 0x52ff730
test byte [eax + 0x1c], 1
je 0x52ff730
cmp byte [eax + 0x19], 4
jb 0x52ff730
push esi
push ebx
push 0x10
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.052ed6e0
mov eax, dword [0x5419944]
add esp, 0x14
mov ecx, dword [ebp + 0xc]
xor edi, edi
test ecx, ecx
je 0x52ff7b0
test esi, esi
je 0x52ff750
mov edx, dword [ebp - 0xac]
movzx edx, word [edx + edi*4]
cmp ecx, edx
je 0x52ff786
inc edi
cmp edi, esi
jb 0x52ff73d
cmp eax, 0x5419944
je 0x52ff890
test byte [eax + 0x1c], 1
je 0x52ff890
cmp byte [eax + 0x19], 2
jb 0x52ff890
push ecx
push ebx
push 0x12
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.052ed6e0
add esp, 0x14
jmp 0x52ff890
cmp eax, 0x5419944
je 0x52ff7b0
test byte [eax + 0x1c], 1
je 0x52ff7b0
cmp byte [eax + 0x19], 4
jb 0x52ff7b0
push ecx
push ebx
push 0x11
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.052ed6e0
mov eax, dword [0x5419944]
add esp, 0x14
test dword [ebp - 0xa0], 0xfffffffc
jbe 0x52ff833
mov esi, dword [ebp - 0xa8]
add esi, 0x3c
mov dword [ebp - 0xa4], 0xc
lea eax, [esi + 4]
push eax
push dword [ebp - 0xb8]
mov eax, dword [ebp - 0xac]
movzx ecx, word [eax + edi*4 + 2]
push dword [esi]
movzx eax, word [eax + edi*4]
push ecx
mov ecx, dword [ebp - 0xa8]
push eax
call fcn.052ff2cb
test eax, eax
jne 0x52ff826
mov eax, dword [0x5419944]
cmp eax, 0x5419944
je 0x52ff826
test byte [eax + 0x1c], 1
je 0x52ff826
cmp byte [eax + 0x19], 4
jb 0x52ff826
push dword [esi]
push ebx
push 0x13
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.052e1190
add esp, 0x14
add esi, 0xc
dec dword [ebp - 0xa4]
jne 0x52ff7cf
jmp 0x52ff857
cmp eax, 0x5419944
je 0x52ff857
test byte [eax + 0x1c], 1
je 0x52ff857
cmp byte [eax + 0x19], 4
jb 0x52ff857
push ebx
push 0x14
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.052e5970
add esp, 0x10
mov dword [ebp - 0xa4], 1
jmp 0x52ff890
mov eax, dword [0x5419944]
cmp eax, 0x5419944
je 0x52ff890
test byte [eax + 0x1c], 1
je 0x52ff890
cmp byte [eax + 0x19], 2
jb 0x52ff890
push 0x53f2190
push 0xe
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.052e5970
add esp, 0x10
mov esi, dword [ebp - 0xa4]
jmp 0x52ff5e1