Function at 0x4a6f70
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xf71c
call fcn.004e7170
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jle 0x4a7902
mov edx, dword [ebp + 8]
push edx
call fcn.004e7020
add esp, 4
push eax
push 0x5cab28
lea eax, [ebp - 0x1114]
push eax
call fcn.004e6fc0
add esp, 0xc
lea ecx, [ebp - 0x1008]
push ecx
push 0x1000
push 0
mov edx, dword [ebp + 8]
push edx
call sub.version.dll_GetFileVersionInfoA
test eax, eax
jne 0x4a7010
mov dword [ebp - 0x1118], 0x1000
lea eax, [ebp - 0x1008]
push eax
lea ecx, [ebp - 0x1118]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004a6d30
add esp, 0xc
test eax, eax
jne 0x4a7010
xor eax, eax
jmp 0x4a7904
mov dword [ebp - 0x1014], 4
lea eax, [ebp - 0x1014]
push eax
lea ecx, [ebp - 0x1010]
push ecx
push 0x5cab34
lea ecx, [ebp - 0x271c]
call fcn.00497e20
mov ecx, eax
call fcn.00497e50
push eax
lea edx, [ebp - 0x1008]
push edx
call sub.version.dll_VerQueryValueA
mov dword [ebp - 0x100c], eax
cmp dword [ebp - 0x100c], 0
je 0x4a7902
mov eax, dword [ebp - 0x1010]
mov ecx, dword [eax]
shr ecx, 0x10
and ecx, 0xffff
and ecx, 0xffff
push ecx
mov edx, dword [ebp - 0x1010]
xor eax, eax
mov ax, word [edx]
push eax
push 0x5cab54
lea ecx, [ebp - 0x371c]
call fcn.00497e20
mov ecx, eax
call fcn.00497e50
push eax
lea ecx, [ebp - 0x171c]
push ecx
call fcn.004e6fc0
add esp, 0x10
mov dword [ebp - 0x1014], 0
push 0x5cab74
lea ecx, [ebp - 0x471c]
call fcn.00497e20
mov ecx, eax
call fcn.00497e50
push eax
lea edx, [ebp - 0x171c]
push edx
push 0x5cab84
lea eax, [ebp - 0x151c]
push eax
call fcn.004e6fc0
add esp, 0x10
lea ecx, [ebp - 0x1014]
push ecx
lea edx, [ebp - 0x111c]
push edx
lea eax, [ebp - 0x151c]
push eax
lea ecx, [ebp - 0x1008]
push ecx
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4a7144
cmp dword [ebp - 0x1014], 0
jbe 0x4a7131
mov edx, dword [ebp - 0x1014]
push edx
mov eax, dword [ebp - 0x111c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004e6b30
add esp, 0xc
jmp 0x4a7142
push 0x5ee360
mov edx, dword [ebp + 0xc]
push edx
call fcn.004e6ed0
add esp, 8
jmp 0x4a7155
push 0x5ee364
mov eax, dword [ebp + 0xc]
push eax
call fcn.004e6ed0
add esp, 8
push 0x5cab8c
lea ecx, [ebp - 0x571c]
call fcn.00497e20
mov ecx, eax
call fcn.00497e50
push eax
lea ecx, [ebp - 0x171c]
push ecx
push 0x5cab9c
lea edx, [ebp - 0x151c]
push edx
call fcn.004e6fc0
add esp, 0x10
lea eax, [ebp - 0x1014]
push eax
lea ecx, [ebp - 0x111c]
push ecx
lea edx, [ebp - 0x151c]
push edx
lea eax, [ebp - 0x1008]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4a71f0
cmp dword [ebp - 0x1014], 0
jbe 0x4a71d7
mov ecx, dword [ebp - 0x1014]
push ecx
mov edx, dword [ebp - 0x111c]
push edx
mov eax, dword [ebp + 0xc]
add eax, 0x100
push eax
call fcn.004e6b30
add esp, 0xc
jmp 0x4a71ee
push 0x5ee368
mov ecx, dword [ebp + 0xc]
add ecx, 0x100
push ecx
call fcn.004e6ed0
add esp, 8
jmp 0x4a7207
push 0x5ee36c
mov edx, dword [ebp + 0xc]
add edx, 0x100
push edx
call fcn.004e6ed0
add esp, 8
push 0x5caba4
lea ecx, [ebp - 0x671c]
call fcn.00497e20
mov ecx, eax
call fcn.00497e50
push eax
lea eax, [ebp - 0x171c]
push eax
push 0x5cabb8
lea ecx, [ebp - 0x151c]
push ecx
call fcn.004e6fc0
add esp, 0x10
lea edx, [ebp - 0x1014]
push edx
lea eax, [ebp - 0x111c]
push eax
lea ecx, [ebp - 0x151c]
push ecx
lea edx, [ebp - 0x1008]
push edx
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4a72a2
cmp dword [ebp - 0x1014], 0
jbe 0x4a728a
mov eax, dword [ebp - 0x1014]
push eax
mov ecx, dword [ebp - 0x111c]
push ecx
mov edx, dword [ebp + 0xc]
add edx, 0x200
push edx
call fcn.004e6b30
add esp, 0xc
jmp 0x4a72a0
push 0x5ee370
mov eax, dword [ebp + 0xc]
add eax, 0x200
push eax
call fcn.004e6ed0
add esp, 8
jmp 0x4a72b9
push 0x5ee374
mov ecx, dword [ebp + 0xc]
add ecx, 0x200
push ecx
call fcn.004e6ed0
add esp, 8
push 0x5cabc0
lea ecx, [ebp - 0x771c]
call fcn.00497e20
mov ecx, eax
call fcn.00497e50
push eax
lea edx, [ebp - 0x171c]
push edx
push 0x5cabd0
lea eax, [ebp - 0x151c]
push eax
call fcn.004e6fc0
add esp, 0x10
lea ecx, [ebp - 0x1014]
push ecx
lea edx, [ebp - 0x111c]
push edx
lea eax, [ebp - 0x151c]
push eax
lea ecx, [ebp - 0x1008]
push ecx
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4a7355
cmp dword [ebp - 0x1014], 0
jbe 0x4a733c
mov edx, dword [ebp - 0x1014]
push edx
mov eax, dword [ebp - 0x111c]
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 0x300
push ecx
call fcn.004e6b30
add esp, 0xc
jmp 0x4a7353
push 0x5ee378
mov edx, dword [ebp + 0xc]
add edx, 0x300
push edx
call fcn.004e6ed0
add esp, 8
jmp 0x4a736b
push 0x5ee37c
mov eax, dword [ebp + 0xc]
add eax, 0x300
push eax
call fcn.004e6ed0
add esp, 8
push 0x5cabd8
lea ecx, [ebp - 0x871c]
call fcn.00497e20
mov ecx, eax
call fcn.00497e50
push eax
lea ecx, [ebp - 0x171c]
push ecx
push 0x5cabec
lea edx, [ebp - 0x151c]
push edx
call fcn.004e6fc0
add esp, 0x10
lea eax, [ebp - 0x1014]
push eax
lea ecx, [ebp - 0x111c]
push ecx
lea edx, [ebp - 0x151c]
push edx
lea eax, [ebp - 0x1008]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4a7406
cmp dword [ebp - 0x1014], 0
jbe 0x4a73ed
mov ecx, dword [ebp - 0x1014]
push ecx
mov edx, dword [ebp - 0x111c]
push edx
mov eax, dword [ebp + 0xc]
add eax, 0x400
push eax
call fcn.004e6b30
add esp, 0xc
jmp 0x4a7404
push 0x5ee380
mov ecx, dword [ebp + 0xc]
add ecx, 0x400
push ecx
call fcn.004e6ed0
add esp, 8
jmp 0x4a741d
push 0x5ee384
mov edx, dword [ebp + 0xc]
add edx, 0x400
push edx
call fcn.004e6ed0
add esp, 8
push 0x5cabf4
lea ecx, [ebp - 0x971c]
call fcn.00497e20
mov ecx, eax
call fcn.00497e50
push eax
lea eax, [ebp - 0x171c]
push eax
push 0x5cac08
lea ecx, [ebp - 0x151c]
push ecx
call fcn.004e6fc0
add esp, 0x10
lea edx, [ebp - 0x1014]
push edx
lea eax, [ebp - 0x111c]
push eax
lea ecx, [ebp - 0x151c]
push ecx
lea edx, [ebp - 0x1008]
push edx
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4a74b8
cmp dword [ebp - 0x1014], 0
jbe 0x4a74a0
mov eax, dword [ebp - 0x1014]
push eax
mov ecx, dword [ebp - 0x111c]
push ecx
mov edx, dword [ebp + 0xc]
add edx, 0x500
push edx
call fcn.004e6b30
add esp, 0xc
jmp 0x4a74b6
push 0x5ee388
mov eax, dword [ebp + 0xc]
add eax, 0x500
push eax
call fcn.004e6ed0
add esp, 8
jmp 0x4a74cf
push 0x5ee38c
mov ecx, dword [ebp + 0xc]
add ecx, 0x500
push ecx
call fcn.004e6ed0
add esp, 8
push 0x5cac10
lea ecx, [ebp - 0xa71c]
call fcn.00497e20
mov ecx, eax
call fcn.00497e50
push eax
lea edx, [ebp - 0x171c]
push edx
push 0x5cac24
lea eax, [ebp - 0x151c]
push eax
call fcn.004e6fc0
add esp, 0x10
lea ecx, [ebp - 0x1014]
push ecx
lea edx, [ebp - 0x111c]
push edx
lea eax, [ebp - 0x151c]
push eax
lea ecx, [ebp - 0x1008]
push ecx
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4a756b
cmp dword [ebp - 0x1014], 0
jbe 0x4a7552
mov edx, dword [ebp - 0x1014]
push edx
mov eax, dword [ebp - 0x111c]
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 0x600
push ecx
call fcn.004e6b30
add esp, 0xc
jmp 0x4a7569
push 0x5ee390
mov edx, dword [ebp + 0xc]
add edx, 0x600
push edx
call fcn.004e6ed0
add esp, 8
jmp 0x4a7581
push 0x5ee394
mov eax, dword [ebp + 0xc]
add eax, 0x600
push eax
call fcn.004e6ed0
add esp, 8
push 0x5cac2c
lea ecx, [ebp - 0xb71c]
call fcn.00497e20
mov ecx, eax
call fcn.00497e50
push eax
lea ecx, [ebp - 0x171c]
push ecx
push 0x5cac44
lea edx, [ebp - 0x151c]
push edx
call fcn.004e6fc0
add esp, 0x10
lea eax, [ebp - 0x1014]
push eax
lea ecx, [ebp - 0x111c]
push ecx
lea edx, [ebp - 0x151c]
push edx
lea eax, [ebp - 0x1008]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4a761c
cmp dword [ebp - 0x1014], 0
jbe 0x4a7603
mov ecx, dword [ebp - 0x1014]
push ecx
mov edx, dword [ebp - 0x111c]
push edx
mov eax, dword [ebp + 0xc]
add eax, 0x700
push eax
call fcn.004e6b30
add esp, 0xc
jmp 0x4a761a
push 0x5ee398
mov ecx, dword [ebp + 0xc]
add ecx, 0x700
push ecx
call fcn.004e6ed0
add esp, 8
jmp 0x4a7633
push 0x5ee39c
mov edx, dword [ebp + 0xc]
add edx, 0x700
push edx
call fcn.004e6ed0
add esp, 8
push 0x5cac4c
lea ecx, [ebp - 0xc71c]
call fcn.00497e20
mov ecx, eax
call fcn.00497e50
push eax
lea eax, [ebp - 0x171c]
push eax
push 0x5cac60
lea ecx, [ebp - 0x151c]
push ecx
call fcn.004e6fc0
add esp, 0x10
lea edx, [ebp - 0x1014]
push edx
lea eax, [ebp - 0x111c]
push eax
lea ecx, [ebp - 0x151c]
push ecx
lea edx, [ebp - 0x1008]
push edx
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4a76ce
cmp dword [ebp - 0x1014], 0
jbe 0x4a76b6
mov eax, dword [ebp - 0x1014]
push eax
mov ecx, dword [ebp - 0x111c]
push ecx
mov edx, dword [ebp + 0xc]
add edx, 0x800
push edx
call fcn.004e6b30
add esp, 0xc
jmp 0x4a76cc
push 0x5ee3a0
mov eax, dword [ebp + 0xc]
add eax, 0x800
push eax
call fcn.004e6ed0
add esp, 8
jmp 0x4a76e5
push 0x5ee3a4
mov ecx, dword [ebp + 0xc]
add ecx, 0x800
push ecx
call fcn.004e6ed0
add esp, 8
push 0x5cac68
lea ecx, [ebp - 0xd71c]
call fcn.00497e20
mov ecx, eax
call fcn.00497e50
push eax
lea edx, [ebp - 0x171c]
push edx
push 0x5cac78
lea eax, [ebp - 0x151c]
push eax
call fcn.004e6fc0
add esp, 0x10
lea ecx, [ebp - 0x1014]
push ecx
lea edx, [ebp - 0x111c]
push edx
lea eax, [ebp - 0x151c]
push eax
lea ecx, [ebp - 0x1008]
push ecx
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4a7781
cmp dword [ebp - 0x1014], 0
jbe 0x4a7768
mov edx, dword [ebp - 0x1014]
push edx
mov eax, dword [ebp - 0x111c]
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 0x900
push ecx
call fcn.004e6b30
add esp, 0xc
jmp 0x4a777f
push 0x5ee3a8
mov edx, dword [ebp + 0xc]
add edx, 0x900
push edx
call fcn.004e6ed0
add esp, 8
jmp 0x4a7797
push 0x5ee3ac
mov eax, dword [ebp + 0xc]
add eax, 0x900
push eax
call fcn.004e6ed0
add esp, 8
push 0x5cac80
lea ecx, [ebp - 0xe71c]
call fcn.00497e20
mov ecx, eax
call fcn.00497e50
push eax
lea ecx, [ebp - 0x171c]
push ecx
push 0x5cac94
lea edx, [ebp - 0x151c]
push edx
call fcn.004e6fc0
add esp, 0x10
lea eax, [ebp - 0x1014]
push eax
lea ecx, [ebp - 0x111c]
push ecx
lea edx, [ebp - 0x151c]
push edx
lea eax, [ebp - 0x1008]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4a7832
cmp dword [ebp - 0x1014], 0
jbe 0x4a7819
mov ecx, dword [ebp - 0x1014]
push ecx
mov edx, dword [ebp - 0x111c]
push edx
mov eax, dword [ebp + 0xc]
add eax, 0xa00
push eax
call fcn.004e6b30
add esp, 0xc
jmp 0x4a7830
push 0x5ee3b0
mov ecx, dword [ebp + 0xc]
add ecx, 0xa00
push ecx
call fcn.004e6ed0
add esp, 8
jmp 0x4a7849
push 0x5ee3b4
mov edx, dword [ebp + 0xc]
add edx, 0xa00
push edx
call fcn.004e6ed0
add esp, 8
push 0x5cac9c
lea ecx, [ebp - 0xf71c]
call fcn.00497e20
mov ecx, eax
call fcn.00497e50
push eax
lea eax, [ebp - 0x171c]
push eax
push 0x5cacb0
lea ecx, [ebp - 0x151c]
push ecx
call fcn.004e6fc0
add esp, 0x10
lea edx, [ebp - 0x1014]
push edx
lea eax, [ebp - 0x111c]
push eax
lea ecx, [ebp - 0x151c]
push ecx
lea edx, [ebp - 0x1008]
push edx
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4a78e4
cmp dword [ebp - 0x1014], 0
jbe 0x4a78cc
mov eax, dword [ebp - 0x1014]
push eax
mov ecx, dword [ebp - 0x111c]
push ecx
mov edx, dword [ebp + 0xc]
add edx, 0xb00
push edx
call fcn.004e6b30
add esp, 0xc
jmp 0x4a78e2
push 0x5ee3b8
mov eax, dword [ebp + 0xc]
add eax, 0xb00
push eax
call fcn.004e6ed0
add esp, 8
jmp 0x4a78fb
push 0x5ee3bc
mov ecx, dword [ebp + 0xc]
add ecx, 0xb00
push ecx
call fcn.004e6ed0
add esp, 8
mov eax, 1
jmp 0x4a7904
xor eax, eax
mov esp, ebp
pop ebp
ret