Function at 0x430572
Capabilities:
Get file version info

Disassembly:
push 0x9c
mov eax, 0x52231b
call fcn.004dacdd
mov ebx, edx
mov edi, ecx
mov dword [ebp - 0x94], edi
mov dword [ebp - 0x84], edi
mov eax, dword fs:[0x2c]
xor esi, esi
mov dword [ebp - 0x98], esi
mov ecx, dword [eax]
mov eax, dword [0x6d2c60]
cmp eax, dword [ecx + 4]
jle 0x4305f6
push 0x6d2c60
call fcn.004da2e3
cmp dword [0x6d2c60], 0xffffffff
pop ecx
jne 0x4305f6
mov dword [ebp - 4], esi
mov dword [0x6d2c64], esi
mov dword [0x6d2c68], esi
call fcn.00434dac
push 0x52fac0
mov dword [0x6d2c64], eax
call fcn.004da970
or dword [ebp - 4], 0xffffffff
mov dword [esp], 0x6d2c60
call fcn.004da2a4
pop ecx
push ebx
lea eax, [ebp - 0x7c]
mov ecx, 0x6d2c64
push eax
call fcn.00434059
mov esi, dword [ebp - 0x7c]
cmp esi, dword [0x6d2c64]
je 0x430622
lea eax, [esi + 0x10]
mov ecx, ebx
push eax
call fcn.00417fd6
shr eax, 0x1f
test al, al
je 0x430628
mov esi, dword [0x6d2c64]
cmp esi, dword [0x6d2c64]
je 0x430640
add esi, 0x28
mov ecx, edi
push esi
call fcn.00429503
jmp 0x430780
cmp dword [ebx + 0x14], 0x10
jb 0x43064a
mov eax, dword [ebx]
jmp 0x43064c
mov eax, ebx
lea ecx, [ebp - 0x9c]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov dword [ebp - 0x78], eax
test eax, eax
je 0x430774
push eax
call fcn.004da998
mov esi, eax
mov dword [ebp - 0x84], esi
pop ecx
test esi, esi
jne 0x430699
push str.GetDLLVersion:331:_memory_allocation_failed
lea ecx, [ebp - 0xa8]
call fcn.0041231b
push 0x6c54c0
lea eax, [ebp - 0xa8]
push eax
call fcn.004f3e1a
push esi
lea ecx, [ebp - 0x7c]
call fcn.00423884
add esp, 4
mov dword [ebp - 4], 1
cmp dword [ebx + 0x14], 0x10
jb 0x4306b6
mov eax, dword [ebx]
jmp 0x4306b8
mov eax, ebx
push esi
push dword [ebp - 0x78]
push 0
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
je 0x430767
and dword [ebp - 0x80], 0
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x88]
push eax
push str.VarFileInfoTranslation
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x430767
mov ecx, dword [ebp - 0x80]
xor esi, esi
test ecx, 0xfffffffc
jbe 0x430767
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x8c], 0x409
movzx edx, word [eax + esi*4]
cmp dx, word [ebp - 0x8c]
jne 0x43075d
movzx eax, word [eax + esi*4 + 2]
push eax
push edx
push str.StringFileInfo_04x_04xFileVersion
lea eax, [ebp - 0x74]
push 0x32
push eax
call fcn.0043622c
and dword [ebp - 0x78], 0
lea eax, [ebp - 0x90]
and dword [ebp - 0x90], 0
add esp, 0x14
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x84]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x430788
mov ecx, dword [ebp - 0x80]
mov eax, ecx
inc esi
shr eax, 2
cmp esi, eax
jb 0x4306f9
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x7c]
call fcn.004da19c
pop ecx
push 0x69a0fc
mov ecx, edi
call fcn.004293e6
mov eax, edi
call fcn.004dac87
ret
mov edi, dword [ebp - 0x78]
mov ecx, 0x6d2c64
push ebx
call fcn.00433cf3
push edi
mov esi, eax
call fcn.004293bf
pop ecx
push eax
push edi
mov ecx, esi
call fcn.00429346
push dword [ebp - 0x78]
mov ecx, dword [ebp - 0x94]
call fcn.004293e6
push dword [ebp - 0x7c]
call fcn.004da19c
mov eax, dword [ebp - 0x94]
pop ecx
jmp 0x430782